How to know if the bootloader is blocked on Xiaomi: a step-by-step guide

The bootloader on Xiaomi smartphones is the program responsible for running the operating system. The manufacturer blocks it by default to protect the device from unauthorized firmware changes that can lead to loss of warranty or β€œbricking” the phone. However, many users want to unlock the bootloader to install custom firmware, obtain root rights or restore the device after a failure.

Before you start unlocking, you need to know exactly the current status of the bootloader, which will help avoid errors in further manipulation of the system. In this article, we will look at all the available methods of verification, from official Xiaomi tools to alternative methods for power users. You will also learn how the behavior of the locked and unlocked bootloader differs on different models of Redmi, POCO and Mi.

Why it is important to know the status of the bootloader

The state of the bootloader directly affects the capabilities of your smartphone:

  • πŸ”’ Blocked bootloader – the device is protected from installing unofficial software, but you will not be able to flash custom recovery (TWRP) or modified firmware.
  • πŸ”“ Unlocked bootloader - opens access to deep system configuration, but deprives of warranties and increases the risk of firmware damage in case of incorrect actions.
  • ⚠️ Semi-unlocked status (rarely encountered) – the bootloader is unlocked, but some features are limited (for example, it is impossible to flash official updates through Mi Flash).

For example, if you try to install TWRP on a device with a locked bootloader through the command fastboot flash recovery twrp.img, you get an error FAILED (remote: 'Flashing is not allowed in Lock State').

⚠️ Note: Some Xiaomi models (e.g. Redmi Note 10 Pro) POCO F3) When you unlock the bootloader, the anti-rollback function automatically activates, which means you won’t be able to return to the older version. MIUI without the risk of turning your phone into a brick".

Method 1: Checking with Fastboot Mode

The most reliable method is to use fastboot mode, which works on all Xiaomi devices, regardless of the version. MIUI You're going to need a computer with drivers installed. ADB/Fastboot original USB-cable.

Step-by-step:

  1. Turn off your smartphone.
  2. Press the Power + Volume buttons down at the same time and hold them for 5-10 seconds until the screen with the image of a rabbit in the hat (Fastboot Mode) appears.
  3. Connect the phone to the computer.
  4. Open the command prompt (or Terminal on macOS/Linux) and type:
fastboot devices

If the device is determined (its serial number appears), enter the following command:

fastboot oem device-info

In the conclusion, find the lines:

  • Device unlocked: true - the bootloader is unlocked.
  • Device unlocked: false - bootloader is locked.

β˜‘οΈ Preparing for inspection through Fastboot

Done: 0 / 4

Method 2: Checking with Mi Unlock Status (official method)

Xiaomi provides a built-in tool to check the status of the bootloader directly in the system, which works on most devices with MIUI 12 and later, but may not be available on some models for the global market.

How to check:

  1. Open the Settings app.
  2. Go to About Phone β†’ click 7 times on the MIUI version to activate Developer Mode.
  3. Return to the main settings menu and select Additional β†’ For developers.
  4. Find the Mi (Mi Unlock Status) unlock status.

Possible statuses:

  • πŸ”’ "This device is locked – the boot loader is blocked.
  • πŸ”“ "This device is unlocked – the bootloader is unlocked.
  • ❓ "Unknown status – may mean semi-unlocked status or system error (recommended to check via fastboot).

⚠️ Note: On some firmware (for example, MIUI EU) Mi Unlock Status may not be available, in which case use alternative methods.

πŸ“Š What kind of test you use more often?
Through Fastboot.
Through Mi Unlock Status
Through third-party applications
Never checked.

Method 3: Verification through applications (without PC)

If you don't have access to your computer, you can use third-party apps from Google Play that analyze system files and output bootloader status.

  • πŸ“± Bootloader Status – a simple application with a minimalist interface, shows the status and version of the bootloader.
  • πŸ› οΈ DevCheck – provides advanced hardware and software information, including bootloader status in the Hardware section.
  • πŸ” MIUI Hidden Settings – reveals hidden settings MIUI, including lockdown data.

An example of working with DevCheck:

  1. Install the app from Google Play.
  2. Open it and go to the Hardware tab.
  3. Find the Bootloader section, where you will find the status (Unlocked or Locked).

The advantage of this method is that there is no need for a PC, but some applications may not work properly on custom firmware or older versions of MIUI.

Why can apps get it wrong?
Some utilities read status from the system file /proc/cmdline, which can be modified by the custom kernel. For example, after installing Magisk or unofficial backup, the file may contain incorrect lock data.

Method 4: Checking through ADB (for power users)

If fastboot is not available for some reason, you can use ADB (Android Debug Bridge), which requires the USB debugging mode and drivers installed.

Instructions:

  1. Activate Developer Mode (as in Method 2).
  2. Enable USB debugging in the developer settings.
  3. Connect the phone to the PC and type in the command line:
adb shell getprop ro.boot.verifiedbootstate

Possible answers:

  • Orange - the bootloader is unlocked.
  • green - the loader is locked.

You can also check the property ro.boot.veritymode:

adb shell getprop ro.boot.veritymode

If the enforcing response is blocked, if logging is unlocked.

πŸ’‘

If the adb device command doesn’t find your device, try reinstalling the driver or using another device. USB-port (preferably) USB 2.0).

Method 5: Indirect Signs of Booter Lock

Sometimes the status of the bootloader can be determined by the behavior of the device without using special tools.

Sign.Locked loaderUnlocked loader
Installation OTA-updateIt's a no-brainer.Can't verify update package can't be
TWRP launchImpossible (the device reboots to standard recovery)Possible (if stitched)
Loading messageNo warnings.The name Orange State or Unlocked
Magisk's jobImpossible without unlockingPossible (but requires additional steps)

For example, if you try flashing TWRP through fastboot and see a message called FAILED (remote:'Flashing is not allowed in Lock State'), it's 100% proof that the bootloader is locked, and if you turn the phone on the boot screen, the message says, "This device is unlocked," the bootloader is unlocked.

⚠️ Attention: On devices with MIUI 13 and later, after unlocking the bootloader, Mi Anti-Rollback protection may work.This means that you will not be able to flash the firmware older than the one installed at the time of unlock. Check the current version of Anti-Rollback through the fastboot getvar anti command.

Frequent Mistakes and How to Avoid Them

When checking the status of the bootloader, users often face some problems, and here are the most common ones and how to solve them:

  • πŸ”Œ "Device not defined in fastboot - check the cable (use the original one), try another USB-Port or reinstall drivers. On Windows, Mi Flash Tool can help, which automatically installs the necessary drivers.
  • πŸ”„ "The fastboot oem device-info command does not work" - on some models (for example, Redmi Note). 9 Pro instead of using fastboot flashing get_unlock_ability. Answer 1 This means that unlocking is possible, 0 β€” locked at the producer level.
  • πŸ“± "The app shows an incorrect status" - clear the app's cache or use an alternative method (e.g. fastboot.

Also, look for models with anti-rollback protection. For example, on the POCO X3 Pro or Mi 11, you can not install firmware older than a certain version after unlocking the bootloader.

fastboot getvar anti

If the answer contains a value like anti: 3, it means that you can’t flash the firmware with anti: 2 or lower.

πŸ’‘

On devices with a Qualcomm processor (such as the Redmi Note 10 Pro), you can use the QFil utility to check the status of the bootloader, but this requires deep knowledge and can lead to data loss.

Can I unlock the bootloader without losing data?
No, the official procedure of unlocking through the Mi Unlock Tool always leads to a complete reset of the device (hard reset).All data, including photos, contacts and applications, will be deleted.
Why does the bank application not work after unlocking the bootloader?
Banking applications (e.g. Sberbank Online or Tinkoff) use SafetyNet technology to check system integrity. An unlocked bootloader automatically makes the device "unsafe" in the eyes of these applications. To get around the restriction, you need to: Install Magisk. Activate MagiskHide and Universal SafetyNet Fix modules. Hide the root status of the banking application in Magisk settings. Please note that some banks (e.g. VTB) may block access even after these manipulations.
How do I know if my Xiaomi model supports bootloader unlocking?
Xiaomi officially allows unlocking on most devices, but there are exceptions: πŸ“΅ Prohibited on models for the Chinese market (with firmware China) ROM) unbound to the Mi Account. βœ… Allowed on European and Global Versions (Global/EEA ROM). ⚠️ Limited to new flagships (e.g. Xiaomi) 13T) β€” may require waiting 7–15 The full list of supported devices can be found on the official Mi Unlock website.
What if the bootloader is locked and I want to install custom firmware?
You need to: Unlock the bootloader through the official Mi Unlock Tool (to link the Mi Account to the device and wait 72-720 hours depending on the model). TWRP Or other custom recovery via fastboot. Swipe custom firmware (like LineageOS or Pixel Experience) through TWRP. Important: Once unlocked, the device warranty is cancelled and some features (such as Mi Pay or Widevine) are cancelled. L1 viewable HD-Netflix content may stop working.
Can I lock the bootloader back?
Yes, but it's a complicated procedure that requires: Firmware official MIUI Using the Mi Flash Tool in clean all mode. Using the fastboot oem lock command (on some models. ⚠️ Warning: On Anti-Rollback devices, trying to block the bootloader after installing custom firmware can lead to hard-brick (impossibility to turn on).