How to unlock a bootloader on Xiaomi in 2020: the current way without 360 hours of waiting

Unlocking the bootloader on Xiaomi smartphones has always been a headache for customization enthusiasts. In 2020, the company tightened the requirements: the official method through the Mi Unlock Tool began to require binding to the Mi Account account and 168-360 hours of waiting. However, the development community found a workaround that allows you to unlock the bootloader without long wait and even without binding to the account on some models.

This method is relevant for Xiaomi devices released before the middle of the year. 2020 Years including Redmi Note series 8/9 Pro, Mi 9/9T, POCO F1/F2 Pro, etc., working on MIUI 11 or MIUI 12. Important: The method does not guarantee 100% Success on all devices, but significantly increases the odds compared to the official tool. In this article, we will discuss step-by-step instructions, possible risks and alternative options for stubborn cases.

Why the official method stopped working in 2020

Since 2019, Xiaomi has been actively fighting against β€œgrey” unlocking methods, citing concern for user safety, and in 2020, changes have been made to:

  • πŸ”’ Mandatory binding to the account - without authorization in Mi Account, unlocking is impossible even through the official tool.
  • ⏳ Increased latency from 72 to 360 hours (15 days) for new accounts.
  • πŸ“± Firmware-level locking – some models (e.g. Redmi Note 8 Pro on MediaTek) have hardware protection.
  • πŸ”§ Restriction of versions MIUI β€” Old firmware no longer supports unlocking via fastboot.

The main problem with the official method is that it links latency to your account rather than your device, meaning that even if you bought a used smartphone, the previous owner could have already β€œspoiled” your account with a long wait, and the alternative method in 2020 bypasses this restriction by exploiting vulnerabilities during the authorization process.

⚠️ Note: Using informal unlocking methods may result in a lock IMEI On models with a MediaTek processor (such as the Redmi Note 8 Pro), the risk of bricking is higher due to the features of the bootloader.

Preparation of the device: what to do before unlocking

Before starting the procedure, several critical steps must be taken, and skipping any of them can make it impossible to restore the device.

Enable USB debugging in Settings β†’ About Phone β†’ MIUI version (7 times press)

Allow installation from unknown sources in Settings β†’ Annexes β†’ Special rights

Download and install Mi Flash Tool drivers (version 2020.3.14 or later)

Create a backup of data through Settings β†’ Additional β†’ Backup

Charge your phone to at least 60% (optimally 80%)

-->

Pay special attention to the version MIUI. On firmware newer MIUI 12.0.3 (released after July 2020) an alternative method may not work. β†’ The phone. β†’ Version. MIUI. If it is too new, you will need to roll back on the old firmware through fastboot.

Xiaomi modelMax. MIUI free-lockRecommended firmware for rollback
Redmi Note 8 Pro12.0.2MIUI 11.0.6
Mi 9T / Redmi K2012.0.3MIUI 11.0.8
POCO F112.0.1MIUI 10.3.8
Redmi Note 711.0.6MIUI 10.3.12

If your model is not in the table, check the current information in the forum. XDA Developers in your device section. For models on Snapdragon (such as Mi 9 or Snapdragon). POCO F1) Chances of success are higher than for devices on MediaTek.

Redmi Note 8/8 Pro

Mi 9/9T/9 SE

POCO F1/F2 Pro

Redmi Note 7/7 Pro

Another model-->

Alternative unlock method 2020: step-by-step instructions

This method is based on bypassing the account verification through the modified Mi Unlock Tool and exploiting the vulnerability in the authorization process.

  • πŸ–₯️ Windows computer 7/10 (on macOS/Linux method not tested).
  • πŸ“± Xiaomi smartphone with allowed debugging USB and on OEM Unlock.
  • πŸ”Œ Cable USB Type-C (original, undamaged).
  • πŸ“ Archive with modified Mi Unlock Tool 2020 (link below).

Download the archive with tools at this link (password: xiaomi2020). You'll find it in the archives:

- MiUnlockTool_mod.exe (modified version)




- adb_fastboot_tools.zip (drivers and utilities)




- bypass_script.bat (script to bypass verification)

Step 1: Installation of drivers and preparation of PC

  1. Unpack the archives. adb_fastboot_tools.zip disk-root C:\.
  2. Connect your phone to your PC and wait for the drivers to install (if Windows requests the driver manually, specify the path to the folder). C:\adb_fastboot_tools\drivers).
  3. Open the Command Prompt on behalf of the administrator and execute: cd C:\adb_fastboot_tools Adb devices make sure your device is listed.

Step 2: Starting a bypass script

Close all Xiaomi-related programs (including Mi) PC Suite. Launch it. bypass_script.bat on behalf of the administrator, the script will execute:

  • πŸ”„ Reboot your phone to fastboot mode.
  • πŸ”‘ Substitution of account identifiers in device memory.
  • ⏳ Simulating the β€œcountdown time” (can take up to 10 minutes).

Step 3: Unlocking with the modified Mi Unlock Tool

After the script is completed:

  1. Launch it. MiUnlockTool_mod.exe.
  2. Sign in with any Mi Account (even new ones).
  3. Connect your phone in fastboot mode (the phone connected message should be displayed).
  4. Press Unlock – the process will take 1-2 minutes.

If it goes well, you will see a message Unlocked successfully. The phone will automatically reboot with the bootloader unlocked.

πŸ’‘

If the tool gives you a Couldn't unlock error, try repeating step 2-3 times, disconnecting the phone from the PC between attempts. USB-port-line.

What to do if the method does not work: alternatives

If the alternative has failed, don't despair. There are a few backup options, although they require more time or technical skills.

Method for devices on MediaTek (Redmi Note 8 Pro, etc.)
For models with a MediaTek processor (for example, Redmi Note 8 Pro on Helio) G90T) Standard unlocking methods often don’t work because of Secure Boot’s hardware protection, in which case you’ll need: 1. MTK Client (available on GitHub). 2. Perform preloader and lk dump via mode BROM. 3. Patch files using python mtk e metadata, preloader,lk. 4. Swipe modified files back. ⚠️ Risk: Mistakes can lead to loss IMEI or the total inoperability of the modem.

Option 1: Official method with acceleration of waiting

If you are not afraid of waiting, but want to shorten the term:

  • πŸ“… Create a new Mi Account and link your phone to it before the unlock procedure begins.
  • πŸ”„ Use an account that has already unlocked other devices (wait time can be reduced to 72 hours).
  • πŸ“§ Confirm your email and phone number in your account, which increases your system’s β€œtrust.

Option 2: Unlocking through EDL-mode (for advanced)

Regime. EDL (Emergency Download Mode allows you to flash a modified bootloader bypassing standard checks:

  1. Buy or rent an authorized Mi Authorized Account (cost) ~$5–$10).
  2. Use the Mi Flash Pro utility with the clean all and lock option (but this will lock the bootloader back!).
  3. Swipe patched aboot or lk through fastboot after exiting EDL.

Option 3: Buying an unlocked device

If all methods fail and unlocking is critical (for example, for Google Camera or Custom installation) ROM), Consider buying a used device with an unlocked bootloader already. 4PDA or XDA These devices are often sold with the mark "Unlocked". BL".

⚠️ Note: On Xiaomi 2021 and later models (such as the Redmi Note 10 or Mi 11), the methods described do not work due to hardware changes in the bootloader.

Frequent mistakes and their solutions

Even if you follow the instructions accurately, users are faced with errors, and let's look at the most common ones and how to fix them.

Mistake.Reason.Decision
Couldn't unlock (0x80004005)Incompatible version MIUI or low-trust accountReverse to older firmware (see table above) or use an account that previously unlocked other devices
Device not connectedProblems with drivers or cableTry another one. USB-port (preferably) USB 2.0), reinstall the drivers via the Mi Flash Tool
Mi account not boundPhone is not tied to Mi Account in settingsGo to Settings. β†’ Xiaomi account and log in, then reboot your phone
Waiting for device (hangs)Conflict with an antivirus or firewallDisable Windows Defender and Firewall during the procedure

Anti-rollback check error

This error occurs if you try to flash firmware older than the one already installed on the device. Xiaomi has introduced anti-rollback protection, which blocks downgrade.

  • πŸ” Check the current version MIUI and the exact model of the device (for example, Redmi Note) 8 The Pro is available in begonia and begonia_in).
  • πŸ“₯ Download the firmware with the same or newer build number).
  • πŸ”§ Use the Xiaomi Anti-Rollback Bypass utility (available on the site) XDA).

The Invalid token error

This problem is related to the expiration of the authorization token, to solve it:

  1. Close the Mi Unlock Tool.
  2. Delete the folder. C:\Users\Your username\.miui\unlock.
  3. Restart the PC and phone.
  4. Repeat the authorization procedure in the tool.

πŸ’‘

If none of the methods worked, check if your device is a hardware-locked bootloader model (e.g. Redmi Note 9 Pro on Snapdragon). 720G In this case, unlocking is only possible through the official method with waiting.

What to do after successful unblocking

Congratulations! Your bootloader is unlocked, but this is just the first step towards full customization.

  • πŸ“± Install custom recovery (TWRP Or OrangeFox).
  • πŸ”„ Unofficial firmware (LineageOS, Pixel Experience, Havoc-OS).
  • 🎯 Remove the built-in Xiaomi apps (debloat).
  • πŸ”’ Get root rights through Magisk.
  • πŸ“Έ Install Google Camera with full Night Sight and Astrophotography support.

The first thing to do is to install TWRP

Without custom recovery, you can’t stitch ZIP-Files (such as Magisk or Custom) ROM). Instructions for installation TWRP:

  1. Download the current version of TWRP for your model from the official website.
  2. Reboot your phone to fastboot (Power) mode + Vol Down).
  3. Connect to your PC and execute the command: fastboot flash recovery twrp-3.5.2_9-0-your_model.img fastboot boot twrp-3.5.2_9-0-your_model.img
  4. V TWRP Go to Wipe. β†’ Format Data (this will delete all data, but is necessary to avoid looping loads).

The second is Magisk firmware for root

With Magisk, you will get root rights without violating SafetyNet, which will allow you to use banking applications and Google Pay.

  1. Download the latest version of Magisk from GitHub.
  2. Move the file. Magisk-v23.0.zip phone-on.
  3. Boot in. TWRP and select Install β†’ Magisk-v23.0.zip.
  4. Check for root through the Magisk Manager app.

⚠️ Note: On some models (e.g. Mi) 9T Pro) after installation, Magisk stops encrypting data. To avoid data loss, make a backup copy to the TWRP before-fixing.

Risks and consequences of unlocking the loader

Unlocking the bootloader is free, but it also carries a number of risks.

  • πŸ”΄ Loss of warranty – official Xiaomi service centers refuse to repair devices with unlocked bootloader.
  • πŸ›‘οΈ Security vulnerability – without bootloader protection, an attacker can access data even when the screen is locked.
  • πŸ“΅ Problems with OTA-Updates – after unlocking, official updates may not be installed.
  • πŸ“Ά Loss of network or IMEI β€” on some models (especially MediaTek) after firmware custom software disappears network.
  • πŸ”„ Possibility of β€œbricking” – the wrong firmware can turn the phone into a β€œbrick".

How to minimize the risks:

  • πŸ“Œ Always make a backup copy. NVRAM (preserve IMEI) and persist (to save modem settings).
  • πŸ” Check the compatibility of firmware and mods with your model on XDA Developers.
  • πŸ”„ Use only proven sources for firmware downloads (e.g. Xiaomi Firmware Updater).
  • πŸ› οΈ Install. TWRP Make a full backup before any manipulations.

Can I get my guarantee back?

Technically yes, but with reservations:

  1. Lock the bootloader back through fastboot oem lock.
  2. Sweep through the official firmware via the Mi Flash Tool with the clean all option.
  3. Make sure that the bootloader status in fastboot is displayed as Locked.

However, even after that, the service center can detect traces of unlocking on logs. EFS In practice, warranty repair after unlocking is possible only "by acquaintance" or in informal services.

FAQ: Answers to Frequent Questions

❓ Can I unlock the bootloader without losing data?
Unlocking a bootloader on Xiaomi always results in a full reset of the device. MIUI, stripper /data We recommend you back up in advance via adb backup or Mi Cloud (but note that some data, such as messages in messengers, will not be saved).
❓ Does this method work for Xiaomi 2021-2023?
No, the method described is only relevant for devices released before mid-2020.Beginning with the Redmi Note 9 and Mi 10, Xiaomi has implemented a new generation of bootloader protection (Anti-Rollback 4).+), For newer models, the only option is the official method with a waiting of 360 hours or the use of paid services (for example, miunlock.ru).
❓ What to do if the phone does not turn on after unlocking?
If the device does not load (hung on the logo) MI or a red light flashes, follow these steps: Make sure your phone is charged (plug in for 30 minutes). + Vol Down) and run the official firmware through the Mi Flash Tool with the clean all option. If fastboot is not available, try logging in. EDL-If nothing helps, contact the service center (mark that the phone "does not turn on after updating"). In 90% of cases, the device can be restored, but if you have flashed firmware from another model or damaged the persist partition, you may need to replace the motherboard.
❓ How to check if the bootloader is unlocked?
There are two ways: Through fastboot: adb reboot bootloader fastboot oem device-info Search for Device unlocked: true. Through settings: Go to Settings β†’ The phone. β†’ Version. MIUI And you can click on "Kernel Version" several times, and if the bootloader is unlocked, it will say "This device is unlocked." ROM) This method may not work. In that case, check it with fastboot.
❓ Can I unlock the bootloader on Xiaomi with a MediaTek processor?
Technically, yes, but it's much more complicated than Snapdragon. The problems are: Secure Boot, the hardware protection that blocks bootloader modification. TWRP β€” Most MediaTek devices don't have stable custom recovery builds. IMEI β€” Incorrect firmware can damage NVRAM. For models like the Redmi Note 8 Pro (Helio) G90T) There is a method through MTK Client, but it requires: Authorized Mi Authorized account (paid). Knowledge of working with Python and SP Flash Tool: backup of preloader and