How to Bypass Xiaomi HyperOS Bootloader Unlocking Method
Xiaomi has made several changes in the process of unlocking the bootloader of Xiaomi phones after the launch of HyperOS 1.0 in China. Also, HyperOS updates won’t be available on Xiaomi devices with an unlocked bootloader.
A developer on GitHub has found a way by which you can actually bypass the Xiaomi HyperOS bootloader process. After following the given steps, you won’t require any community ratings, etc. and you can directly unlock your bootloader.
Follow our socials → Google News | Telegram | X/Twitter | Facebook | WhatsApp
Requirements to Unlock the Bootloader
- A valid device:
- An unbanned* Xiaomi, Redmi, or POCO device.
- Your device is running the official version of HyperOS.
- (Update 2023/11/23) Your device is not forced to verify account qualification by Xiaomi.
- A valid SIM card:
- * Except for tablets that cannot use SIM cards.
- SIM cards must not be out of service.
- SIM card needs to be able to access the internet.
- Only 2 devices per valid SIM card are allowed to be unlocked to a valid SIM card within a three-month period.
- A valid Xiaomi account:
- An unbanned* Xiaomi account.
- Each account can only unlock 1 phone in a month and 3 phones in a year period.
- * According to the unlocking instructions provided by Xiaomi, it will prohibit some accounts and devices from using the unlocking tool, which is called “risk control”.
How to Bypass the HyperOS Bootloader Process
- Download and install PHP 8.0+ for your system from the official website.
- Enable OpenSSL and Curl extension in
php.ini
. - Place
adb.php
in php-adb to the directory. - Download platform tools and place them in libraries. Note: Mac OS needs to be renamedÂ
adb
 toÂadb-darwin
. - Open a terminal and use a PHP interpreter to execute the script.
- p.s. Releases have packaged the required files and click-to-run scripts.
- Tap repeatedly on the
Settings - About Phone - MIUI Version
to enableDevelopment Options
. - Enable
OEM Unlocking
,USB Debugging
andUSB Debugging (Security Settings)
inSettings - Additional Settings - Development Options
. - Log in to a valid* Xiaomi account.
- Connect the phone to the PC via a wired interface.
- Check
Always allow from this computer
and clickOK
.
- * See “Unlocking Requirements” above.
- Wait and follow the prompts of the script.
- After successful binding, you can use the official unlock tool to check the time you need to wait.
- During the waiting period, please use the device normally, keep the SIM card inserted, do not log out of your account or turn off
Find My Phone
, and do not re-bind the device until it is successfully unlocked. The device will automatically sendÂHeartBeat
 packets to the server every once in a while
Q: Why does the unlock tool still remind me to wait 168/360 (or more) hours?
By principle, this PoC only bypasses the restrictions added for HyperOS. You still need to comply with the restrictions for MIUI.
Q: The device shows Couldn't verify, wait a minute or two and try again
.
This is normal, the binding request on the device side has been blocked by our script. The actual binding result is subject to the script prompt
Q: Binding failed with error code 401
Your Xiaomi account credentials have expired, you need to log out and log in again on your device.
Q: Binding failed with error code 20086
Your device credentials have expired, you need to reboot your device.
Q: Binding failed with an error code 20090
 or 20091
Device’s Security Device Credential Manager function failure, contact after-sales.
Q: Binding failed with error code 30001
Your device has been forced to verify the account qualification by Xiaomi. Xiaomi lost its ‘geek’ spirit a long time ago, and there’s nothing we can do about it.
Q: Binding failed with error code 86015
The server has rejected this bind request, please try again.