How to check if the bootloader is blocked on Xiaomi: all working methods

The bootloader on Xiaomi smartphones is a software component that controls the launch of the operating system. The manufacturer blocks it by default to protect the device from unauthorized firmware changes. However, many users will unlock the bootloader to install custom firmware, gain root rights or remove system applications. If you bought a used phone or forgot the status of your device, it is important to know exactly whether the bootloader is blocked - this affects the ability to firmware, restore via Fastboot, and even the operation of some MIUI functions.

In this article, we will discuss 5 reliable ways to check the status of the loader – from visual signs to commands through the ADB The methods are suitable for all modern models Xiaomi, Redmi and POCO (including the Mi series 11/12/13, Redmi Note 10/11/12, POCO F/X/M). We will pay special attention to the nuances for devices with MIUI 14/15 A new anti-Rollback blocking mechanism that could make diagnosis more difficult.

1. Visual signs of a blocked loader

The fastest way to determine bootloader status is to pay attention to the behavior of the phone when you turn on or connect to a PC.

  • πŸ”΄ Logo Mi Bunny with lock: when booting in Fastboot mode (keep Volume down) + Power) a hare appears on the screen in a closed-locked eardress cap, which is 100% a sign of a locked bootloader.
  • 🟒 Lack of lock: if the hare is displayed without a lock or there is an inscription Unlocked – the bootloader is unlocked.

Note that on devices with MIUI 14+, visual cues may differ. For example, on Redmi Note 12 Pro+, this device is locked in small print at the bottom of the screen instead of the lock, and some firmware from third-party developers (such as Xiaomi.eu) may hide these indicators.

⚠️ Warning: If you see this device is corrupted, it's not a bootloader lock, it's a firmware failure. EDL.

2. Check through Fastboot mode (without PC)

This method does not require a computer connection and works on 90% of Xiaomi devices.

  1. Turn off the phone.
  2. Press the Volume Down + Power buttons at the same time and hold for 5-10 seconds until the Mi Bunny logo appears.
  3. Pay attention to the text under the logo: πŸ”’ Device is locked or the icon of the castle β†’ loader blocked. πŸ”“ Device is unlocked or lack of lock β†’ loader unlocked. ⚠️ This device is corrupted β†’ Firmware damaged (recovery required).

Some models (e.g. POCO F5) may display color indications instead of text:

- Red background is blocked.

- Green background unlocked.

Orange background – partially unlocked (rarely encountered, usually after unsuccessful unlocking).

What if your phone is not included in Fastboot?
If the device does not respond to the button combination, try: 1. Connect the charger and try again (some Redmi models require at least 30% charge). 2. Use the combination of Volume up + Power (on some devices, such as Mi 11 Ultra, this includes Recovery mode, from where you can go to Fastboot via Reboot to Bootloader). 3. If the screen is black, but the phone vibrates - possibly damaged display. Connect the device to the PC and check the status through ADB (see the next section).

3. ADB and Fastboot teams to check status

For accurate diagnosis, use the ADB (Android Debug Bridge) and Fastboot tools.This method is suitable for power users and requires a computer with Xiaomi drivers installed.

First, download and install:

Google Platform Tools (includes adb and fastboot)

Drivers for your model (can be found on the official website of Xiaomi).

Follow the instructions:

  1. Connect your phone to your PC through USB-cable (preferably original).
  2. Turn on USB debugging: Go to Settings β†’ About Phone β†’ MIUI version and tap 7 times to activate Developer Mode. Go back to Settings β†’ Additional β†’ For Developers and enable USB Debugging.

cmd

platform-tools

adb devices

If the device appears in the list, enter:

adb reboot bootloader

The phone will reboot to Fastboot mode. Now execute the command:

fastboot oem device-info

In the answer, find the line Device unlocked: true/false:

- False - bootloader locked.

- True - the bootloader is unlocked.

Team team.Expected conclusionMeaning
fastboot oem device-infoDevice unlocked: falsebootloader locked
fastboot getvar unlockedunlocked: yesThe bootloader is unlocked
fastboot flashing get_unlock_abilityget_unlock_ability: 1Unlocking is possible.
fastboot flashing get_unlock_abilityget_unlock_ability: 0Unlocking is prohibited (for example, on anti-Rollback devices)

⚠️ Attention: On devices with MIUI 15 The new fastboot oem device-info command can return the error. FAILED (remote: 'Not allowed in Lock State'. In this case, use the alternative command: fastboot flashing get_unlock_ability If the result 0 β€” Unlocking is not possible without official permission from Xiaomi.

πŸ“Š What kind of test you use more often?
Visual (via Fastboot)
ADB/Fastboot teams
Through the Mi Unlock Tool
Never checked.

Checking through Mi Unlock Tool (official method)

Xiaomi provides the official software to unlock the bootloader - Mi Unlock Tool. It can also show the lock status. Download the utility from the official website (requires a Mi Account with a linked phone number).

Instructions:

β˜‘οΈ Checking with Mi Unlock Tool

Done: 0 / 4
  • πŸ“₯ Download and install the Mi Unlock Tool (the version should match your model).
  • πŸ”‘ Sign in to your Mi Account (it must be tied to the phone for at least 72 hours).
  • πŸ“± Connect your phone in Fastboot mode (as described in Section 2).
  • πŸ–±οΈ Launch the utility and press Agree, then Unlock.

If the bootloader is blocked, you will see a message:

β€œYour device is locked” – with a suggestion to start the unlocking process.

β€œCouldn’t unlock” – if the device does not support unlocking (for example, due to Anti-Rollback).

If the bootloader is already unlocked, the inscription will appear:

β€œYour device is unlocked” with a green tick.

Note: Mi Unlock Tool can show false positives on devices with unofficial firmware. In this case, trust the commands of Fastboot (section 3).

5. Check through Engineering Mode (hidden menu)

On some Xiaomi models (mostly older ones like the Mi 8 or Redmi Note 7), bootloader status can be checked through an engineering menu, which doesn’t work on all devices, but can be useful if other methods aren’t available.

Instructions:

  1. Open the phone app and enter the code: ##4636##
  2. In the menu that opens, select Engineering Mode (or Engineering Menu).
  3. Go to the Hardware Testing β†’ Device Info section.
  4. Find the Bootloader or Lock State line.

Possible values:

- Locked, locked.

- Unlocked - unlocked.

Relocked – was unlocked, but then blocked again (rarely seen).

⚠️ Attention: On devices with MIUI 12+ When you try to enter code on new models (such as Xiaomi 13) you often get this code is not available for your device.

6. Features for Anti-Rollback devices

Since 2019, Xiaomi has been implementing the Anti-Rollback mechanism, which makes it difficult to unlock the bootloader. If your device supports this feature (the list of models is available on XiaomiUI), then:

  • πŸ”’ Unlocking may not be possible without official permission (even through the Mi Unlock Tool).
  • ⚠️ Unlocking on Anti-Rollback 3 devices+ (for example, Xiaomi 12S Ultra will result in a full brik (impossibility to turn on).
  • πŸ”„ Quickboot Oem unlock or fastboot Flashing unlock will return the error FAILED (remote: 'Anti-rollback check fail').

To check for Anti-Rollback, use the command:

fastboot getvar anti

If you have an anti: [number] line in the answer (e.g., anti: 3), the mechanism is active. The higher the number, the stronger the protection.

For anti-Rollback devices, we recommend:

  • πŸ› οΈ Do not try to unlock the bootloader without experience.
  • πŸ“„ Study thematic forums (e.g, 4PDA) for your model.
  • πŸ”§ Use only official firmware through the Mi Flash Tool.

πŸ’‘

If your Anti-Rollback device is already locked, try restoring it via EDL (Emergency Download Mode) mode, which requires an authorized Xiaomi account and a special cable (or circuit test points on the board).

FAQ: Frequent questions about locking Xiaomi bootloader

❓ Can I unlock the bootloader without losing data?
Unlocking the bootloader through the Mi Unlock Tool or Fastboot command always results in a complete reset (wipe) of the device, and we recommend backing up photos, contacts and other important data in advance.
❓ Why Mi Unlock Tool Shows Coldn't Unlock ErrorΒ»?
This error occurs for several reasons: The device is not tied to the Mi Account (requires 72 hours of waiting), Anti-Rollback protection is active, you use unofficial firmware, Xiaomi servers are temporarily unavailable (try later).
❓ How to know if my model supports unlocking?
The full list of supported devices is available on the official website. As a rule, unlocking is possible for all models except: Devices for the Chinese market (China ROM) without global firmware, smartphones with Anti-Rollback 3+ (for example, Xiaomi 13 Pro), some carrier versions (for example, for Redmi Note 11 Pro 5G from T-Mobile).
❓ What happens if you flash a phone with a locked boot loader?
If you try to flash a device with a locked bootloader through Fastboot, you will get an error: FAILED (remote: 'Flashing is not allowed in Lock State' EDL-mode or informal tools (e.g. XiaomiTool), there is a risk of a breeze (turning the phone into a brickΒ»).
❓ Can the loader be blocked back?
Yes, it is possible with the command: fastboot flashing lock However, note: The process also leads to data reset. On Anti-Rollback devices, re-locking can cause errors. Once blocked, you will not be able to install custom firmware or get root.