How to unlock Xiaomi bootloader

Unlocking Xiaomi bootloader allows you to install custom firmware and Fastboot ROM, get superuser rights and other actions with the device. Bootloader in Xiaomi, Redmi, POCO smartphones is an additional protection, which is activated by default, and starts working before the operating system boots.

What is Xiaomi bootloader

Xiaomi Bootloader is a program that runs every time you turn on/reboot your smartphone until the operating system starts. Bootloader checks the installed operating system for errors and critical changes, then launches it.

A locked bootloader protects your data from unauthorized people, preventing you from using a stolen or lost device. What happens if you unlock the bootloader and lose your phone — the person who finds the device can reflash it and use it as their own.

Most smartphone manufacturers, including Xiaomi, Redmi and POCO, lock the bootloader from the factory to secure user data. But a locked lock doesn’t give you full control over your device. The open bootloader allows you to install custom firmware and get root rights. Whether your device is Xiaomi Pad 5, Mi 11, POCO X3 Pro, Redmi Note 7, Redmi 4X or any other phone, the procedure is the same.

After unlocking the bootloader, you will not receive OTA updates. Face and fingerprint phone unlocking will become unavailable, Xiaomi Find Device service, Google Pay e-payment system and some other features will be disabled.

Unlocked bootloader allows attackers to gain remote access to the device, making it vulnerable to viruses. Therefore, after you have performed all the necessary actions on your device, you need to unlock the bootloader again.

It is not possible to unlock bootloader Xiaomi without PC. On a phone without a PC, you can only check its status: unlocked or locked.

Unlocking bootloader Xiaomi

Unlocking Xiaomi bootloader consists of two steps:

  1. Binding your smartphone to your Mi account and enabling USB debugging.
  2. Unlocking the bootloader using Mi Unlock.

During unlocking, all user data is deleted: the smartphone will be reset to factory settings. Before performing the procedure, it is recommended to back up your data.

Step 1: binding Xiaomi phone to Mi account

In order to work with the bootloader, you need a Mi account to which the device is tethered. No more than 3 unlocks are available per account per year. Skip this tap if your phone is already tethered to your Mi account.

The account must be valid for more than 30 days. If you do not have an account, you need to create one, perform the linking procedure and wait 30 days.

Don’t forget to turn off Wi-Fi and turn on mobile internet first. This is a prerequisite.

How to tether your phone to the Mi account:

  1. Start your phone settings, go to Mi Account.
  2. Tap the Sign out button.
  3. Enter your password and click OK. Then go back to the settings list and go to About phone.
  4. Tap the MIUI / HyperOS version tile 7 times until it says You are a developer.
  5. Go back to the settings list, select Additional Settings.
  6. Click on the Developer options.
  7. Move the OEM unlock slider, then tap Mi Unlock Status.
  8. Give all necessary permissions using the Agree button.
  9. Tap the Add account and device to device button.

binding Xiaomi phone to Mi account

miui oem unlocking


Tethering process will start, which won’t take long. When it is finished, you will see the corresponding message.

All you have to do is to log in to your Mi account and the device will be bound.

Xiaomi bootloader unlock request can take 168, 360 or 720 hours to process. You can check how much time is left for resolution under Mi Unlock Status.

New for 2024: If your smartphone or tablet is for the Chinese local market, bootloader unlocking will be done manually by Xiaomi employees. The applications will be processed on Tuesdays and Thursdays from 10:00 to 16:00 Beijing time.

During the waiting period, you can use the phone normally. But don’t reset it to factory settings or log out of your account after tethering your Mi account to the phone, in which case the timer will be reset to 168 hours and you’ll have to wait for bootloader unlock permission again.

Step 2: enable USB debugging

Enabling USB debugging allows you to work in Fastboot mode with the phone’s internal memory and boot loader. Without its activation bootloader can’t be unlocked.

Debugging activation function is located in hidden settings for developers, that were activated in preparation for the unlock above. It remains to find the right parameter and activate it.

Activate USB debugging:

  1. Start HyperOS or MIUI settings, go to Additional Settings.
  2. Select the Developer options item.
  3. Slide the USB debugging switch to On.
  4. Confirm the action with the OK button.

Enable MIUI USB debugging

Now Mi Unlock will be able to work with the bootloader.

When unlocking the bootloader, all user data will be deleted. It is recommended to make Mi phone backup. For example, transfer it to an external drive.

Step 3: Unlock the bootloader

Xiaomi has created a free program to unlock the bootloader — Mi Flash Unlock. This official utility works on Windows and does not require installation on your PC.

Before using the Mi Unlock program, install the necessary drivers that are in the archive with the program. Without them, unlocking is impossible because the PC will not see the connected smartphone or tablet.

For unlocking it is recommended to use fully working original USB-cable. If the connection is unstable, you may get a brick phone instead of an unlocked bootloader.

How to unlock bootloader Xiaomi:

  1. Start Windows Explorer, navigate to the directory with the unpacked program.
  2. Double-click run the driver_install.exe file. This action will install the drivers in “silent” automatic mode.
  3. Run the file named miflash_unlock.exe to start the program.
  4. Accept the license agreement using the Agree button.
  5. Enter registration data from your Mi account (login and password) and press Sign in button.
  6. Put your phone into Fastboot mode (turn it off completely, then press Power and Volume Down buttons simultaneously), connect it to your PC with the USB cable, click the Unlock button.
  7. Confirm the action with the Unlock Anyway button.

Phone will be rebooted while the bootloader unlock procedure is performed. After the restart all user data and third party apps will be removed from the internal memory of your smartphone/tablet.

After the device is fully loaded, you can proceed to configure the device and install the necessary programs.

There are many reasons why the bootloader cannot be unlocked. For example, the waiting time has not elapsed.

Bootloader Unlock Error

Mi Flash Unlock may give errors or not see the phone. We have collected all the possible problems, their causes and solutions in this article about Mi Unlock.

Xiaomi bootloader locking

Mi Unlock software has no bootloader locking feature. The only way to lock or relock the bootloader of Xiaomi, Redmi or POCO is to flash the device in Mi Flash Pro Tool. This free unlock bootloader tool for Windows does not require installation on your PC.

Also need to download the firmware Fastboot ROM for your device model and unzip it into any folder. Download ROM can be found in the catalog of the official firmware HyperOS and MIUI — phones, tablets.

How to lock bootloader Xiaomi:

  1. Run Mi Flash Pro, select the region you want in the pop-up box, click OK.
  2. In the top panel, click the Mi Flash tab.
  3. The first time you run the program, it will prompt you to install the necessary drivers. Accept it using the Install button.
  4. Press Select button and choose the directory with the unpacked firmware, press OK.
  5. Connect your phone to your PC with a USB cable and click Refresh for the program to detect the device.
  6. Check the clean all and lock box at the bottom of the window, and then click Flash.

The flashing process will start, and takes about 5 minutes. After the process is completed the phone will automatically restart.

After the restart, the bootloader will be relocked and you’ll have to perform the basic MIUI / HyperOS setup and enter your Mi account registration data. You will be able to fully use your smartphone only after the setup procedure.

Flashing the phone using Mi Flash Pro is essentially flashing without unlock bootloader Xiaomi. After installing the firmware, all the data from the device will be deleted and the bootloader will be locked automatically.

There is an alternative option to lock the bootloader — through the Windows PowerShell console. It is not suitable for Xiaomi and Redmi smartphones released before 2017 (POCO brand phones are released since 2018). You need to install ADB drivers and enter commands into the console.

First you need to download and install the ADB drivers, then enter commands into the console.

How to lock bootloader via ADB:

  1. Start Windows Explorer, navigate to ADB directory with the unzipped archive.
  2. Right click mouse button with Shift key on empty directory, then select Open PowerShell windows here in the context menu that appears.
  3. Put the phone into Fastboot mode by pressing volume down and power button on the switched off phone for 10 seconds.
  4. Connect the phone to PC with original USB cable.
  5. Enter fastboot devices command in the console and press Enter. This command is needed for PC to connect to the phone in ADB mode.
  6. To lock bootloader enter fastboot oem lock into console, press Enter. If the procedure is successful, you will see OKAY in the console.
  7. Enter the fastboot reboot command to reboot the smartphone into the system and press Enter.

How to check the bootloader status

The easiest way to check if the Xiaomi bootloader is unlocked is to look at the device’s screen while booting:

  • If it says Locked or displays a closed lock icon, the bootloader is locked.
  • If the lock is open and it says Unlocked — it is unlocked.

If this simple method does not help you check the bootloader status, you can use HyperOS / MIUI Developer Mode or ADB.

How to check if bootloader is unlocked Xiaomi:

  1. Go to Settings → About phone → tap the MIUI / HyperOS version field 7-8 times. This will activate the developer mode.
  2. Open SettingsAdvanced Settings and find the Mi Unlock Status line.
  3. The message at the top of the screen will show that Xiaomi Bootloader is locked and the device is protected, or that it is unlocked.

How to check the bootloader status

How to check the bootloader using ADB:

  1. Turn off your phone, press the power and volume buttons down to enter Fastboot mode.
  2. Connect your smartphone to PC via USB cable.
  3. On the PC, navigate to the directory with the installed ADB and Fastboot drivers.
  4. Right-click with the Shift key on any free space in the folder. From the menu that appears, select Open PowerShell window.
  5. In PowerShell, type fastboot oem device-info, then press Enter.
  6. The line Device unlocked will be marked True or False. True means the bootloader is unlocked, False means the opposite.

An unlocked bootloader on smartphones allows you to bypass the restrictions set by the developers and customize the device. At the same time, it has a negative impact on security and is one of the reasons why the phone does not receive OTA updates.

Xiaomi’s official website says that if the bootloader is unlocked, you forfeit your device’s warranty. We can’t confirm or deny this. If you have experience, write about it in the comments. Unlock bootloader Xiaomi, Redmi or POCO makes sense if you know exactly why you need it.

Add a comment

Subscribe to our Telegram where we post when new firmware and updates are released.
  1. Martino

    It´s possible lock the bootloader again and save the root permises?
    WIth original ROM and Custom Recovery not installed

    1. Yaroslav


  2. jake henderson

    what happens if my bootloader is locked i cant access dev options to enable debugging im stuck in a fastboot bootloop therefore cant unlock bootloader

    1. Yaroslav

      Was it happened agter the update?

  3. Alexandra

    I have a Redmi Note 13 Pro New Year Edition, i from Germany Please unlock my Phone to install the Global Rom. I dont understand Chinese.

    1. Yaroslav

      We are not Xiaomi

  4. alain nagels

    my pad max 6 does not give me a fastboot screen when pressing volume down and the power button simultaneously.
    the debugging mode is on and also oem unlocking
    can’t find mi unlock status in developer mode
    where do i find adb drivers.
    my tablet give a nvram warning err=0x10
    i bought it from aliexpress and there’s a chinees version on my phone.
    can i fash it

    1. Yaroslav

      There are a lot of troubles with the chinese devices. It can be different issues. So you’d better find info at such forums like XDA.

  5. Ruan

    Is it possible to unlock the bootloader without having to erase all data?

    1. Yaroslav


  6. Adam

    I recently got a Mi 13 Pro and a 13 Ultra both of them with the global ROM. Both of them are Unlocked and I am having some issues with NFC and security apps. Would this work to resolve these issues? Also wondering if there is anyway to lock the phone without losing the data, or does it need to be factory reset? Thanks.

    1. Yaroslav

      Your data would be lost anyway.

  7. Mher

    my phone automate restarting and not show interface, how can i unlocking bootloader?
    Thank you

    1. Yaroslav

      Unfortunately, in your case – no way. It needs to be carried for repair.

  8. Imran shaikh

    Hi sir my problem mi unlock status please unlock my mobile or help me or any solution

    1. Yaroslav

      We are not Xiaomi.

      1. Mustafa

        How to unlock bootloader.I can’t do it because request permission shows the system is being upgraded and try again later.How can we solve it?
        Redmi Note 13 Pro Plus, Chinese version

        1. Yaroslav

          Your bootloader might be unlocked already. Check it

  9. Yow

    Hi. i have mi 9 se and i have unlock this device back then during the android 9 miui 10. this is a global version phone and it comes with locked bootloader. i did everything the guide shows and managed to unlock it but later on decided to relock it since several financial apps doesn’t work. then, the new update arrive which is miui 12.5 with android 11 and i try using the same guide but failed. the most i got is verifying device at 50%. then i realised when it hits 50% mark, the fastboot on phone turn blank and a small ‘press any key to continue’ appears at the top left. i’m left dumbfounded and not able to proceed any further than this. any thought?

    1. AOthmani

      did you try to relock your phone?

      1. Yow

        you have trouble reading through the whole paragraph?

  10. Bagus Sri Adji Pamekas

    XIAOMI 12T, can i relock the bootloader? does all xiaomi devices can be locked and unlocked with this tools? thanks

    1. Yaroslav

      Yes, you can.

  11. ajay

    the 168 hour time period shown. so i have to wait for it. so can i close the mi unlock tool and open it after 168 hours? after closing the tool, i have to sign in again, is that any problem. one more doubt, can i see how many hours left, it is not showing in mi unlock status in developer options. can you clear my two doubts?

    1. Yaroslav

      You need just to wait. The permission will be given for your account. You needn’t to watch the countdown.

  12. Mokhtar

    I don’t have a computer and I can’t access it in any way, so I can’t open the bootloader, is there any other way?

    1. Yaroslav

      No, there is no any other ways.

  13. Paul

    I am interested in the alternative method with ADB drivers to lock the bootloader.
    Thank you.

    1. Yaroslav

      We’ll make full guide.

      1. Mustafa

        How to unlock bootloader.I can’t do it because request permission shows the system is being upgraded and try again later.How can we solve it?
        Redmi Note 13 Pro Plus, Chinese version