How to unlock the bootloader on the Xiaomi phone: a complete guide with nuances

Unlocking the bootloader on Xiaomi smartphones is a must for custom firmware installation, root rights or brick recovery after a failed update. The procedure is officially supported by the company, but requires strict adherence to the rules: from binding a Mi Account account to waiting for permission to unlock. This article is the current guide for all models of 2018-2026, including Redmi Note 12, POCO X5 and Xiaomi 14, taking into account the latest changes in Xiaomi’s security policy.

Important: from 2023, the company has tightened the requirements, now new devices must wait 72 hours after the account is tied, and some models (for example, Xiaomi 13T) require additional confirmation via SMS. We will analyze all the stages from preparation to final unlock, and also tell you how to bypass typical errors like Couldn't unlock or Device is locked.

Why you need to unlock the bootloader on Xiaomi

The factory bootloader on Xiaomi smartphones is locked by default, which protects the device from unauthorized access, but also limits the user, unlocking the following features:

  • πŸ”§ Installation of custom firmware (LineageOS, Pixel Experience, MIUI Pro and others.).
  • πŸ› οΈ Getting root rights through Magisk or SuperSU.
  • πŸ”„ Restore the brick after a failed update or reset.
  • πŸ“± Removing embedded applications (bloatware) and optimizing performance.
  • πŸ”’ Bypassing regional restrictions (for example, for firmware global version on a Chinese smartphone).

However, there are risks: unlocking resets the device to factory settings, voids the warranty (in some markets), and can lead to data loss if you do not make a backup. In addition, on devices with Qualcomm Snapdragon, Widevine L1 may stop working after unlocking (the quality of streaming in Netflix or Disney+ will decrease to 480p).

πŸ“Š Why you are unlocking the bootloader on Xiaomi?
Installation of custom firmware
Getting root rights
Recovery from the brick
Removal of Bloatware
Other

Preparing the phone for unlocking

Before starting the procedure, you need to follow several critical steps, and skipping any of them can lead to errors such as Mi Unlock says "Add account" or Waiting for device.

Backup all data (photos, contacts, messages)

Charge your phone to at least 60%

Make sure that the MIUI version is not lower than 10.0

Shut it down. PIN-codes, graphic keys and prints

Connect to stable Wi-Fi (non-mobile internet)-->

First, link your Mi Account to your phone.

  1. Go to Settings β†’ Xiaomi account.
  2. Sign in or create a new account (required to have a valid email and phone number).
  3. Enable data synchronization and confirm the binding via SMS.

Then activate the developer mode and allow OEM-unlock:

  1. Open Settings β†’ About the phone and 7 times click on the MIUI version.
  2. Back to Settings β†’ Additionally. β†’ For developers.
  3. Activate switches: Debugging over USB OEM Unlock (may be called Factory Unlock)

On some models (e.g. Redmi Note 11 or POCO F4), the OEM unlock may be hidden.

  1. Connect the phone to the Internet.
  2. Go to Settings β†’ Xiaomi Account β†’ Security.
  3. Click Add Device and Account (if there is one).

πŸ’‘

If the item Unlock OEM Inactive, try to temporarily shut down everything. SIM-And you can reboot your phone, and sometimes it works on dual-slot devices.

Obtaining permission to unlock

From 2020, Xiaomi will require proof of right to unlock through the company’s servers, a process that can take anywhere from 72 hours to 15 days, depending on the model and region.

Instructions for linking the account to the device:

  1. Make sure your phone is connected to the internet via Wi-Fi.
  2. Go to Settings β†’ Xiaomi Account β†’ Security.
  3. Click Add Device and Account (or Status β†’ Add Account and Device in English firmware).
  4. Confirm the action via SMS or email.

After that, a message will appear on the screen:

πŸ”„ Request for unlock sent. Wait for confirmation. Wait time: 72 hours (3 days).

Important: Don't reset your phone to factory settings while you're waiting, it will reset the timer. Also, don't log out of your Mi Account and don't change your timer. SIM-On some models (e.g. Xiaomi 12 Pro) when changing SIM Re-binding may be required.

Model phoneWaiting timeAdditional requirements
Xiaomi 13/14 series7-15 daysSMS-confirmation + wifi-linkage
Redmi Note 12/1172-120 hoursGlobal firmware required
POCO F5/X572 hoursDisable all screen locks
Xiaomi Mi 11 and older24-72 hoursSupport for the old version of Mi Unlock

To check the status of the permit:

  1. Connect your phone to your PC via USB.
  2. Start the Mi Unlock Tool (you can download from the official website).
  3. Sign in with the same Mi Account.
  4. If the status shows Unlocking is allowed, you can proceed to unlock.
What if the permit does not come for more than 15 days?
If the status has not changed, try: 1. Change the region of the Mi Account to "Global" (in profile settings). 2. Connect to another Wi-Fi (preferably without a VPN). 3. Send the request again via the Mi Unlock Tool, pre-rebooting the phone. 4. Write in support of Xiaomi with the indication of the IMEI device and email account.

Installation of Mi Unlock Tool and drivers

To unlock, you will need the official Mi Unlock Tool utility and correct drivers ADB/Fastboot. You can download the tool only from the official website – versions from third resources may contain viruses or outdated libraries.

Step-by-step:

  1. Download Mi Unlock Tool (the version should match your firmware: for MIUI 14 fitting miflash_unlock-7.5.801.55 newer).
  2. Unpack the archive in a folder without Cyrillic characters (for example, C:\MiUnlock).
  3. Install drivers: For Windows: download Mi Phone Manager from the official website - it will automatically install the desired drivers. macOS/Linux: Use fastboot from Android SDK Platform Tools.

Check the correctness of the driver installation:

  1. Connect your phone in Fastboot mode (press Power + Volβˆ’ when the device is off).
  2. Open the command line (Win + R β†’ cmd) and type in: fastboot devices
  3. If the device serial number appears in the answer, the drivers are installed correctly.

πŸ’‘

If the Mi Unlock Tool gives you a 99% error, try using an older version of the utility (e.g. 5.5.224.24 for MIUI 12).

The process of unlocking the loader

When all preparations are completed, you can start unlocking. The whole process takes 5-10 minutes, but requires a stable Internet connection (the utility checks the status of the account in real time).

Instructions:

  1. Turn off the phone.
  2. Press Power + Volβˆ’ to enter Fastboot mode (a hare in a hat-eared hat will appear on the screen).
  3. Connect your phone to your PC through the original USB-cable (it is desirable to use the port) USB 2.0).
  4. Launch the Mi Unlock Tool on behalf of the administrator.
  5. Sign in with the same Mi Account as you do on your phone.
  6. Press Unlock and confirm the action.

The unlocking process will take place in 3 stages:

  1. Check the device (1-2 minutes). The utility checks the IMEI and account status.
  2. All files on the phone will be deleted!
  3. Unlock (30-60 seconds) The phone will display the word Unlocked.

If it's 99 percent or 50 percent dead, don't turn off your phone. Wait 10 to 15 minutes.

  • Restart the PC and phone.
  • Try to repeat the procedure with another version of the Mi Unlock Tool.
  • Check if the firewall or antivirus is blocking the connection to Xiaomi servers.

πŸ’‘

On some models (e.g. Redmi K50) the bootloader may lock again when you update via MIUI Updater after unlocking, and to avoid this, disable automatic updates or install firmware only via fastboot.

What to do after unlocking

Once successfully unlocked, the phone will automatically restart and prompt you to set up the system as new, but now you have new opportunities β€” and risks.

What can be done:

  • πŸ“± Install custom Recovery (TWRP Or OrangeFox).
  • πŸ”§ Switch alternative firmware (such as LineageOS or ArrowOS).
  • πŸ› οΈ Get root rights through Magisk.
  • πŸ”„ Restore backup copy through ADB Sideload.

What can't be done:

  • ⚠️ Install firmware from other models (even if they are on the same chipset).
  • ⚠️ Use unofficial versions of the Mi Unlock Tool to re-block.
  • ⚠️ Update through MIUI Updater without prior compatibility check.

The first thing after unlocking is recommended:

  1. Make a full backup through TWRP or ADB Backup.
  2. Check Widevine status in the DRM Info app (if streaming quality is important).
  3. Install Magisk to manage root rights (if necessary).

⚠️ Note: On devices with MediaTek (e.g. Redmi) 10C or POCO M5) Unlocking the bootloader can lead to loss of support for VoLTE and Wi-Fi Calling. Before firmware check for patches for your model.

Typical errors and their solutions

Even with strict adherence to the instructions, users often encounter errors, and let's look at the most common ones and how to fix them.

Mistake.Reason.Decision
Couldn't unlock (100%)Mi Unlock Tool or Mi Unlock Tool or incorrect accountUse the 6.5.224.27+ version and check your account’s link
Device is not connectedIncorrect drivers or USB-portInstall Mi Phone Manager and use USB 2.0 port
Current account is differentThe phone is linked to another Mi AccountReset your phone, link the correct account and wait 72 hours
Waiting for devicePhone not found in fastbootCheck the cable, port and drivers with the fastboot device team
Mi Unlock says "Add account"The account is not tied to the deviceGo to Settings β†’ Xiaomi Account β†’ Security and add a device

If none of these methods worked, try:

  • πŸ”„ Use a different PC (preferably with Windows) 10/11).
  • πŸ“± Switch your phone to an older version MIUI Mi Flash Tool (for example, from 14th to 13th).
  • πŸ“§ Write in support of Xiaomi with the indication IMEI and a screenshot of the error.

⚠️ Note: On devices with Qualcomm Snapdragon 8 Gen 2 chipset (such as Xiaomi 13 Ultra) additional authorization may be required after unlocking via the Snapdragon Snapdragon 8 Gen 2 chipset. EDL-This requires an authorized Xiaomi account with service center rights.

FAQ: Frequent questions about unlocking Xiaomi

Can I unlock the bootloader without waiting 72 hours?
No, it’s a technical limitation of Xiaomi: some older models (before 2020) could bypass the wait by changing the account region, but now this method does not work. The only option is to buy a device with an already unlocked bootloader (but this is risky, since it is not known what changes were made to the firmware).
Will I lose my warranty after I unlock it?
Officially, yes, as unlocking is considered a modification of the system. However, in practice, service centers often turn a blind eye to an unlocked bootloader if the problem is not related to the software part (for example, a broken screen). In Russia and CIS countries, the warranty is usually maintained if you can return the phone to standard firmware before visiting the SC.
Can the boot loader be blocked again?
Technically, yes, but it requires firmware on the official fastboot image with the bootloader locked through the Mi Flash Tool. However, once you lock again, you will have to wait 72 hours (or more) for a new unlock. On some models (for example, the POCO F4 GT), re-locking can lead to a loss of IMEI.
Will Google Pay work after it’s unlocked?
Yes, but only if you don't get root permission. Unlocking the bootloader doesn't affect Google Pay, but installing Magisk or a modified kernel will trigger SafetyNet. To get around that, you need to use modules like MagiskHide Props Config or Universal SafetyNet Fix.
Can I unlock the bootloader on the Chinese version of Xiaomi for the firmware of the global MIUI?
Yes, but there are nuances: First unlock the bootloader (the process is the same as for global models); Swipe global firmware through fastboot using Mi Flash Tool (choose the clean all option); After the firmware may require re-assigning the account and waiting for 72 hours. On some Chinese models (for example, Xiaomi 12S Ultra), global firmware may not support all functions (for example, NFC or 5G in some regions).