the issue is due to changing a piece of the phone’s hardware, most likely the motherboard
Currently, there is no solution for this issue unfortunately
The only solution currently is to contact the Xiaomi support team.
When sending a request to Xiaomi’s server through developer settings “Mi Unlock status” the following information is sent to Xiaomi’s server for verification:
I believe the issue is related to cloudsp_fid, which is the security DeviceId.
Therefore, Xiaomi’s server, upon analyzing the security DeviceId, returns error code 10013 when attempting to unlock the bootloader.
The reason is because you have already unlocked a device recently from one Mi account at once
You must wait for the beginning of next month, meaning the 1st of next month ( according to the time zone of the server region )
Question: But I haven’t unlocked any device before!
Answer: Yes, but you have used a bootloader unlocking tool before (or reason) with the same account (whether it’s official or unofficial doesn’t matter). The Xiaomi server has indeed sent the encryptedData(token) before, to unlock the bootloader. So, whether you have previously unlocked a device or failed to unlock the same device, it doesn’t matter. Because new data (with the same account) For some Reason(explained at the end of the answer) was sent to the server that doesn’t match the data sent in the initial attempt. Therefore, the Xiaomi server considers that you’re attempting to unlock a new device, and it only allows unlocking one device per month.
Reason: after the last encryptedData(token) received from the server(
) **Conclusion: data no longer matches > So Xiaomi’s server considers it a new device**
invalid device “token or product”
invalid server region
Change server by command :
in Termux
miunlock global
in Windows Linux Macos
python3 Miunlocktool.py global
Available Servers : global, india, russia, china, europe
If you are using an official tool or other tools Download the latest version of the tool.
If you are using the MiUnlockTool, Just update “clientVersion”:”Place a higher version than the previous one”
github.com/offici5l/MiUnlockTool/blob/main/MiUnlockTool.py#L331
If you’ve successfully added your account in the developer options but are still encountering this issue, try changing the server region.
Example:
For Windows, Linux, or macOS:
python3 MiUnlockTool.py global
For Termux:
miunlock global
Available regions:
global
india
russia
china
europe
The account has been banned or restricted from accessing the bootloader unlock service because Xiaomi’s servers detected suspicious or abnormal activity or requests … to their servers. This is due to security reasons related to Xiaomi’s protection measures…
Solution: Sometimes, simply enabling “Find Device” in settings can resolve the issue. If the problem persists, create a new account.