Locking the bootloader on Xiaomi smartphones is a security mechanism that limits the ability to install custom firmware, restore via TWRP or rooting. The manufacturer introduced this feature to improve security, but it often becomes an obstacle for enthusiasts who want to deeply customize their device. Before trying to unlock it, it is critical to know the current status of the bootloader β otherwise you risk getting a brick instead of a work phone.
In this article, we will discuss 5 reliable ways to check locks, including official and alternative methods. You will learn how to determine status through Fastboot, hidden engineering menus, Mi Unlock Tool utility and even without connecting to a PC. Special attention will be paid to the nuances for new models on HyperOS and devices with a Qualcomm Snapdragon chipset, where the process may be different. If you plan to unlock for installing Global ROM or custom recaveri, this guide will help avoid typical errors.
1.What is a bootloader lock and why is it checked
A bootloader is a low-level software that runs to the operating system and determines which kernel and firmware to download. On Xiaomi smartphones (as on Redmi, POCO), it is blocked by default to protect against:
- π Installation of unofficial firmware with viruses or backdoors
- π οΈ Unauthorized rooting (receiving root rights)
- π Changes to the recovery section (e.g. installations) TWRP)
- π± Data recovery after device theft
However, blocking creates problems for users who want to:
- π Install Global ROM instead of Chinese firmware (for example, on Xiaomi 13 Ultra for the European region)
- β‘ Swipe the custom core to overclock the processor or improve autonomy
- π§ Recover your phone after a soft brick via Fastboot
- π± Reflash a device with a damaged system when standard methods do not work
Checking the status of the bootloader is a must before any firmware manipulation, for example, if you try to install TWRP on a locked bootloader, the phone simply wonβt turn on (it will get into Fastboot with an anti-rollback error), and if you unlock through the Mi Unlock Tool without first checking, you can run into a 168-hour delay or a complete loss of warranty.
2. Method 1: Checking through Fastboot (the most reliable method)
The Fastboot method works on all Xiaomi models, including the new Xiaomi 14, Redmi Note 13 and POCO F6. It does not require root rights and shows the exact status even on devices with a damaged system.
- π₯οΈ Computer with Windows/Linux/macOS
- π USB-cable (preferably original)
- π οΈ Utilities. ADB Fastboot (you can download from the official Android website)
Step-by-step:
- Turn off the phone. Press Volume Down + Power for 10 seconds to enter the Fastboot (some models need to keep Volume Up + Power). The screen should show the hare in a hat-eared with the inscription FASTBOOT.
- Connect your phone to your PC. Open the command prompt (cmd in Windows or Terminal on macOS/Linux) and go to the folder from fastboot.
- If the device is determined (the serial number appears), continue. If not, install Xiaomi drivers or try another cable.
- Run the command to check the status: fastboot oem device-info In the answer, find the line Device unlocked: true/false: false - bootloader blocked true - bootloader unlocked
On new devices (2023-2026), instead of oem device-info, the command can work:
fastboot getvar unlockedHere, unlocked: yes means unlocked, and unlocked: no means lock.
βοΈ Preparing for inspection through Fastboot
β οΈ Note: Some models (e.g. Xiaomi) 12T or Redmi K60) Oem device-info command can return the error FAILED (This does not mean that the bootloader is locked, it is just the manufacturer has restricted access to the information.
Method 2: Checking with Mi Unlock Tool (official method)
Mi Unlock Tool is Xiaomiβs official software for unlocking the bootloader, and it can also show its current status, but with reservations:
- β Only works on accounts that are tied to a device for at least 7 days (168-hour rule)
- β Does not show status on devices with damaged firmware
- β οΈ Requires authorization in Mi Account (on some models - with a reference) SIM-map)
How to check:
- Download Mi Unlock Tool from the official website (the version should correspond to your firmware: for HyperOS, take a new one, for MIUI 12-14 - the old one).
- Install the utility and run it on behalf of the administrator.
- Sign in to your Mi Account (should match your phone account!).
- Connect your phone in Fastboot mode (as in Method 1).
- If the utility shows the Unlock button, the bootloader is locked. If the button is active and there is a timer (for example, "72 hours"), the device is already in the process of unlocking. If the button is not there or if it says "Already unlocked", the bootloader is unlocked.
Pay attention to possible errors:
| Error code | Reason. | Decision |
|---|---|---|
| Couldnβt unlock | Account is not tied to 7+ days | Wait or use another account. |
| Current account is different from the account info on the device | Different accounts on the phone and in the utility | Re-link your account in your phone settings |
| Device is not supported | The model does not support unlocking | Check the list of supported devices on the Xiaomi website |
| Network error | Problems with the Internet or servers Xiaomi | Try it later or use a VPN. |
π‘
If the Mi Unlock Tool gives an error of 0x80070005, try disabling the antivirus and running the utility in Windows 8 compatibility mode.
Method 3: Verification through the Engineering Menu (without PC)
On some Xiaomi models, bootloader status can be found directly in the phoneβs settings without connecting it to a computer, which works on devices with MIUI 12-14 and partially on HyperOS, but does not guarantee 100% accuracy.
Instructions:
- Open the Phone app and enter the combination: ##4636## This will open the hidden Testing menu.
- Go to the phone information (or phone information) section.
- Scroll down to the Lock Status (or Bootloader) block, which may indicate: Locked - Unlocked - Unlocked - Unlocked Relocked - unlocked, but locked again (found on used devices)
If #4636### doesnβt work, try the alternative codes:
- #7378423## - Service information menu (for some Redmi)
- #36446337## - Engineering menu for hardware testing
β οΈ Note: On HyperOS devices (e.g. Xiaomi) 14 or Redmi Note 13 Pro+) The engineering codes can be disabled. ADB To access hidden settings: adb shell am start -a android.settings.SETTINGS Then manually search the Developer Options section β MIUI Version and tap it. 7 Time to unlock additional options.
What to do if the engineering menu is not opened?
5. Method 4: Verification through ADB (for advanced users)
If the Fastboot is not available (for example, the phone does not turn off), and the engineering menu does not show the status, you can use the Fastboot. ADB (Android Debug Bridge. This method requires the developer mode to be enabled and USB-debugging.
Step-by-step:
- Activate Developer Mode: Go to Settings β About Phone β MIUI Version. Tap the MIUI Version 7 times until the notification appears You became a developer!
- Back to Settings β Additionally. β For developers and include: π§ Debugging by USB π Unlocking OEM (point!)
- Connect the phone to the PC and confirm the debugging permission on the device screen.
- In the command line, run: adb shell getprop ro.boot.verifiedbootstate Possible answers: orange β bootloader unlocked green β bootloader locked
For HyperOS devices (such as Xiaomi 13T or POCO X6 Pro), an alternative command can work:
adb shell getprop ro.boot.flash.lockedHere, 1 stands for lock and 0 for unlock.
If the commands return an empty answer or an error not found, try to get a full property dump:
adb shell getprop > props.txtThen open the props.txt file on your PC and find lines with verifiedboot or flash.locked.
π‘
If you see ro.boot.veritymode=enforcing in response to the adb shell getprop command, it indirectly indicates a locked bootloader. However, use a combination of methods to diagnose accurately.
Method 5: Indirect signs of blocking (without technical means)
If you don't have access to a PC or your phone doesn't turn on, you can try to determine the bootloader status by proxy, which is not a 100% guarantee, but it can help you navigate.
Signs of a blocked loader:
- π The phone doesn't load into TWRP (After the installation attempt, a standard recavery appears MIUI)
- π« When you try to flash custom firmware through Fastboot, an anti-rollback or invalid image error flies out.
- π In the developer settings option Unlock OEM not active or inactive (in gray)
- β οΈ When you connect to the Mi Unlock Tool, you need to wait 168 hours.
- π± On the lock screen or in Fastboot there is the inscription This device is locked (found on new models)
Signs of an unlocked loader:
- β Successful loading in TWRP ornamental
- π In Fastboot, the Xiaomi logo has the inscription Unlocked (usually in red)
- π² Ability to install firmware through fastboot flash without errors
- π§ In the developer settings option Unlock OEM switched on and on
On used devices, pay attention to:
- π Presence of flashing marks (for example, version discrepancy) MIUI telephone-region)
- π± Absence of original packaging or seals (may indicate unlocking by previous owner)
- π Settings menu β Memory check if custom cores (e.g. KernelSU or Magisk) are installed)
β οΈ Note: Some models (e.g. Xiaomi Mi) 11 or Redmi K40) After unlocking the bootloader, data is reset from internal memory (/data). If you buy a used device, the absence of user files when unlocked may indicate a βcleaningβ before selling.
7. Frequent mistakes and how to avoid them
When checking the status of the bootloader, users often encounter typical problems, and here are the most common ones and how to solve them:
| Problem. | Reason. | Decision |
|---|---|---|
| Fastboot Oem Device-Info Returns Unknown Command | Manufacturer restricts access to information about the loader | Use fastboot getvar unlocked or check with Mi Unlock Tool |
| Mi Unlock Tool doesn't see the device in Fastboot | Drivers not installed or account not tied | Install Xiaomi drivers manually through Device Manager or use the Mi Flash Tool to install drivers |
| The phone is not included in Fastboot (hangs on the logo) | Boot or recovery section damaged | Try to pinch Volume up + Volume down + Power for 20 seconds for forced reboot |
| ADB teams return device unauthorized | Not confirmed permission to debug via USB | Turn off and reconnect the cable, confirm the request to Allow debugging on the phone? |
| The Fastboot screen reads Secure Boot: Enable | This is not the status of the bootloader, but the state of Secure Boot (protection against firmware swapping) | Ignore it β it does not affect the lock of the bootloader. |
A few more nuances:
- π In some models (for example, POCO F5) To log into Fastboot, you need to use the Volume Up combination + Food, not down.
- π± If the phone doesnβt respond to buttons, try plugging the charger in for 10 minutes β sometimes a discharged battery blocks access to the Fastboot.
- π₯οΈ Nana macOS/Linux Before using fastboot, you may need to give permission to execute: chmod +x fastboot