How to Unlock Bootloader on Xiaomi HyperOS 2 Android 15

[Video has been attached as well] In this guide, we will show you the steps to unlock the bootloader on any Xiaomi/Poco/Redmi/Mi device running HyperOS 2 based on Android 15. The Chinese OEM has completely messed up its bootloader unlocking program. While it has left the tech enthusiasts infuriated, there’s nothing much that we can do. Well, up until now.

Unlock Bootloader on Xiaomi HyperOS 2 Android 15 - 1

We recently got our hands on the HyperSploit script, which was able to unlock the bootloader on HyperOS 1 with ease. However, with the release of HyperOS 2, this script got patched. Fortunately, we didn’t have to wait for long, as we got our hands on yet another script, this time it does its magic on HyperOS 2. So without further ado, let’s show you how to unlock any Xiaomi/Poco/Redmi/Mi device running HyperOS 2 based on Android 15 using this script. Follow along.

  • How to Unlock Bootloader on Xiaomi HyperOS 2 Android 15 Requirements Setup Unlocking Instructions

How to Unlock Bootloader on Xiaomi HyperOS 2 Android 15

Unlock Bootloader on Xiaomi HyperOS 2 Android 15 - 2

Before starting, please take a complete device backup, as this will wipe out all the data. Moreover, it might void the device’s warranty as well. Droidwin and its members wouldn’t be held responsible in case of a thermonuclear war, your alarm doesn’t wake you up, or if anything happens to your device and data by performing the below steps.

Requirements

  • Download and extract the Avoid Quota Limit Reached script on your PC. [Credits: XDA Senior Member Nobeta]
  • Then download and install Python (make sure to checkmark Add Python to Path).
  • Also, install Firefox and the Cookie Editor add-on .
  • Likewise, have the Chrome browser up and running.
  • Xiaomi must not have forced your account or device to go through the qualification.
  • A valid SIM card must be inserted with access to the internet.
  • The device should be running an official version of HyperOS.
  • Do note that this tool will only bypass all HyperOS 2 restrictions; you still have to comply with MIUI’s restrictions [waiting for 72 hours].
  • Moreover, each Xiaomi account can only unlock 1 phone per month and 3 phones per year.

Setup

  1. Add your Mi Account as well as your Google account to your device.
  2. Then enable Find My Device from the Settings menu [Find My Device jas now been replaced with Find Hub, so enable the latter in case the former is not present in your device].
  3. Turn off WiFi and enable Carrier Data. Make sure a working SIM card is inserted in your device.
  4. Next up, head over to Settings > About Phone > Tap on OS version 7 times.
  5. Then go to Additional Settings > Developer Options > Enable USB Debugging and OEM Unlocking.

Unlocking Instructions

YouTube video - 3 YouTube video - 4
  1. Get the cookies a short while before running the script (30 minutes maximum). Cookies are your session time on the website and expire the same as your session. The steps for getting cookies can be done on your mobile or PC.
  2. Open Firefox and log in with the account linked to the mobile you want to unlock using link 1 or link 2 . It doesn’t matter which one you use; use one of the two. If you are unable to access the link, then use a VPN and change the region to the USA.
  3. 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.
  4. Launch Chrome and log in as before, using link 1 or link 2. Now enter the below command in the address bar [NOTE: the “javascript:” keyword will not be pasted in the address bar, so manually type in that keyword OR paste the below command exactly in Notepad, then give a space between “javascript” and “:” and paste the command in the address bar. This time “javascript :” keyword will also be pasted in the address bar, but there will be a space between them. So remove the space between “javascript” and “:” so that it looks like “javascript:” and then paste with the rest of the commands as they are. javascript:(function(){var token=document.cookie.match(/popRunToken=([^;]+)/);if(token){prompt(“Copy the token:”, token[1]);}else{alert(“Token not found”);}})()
  5. 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.
  6. Run Script.py, enter 1, and press Enter. Without closing the previous window, run Script.py again and enter 2. Likewise, enter 3 in the third script, and 4 in the fourth script. Each of these scripts will be running with its own timeshifts [the four timeshift values are given in the text file].
  7. Now just wait until 00:00 Chinese time, and the script will carry out its intended task automatically.
  8. Once that happens, go to Settings,» Advanced Settings » For Developers » Mi Unlock Status » Link Account to Device.
  9. Once done, you may now unlock the device using Mi_Unlock .
  10. If account binding fails, go to Settings » Xiaomi Account » Sign out of your Xiaomi account » restart the device. After restarting, re-add your Xiaomi account. Then go to Settings » Advanced Settings » For Developers » Mi Unlock Status » Link Account to Device. The account should now be binded. Once done, you may now unlock the bootloader with Mi_Unlock .
  11. Once you hit Unlock in the Mi Unlock Tool, you’ll get the message to wait for 72 hours [3 days]. So do so and then again hit Unlock, this time, the bootloader will be unlocked.
  • Application Quota Limit Reached Xiaomi HyperOS Bootloader Unlock
  • How to Debloat/Remove Bloatware from HyperOS 1 and 2 [Video]
  • How to Downgrade Xiaomi from HyperOS 2 to HyperOS 1: Android 15 to 14
  • Xiaomi Stuck in Bootloop/Brick while flashing HyperOS [Fixed]
Google preferred - 5 Google preferred - 6
  • Tobi 1 month ago Reply Hello, i ve tried every step multiple times since a few months now. Unfortunatly my redmi turbo 4 doesnt gets recognized by the mi unlock tool you provided:(, i need help, because i cannot life with the chinese garbage ROM anymore….iv all drivers installed, but the phone doenst show up. Maybe you can help me, i m also a 4 – month – subscriber of the droidwin youtube channel.
  • khessler 1 month ago Reply Will this method work on hyper os 3, A16?
  • nephy 2 months ago Reply bro this method works, my account already added but when i sign in to mi-unlock tool it says 1004 error. is there a way to fix the error?
  • Sic. 2 months ago Reply Hello, thanks for the solution. I have few question. Is the sript Sciprt.py should be run on computer or mobil ? The screen suggest is on computer but I am not sure. The time to get the cookies is 30 min before launching the script or before 00:00 (chineese time) ? I guess it is before 00:00 but you said before running the script. Once more, thanks you !
  • Vikas Meshram 3 months ago Reply Will These Work On Chinese Device Too?
  • Michael 3 months ago Reply The xdaforums site describing the cookie tokens method now has a script, GetTokens.py, which automates the whole process. Have Firefox, Python, and Chrome installed, and just run GetTokens.py. It collects the tokens and then calls the existing script.py.
  • himawan kudus 3 months ago Reply perfect
  • Broke 4 months ago Reply Is it possible to unlock the redmi note 12 turbo?
  • Archelot 4 months ago Reply Script link is dead. Can you share again?
  • JL Cazes 4 months ago Reply Hello, I wanted to try this method to root my Xiaomi 14, but I encountered a problem with “Avoid Quota Limit Reached”: the link “https://xdaforums.com/attachments/aqlr-7z.6260101/” is not available. I tried to search the web for “Avoid Quota Limit Reached”: I did not find anything… Could you help me find a solution to root my phone? Many Thanks JL Cazes
  • ZAKi 4 months ago Reply Limit quota bypass link got removed !
  • Zay Ya 4 months ago Reply Thanks for the sharing. May I confirm two questions please. 1. Could this method do it on Xiaomi Pad 6 running HyperOS 2.0.11.0 (CN) region device? 2. Could this work for Xiaomi Pad 6 (Global version) running HyperOS 2.0.7.0 ? Regards with thanks,
  • abhishek 5 months ago Reply Download and extract the Avoid Quota Limit Reached script on your PC. [Credits: XDA Senior Member Nobeta] this script is unavailable on the website you have given the link please update it so we can download and proceed to unlock bootloader
  • Attila Vass 5 months ago Reply Hi i have a problem , i do everything as it need to be but in AQLR the token is working fine but when coming to do the “script” i click the script and the window just pop up and dissapear right the way in second so i dont have time to write anything (1,or2,3,4) , it start to do something but less then a second just dissapear the window so i can not open 4 window and see whats happening , i hope you know something for this case because i already try two differrent computer win 11 both and the same thing happening.
  • Felix G 5 months ago Reply I got banned until 26.09 after using this…. Be aware
  • Neymar Jr 5 months ago Reply Does it work for Chinese versions?
  • bazbaz 5 months ago Reply It’s worked for me, thank you so much for sharing
  • Rafael 5 months ago Reply Pt.. Estou tentando fazer o desbloqueio do bootloader do meu Redmi note 14 pro gostaria de receber suporte no processo. obrigado. En.. I am trying to unlock the bootloader on my Redmi Note 14 Pro. I would like some help with the process. Thank you.

(Cancel Reply)

Δ