Closed Hirutsuki closed 9 months ago
first, make sure that termux api (app) is installed
if it is already installed
try using the command :
fastboot devices
if you do not get results, then the problem may be due to the cable (usb) not being original
So I managed to connect the phones, and got "code: 10000 descEN: Request parameter error Invalid device token or product.", checking the account_info.txt there are only username, password, and wb_value, no token or product - does it have something to do with this: I got the phone from China and I think the unlock url is also indicating China, but I'm currently not in China? Please find attached the txt file if you would like to check the error log. log.txt
Update: so the thing is Xiaomi has now blocked ppl out from unlocking that the "Add account and device" is not working, there is probably no way for me to add the account now - could that be the reason of not getting token?
i read log that connection problem has nothing to do with the token ..
in any case
It is assumed that even if you are able to add the account, the tool will continue and print you a message: code: 20031 descEN: Please add your account in Settings > Developer options > Mi Unlock status.
( now use command u to update mitool device token and procuct will now be printed )
run mitool and check if token and product are printed or not ? if it is printed then let me know if the region is in the account if it is China ? ( region can be known via setting account or via https://account.xiaomi.com/fe/service/account/profile )
the region in the account is an EU country - maybe it is EU all along in the response. product yes, token no. and if it's the same mechanism as fastboot getvar, I printed all var before (seen below), and no token could be found. getvar all.txt saw a tutorial of another tool saying one must add account in developer options for their tool to work - I'm guessing that's for getting token, but as shown in previous screenshot, Xiaomi is not letting ppl do that. I tried to make a complaint to the customer services, but honestly am not keeping a high hope.
the system is being upgraded ...
this means that code 30003 means that the server is under maintenance 🚧
a few moments ago i tried all servers and the result is:
✅ global ✅ india 🚧 china ✅ russia 🚧 europe
you have two solutions:
either you wait until the server is repaired...
or you create an account in a region other than the EU or china region
regarding the device token . when you add the account in the developer settings, only a new token is generated and the old one is deleted. This means that the device token should be present even if you do not add the account in the developer settings.
( this is according to my knowledge and my experiences with the devices I used. as for whether Xiaomi changes this policy in new devices or updates, I do not know about it )
but it can only be accessed through bootloader mode and not fastboot mode to make sure that you are rebooting the device in bootloader mode and not fastboot mode, use the command :
adb reboot bootloader fastboot reboot bootloader
Amazing...I heard of the server thing, just didn't expect that they're only shutting specific areas.
I don't think the server would be "repaired", like I hinted before Xiaomi was doing it on purpose - from what I read, the notification has been like that since November 2023.
I'll try to see if I can make another account.
adb reboot bootloader
for this model would still go straight into fastboot, and adb reboot fastboot
would go in fastbootD, well... :)
i think they are repairing or modifying the servers one by one, because on January 15, the India region server was also down, and that was fixed...
==================
command: adb reboot bootloader ( reboots device into bootloader mode )
command: adb reboot fastboot ( reboots device into fastboot mode )
you may see the same image with the word 'Fastboot' written . but they are not the same mode
( mostly, the word “Festboot” in bootloader mode is colored orange, and in festboot mode it is colored blue )
Hi, I'm using a Redmi Note 13 Pro + that comes with MIUI 14, I followed the process in readme and after running
mitool
and logging in, I got this: Tried with or without a cable connected to a PC, tried with both universal and ARM64 versions, got the same result. Seems like the unlocking is not proceeding because of this, and I'm not sure what to do.Settings in dev options: