The blocked bootloader on Xiaomi smartphones is a standard security measure that protects the device from unauthorized access to system files. However, for enthusiasts who want to install custom software, obtain root rights or flash alternative firmware, unlocking becomes a mandatory step.
In this article, we will discuss all the steps of unlocking, from submitting an application through the Mi Unlock Tool to completing the process on the device itself, paying special attention to typical errors (for example, Couldnβt unlock or Device not bound), how to fix them and the nuances for different models (Redmi Note 12, POCO F5, Xiaomi 13T If you plan to modify firmware, this guide will help you avoid the brick and save time.
Why Xiaomi is blocking the bootloader and why unlock it
Xiaomi is blocking the bootloader on all its devices for two key reasons:
- π Protection against viruses and malware β without unlocking, attackers will not be able to replace system files.
- π± Compliance with warranty obligations β modification of the firmware automatically cancels the warranty.
- π‘οΈ Risk Warning β Incorrect firmware can cause data loss or device failure.
However, unlocking the bootloader is necessary to:
- π Install custom firmware (e.g. LineageOS or Pixel Experience).
- π οΈ Getting root rights through Magisk or SuperSU.
- π² Removing embedded software (bloatware) or optimizing performance.
- π§ Restore the device after software failures ("brickΒ»).
β οΈ Attention: Unlocking will reset all data on the device! make a backup through Settings β Google β Backup or Mi Cloud backup.
It is important to understand that after unlocking the device will become more vulnerable to attacks, and updates. MIUI Xiaomi also limits the frequency of unlocking: between attempts must pass 30 days (for new accounts) or 7 days (for tied devices).
Preparation for Unblocking: Requirements and Warnings
Before starting the process, make sure that all the mandatory conditions are met:
- Mi Account β must be created in advance (preferably at least) 7 days ago) and confirmed by email/phone.
- Device binding β the smartphone must be linked to the account in Settings β Mi Account.
- Version. MIUI β The firmware should be official (not custom) and up-to-date (update via Settings). β The phone. β Updating the system).
- USB-Debugging - include it in Settings β The phone. β Version. MIUI (Press 7 times, then in Settings. β Additionally. β For developers.
- Factory unlocking OEM β activate in the same settings for developers.
If the device was purchased less than 7 days ago, Xiaomi will block the unlock attempt, this rule applies even for tied accounts, and it is impossible to unlock the bootloader on devices with the status of βLost / Stolenβ (checked through the IMEI).
| Conditions | Requirement | Consequences of non-compliance |
|---|---|---|
| Age of Mi Account | β₯7 days | Couldn't verify device error |
| Device binding | Active in settings | Device not bound error |
| USB-debugging | On. | Mi Unlock Tool doesn't see the device |
| Factory firmware | Official MIUI | 360-hour lockdown |
β οΈ Note: On HyperOS devices (e.g. Xiaomi 14 or Redmi) K70) The unlock process may be different! Before you start, check the compatibility of your model on the official website.
Create and confirm a Mi Account|Link the device to the account|Update MIUI last-minute|Turn on USB-debug OEM-unlock|Install drivers ADB PC-only-->
Step-by-step: how to apply for unlocking
The unlocking process begins with the application via Xiaomiβs official Mi Unlock Tool, and follow the instructions carefully to avoid errors:
Step 1: Download and install Mi Unlock Tool
1. Go to the unlock page and download the latest version of the utility (at the time of 2026 β v6.5.424.24).
2. Unpack the archive and launch it. miflash_unlock.exe on behalf of the administrator.
3. log in to the same Mi Account that is linked to the device.
Step 2: Connect your smartphone in Fastboot mode
1. Turn off the device.
2. Press Volume Down + Power before the Fastboot logo appears (robot with gear).
3. Connect your smartphone to your PC via the original USB-cable (using uncertified cables may cause an error) USB connection failed).
Step 3: Start the Unlocking Process
1.In Mi Unlock Tool, press Unlock.
2. Confirm the risk agreement (check I agree).
3. wait for the device to be checked (may take up to 5 minutes).
4 If everything is fine, the Unlock Anyway button will appear - press it.
The process will take 10 to 30 seconds. Once successfully unlocked, the device will automatically restart, and the Mi Unlock Tool will display a message Unlocked successfully.
What if the Mi Unlock Tool canβt see the device?
Common mistakes and their solutions
Even with the correct following of the instructions, users encounter errors, and consider the most common of them and how to fix them:
You need to bind your account with this device
Reason: The device is not tied to a Mi Account or the link was made less than 24 hours ago.
Decision:
- π± Go to Settings. β Mi Account and Check the Status of the Link.
- π If the binding is active, wait 24 hours and try again.
- π§ Make sure your device is on mobile internet or Wi-Fi (linking requires a network).
Current account is different from the account info on the device
Reason: Mi Unlock Tool uses a different account than the one the device is linked to.
Decision:
- π Log out of the account in the utility and log in again.
- π Check that the smartphone settings have the same email as the Mi Unlock Tool.
Error: Device is locked. Waiting for OEM confirm (360 hours)
Reason: The device has previously failed to unlock, or it has been unlocked and locked again.
Decision:
- β³ Wait 15 days (360 hours) is a tough limit for Xiaomi.
- π Do not try to bypass the timer through a change of account or firmware - this will lead to a timer reset.
| Error code | Reason. | Decision |
|---|---|---|
| 10008 | Account mismatch | Log in under the correct account |
| 20031 | The device is not tethered. | Tie in settings and wait 24 hours |
| 86006 | Too many attempts | Wait 7-30 days (depending on account status) |
β οΈ Note: If you see Mi Cloud server is busy, try using it. VPN servers in Hong Kong or Singapore β sometimes this helps to bypass regional restrictions.
π‘
If the Mi Unlock Tool is an error USB Debugging not authorized, disable the device, remove it from the list of authorized in the developer settings (Revoke permissions). USB-debugging), then connect again and confirm the resolution on the smartphone screen.
Features of unlocking for different models Xiaomi
While the overall unlock algorithm is the same for all Xiaomi devices, some models have nuances.
HyperOS devices (2026)
New HyperOS firmware (installed on Xiaomi 14, Redmi) K70, POCO F6 etc.) requires:
- π Attachment of the device to the account for at least 7 days (instead of 24 hours for the account) MIUI).
- π¦ Use the latest version of the Mi Unlock Tool (v6.5.424.24 or newer).
- π§ Activation of the regime OEM Unlocking in Developer Settings 1 Hour Before Unlocking.
Older models (until 2020)
For devices like Redmi Note 7, Mi 9 or POCO F1 There are simplified rules:
- β±οΈ Timer between attempts - 72 hours (instead of 360 for new models).
- π Unblocking is possible without binding to the account (on firmware) MIUI 10 and older).
Devices for the Chinese market (CN-version)
Smartphones with firmware for China (Xiaomi Mi 11) CN, Redmi K40 Pro CN) have additional limitations:
- π You need a Mi Account with a Chinese phone number.
- π‘ Unlocking is possible only through Chinese IP (use VPN).
- π After unlocking, you need to flash the global firmware (Global) ROM), Otherwise, the device will not work smoothly.
To check the model and firmware region go to Settings β The phone. β Version. MIUI. If there is a name at the end CN, China ING β It's the Chinese version.
π‘
On HyperOS devices, unlocking can take up to 10 days due to additional security checks.
What to do after successful unblocking
Once the bootloader is unlocked, your device is ready for modifications, but requires additional steps to work safely:
1. Installation of custom recaveri (TWRP)
Unofficial firmware or backups will be required TWRP:
- Download the current version of TWRP for your model from the official website.
- Reboot the device in Fastboot (Loudness down) + Nutrition).
- Connect to your PC and execute the command: fastboot flash recovery twrp-3.7.0_12-1-xiaomi.img (Replace the file name with the current one).
- Reboot to Recavery (Loudness Up) + Power) and make a backup of the Boot section.
2. Getting root rights through Magisk
For rooting:
- Download the latest version of Magisk (GitHub).
- Move the file. Magisk-v26.4.zip device.
- V TWRP Choose Install β Specify the Magisk file β swipe for confirmation.
- Check root through the Magisk Manager app.
3. Custom firmware ROM
Popular firmware for Xiaomi:
- π± Pixel Experience β Pure Android with Pixel features.
- π LineageOS - stable and lightweight firmware.
- π― crdroid β Balance between productivity and customization.
β οΈ Note: After installing custom firmware, roll back to the official MIUI It will be difficult β you will need a full reset via Fastboot and re-unlock the bootloader.
π‘
Before the custom firmware ROM Check compatibility with your model in the forum XDA Developers. Incompatible firmware will lead to a brickΒ»!
How to get it back: Re-blocking the bootloader
If you decide to return the device to its original state (for example, for sale or warranty repair), the bootloader can be blocked back.
- Flush the official firmware through the Mi Flash Tool in Clean All: fastboot flashall mode --clean
- Restart the device and wait for the first setup.
- Turn it on. USB-debug OEM-Unlocking (as at the beginning of the article).
- Connect to the Mi Unlock Tool and press Lock (only for previously unlocked devices).
After the lockdown:
- β The device will return to factory settings.
- β Xiaomi warranty will be restored (unless there was physical damage).
- β All data will be deleted without the possibility of recovery.
Important: Re-unlocking after locking will require a re-waiting period (7-30 days depending on the model).