How to flash Xiaomi with a locked bootloader if the phone has turned into a brick

Xiaomi stopped turning on after a failed firmware? hung on the Mi logo or went into a perpetual rebuke? 90% of these problems are associated with a locked bootloader (bootloader), which does not allow you to install custom or even official firmware. In this article, the only working way to bring the device back to life, even if it does not respond to buttons, is not determined by the computer or shows an Anti Rollback error.

We're going to look at three scenarios: when the phone still reacts (vibrates, the screen lights up), when it's completely dead (hard brick), and what to do if the Mi Flash Tool refuses to stitch the device because of a locked bootloader. Xiaomi/Redmi/Poco (from the Redmi Note 4X Xiaomi 13 Ultra, but there are nuances for devices on Qualcomm and Mediatek. MIUI 14/15 hyperos.

Warning: The process requires soldering (for the purpose of EDL-You know, you know, you know, you know, you know, you know, you know, you know, if you've never held a soldering iron, you better go to the service. But if you're willing to take a chance, read on, and you'll find step-by-step pictures, tools, and solutions to some of the most common mistakes.

Why Xiaomi is turning into a brick and how to prevent it

The main reason for the "bricking" is the conflict between the firmware version and the state of the bootloader.

  • πŸ”„ Recoil on the old firmware (downgrade) without taking into account Anti Rollback – Xiaomi protection blocks the device if you try to install a version older than the one that was originally.
  • πŸ”§ Mi Unlock Tool – if you interrupt the process or use informal tools.
  • πŸ“± Installation of custom recaveri (e.g, TWRP) on the blocked bootloader - the phone stops loading after the first restart.
  • ⚑ Interrupted update through MIUI Updater or Fastboot – especially dangerous if the power is turned off at this point.

The critical mistake most users make is to try to flash a phone through Fastboot without unlocking the bootloader. 99% of the time, this leads to a hard brick, where the device is not even identified as a Qualcomm 9008. EDL-Emergency Download Mode, but this will require opening the case and closing contacts on the board.

How do you avoid the problem?

  • βœ… Always check the Anti Rollback version before you run the firmware (you can find it in Settings). β†’ The phone. β†’ Version. MIUI Or through Fastboot command, fastboot getvar anti).
  • βœ… Use only official firmware from en.miui.com (for your model and region!).
  • βœ… Before any firmware manipulations, unlock the bootloader through the Mi Unlock Tool (yes, it takes 7-15 days to wait, but this is the only legal way to do so).
πŸ“Š Your Xiaomi was already in a brick state?
Yeah, he did.
Yeah, I did.
No, but I'm afraid of that outcome.
What's a brick?

Preparation of tools: what will be needed for recovery

Depending on the level of bricking, you may need different tools, and here is a full hard brick checklist for the worst-case scenario where the phone doesn't respond to anything.

Installed drivers Qualcomm/Mediatek (HS-USB QDLoader 9008)

Cable USB Type-C (preferably original, without resistors)

Mi Flash Tool (last version)

Firmware for your model (Fastboot) ROM)

Solding iron (power 30-60 W) and solder

Multimeter (to check contacts)

Mediator or plastic blade to open the body

Strain or shrink tube

-->

If your device still has any response (vibrates, lights up, is defined as a Fastboot), you won't need a soldering iron, but if you have a full brick, you don't need the hardware.

Tool.What do you need?Where to find it.Cost (roughly)
Qualcomm drivers HS-USB QDLoader 9008The computer recognizes the phone in EDL-modeXDA DevelopersFree of charge.
A soldering iron (30–60 W)Close of contacts for forced entry into EDLAny radio store800 β‚½
Fastboot firmware ROMOfficial image for recovery through Mi FlashOfficial Xiaomi websiteFree of charge.
Mediator or plastic spatulaCareful opening of the body without damageAny office supply store50 β‚½

Important: if your device is on a Mediatek processor (e.g. Redmi) 9A, Poco C3), Mi Flash Tool is required instead SP Flash Tool, and for the entrance to EDL-You need to close other contacts (usually points). TEST POINT Next to the battery, specify the circuitry for your model on 4PDA.

⚠️ Warning: Don't use cheap Chinese soldering irons without adjusting the temperature! Overheating the board can damage the chips, and then recovery will become impossible. The optimal temperature for soldering contacts is 300-350°C.

Step 1: Check the status of the phone (soft brick vs hard brick)

Before you start to take a soldering iron, you need to determine how serious the problem is.

  • πŸ”‹ The phone vibrates when connected to a charger, but does not turn on β†’ Soft brick (can be restored via Fastboot).
  • πŸ–₯️ The computer defines the device as Qualcomm HS-USB QDLoader 9008 β†’ EDL-Mode (needs firmware via Mi Flash).
  • ⚰ The phone does not respond to buttons, does not warm, is not determined by the computer. β†’ Hard brick (requires hardware reset to be used) EDL).
  • πŸ”„ The phone is loaded into the recavΓ©ry but cannot sew ZIP β†’ Blocked bootloader (you need to unlock through Mi Unlock).

How to check if your phone is being detected by a computer:

  1. Connect your phone to a PC without a battery (if it is removable).
  2. Open Device Manager (Win + X β†’ Device Manager).
  3. Look at the Ports section (COM and LPT) or other devices.
  4. If you see Qualcomm HS-USB QDLoader 9008 – phone in the phone EDL-mode.

If the device is not defined at all, try:

  • πŸ”Œ Connect to another USB-port (preferably) USB 2.0, because 3.0 sometimes doesn't recognize EDL).
  • πŸ”„ Restart your computer with the antivirus disabled (it can block the drivers).
  • πŸ”§ Install the driver manually (download from here).

πŸ’‘

If your phone is responding to charging (the indicator lights up), try holding the power button for 30 to 60 seconds, which sometimes helps you get out of the loop.

Step 2: Recovery via Fastboot (if phone is detected)

If your device is defined as Fastboot (Android Bootloader Interface appears in Device Manager), there is a chance to restore it without soldering.

  1. Download Fastboot firmware for your model from the official Xiaomi website (file with the extension.tgz).
  2. Unpack the archive in folder C:\miui\ (the path should not contain Cyrillic!).
  3. Install the Mi Flash Tool (you can download it here).
  4. Launch Mi Flash, press Select and select the folder with the unpacked firmware.
  5. Connect your phone in Fastboot mode (keep Volume Down + Power when connecting to your PC).
  6. In Mi Flash, press Refresh – the device should appear.
  7. Select Clean All mode (Save user data if you want to save data, but it’s risky!).
  8. Press Flash and wait until the end (usually 5-10 minutes).

Possible errors and solutions:

  • 🚫 Can't receive hello packet β†’ Check the cable or port USB, Try another computer.
  • πŸ”’ Device is locked β†’ bootloader is locked, you need to unlock through Mi Unlock Tool (see next section).
  • ⚠️ Anti Rollback β†’ You have an old firmware, you need to download a newer version.

⚠️ Note: If the Mi Flash Tool gives an error in the Invalid image format, then you downloaded the wrong firmware. ROM (not recover ROM neither OTA!). Check the name of the file – it should contain the word fastboot.

What to do if Mi Flash is 99% frozen?
This usually means that the firmware is not suitable for your model or version of Anti Rollback: 1. Try a different version of the firmware (a newer version). 2. Disable the antivirus – it can block the recording on the device. 3. Use a different computer (preferably with Windows) 10/11). 4. If nothing helps, go to the method of EDL (see next section).

Step 3: Unlock the bootloader via Mi Unlock Tool (if the phone is turned on)

If your Xiaomi is still somehow turned on (although it only loads to the logo), but the bootloader is blocked, you can try to unlock it in the official way.

  1. Download Mi Unlock Tool from the official website.
  2. Register with Mi Account and link your phone to it (in Mi Account settings) β†’ Mi Cloud β†’ Find the device).
  3. Turn it on. OEM Unlock and USB Debugging in the developer settings (Settings) β†’ The phone. β†’ Version. MIUI (press 7 times) β†’ For developers).
  4. Connect your phone to your PC in Fastboot mode.
  5. Launch the Mi Unlock Tool, log in to your account and follow the instructions.

Important nuances:

  • ⏳ Waiting 7-15 days: After first linking an account to a device, Xiaomi blocks unlocking for a week (or longer.
  • πŸ”— Account Linking: If you didn’t tie up your Mi Account before your phone turned brick, unlocking the bootloader won’t work!
  • πŸ“± Mediatek models: Mi Unlock Tool doesn’t work for them – you need to use it SP Flash Tool + Auth File (see instructions on the 4PDA).

If the Mi Unlock Tool is a Couldn't unlock or Device not supported error, it means:

  • πŸ”’ The bootloader is already unlocked (check the fastboot oem device-info team - if Locked: false, then everything is fine).
  • ⏳ It has not been 7 days since the account was linked.
  • πŸ“΅ The device does not support official unlocking (e.g. some models for the Chinese market).

πŸ’‘

If the Mi Unlock Tool does not work, and the phone is in a soft brick state, only the firmware through the phone remains. EDL (Even if the loader is locked).

Step 4: Hardware discharge into EDL-mode (for hard brick)

If the phone does not respond to anything (does not vibrate, does not warm, is not determined by the computer), you will have to manually translate it into a computer. EDL-This is a loading emergency mode, and you need to close the contacts on the motherboard:

⚠️ Warning: This method requires disassembling the phone and soldering. If you've never soldered, take the device to the service.

  1. πŸ› οΈ Take the phone apart: Remove the back cover (use a mediator or plastic spatula). Disconnect the battery (take the plume off carefully). Find the motherboard - usually under the screen or battery.
  2. πŸ” Find contacts. EDL: For Qualcomm: Look for dots with labels EDL, TEST POINT Or two contacts next to the processor. CLK and DAT (The exact scheme depends on the model).
  3. πŸ”₯ Close the contacts: Take tweezers or a piece of wire, close the contacts for 5-10 seconds. Connect the phone to a PC without a battery (power will go on the Internet). USB).
  4. πŸ–₯️ Check Device Definition: Qualcomm should appear in Device Manager HS-USB QDLoader 9008. If not, repeat the circuit or check the driver.

Where to look for a diagram for your model?

  • πŸ“± Redmi Note 8/8T: Contacts EDL Next to the camera (two dots under the metal screen).
  • πŸ“± Xiaomi Mi 9/9T: Points EDL under the battery, next to the processor.
  • πŸ“± Poco X3/X3 Pro: We need to close. TEST POINT (two points to the left of the battery connector).

For the exact location of contacts, look for schemes on:

  • 4PDA (model-themed).
  • XDA Developers.
  • YouTube (search for "phone model" EDL test point").

⚠️ Note: Some models (e.g. Redmi Note 10 Pro) have contacts EDL They're hidden under a metal screen, and to get to them, you have to take the entire screen off, which increases the risk of damage to the plumes.

Step 5: Firmware through EDL using the Mi Flash Tool

When the phone is defined as Qualcomm HS-USB QDLoader 9008, you can start the firmware. Here's the step-by-step instruction:

  1. πŸ“₯ Download the firmware: Need a Fastboot ROM For your model (preferably the latest version). Unpack the archive in a folder C:\EDL\ (pathless!).
  2. πŸ› οΈ Set up Mi Flash Tool: Run the program on behalf of the administrator. Press Select and select the firmware folder. Select Clean all at the bottom (if you want to save data β€” Clean all and lock, but this doesn't always work).
  3. πŸ”Œ Connect your phone: Make sure that Qualcomm is displayed in the Device Manager HS-USB QDLoader 9008 Press Refresh in Mi Flash - the device should appear.
  4. ⚑ Start the firmware: Press Flash and wait until it's finished (usually 3-7 minutes). If the process is 99% frozen, don't turn off the phone, wait 10-15 minutes.

Frequent mistakes and decisions:

Mistake.Reason.Decision
Sahara connection failedIncorrect drivers or contacts EDL wrongly closedReinstall the driver, check the closure of contacts
Firehose mismatchThe firmware is not suitable for your model.Download another firmware version (preferably global)
Device not foundPhone's off-line. EDL or problems with USBCheck the closure of contacts, try another cable/port
Anti RollbackThe firmware is older than the current versionDownload a newer firmware or use the Anti Rollback Patch

If the firmware is successful, the phone should automatically restart.

  • πŸ”‹ Connect the charger and wait 5-10 minutes.
  • πŸ”„ Hold the power button for 30 seconds.
  • πŸ“± If the screen is black, repeat the firmware by selecting Clean all and lock.

πŸ’‘

After successful firmware through EDL The bootloader will remain unlocked, which means you can install custom Recovery or firmware without waiting 7 days.

What to do if nothing helps: alternative methods

If all of the above methods do not work, there are still a few options:

  • πŸ”§ Using Deep Flash Cable: This is a special cable with closed contacts D+ and D-, which forcibly transfers the phone to EDL. Suitable for devices on Qualcomm. You can do it yourself (scheme: instruction on the XDA).

Last Chance: Firmware through UFI Box or EasyJTAG

These are professional tools for repairing damaged phone firmware, and they allow you to:

  • πŸ”§ Switch your phone even without a working bootloader.
  • πŸ”„ Restore IMEI and SN post-fast-fast.
  • πŸ“± Work with devices that are not defined by a computer.

Minus - high cost (from 5000) β‚½ for firmware) and the need to contact specialists.

πŸ’‘

If you live in a small city and there are no good services, try to find a master on Yula or Avito on request "Repair Xiaomi". EDL". Be sure to read the reviews!

FAQ: Answers to Frequent Questions

Can I flash Xiaomi with a locked bootloader without unlocking?
Technically yes, but only through EDL-However, after such firmware, the bootloader will remain unlocked, which can lead to problems with the system. OTA-If the phone is still on, it's best to unlock the bootloader officially through the Mi Unlock Tool.
What is Anti Rollback and How to Get Around It?
Anti Rollback is Xiaomi's protection that blocks rollbacks on old firmware. If you try to install an older version, the phone will turn into a brick. 4PDA).
The phone's been called, but it's not turning on.
Possible causes: πŸ”‹ Battery discharged – connect the charger and wait 10-15 minutes. πŸ”„ The firmware is not suitable – try another version (for example, global instead of Chinese). πŸ“± The fee is damaged - if the phone does not warm and do not see