How to block a bootloader on Xiaomi without a PC: all working ways in 2026

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.

πŸ“Š Why do you want to block the bootloader on Xiaomi?
For sale of the device
Because of the guarantee issues
Restoring stability of work
Improve security
Other

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:

  1. Activate Developer Mode: Go to Settings β†’ About Phone β†’ MIUI Version and tap 7 times on the build number.
  2. Back to Settings β†’ Additionally. β†’ For developers and include OEM-unlocking and debugging USB.
  3. Install the Mi Unlock app (APK-The version can be downloaded from the official website).
  4. Launch the application, log in under the same Mi Account that was used to unlock.
  5. 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

Done: 0 / 5

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:

  1. Turn off the phone.
  2. Press Volume Down + Power to log into Fastboot Mode.
  3. From the menu, select Recovery Mode (use volume buttons for navigation, power for selection).
  4. In Recovery, select Wipe Data β†’ Wipe All Data.
  5. 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?
On new Xiaomi models (starting with the Redmi Note 10 and Mi 11), the recovery reset does not affect the bootloader section.

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:

  1. Download the official firmware for your model from the Xiaomi website (choose the Fastboot version).
  2. Unpack the archive and search for boot.img and recovery.img files.
  3. Move them to your phone (for example, through the OTG-cable).
  4. Load to TWRP (Loudness Up + Nutrition).
  5. From the Install menu, select Install Image and stitch both files alternately.
  6. Run Wipe β†’ Format Data (this will delete all data!).
  7. 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 modelDoes it support blocking through TWRP?The risk of brickAlternative method
Redmi Note 8/8TYes (50% success)Medium.Mi Flash + PC
POCO X3 NFCPartially (requires patched TWRP)High-pitchedOfficial Mi Unlock
Mi 9/9TYes (70% success)Low.Reset via fastboot
Redmi Note 10 ProNo (locking only via PC)criticalCalling 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:

  1. Soft-brick: The phone is turned on but only boots up to the Xiaomi logo or Fastboot Mode. is fixed by firmware via PC.
  2. 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).
  3. 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.
  4. 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.

FAQ: Frequent questions about bootloader lockdown

Can I block a bootloader on Xiaomi without losing data?
No. Any locking method requires a complete device reset (Wipe Data) as system partitions change. Pre-backup via Mi Cloud or TWRP (if installed).
Why does the phone not turn on after locking?
This is a typical soft-brick. It's because boot.img doesn't match up with the current firmware. Solution: run the full Fastboot-ROM through your PC using the Mi Flash Tool (select the clean all option).
Does the reset method work on newer models (Redmi Note 12, POCO F5)?
No. Starting with the Redmi Note 11 and Xiaomi 12, resetting via Recovery or Fastboot doesn't block the bootloader. These models require the Mi Unlock Tool to be used on a PC.
Can you fool a service center by hiding an unlocked bootloader?
Technically, no. The wizards check the status through fastboot oem device-info or specialized utilities (Xiaomi Auth Tool), if the warranty is critical, it is better to lock the bootloader officially or contact the service for paid help.
What is a β€œloader’s string” and what is it dangerous for?
The danger is that on some models (Redmi 4X, Mi 5) this leads to a loss of IMEI or an Invalid IMEI error. Before reeling, check if your model supports this procedure on the 4PDA or XDA Developers forums.