Xiaomi: How to unlock the bootloader and phone

Owning a modern Xiaomi or Redmi smartphone often exposes users to the necessary, but not always obvious, unlocking procedure, a term that owners often refer to as โ€œunlocking the bootloaderโ€ to gain full access to the system, opening the door to custom firmware installation, superuser rights, and deep interface customization.

But there is another, more critical scenario, a forgotten pattern lock or Mi Account password that blocks the device from being logged in, and in this case, the term "unlock" takes on a completely different meaning, which is to restore access to data or completely reset the gadget, and we'll look at both options so you can choose the right solution.

It is important to understand that tampering with the MIUI or HyperOS shell always carries risks. Mistakes can lead to a loss of warranty or turn your smartphone into a brick.

The Difference Between Unlocking the bootloader and Unlocking the Screen

The first thing you need to do is clearly define your goal. Many users confuse Unlock Bootloader with the usual unlocking of the screen. In the first case, you get access to low-level partitions, which allows you to modify the Android kernel, which is an official process that requires permission from the manufacturer.

The second is to restore access to the device if you forget. PIN-There is no official way to get around without losing data, because modern versions of Android encrypt user information. Any attempts to hack the security system lead to a complete reset).

The difference is also the consequences: Unlocking the bootloader is officially authorized by the company, but erases all data on the phone for security reasons. Unlocking the screen through reset also deletes data, but does not give rights to change system files in the future.

โš ๏ธ Warning: Unlocking the bootloader will automatically void the software warranty in some regions.Make sure you are aware of the risks before you start the procedure.

For those who are planning to modify firmware, the first type of unlocking is important, it requires an account to be tied and waiting for a certain time, and for those who have simply forgotten the password, the second scenario is relevant, which is solved through Recovery mode.

๐Ÿ“Š What exactly do you want to unlock?
Firmware loader
Screen (password forgotten)
SIM-card
I don't know what the difference is.

Preparation for unlocking the Xiaomi bootloader

If you want to get the rights to install Global ROM on a Chinese version or custom recaveri, you need special training. The process is not instantaneous and requires the fulfillment of certain conditions on the part of the user. Without these requirements, the Mi Unlock Tool utility simply will not start working.

First, make sure that the device is debugging USB. To do this, go to Settings โ†’ About Phone and quickly click 7-10 times on the MIUI version until you notice that you have become a developer.

Inside the developer menu, you need to activate two critical settings: โ€œDebugging by USBโ€ and โ€œMi Unlock statusโ€.It is the second item that will connect your device with your Mi Account. You will also need a stable Internet connection, preferably via Wi-Fi, since the mobile network can interrupt the verification process.

โ˜‘๏ธ Checklist of preparations

Done: 0 / 4

It is important to note that Mi accounts must be created in advance, preferably 7 days (168 hours) before the procedure starts, and if the account is new, the system will require a wait, which is a security measure introduced by the manufacturer to prevent theft of devices.

Step-by-step: unlock through Mi Unlock

The official method of unlocking is only on a Windows computer, you will need to download the Mi Unlock Tool from the official developer's website, and using third-party software can lead to malware installation or device failure.

Once you install the program and log in to your Mi Account, turn your smartphone into Fastboot mode. Turn off your phone and press the Volume Down and Power buttons at the same time. The screen will show an image of a rabbit repairing an android, or the words Fastboot. Connect the device to your PC with a quality cable.

In the Mi Unlock window, click the "Unlock" button. If all conditions are met, a data loss warning will appear. You agree with it. It will take from a few seconds to a few minutes. If successful, a green plaque will appear that says "Unlocked successfully."

Sequence of action:


1. Turn off the phone.




2. Clutch Volume Down + Power.




3. Connect the USB cable.




4. Press Unlock in the program.

Sometimes the process can end up with a code error, most often due to unstable Internet or mismatch of accounts in the phone and the program, in which case, double-check the data and try again after a while.

What if the timer shows 168 hours?
If you have 168 hours (7 days) after you have your account tied, you have to wait that long. Resetting the timer by logging out or resetting the account won't help, the counter will start over. You just have to wait a week from the first successful link on the developer menu, without leaving the Mi acc.

Removing the screen lock with a forgotten password

It's a common situation where users forget a pattern lock or a digital code. Unfortunately, modern Android security standards don't allow you to just reset your password without deleting your data. Disk encryption is tied to your access code.

The only working way to get your phone back is to perform a full Hard Reset via the Recovery menu, which will delete all photos, contacts and apps, but return the device to working condition. Before you start, make sure to remember your Google account data, as you may need authorization after the reset.

To enter Recovery mode, turn off your smartphone completely. Then press the Volume Up and Power button. Hold them until the Mi logo appears, then release the power, while continuing to keep the volume. You will see a menu with several items in English.

  • ๐Ÿ”น Use volume buttons to move up and down the menu.
  • ๐Ÿ”น Use the power button (or touch the screen if the menu supports a touch) to select the item).
  • ๐Ÿ”น Select Wipe Data, then Wipe All Data.
  • ๐Ÿ”น Confirm the action by selecting Confirm.

Once the process is complete, select Reboot to reboot. The phone will turn on as new, requiring initial setup. If the device was linked to a Mi Account with Find Device enabled, you may need to enter a password from that account to activate.

โš ๏ธ Note: Find Device locks your phone even after a reset. If you don't remember the Mi Account password, it's almost impossible to unlock the device legally without a check to buy it.

Table of codes and download modes Xiaomi

To work successfully with Xiaomi and Poco devices, it is important to distinguish between boot modes. The table below shows the main combinations and their purpose, which will help you not get confused in the process.

Regime.Button combinationAppointmentAppearance
FastbootVolume Down + NutritionFirmware, unlock BLThe android hare
RecoveryVolume Up + NutritionReset, ZIP updateMenu in English
Safe ModeClick "Out" when loading.Diagnostics of conflictsThe inscription "Safe Mode"
EDL ModeSpecial combination or test pointsDeep recoveryBlack screen (power)

Regime. EDL (Emergency Download Mode) requires special attention, and entry into it is often only possible when disassembling the phone (closing contacts on the board) or through special devices. ADB-In this mode, you can even firmware a "brick" with a locked bootloader, but access to it is often paid and requires an authorized service center account.

๐Ÿ’ก

If the phone goes into an endless bootloop, try pressing the Loud Down button when the logo appears, sometimes helping to break the cycle and get into the Fastboot.

Regional features and activation problems

Owners of devices purchased in China (CN Version, often faced with the problem of blocking activation when using global firmware. SIM-This is not a lockdown of the bootloader, but it limits the functionality.

The solution sometimes requires a Global ROM with an unlocked bootloader, but since some versions of HyperOS, the company's policy has been tightened, and unlocking may require a status in the Mi community that needs to be upgraded with forum activity, or a paid subscription.

There is also the problem of regional blockages. SIM-If you have a sticker on your phone that says "India Version" or something like that, and you're in Europe, the phone may not see the network or require a Wi-Fi connection from the vendor country once a month.

  • ๐Ÿ”ธ Chinese versions may not support some frequencies LTE (Band 20).
  • ๐Ÿ”ธ Global firmware on Chinese could block work NFC and Google Pay.
  • ๐Ÿ”ธ The region is checked by the model code in the settings or on the box.

โš ๏ธ WARNING: When buying a phone marked "Global Version" on Chinese marketplaces, read the description carefully (CN Global, not a full-fledged globalist, and these devices may have trouble notifying and unlocking.

Frequently Asked Questions (FAQ)

How long do I have to wait after the account is linked?
The standard waiting time is 7 days (168 hours), starting with the first successful link of the Mi Account in the "Mi Unlock Status" menu.
Can I unlock the bootloader without a computer?
Officially, no. Mi Unlock Tool only works on Windows. There are informal methods through Termux on Android itself, but they are complex, dangerous for beginners and can lead to breakdown.
Will the guarantee disappear after unlocking?
Formally, unlocking the bootloader removes the software warranty. In the event of a hardware breakdown (screen, battery), service centers can refuse free repairs if they see signs of interference with the system.
What to do if your phone is locked with Mi Account?
This is anti-theft protection, and you can only remove it by entering the correct username and password. If you forget your data, restore it through mi.com. Bypassing this protection is illegal and often requires replacing the motherboard.

๐Ÿ’ก

Unlocking the bootloader is an irreversible process for data (everything is deleted), but reversible for the system (you can lock the bootloader back, although this rarely makes sense).

In conclusion, unlocking Xiaomi devices is a powerful tool for enthusiasts to unlock the full potential of hardware. However, for the average user just wanting to reclaim a forgotten phone, resetting through Recovery is enough. In both cases, the main thing is to have a backup of important data, because the security of today's mobile OS is built on the principle of "no access, no data."