How To Guide ⚙️How to unlock bootloader on Xiaomi HyperOS(all devices,except CN).

Search This thread

NOSS8

Recognized Contributor/Spam Hunter/Forum Guide
1st section
Just to check if you meet the requirements then go to
section 3.
/////////////////////////////////////////////////
For certain MediaTek devices, go here:

https://xdaforums.com/t/free-xiaomi-bootloader-unlock-and-relock-mediatek-devices-only.4779053/
__________________________________________________________________________________
Rules

1.jpeg

/////////////////
1741624420347.png

/////////////////////////////////////////////////////////////////////////////////////////////////////

2025
1741625340967.png

/////////////////////////////////////////////////////////////////////////
The system must be up to date, check here:
Otherwise you might have the error: "the system is being upgraded".
////////////////////////////////////////////////////////

Note:
Sometimes the permission is granted with the app but does not display it, check in the options for DEV if you can link your account.
Sometimes necessary to log out and log in to the Xiaomi account.


////////////////////////////////////////////////////////////////////////////////////////////////

For Cn devices, please read this post

There's no point in posting on this thread.
////////////////////////////////////////////////////////////////////////////////////////////////

Please do not post anything about third party paid services, requests/usage, etc...

///////////////////////////////////////////////////////////////////////////////////////

1/Check here that your device is Global and not CN with a Global ROM.
What should be displayed:
1758568761842.png

otherwise, you are ☠️
⚠️No need to check for the POCO.⚠️
------------------------------------------------------------------------------------------
requirements
----------------------------------

Check on the PC that the country of your account is not CHINA/INDIA.​

If that's the case, create another account

Requirements for unlocking the bootloader​

Sim and find my device activated on Xiaomi account
You can check on the phone:
Xiaomi account/devices/current device/sim card+find my device.
For the sim it can sometimes work without activation
First, make sure your Mi Account has been active for more than 30 days.

////////////////////////////UPDATE(12/2/2024)/////////////////////////////
It is possible to get permission "easier" by using another device of different brand and another sim card, test with a Samsung/Iqoo.
Solution provided by @preetam_k (y)

  • Xiaomi Community App version 5.3.31 or above.​
  • You can only unlock the bootloader of 3 devices per year and 1 unlock per month with your account.
You can access the latest version of the Xiaomi Community app from the play store or

----------------------------------------------------------------------------------------------------------
Assuming you have done these things, we will start explaining. Change your Mi Community region to Global.​

Then click on “Unlock Bootloader”. If you are sure that your account has been active for more than 30 days, tap on “apply for unlocking”.



What you need to do now is very simple! You will be able to unlock your bootloader like before. With the new Xiaomi HyperOS, the bootloader unlock time has been reduced from 168 hours to 72 hours. After doing all the operations, it will be enough to wait 3 days.
If you see that the app limit quota is reached, you need to wait for it to be reset at 0:00 Chinese time.



-------------------------------------------------------------------------------------------------------------------------
-----------------------------------For any questions relating to unlocking, please specify:-----------------------
1/the model of the phone, what is written on the box, not on the phone.
2/the full name of the rom currently on the phone.
 

Attachments

  • erros.jpg
    erros.jpg
    556.3 KB · Views: 14,497
  • ul1.png
    ul1.png
    254.6 KB · Views: 7,835
  • ul4.jpg
    ul4.jpg
    108.5 KB · Views: 6,858
  • ul-5.png
    ul-5.png
    339.7 KB · Views: 6,373
  • ul4.jpg
    ul4.jpg
    108.5 KB · Views: 6,273
  • ul6.png
    ul6.png
    274 KB · Views: 6,289
  • ul6.png
    ul6.png
    274 KB · Views: 6,158
Last edited:

NOSS8

Recognized Contributor/Spam Hunter/Forum Guide
2nd section
Troubleshooting
2.jpeg

-----------------------------------

The selected country of your account must not be China/India, to be verified on the PC.
If you used a debloater, do a factory reset.
Xiaomi account problem/date error, only Global devices

Activation of the Xiaomi account on the phone:
Sim activated, sending an international SMS is necessary, check that your mobile plan allows it, activate roaming and exceptions on always.
Normally this is done when configuring the phone at the first use with the data activated.
To check if the sim is activated, go to the synchronization of SMS / MMS and calls on the device and check if activated.
Find my device must also be activated, normally no problem to activate this.

Here the Sim is not activated:
If the sim is not activated on the Xiaomi account you will have this error with MiUnlock.
This error is also encountered if the motherboard has been replaced (99% of cases).
Another error:
Your account is not authorized to unlock,please change another.
Account banned by Xiaomi
  • You have a “spam-registered” account.​
  • Your account has been blacklisted​
_______________________________________________________________________________________________________________________

Only for those who have activated Xiaomi account (sim).

Sign out of the Mi community app
- Clear Mi community app data > uninstall the app.
- Restart the device -
Install the Mi community app.***
***Obsolete

________________________________________________________________________________________________________________________
After if still account problem, try:

Do a factory reset and reboot with mobile data and do the configuration.
Sometimes you will not be able to log in because there is no network with the sim, press the power button to restart the phone, do not activate the wifi. You will need to be able to log in with data.​
_______________________________________________________________________________________________________________________
After if still account problem, try:

Log out of the Xiaomi account on the phone, go here and delete the device.
Then do a factory reset and log in with the same account.​
_______________________________________________________________________________________________________________________
Before creating a new account try:
___________________________________________________________________________________________________________________

After if still account problem, try:

Log out of the Xiaomi account on the phone and :
Do a search(no link because different depending on your country):
How to delete my Xiaomi account?
Then do a factory reset and create your new account

With new account you will have to wait 30 days before requesting unlocking.
---------------------------------------------------------------------------------------------
_______________________________________________________________________________________________________________________
 
Last edited:

NOSS8

Recognized Contributor/Spam Hunter/Forum Guide
3rd section
Bypass
unlke.jpeg

---------------------------------
Xiaomi blocks the unlocking of all Cn devices , MIUI and HyperOS.
WHY?
With MiUnlock you will have the error:
"The place where the account is registered does not match the place where the phone is sold".
so no need to post here if you have a CN device.
/////////////////////////////////////////////////////////

Warning for those who have a Chinese device or even a Global device and would like to rent an chinese or others account:
Unlocking is illegal in China.
------------------------------------------------------------------------------------------------------------------
👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇
GLOBAL DEVICES
--------------------------------------------------------------------------------------------------------------------------
///////////////////////////////////////////////////////////////////////////////
work with HyperOS 1-2-3(Including devices released with HyperOS3)

If you use the script, do not pay attention to what the Xiaomi community app indicates.
This method should avoid the quota limit reached message.
Thanks to @dotKin (y)
Thank to @nicogrimaldi for the complete translation.(y)
Thanks to @redmugen for this very detailed post.(y)
-----------------------------------------------------------------------------------------------------
NEW(February 3)
arrow-blue.gif
Script.py modified for servers, included in the zip Avoid quota limit reached (Nscript.py).


Included in AQLR.7Z
GetTokens.py
If you use GetTokens.py you don't need Cookie Editor add-on.
it needs to be extracted to the root directory of Avoid quota limit reached, just where script.py is. It will ask the usere to login on firefox and press ok, then login on chrome and press ok. It will automatically write to the token.txt file and run 4 windows of the script.py in the end, each with the number 1-4 entered.
This script will ask the user to login on firefox, then login on chrome. After that, it will create a token.txt file and start 4 windows of the script.py file in the avql folder to ask for permission to unlock.
///------------------GetTokens update / hotfix--------///
Changelog:
- Added Fallback which forcefully closes firefox whenever it detects it wasnt closed properly
- Replaced the variable script_path with an input field when starting the script, incase the script name changes (like it did with script.py to the current variation Script AQLR translate by nicogrimaldi.py) just drag and drop the script into the command prompt window when it asks you for the script name, this will paste the whole path into the input.
Thank to @bybestix(y)
Version GetTokens for Gnome on Linux thanks to @Jenna-66(y)
----------------------------------------------------------------------------------------------
DOWNLOAD AND INSTALL
1. Extract the attached script
2. Python +(AQLR.7z)

3. Firefox and the ***Cookie Editor add-on
***Not necessary if you use GetTokens (recommended).
4. Chrome

INSTRUCTIONS

Get the cookies a short while before running the script (30 minutes max). Cookies are your session time on the website and expire the same as your session.

1. Open Firefox and log in with the account linked to the mobile you want to unlock using link1 or link2. It doesn't matter which one you use; use one of the two.
Open the Cookie Editor add-on, search for "new" and expand the "new_bbs_serviceToken" section. Copy the token that appears in the Value section and paste it in positions 1 and 3 (deleting the numbers 1 and 3) of the token.txt file.

2. Open Chrome and log in as before using link1 or link2. Enter the following in the URL bar:

javascript : (function(){var token=document.cookie.match(/popRunToken=([^;]+)/);if(token){prompt("Copy the token:", token[1]);}else{alert("Token not found");}})()

*It is very important that you remove the space between "JavaScript" and ":" after pasting it in the URL bar.

Copy the token it gives you and paste it in positions 2 and 4 (deleting the numbers 2 and 4) of the token.txt file.

3. Run Script.py, enter 1, and press Enter. Without closing the previous window, run Script.py again and enter 2. This will open up to 4 windows.

DONE! Now just wait until 00:00 Chinese time and the script will run automatically.

It's very important that no matter what the script results in, you should ALWAYS do the following on your phone:
Settings » My Account » Sign out of Account » then restart the device;
After restarting:Log in, Settings » Advanced Settings » For Developers » Mi Unlock Status » Link Account to Device. Try unlocking with Mi_Unlock.

L1 https://c.mi.com/global/
L2 https://new.c.mi.com/global/
L3 https://xiaomitools.com/download/mi-unlock-tool-v7-6-727-43/

Note :
If L1 & L2 not works, use vpn & connect to United States.
//////////////////VERIFICATION///////////////////
👁️👁️Apparently, many of you do not read the instructions all the way through. So in case of failure, do the following:

Settings » My Account » Sign out of Account » then restart the device;
After restarting:Log in, Settings » Advanced Settings » For Developers » Mi Unlock Status » Link Account to Device. Try unlocking with Mi_Unlock
.

If the script worked, you will be able to link your account in the options for developers.
1764091085240.png

Linked account, enable OEM unlock and use MiUnlock.
Folder placed at the root of the drive.
 

Attachments

  • GetTokens for Gnome on Linux by Jenna-66.7z
    2 KB · Views: 4,673
  • Avoid quota limit reached.7z
    8.9 KB · Views: 1,936
Last edited:

NOSS8

Recognized Contributor/Spam Hunter/Forum Guide
Glad to see that they(Xiaomi) didn't set a minimum level as a requirement to unlock the bootloader like the rumors (maybe happened on CN region).
This is not due to Xiaomi but a government decision from 2022 and for Cn devices, the blocking is still active.
5. Manufacturers should improve the authority management mechanism for mobile smart terminals, improve the security of the operating system, and take technical and management measures to prevent the replacement of the operating system and the installation of application software in the product circulation link.

I'm waiting for a user to try with a CN device to see what happens and I've seen some feedback or with hyperOs, the parameters in the options for DEV remain grayed out.

I wouldn't be surprised if they cut off server access to sites that offer this service.
 
Last edited:
Are these two guides still necessary? Wouldn't it be better to stick with the Official method?
Or am I missing something?
 
  • Like
Reactions: zhujunyide

khusika

Retired Forum Moderator / Recognized Developer
Feb 14, 2013
4,344
11
9,982
Surabaya
khusika.id
  • Like
Reactions: alekbom99 and NOSS8

punkrockfan

Senior Member
Aug 23, 2012
360
32
no success here anymore
sind i had redmi note 12 pro 5g and xiaomi13t, both with hyperos and able to unlock bootloader with bypass php scirpt now no more chance
think xioami blocking all since they offer us this tool now
no matter which xiaomi account i try with bypass php tool or community app, always fails
php just as before without bypass, go to community now

with community app always have to wait 02/03 (mm/DD) which should mean 2 months and 3 days?
would be a fukcing joke sry
 

NOSS8

Recognized Contributor/Spam Hunter/Forum Guide
no success here anymore
sind i had redmi note 12 pro 5g and xiaomi13t, both with hyperos and able to unlock bootloader with bypass php scirpt now no more chance
think xioami blocking all since they offer us this tool now
no matter which xiaomi account i try with bypass php tool or community app, always fails
php just as before without bypass, go to community now

with community app always have to wait 02/03 (mm/DD) which should mean 2 months and 3 days?
would be a fukcing joke sry
Has your account been active for 1 month and these 3 devices per year.
 

punkrockfan

Senior Member
Aug 23, 2012
360
32
Yes.
Both Accounts each has one device tied to and unlock with Script worked fine before i went to hyper os again.
Now it does not anymore
 

punkrockfan

Senior Member
Aug 23, 2012
360
32
Translated IT says today Contigent for Applikation reached. Try again in 02/04 mm/dd.
Even a day longe now.
Thats crap imo as IT still is the Same device so they so Not Count numbers of devices per Account bit number of unlocks.
 

NOSS8

Recognized Contributor/Spam Hunter/Forum Guide
Yes.
Both Accounts each has one device tied to and unlock with Script worked fine before i went to hyper os again.
Now it does not anymore

Translated IT says today Contigent for Applikation reached. Try again in 02/04 mm/dd.
Even a day longe now.
Thats crap imo as IT still is the Same device so they so Not Count numbers of devices per Account bit number of unlocks.
The servers reset at 0:00 AM Chinese time, try at this time.
 

punkrockfan

Senior Member
Aug 23, 2012
360
32
Well tried about 20 hrs ago should have already reseted.
Sadly Bypass Script ist fail now too but thx
 

punkrockfan

Senior Member
Aug 23, 2012
360
32
btw any updates from xiaomi with allowing unlock now if updates coming in with unlocked BL state then on hyperOS too?
 
  • Like
Reactions: Lerros#1

Top Liked Posts

  • 1
    Sorry but i did not get it what you meant about time between requests. I thought that you are talking about those offests set in timeshift.txt. But you mean time between responses in real in cmd. How is it even possible? I am on a really fast connection.
    I already told you, one day you can have a good ping and an hour later it will be different. It depends on the usage of your network and also that of the Xiaomi server.
    Test the pings of these addresses:
    161.117.96.161, /20.157.18.26
    Also, check my PM.
  • 5
    Hello everyone! Just wanted to thank the admins here and the people involved in making AQLR. I successfully linked my account in Mi Unlock Status! The script works.
    Here's what I did, if it helps anyone going through this:
    • Had an old Mi Account lying around from a few years ago, so I didn't need to wait the 30 days. The account region was my home country.
    • I was logged in to the Mi Account on my phone but looking at Settings > Mi Account > Devices > (my device) it says my SIM card "isn't installed or activated", even though it is. Dunno if that will have any repercussions later.
    • Downloaded the script, installed Python 3.14, and got the tokens manually.
      FYI, you don't need to install any extension in Firefox to get the token. Once you're logged in, you can go to the hamburger menu > More tools > Web Developer Tools and in there go to the Storage tab. You'll see the token under the Values section. You just copy-paste it like the instructions say and it works.
    • Manually checked if my clock was synced using the time.is website. Had a problem on another computer where the clock was offset by a second or so, even when just synced on Windows settings.
    • Changed the timeshift.txt file to say 2800 at the start, then the default values (1400, 900, 400, deleted the last value so it was 4.) Don't know if this did anything, though.
    • Like 10 minutes to midnight in Beijing, opened 4 windows of the script. Waited.
    And even though it printed out "Request not sent, The limit has been reached. Please try again after 02/08 00:00 (Month/Day)", I logged out of my phone, rebooted, logged back in, tried to link the account and it worked!!! yippee!!!

    Don't know how to end posts on a forum (first time!) so, uh, yeah. Mileage may vary. Thanks!
    4
    Bye-bye HyperOS, for good now! I suspect that the whole process is purposefully created to exhaust the user into giving up. I also suspect most people that were here, bought a Xiaomi because of their affordable hardware but not even thinking about using their ecosystem(yikes).

    I wish to thank each and every one of you involved
    (Forgive me if I forgot anyone): @dotKin, @nicogrimaldi, @redmugen, @bybestix and especially @NOSS8 for keeping this thread active providing information all these years in such a thankless environment.
    3
    I finally got the permission 😩
    IMG_20260127_171504.jpg
    3
    This isn't an official tool, so best to avoid it. Your account is authorized, try using Miunlock tomorrow after midnight China time.
    Anyway, you have 11 days left to finalize.
    I had to play a little laptop Frankenstein, but I ultimately got it by pulling the HDD from my 2014 Dell and putting it in my Thinkpad. Of my 7 laptops, it was the only one with Windows natively installed, but that laptop has a fried mobo and won't boot. I was trying to do this on Windows2Go, which worked for both cupid and lisa, but your suggestion to try a different USB port made me think that wouldn't work on myron. This HDD is the first one I ever used to root an Android. Still had all the drivers and everything. I threw the new MiUnlock in C:\ and it got it immediately. Myron is now rooted with the EU rom. GOD BLESS YOU FOR YOUR WORK ON THIS. And if anyone is trying to do this on Windows2Go - DON'T!
    3
    @SBzzz @xdastic
    Try the new modified Nscript.py for servers, included in Avoid quota limit reached.7zip on the OP.
  • 78
    1st section
    Just to check if you meet the requirements then go to
    section 3.
    /////////////////////////////////////////////////
    For certain MediaTek devices, go here:

    https://xdaforums.com/t/free-xiaomi-bootloader-unlock-and-relock-mediatek-devices-only.4779053/
    __________________________________________________________________________________
    Rules

    1.jpeg

    /////////////////
    1741624420347.png

    /////////////////////////////////////////////////////////////////////////////////////////////////////

    2025
    1741625340967.png

    /////////////////////////////////////////////////////////////////////////
    The system must be up to date, check here:
    Otherwise you might have the error: "the system is being upgraded".
    ////////////////////////////////////////////////////////

    Note:
    Sometimes the permission is granted with the app but does not display it, check in the options for DEV if you can link your account.
    Sometimes necessary to log out and log in to the Xiaomi account.


    ////////////////////////////////////////////////////////////////////////////////////////////////

    For Cn devices, please read this post

    There's no point in posting on this thread.
    ////////////////////////////////////////////////////////////////////////////////////////////////

    Please do not post anything about third party paid services, requests/usage, etc...

    ///////////////////////////////////////////////////////////////////////////////////////

    1/Check here that your device is Global and not CN with a Global ROM.
    What should be displayed:
    1758568761842.png

    otherwise, you are ☠️
    ⚠️No need to check for the POCO.⚠️
    ------------------------------------------------------------------------------------------
    requirements
    ----------------------------------

    Check on the PC that the country of your account is not CHINA/INDIA.​

    If that's the case, create another account

    Requirements for unlocking the bootloader​

    Sim and find my device activated on Xiaomi account
    You can check on the phone:
    Xiaomi account/devices/current device/sim card+find my device.
    For the sim it can sometimes work without activation
    First, make sure your Mi Account has been active for more than 30 days.

    ////////////////////////////UPDATE(12/2/2024)/////////////////////////////
    It is possible to get permission "easier" by using another device of different brand and another sim card, test with a Samsung/Iqoo.
    Solution provided by @preetam_k (y)

    • Xiaomi Community App version 5.3.31 or above.​
    • You can only unlock the bootloader of 3 devices per year and 1 unlock per month with your account.
    You can access the latest version of the Xiaomi Community app from the play store or

    ----------------------------------------------------------------------------------------------------------
    Assuming you have done these things, we will start explaining. Change your Mi Community region to Global.​

    Then click on “Unlock Bootloader”. If you are sure that your account has been active for more than 30 days, tap on “apply for unlocking”.



    What you need to do now is very simple! You will be able to unlock your bootloader like before. With the new Xiaomi HyperOS, the bootloader unlock time has been reduced from 168 hours to 72 hours. After doing all the operations, it will be enough to wait 3 days.
    If you see that the app limit quota is reached, you need to wait for it to be reset at 0:00 Chinese time.



    -------------------------------------------------------------------------------------------------------------------------
    -----------------------------------For any questions relating to unlocking, please specify:-----------------------
    1/the model of the phone, what is written on the box, not on the phone.
    2/the full name of the rom currently on the phone.
    58
    3rd section
    Bypass
    unlke.jpeg

    ---------------------------------
    Xiaomi blocks the unlocking of all Cn devices , MIUI and HyperOS.
    WHY?
    With MiUnlock you will have the error:
    "The place where the account is registered does not match the place where the phone is sold".
    so no need to post here if you have a CN device.
    /////////////////////////////////////////////////////////

    Warning for those who have a Chinese device or even a Global device and would like to rent an chinese or others account:
    Unlocking is illegal in China.
    ------------------------------------------------------------------------------------------------------------------
    👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇
    GLOBAL DEVICES
    --------------------------------------------------------------------------------------------------------------------------
    ///////////////////////////////////////////////////////////////////////////////
    work with HyperOS 1-2-3(Including devices released with HyperOS3)

    If you use the script, do not pay attention to what the Xiaomi community app indicates.
    This method should avoid the quota limit reached message.
    Thanks to @dotKin (y)
    Thank to @nicogrimaldi for the complete translation.(y)
    Thanks to @redmugen for this very detailed post.(y)
    -----------------------------------------------------------------------------------------------------
    NEW(February 3)
    arrow-blue.gif
    Script.py modified for servers, included in the zip Avoid quota limit reached (Nscript.py).


    Included in AQLR.7Z
    GetTokens.py
    If you use GetTokens.py you don't need Cookie Editor add-on.
    it needs to be extracted to the root directory of Avoid quota limit reached, just where script.py is. It will ask the usere to login on firefox and press ok, then login on chrome and press ok. It will automatically write to the token.txt file and run 4 windows of the script.py in the end, each with the number 1-4 entered.
    This script will ask the user to login on firefox, then login on chrome. After that, it will create a token.txt file and start 4 windows of the script.py file in the avql folder to ask for permission to unlock.
    ///------------------GetTokens update / hotfix--------///
    Changelog:
    - Added Fallback which forcefully closes firefox whenever it detects it wasnt closed properly
    - Replaced the variable script_path with an input field when starting the script, incase the script name changes (like it did with script.py to the current variation Script AQLR translate by nicogrimaldi.py) just drag and drop the script into the command prompt window when it asks you for the script name, this will paste the whole path into the input.
    Thank to @bybestix(y)
    Version GetTokens for Gnome on Linux thanks to @Jenna-66(y)
    ----------------------------------------------------------------------------------------------
    DOWNLOAD AND INSTALL
    1. Extract the attached script
    2. Python +(AQLR.7z)

    3. Firefox and the ***Cookie Editor add-on
    ***Not necessary if you use GetTokens (recommended).
    4. Chrome

    INSTRUCTIONS

    Get the cookies a short while before running the script (30 minutes max). Cookies are your session time on the website and expire the same as your session.

    1. Open Firefox and log in with the account linked to the mobile you want to unlock using link1 or link2. It doesn't matter which one you use; use one of the two.
    Open the Cookie Editor add-on, search for "new" and expand the "new_bbs_serviceToken" section. Copy the token that appears in the Value section and paste it in positions 1 and 3 (deleting the numbers 1 and 3) of the token.txt file.

    2. Open Chrome and log in as before using link1 or link2. Enter the following in the URL bar:

    javascript : (function(){var token=document.cookie.match(/popRunToken=([^;]+)/);if(token){prompt("Copy the token:", token[1]);}else{alert("Token not found");}})()

    *It is very important that you remove the space between "JavaScript" and ":" after pasting it in the URL bar.

    Copy the token it gives you and paste it in positions 2 and 4 (deleting the numbers 2 and 4) of the token.txt file.

    3. Run Script.py, enter 1, and press Enter. Without closing the previous window, run Script.py again and enter 2. This will open up to 4 windows.

    DONE! Now just wait until 00:00 Chinese time and the script will run automatically.

    It's very important that no matter what the script results in, you should ALWAYS do the following on your phone:
    Settings » My Account » Sign out of Account » then restart the device;
    After restarting:Log in, Settings » Advanced Settings » For Developers » Mi Unlock Status » Link Account to Device. Try unlocking with Mi_Unlock.

    L1 https://c.mi.com/global/
    L2 https://new.c.mi.com/global/
    L3 https://xiaomitools.com/download/mi-unlock-tool-v7-6-727-43/

    Note :
    If L1 & L2 not works, use vpn & connect to United States.
    //////////////////VERIFICATION///////////////////
    👁️👁️Apparently, many of you do not read the instructions all the way through. So in case of failure, do the following:

    Settings » My Account » Sign out of Account » then restart the device;
    After restarting:Log in, Settings » Advanced Settings » For Developers » Mi Unlock Status » Link Account to Device. Try unlocking with Mi_Unlock
    .

    If the script worked, you will be able to link your account in the options for developers.
    1764091085240.png

    Linked account, enable OEM unlock and use MiUnlock.
    Folder placed at the root of the drive.
    30
    2nd section
    Troubleshooting
    2.jpeg

    -----------------------------------

    The selected country of your account must not be China/India, to be verified on the PC.
    If you used a debloater, do a factory reset.
    Xiaomi account problem/date error, only Global devices

    Activation of the Xiaomi account on the phone:
    Sim activated, sending an international SMS is necessary, check that your mobile plan allows it, activate roaming and exceptions on always.
    Normally this is done when configuring the phone at the first use with the data activated.
    To check if the sim is activated, go to the synchronization of SMS / MMS and calls on the device and check if activated.
    Find my device must also be activated, normally no problem to activate this.

    Here the Sim is not activated:
    If the sim is not activated on the Xiaomi account you will have this error with MiUnlock.
    This error is also encountered if the motherboard has been replaced (99% of cases).
    Another error:
    Your account is not authorized to unlock,please change another.
    Account banned by Xiaomi
    • You have a “spam-registered” account.​
    • Your account has been blacklisted​
    _______________________________________________________________________________________________________________________

    Only for those who have activated Xiaomi account (sim).

    Sign out of the Mi community app
    - Clear Mi community app data > uninstall the app.
    - Restart the device -
    Install the Mi community app.***
    ***Obsolete

    ________________________________________________________________________________________________________________________
    After if still account problem, try:

    Do a factory reset and reboot with mobile data and do the configuration.
    Sometimes you will not be able to log in because there is no network with the sim, press the power button to restart the phone, do not activate the wifi. You will need to be able to log in with data.​
    _______________________________________________________________________________________________________________________
    After if still account problem, try:

    Log out of the Xiaomi account on the phone, go here and delete the device.
    Then do a factory reset and log in with the same account.​
    _______________________________________________________________________________________________________________________
    Before creating a new account try:
    ___________________________________________________________________________________________________________________

    After if still account problem, try:

    Log out of the Xiaomi account on the phone and :
    Do a search(no link because different depending on your country):
    How to delete my Xiaomi account?
    Then do a factory reset and create your new account

    With new account you will have to wait 30 days before requesting unlocking.
    ---------------------------------------------------------------------------------------------
    _______________________________________________________________________________________________________________________
    7
    Glad to see that they(Xiaomi) didn't set a minimum level as a requirement to unlock the bootloader like the rumors (maybe happened on CN region).
    7
    Glad to see that they(Xiaomi) didn't set a minimum level as a requirement to unlock the bootloader like the rumors (maybe happened on CN region).
    This is not due to Xiaomi but a government decision from 2022 and for Cn devices, the blocking is still active.
    5. Manufacturers should improve the authority management mechanism for mobile smart terminals, improve the security of the operating system, and take technical and management measures to prevent the replacement of the operating system and the installation of application software in the product circulation link.

    I'm waiting for a user to try with a CN device to see what happens and I've seen some feedback or with hyperOs, the parameters in the options for DEV remain grayed out.

    I wouldn't be surprised if they cut off server access to sites that offer this service.