(.venv) user1@machine:~/projects/miunlock$ miunlock
Already logged in
Account ID: ****
(Enter to continue, 2 To log out) >
Account Region: IN
regionConfig: India
(Enter to continue, m to change regionConfig) >
[ Ensure your Xiaomi device is in fastboot mode ] <
product: olive
notice: An unlocked device is an easy target for malware which may damage your device or cause financial loss.
The device will clear user data when unlocked
Press 'Enter' to continue — unlock(encryptData)
device token: ****
code: 20031
description: Please add your account in Settings > Developer options > Mi Unlock status.
(.venv) user1@machine:~/projects/miunlock$ ~/Android/Sdk/platform-tools/fastboot flash recovery ~/Downloads/twrp-3.7.1_12-0-mi439.img
< waiting for any device >
Sending 'recovery' (65536 KB) OKAY [ 2.067s]
Writing 'recovery' FAILED (remote: 'Partition flashing is not allowed')
fastboot: error: Command failed