Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

code 20030 = Sorry, couldn't unlock more devices by this account this month #22

Closed
offici5l opened this issue Apr 7, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@offici5l
Copy link
Owner

offici5l commented Apr 7, 2024

code 20030 = Sorry, couldn't unlock more devices by this account this month

The reason is because you have already unlocked a device recently from one Mi account at once

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(

  • The account has logged out on the device Then are logged in(This generates a mismatched device token)
  • An attempt was made to send the request in developer settings("add account and device")
  • And other reasons

) Conclusion: data no longer matches > So Xiaomi's server considers it a new device

Question:
What is meant by "month"? Is it the current month passing, or a month since the last appearance of issue ?

Answer!Question?:

Some say "you should wait at least 30 days from the first unlock to unlock another device" = The last time the encryptData(token) was obtained !

Some say "current month passing" !

(I did an experiment to try to find out the correct answer Based on first experience, I can say that both answers are correct! Don't ask me how!? I have to try it more than once to know for sure, Xiaomi itself is not clear in its answers!
"I invite everyone who conducted the experiments to send their answer to the Telegram group")

@offici5l offici5l added the documentation Improvements or additions to documentation label Apr 7, 2024
Repository owner locked and limited conversation to collaborators Apr 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant