How to flash Xiaomi without unlocking the bootloader: all available ways

Firmware Xiaomi smartphone without unlocking the bootloader is a task that seems impossible for most users. the manufacturer strictly controls the process of modification of the software, requiring official permission to unlock the bootloader. However, there are legal and semi-legal methods to upgrade or reflash the device without resorting to this procedure.

In this article, we will analyze all available firmware options without unlocking, from official OTA-We'll focus on the risks of why some methods can lead to a device bribing and how to avoid it. If your goal is to just upgrade to the latest version, most users will have enough standard tools, but if you're trying to restore a brick or install custom firmware, prepare for the challenges.

We warn you right away: no method guarantees 100% success. Xiaomi regularly closes loopholes to bypass protection, so the relevance of methods depends on the model, region and version of MIUI. For example, devices on Qualcomm processors (like Redmi Note 10 Pro) have a better chance of successful firmware without unlocking than devices on MediaTek (for example, Poco M3). Before you start, check the compatibility of your model with the chosen method.

Also, keep in mind that even if the firmware is successful, some functions may not work properly, including:

  • πŸ”’ Data encryption – after informal firmware, the device may require a reset to factory settings;
  • πŸ“Ά Communication modules - problems with work 4G/5G, Wi-Fi or Bluetooth;
  • πŸ”‹ Power management – accelerated battery discharge or incorrect display of charge level.

1. Official ways to update without unlocking

The safest and most recommended method is the use of built-in MIUI tools. It is suitable for installing stable and beta versions of firmware, but does not allow you to downgrade the software version or install custom builds.

Main options:

  • πŸ“² OTA-Update – Automatic or manual updates through Settings β†’ The phone. β†’ System updates, suitable for transition to new version MIUI data-free;
  • πŸ’Ύ Local Update – installing a downloaded service pack through the same partition, allowing you to select a specific version (for example, go from beta to stable);
  • πŸ”„ Recovery via Mi Flash is the official Fastboot firmware tool, but requires authorization of the Mi Account and does not work on a locked bootloader for most models.

For a local update, download the firmware from the official MIUI Downloads website (choose the version for your model and region!). The file should have a.zip extension and weigh ~2-3 GB. After downloading:

  1. Move the archive to the root folder of internal memory;
  2. Open Settings β†’ About the phone β†’ System update;
  3. Click on the three dots in the upper right corner and select Select the update file.
  4. Please specify the downloaded archive and confirm the installation.

⚠️ Note: If a local update appears with a "Couldn't verify update" error, it means that the firmware is not designed for your region or model. Attempt to flash a wrong region's ROM may result in a permanent IMEI loss on some devices (e.g., Redmi Note 8 Pro).

πŸ“Š What type of update you use more often?
OTA (automatically)
Local Update Through Files
Mi Flash in Fastboot mode
Another way.

2. Firmware via EDL (Emergency Download Mode)

EDL (Emergency Boot) is a hidden firmware mode that bypasses locking the bootloader at the hardware level, and is used by Xiaomi service centers to restore the bricks.

  • πŸ”Œ Authorized Mi Account with Rights EDL (It is usually sold on specialized forums);
  • πŸ“¦ Firmware in.mbn or.elf format (not to be confused with the usual.zip for Fastboot!).

The process of firmware through EDL looks like this:

  1. Install the Qualcomm HS-USB QDLoader 9008 driver (can be found on XDA Developers)
  2. Connect the device to the PC by holding the Volume Up + Volume Down buttons (to log in to EDL);
  3. In Device Manager, check that the phone is defined as QHSUSB_BULK;
  4. Use the Mi Flash Pro or QFil tool to download the firmware.

The main problem with this method is the risk of blocking Mi accounts for using unofficial authorization data, and EDL firmware often contains stripped-down versions of MIUI (for example, without Google Services).

List of models with EDL support without authorization
Some older models (e.g. Redmi 4X, Redmi Note 4) allow you to flash through EDL without authorization, but this list is constantly shrinking, and since 2020 Xiaomi has been actively closing this loophole for new devices.

3. Use of engineering modes and test points

For power users, there is a method of firmware through test points on the device board, which requires disassembling the smartphone and closing contacts to force you to enter Fastboot or EDL mode, even if the bootloader is locked.

Algorithm of action:

    Coordinates of test points for popular models:

    ModelPositioning of pointsEntry mode
    Redmi Note 9 ProNext to the battery connector, two dots labeled TPEDL
    Poco X3 NFCUnder the screen, next to the camera (requires to remove the metal screen)Fastboot
    Mi 9TLeft of the charging connector, GND and EDL pointsEDL

    ⚠️ Warning: Incorrect closure of the contacts can lead to damage to the board (chain burnout). On models with a non-removable battery (for example, Mi 11) requires experience with soldering equipment to safely turn off the battery.

    Make a backup copy of the data|Charge the battery to 50%+|Prepare tweezers and multimeters|Download the correct version of the firmware|Have a spare battery on hand (for models with a removable battery)-->

    4.Alternative tools: SP Flash Tool and MTK Client

    For devices running MediaTek (Helio G Series, Dimensity) processors, you can use the SP Flash Tool or MTK Client tools, which allow you to flash devices through the Preloader port, bypassing the bootloader lock.

    Advantages of the method:

    • πŸ”§ It works on most MediaTek devices (e.g. Redmi). 9A, Poco M3);
    • πŸ“₯ Allows you to cross separate sections (for example, only boot.img system);
    • πŸ”„ Supports Downgrade (downgrading version) MIUI).

    Instructions for SP Flash Tool:

    1. Download and install MediaTek Preloader drivers;
    2. Unpack firmware in scatter.txt format (can be found on 4PDA or XDA)
    3. Launch the SP Flash Tool, download scatter.txt;
    4. Connect the device to the PC (without pressing buttons!);
    5. Press Download and wait for the process to end.

    MTK Client is a more advanced tool that allows you to work with the memory of the device at a low level, for example, it can:

    • Consider the firmware dump from the working device;
    • Restore the IMEI after a failed firmware;
    • FRP (Factory Reset Protection) is used.

    However, MTK Client requires command line knowledge. Example command to read device information:

    python mtk e metadata,userdata

    πŸ’‘

    If the SP Flash Tool is giving you an error called "SLA Auth Fail," try using version 5.2020 or lower.

    5. Recovery through Mi Assistant (for "bricks")

    If your device doesn’t turn on (hung on the MI logo or included in the bootloop), you can try the official Mi Assistant tool.It is designed to restore the health of smartphones after unsuccessful updates.

    Features of the Mi Assistant:

    • πŸ”„ It only works with devices that have been logged into your Mi Account at least once;
    • πŸ“¦ Installs the latest stable version MIUI for your region;
    • πŸ”’ It does not require unlocking the bootloader, but resets all data.

    Step-by-step:

    1. Download Mi Assistant from the official Xiaomi website.
    2. Connect the device in Fastboot mode (keep Volume down + Power when turned on);
    3. Sign in to your Mi Account;
    4. Select the "Restore Device" option and follow the instructions.

    If the Mi Assistant does not recognize the device:

    • πŸ”Œ Check the cable (use the original cable) USB Type-C);
    • πŸ’» Install Mi Flash drivers manually;
    • πŸ”„ Try another PC (sometimes drivers conflict).

    ⚠️ Note: On some models (e.g. Redmi Note 10), the Mi Assistant may require confirmation via the SMS, Even if the device doesn't turn on, it's impossible to restore it without unlocking the bootloader.

    6 Risks and how to avoid them

    Firmware without unlocking the bootloader is always a compromise between the desired result and potential problems.

    • 🚨 Loss of loss IMEI β€” on some models (especially with MediaTek) after firmware reset serial numbers of communication modules;
    • πŸ”’ Blocking your Mi Account – using informal tools (e.g, EDL with other people's authorization data);
    • πŸ“΅ Network loss – if the firmware does not match the region of the device (for example, installing a Chinese device). ROM global).

    How to minimize the risks:

    • πŸ“Œ Always check the firmware compatibility with your model (use tools like this). MIUI Version Checker);
    • πŸ”„ Make a backup copy of the section NVRAM (stored IMEI and MAC-address);
    • πŸ’Ύ Use only official firmware sources (Xiaomi website, XDA Developers, 4PDA).

    If the IMEI is missing after the firmware, you can restore it using the engineering menu:

    ##3646633## β†’ Connectivity β†’ CDS Information β†’ Radio Information β†’ Phone 1

    In the AT+ field, enter the command:

    AT + EGMR = 1,7,"Your IMEI_1"
    
    
    AT + EGMR = 1,10,"Your IMEI_2"

    For models with MediaTek, use the Maui META or SN Writer tool.

    πŸ’‘

    If the device doesn't turn on after the firmware, don't try to repeat the process, which can exacerbate the problem. Contact the service center to indicate that the firmware was performed without unlocking the bootloader. In most cases, recovery is possible through EDL with official authorization.

    FAQ: Frequent questions

    Can I flash Xiaomi without unlocking the bootloader if it is locked after resetting?
    Yes, but only if you have an authorized Mi Account tied to the device, in which case Mi Assistant or Fastboot firmware with the official package will help, if the account is not tied, unlocking the bootloader is mandatory.
    Why does Mi Flash not see the device in Fastboot mode?
    There are several reasons: Mi Flash drivers are not installed; Uses a non-original cable; Device is not in Fastboot mode (check if the indicator is on); On the PC, the driver signature is enabled (disable it via Run β†’ gpedit.msc).
    How do I know if my Xiaomi bootloader is unlocked?
    Turn off the device, then hold Volume down + Power to log in to Fastboot. If there's "Unlocked" at the bottom of the screen, the bootloader is unlocked. If there's no sign or it says "Locked," it's locked.
    Can I install custom Recovery (TWRP) without unlocking the bootloader?
    No, installing a TWRP or other customized recavator requires an unlocked bootloader, and without that, any attempt to flash recovery.img will result in a "Signature verification failed" error.
    What if the device does not turn on after the firmware is installed via EDL?
    It is likely that the firmware was damaged or not suitable for your model. Try: Repeat the firmware with another version of the software; Use Mi Flash in Clean All mode; Contact the service center with a firmware method (EDL). If the device is defined as QHSUSB_BULK, but the firmware is not running, check the integrity of the.mbn file (its size must match the one indicated on the site).