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

  1. Download and install PHP 8.0+ for your system from the official website.
  2. Enable OpenSSL and Curl extension in php.ini.
  3. Place adb.php in php-adb to the directory.
  4. Download platform tools and place them in libraries. Note: Mac OS needs to be renamed adb to adb-darwin.
  5. 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.
  1. Tap repeatedly on the Settings - About Phone - MIUI Version to enable Development Options.
  2. Enable OEM UnlockingUSB Debugging and USB Debugging (Security Settings) in Settings - Additional Settings - Development Options.
  3. Log in to a valid* Xiaomi account.
  4. Connect the phone to the PC via a wired interface.
  5. Check Always allow from this computer and click OK.
  1. Wait and follow the prompts of the script.
  2. After successful binding, you can use the official unlock tool to check the time you need to wait.
  3. 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: 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.

credits

Leave a Comment