The unlocked bootloader on Xiaomi smartphones offers a wide range of customization options, from custom firmware installation to root rights. However, many users face the need to return the factory lock β whether due to security issues, warranty repairs or the sale of the device. On the Internet, most guides require a connection to a PC, but what to do if the computer is not at hand?
In this article, we will analyze all the current ways to block the bootloader on Xiaomi, Redmi and POCO It's important to understand that the procedure has nuances depending on the version. MIUI/HyperOS, Mi Account device models and status, and we'll also analyze the risks, consequences, and what to do if something goes wrong.
Why might I need to block the bootloader?
An unlocked bootloader is not only about freedom, it is also about potential threats, and here are the most common reasons why users want to return the factory lock:
- π Data security: Open bootloader makes it easier for attackers to access system partitions, especially when stealing a device.
- π οΈ Warranty repair: Xiaomi service centers may refuse warranty if they find an unlocked bootloader.
- π° Phone Sale: Buyers often check bootloader status through fastboot oem device-info and refuse devices with unlocked status.
- π Unstable work: After experiments with firmware, bugs can occur that even a reset does not fix - locking the bootloader sometimes helps.
- π± Updates OTA: Some models stop getting updates "over the air" with unlocked bootloader.
But it's important to keep in mind that the official way to lock without a PC is only for a limited number of models, and most users will have to combine methods or compromise, and then we'll look at all the options available, from the simplest to the most risky.
Official method: lock via Mi Unlock (without PC)
To be sure, Xiaomi doesnβt provide a direct way to lock a bootloader without a computer, but there is a workaround through the mobile version of Mi Unlock, which works on some models, which is suitable for devices running MIUI 12-14 and HyperOS 1.0, but requires a tied Mi Account with developer rights.
Here's the step-by-step instruction:
- Activate Developer Mode: Go to Settings β About Phone β MIUI Version and tap 7 times on the build number.
- Back to Settings β Additionally. β For developers and include OEM-unlocking and debugging USB.
- Install the Mi Unlock app (APK-The version can be downloaded from the official website).
- Launch the application, log in under the same Mi Account that was used to unlock.
- Connect to Wi-Fi and select the Lock Bootloader option (not available on all devices!).
β οΈ Note: This method only works on devices that initially supported official unlocking via the Mi Unlock Tool. On models with gray status (e.g. global versions bought in China), the option may not be available.
βοΈ Preparation for loader lock
Alternative method: reset to factory settings with lock
On some Xiaomi devices (mostly older models before the Redmi Note 9), fastboot reset can automatically lock the bootloader.This method doesn't guarantee 100% results, but it's worth trying if other methods are not available.
Instructions:
- Turn off the phone.
- Press Volume Down + Power to log into Fastboot Mode.
- From the menu, select Recovery Mode (use volume buttons for navigation, power for selection).
- In Recovery, select Wipe Data β Wipe All Data.
- After reset, restart the device and check the bootloader status via the command: fastboot oem device-info (can be performed via the terminal on another Android device with ADB).
π How do you check the status of the bootloader? If you see Device unlocked: false in the answer to the command above, the bootloader is locked. If true, the method did not work.
Why does the reset not always block the loader?
Method for Advanced: Hand Firmware Through TWRP
If you have custom TWRP Recovery installed on your device, you can try flashing the original boot.img and recovery.img from the official firmware, which is risky and requires strict compliance with instructions, but sometimes helps to return the status of locked.
Procedure:
- Download the official firmware for your model from the Xiaomi website (choose the Fastboot version).
- Unpack the archive and search for boot.img and recovery.img files.
- Move them to your phone (for example, through the OTG-cable).
- Load to TWRP (Loudness Up + Nutrition).
- From the Install menu, select Install Image and stitch both files alternately.
- Run Wipe β Format Data (this will delete all data!).
- Reboot and check the status of the bootloader.
β οΈ Attention: Wrong firmware boot.img This method is recommended only for experienced users who are willing to take risks and are able to restore the phone through the use of a device. EDL Mode.
| Xiaomi model | Does it support blocking through TWRP? | The risk of brick | Alternative method |
|---|---|---|---|
| Redmi Note 8/8T | Yes (50% success) | Medium. | Mi Flash + PC |
| POCO X3 NFC | Partially (requires patched TWRP) | High-pitched | Official Mi Unlock |
| Mi 9/9T | Yes (70% success) | Low. | Reset via fastboot |
| Redmi Note 10 Pro | No (locking only via PC) | critical | Calling the service |
What do you do if nothing helps?
If all of these methods fail, you have three options:
- π₯οΈ Use a PC: The most reliable way is to connect to a computer and use the Mi Flash Tool or Fastboot commands. Yes, it requires additional hardware, but it guarantees the result.
- π οΈ Contact the service center: Official and informal services often offer a bootloader lock service for 500-1500 rubles.
- π¦ Sell as is: If the phone is stable, you can honestly state the unlocked status in the ad and reduce the price by 10-15.
π‘ Tip: If you sell a phone with an unlocked bootloader, be sure to run Wipe Data through TWRP Fastboot β Standard reset in settings doesnβt clean all partitions!
π‘
Before selling a device with an unlocked bootloader, untie your Mi Account in the settings. Otherwise, the new owner may face lockdown through the Mi Cloud.
Risks and consequences of a failed lock
Attempting to block a bootloader without a PC is fraught with several problems:
- Soft-brick: The phone is turned on but only boots up to the Xiaomi logo or Fastboot Mode. is fixed by firmware via PC.
- Hard-brick: The device does not respond to buttons, is not determined by the computer. Requires flashing through EDL Mode (requires an authorized Xiaomi account).
- Loss of IMEI: On some models (Redmi Note 7, Mi A2), after manipulating the bootloader, the IMEI may fly, which will deprive you of mobile communication.
- Blocking Mi Account: With frequent change of status of the bootloader, Xiaomi can block the account on suspicion of hacking.
β οΈ Note: If after a failed lock, the phone stopped booting, do not try to repeat the procedure - each new reset increases the chance of failure.
π‘
On HyperOS devices (2026), the chances of blocking a bootloader without a PC are minimal. The manufacturer has tightened protections, and most users will need a PC or help from a service center.