Remove the firmware on Xiaomi – what to do to bring the phone back to life

Removing firmware on Xiaomi smartphones is one of the most frightening situations for the user. The phone stops turning on, hangs on the Mi logo or does not show signs of life at all (the β€œbrick”). The reasons are different: a failed update via TWRP, accidental formatting of the system partition, interrupted firmware through Fastboot or experiments with custom ROMs.

In this article, we will discuss all the working ways to recover from the removal of firmware, from the standard Fastboot mode to Emergency Download Mode (EDL), describe how to choose the right version of MIUI for your model, what tools you will need, and what to do if the phone is not determined by the computer, and also the typical errors that will turn a temporary problem into an irreversible one.

Important: the procedure requires minimal technical skills. If you have never worked with an ADB/Fastboot or are not sure about the smartphone model, you should contact the service.

1.Diagnostics: What type of β€œbrick” your Xiaomi has

Before you start repairing, determine the state of the device, and the choice of method depends on this:

  • πŸ”„ Soft-brick: The phone turns on but only loads to the Mi logo, flashes the screen or reboots cyclically.
  • πŸ“΅ Hard-brick: no button response, no computer detection, black screen required EDL-soldering.
  • ⚑ Bootloop: The phone is constantly rebooted without reaching the desktop. Often solved by resetting via Recovery.

Checking the type of β€œbrick” is simple:

  1. Connect your smartphone to charge for 10-15 minutes. If the charging indicator is on, it's soft-brick.
  2. Press Power + Volume down for 10-15 seconds. If the Fastboot menu comes up, the device is recoverable.
  3. If the phone doesn’t respond to anything, but the computer makes a USB connection sound, try EDL.

⚠️ Note: If Xiaomi’s smartphone is not even identified as an unknown device in Windows Device Manager, the problem may be a damaged bootloader or hardware malfunction.

πŸ“Š What is your type of β€œbrick” on Xiaomi?
Soft (on but not loaded)
Hard (not responding to buttons)
Loaded loading (bootloop)
I don't know, I need to be diagnosed.

2.Tool preparation: what will be needed for recovery

To restore the firmware, prepare:

  • πŸ’» Computer on Windows 7/10/11 (MiFlash is best avoided macOS/Linux because of driver problems).
  • πŸ”Œ Original. USB-cable (preferably from the kit) cheap cables may not transmit data.
  • πŸ”‹ Charge at least 30% If the phone is discharged, connect to the charge for 1-2 hours before the procedure.
  • πŸ“₯ Firmware for your model. download only from official sources (see section 3).

Also install:

  1. ADB & Fastboot Tools (or Minimal ADB and Fastboot for the simplified version)
  2. MiFlash Tool (the official utility from Xiaomi for firmware).
  3. Drivers: Google USB Driver (for Fastboot). Qualcomm HS-USB QDLoader 9008 (for EDL).

β˜‘οΈ Preparation for firmware recovery

Done: 0 / 5

If you plan to use it EDL-The regime will be required additionally:

  • πŸ”§ Testpoint (for some models, such as the Redmi Note 8 Pro) is a short circuit of the contacts on the board for forced transition to the computer. EDL.
  • πŸ”¨ Screwdriver and plastic mediator for disassembling the case (if you need to close the testpoint).

⚠️ Note: On models with a MediaTek processor (e.g. Redmi) 9A, Poco C31) EDL-The mode can be blocked, in which case only a service center with an authorized Xiaomi account will help.

3. Where to download the official firmware for Xiaomi

Using the wrong firmware is the most common reason for the final bricking.

SourceType of firmwareFor which models?Reference
Official MIUI websiteStable/Beta MIUI (Fastboot/Recovery)All models.new.mi.com
Xiaomi Firmware UpdaterFirmware archive (including older versions)All models.xiaomifirmwareupdater.com
4PDA (forum)Custom and official firmwarePopular models (Redmi Note 10, Poco X3)4pda.to
MIUI bootloader (Telegram bot)Automatic selection of firmware by modelAll models.@MIUIDownloaderBot

How to choose the right firmware:

  1. Find out the exact model of your Xiaomi. For example, the Redmi Note 9 Pro can be joyeuse (global version) or curtana (Indian), you can see on the box or through the command fastboot getvar product (if the phone is identified).
  2. Select a region: Global for international versions (e.g. Mi 11 Lite 5G NE), China for Chinese (requires bootloader unlocking), EEA for Europe, India for India (e.g. Redmi Note 10 Pro Max).

Fastboot firmware

.tgz

.zip

Recovery

system

πŸ’‘

If you are not sure about the model, download the firmware for a close modification (for example, for the Redmi Note 9 Pro instead of the Redmi Note 9S). 90% of the time this will work, but the risk of error remains.

4.Recovery via Fastboot (for soft-brick)

If the phone is detected in Fastboot mode (on the screen a robot labeled Fastboot), follow this instruction:

  1. Unpack the downloaded firmware in a folder without Cyrillic (for example, C:\MIUI\proshivka).
  2. Connect your smartphone to your computer, holding Power + Volume down.
  3. Open MiFlash, press Select and specify the folder with the firmware.
  4. At the bottom, choose Clean all (full cleaning) or Clean all and lock (clean + lock bootloader).
  5. Press Flash and wait until it is finished (5-10 minutes).

Instructions for EDL:

  1. Download the firmware for EDL (file with.mbn or.elf extension).
  2. Install the Qualcomm HS-USB QDLoader 9008 driver (see section 2).
  3. Transfer the phone to EDL: For most models: press Power + Volume up + Volume down and plug in the cable. If it doesn't work: find a testpoint for your model (for example, for the Redmi Note 8 Pro these are contacts under the battery).

MiFlash

Flash

⚠️ Note: If after the scaling of the EDL The phone does not turn on, and a Qualcomm error appears in Device Manager HS-USB QDLoader 9008 (Error), so the firmware is not suitable. Try another version or contact the service.

πŸ’‘

EDL is Xiaomi’s last chance to recover without a soldering iron, and if it doesn’t work, it’s probably a hardware problem (a damaged memory chip or processor).

6. Alternative methods: when nothing helps

If Fastboot and EDL didn’t work, try:

  • πŸ”§ Flip-through TWRP (If you have custom Recovery installed: Download the firmware in.zip for Recovery. Move it to SD-map OTG-- The storage device. + Volume up, select Install and specify the file.

Recoil through Mi Account

bootloader

  1. Sign in to the Mi Account tied to the phone.
  2. Go to Settings β†’ Mi Cloud β†’ Find the device.
  3. Select the Unlock Bootloader option (if available).
  4. πŸ“ž Contact the service: Cost of restoration: from 1,500 to 5 000 β‚½ (Timeline: 1-3 days Warranty: usually 1-3 months.

Critical information: If the phone is identified after all manipulations as Qualcomm HS-USB Diagnostics 900E (instead of 9008), this means hardware damage to the eMMC chip. Recovery is possible only by changing the board or soldering memory - the cost often exceeds the price of a new smartphone.

7.Typical mistakes and how to avoid them

Firmware repair errors can make a temporary problem irreversible.

Mistake.Reason.Decision
Wrong firmwareDownloaded version for another model/regionCheck the product with fastboot getvar product
Anti-rollback errorReverse to the old version of MIUIDownload a newer firmware
Device not foundNo drivers or cable issuesInstall drivers manually through Device Manager
MiFlash is 99% frozenConflict with antivirus or rightsDisable the antivirus, run on behalf of the administrator
The phone does not turn on after the firmwareBootloader or incompatible firmware damagedTry an EDL or service center

To minimize the risks:

  • πŸ“Œ Always check the model and region of the firmware.
  • πŸ”Œ Use the original cable and port USB 2.0 (on the back of the PC).
  • πŸ”‹ Do not interrupt the firmware process (even if it is frozen).
  • πŸ“₯ Download firmware only from official sources.
How much does it cost to restore the firmware in the service?
Cost depends on the model and type of breakdown: Soft-brick (firmware via Fastboot): 1000-2 500 β‚½. Hard-brick (firmware through the EDL): 2 000–4 000 β‚½. Hardware repair (eMMC replacement, soldering): from 5,000 β‚½. In authorized services Xiaomi firmware recovery is more expensive (3000-6000) β‚½), but it gives a guarantee.
Can I use Xiaomi with a locked bootloader?
Yes, but with reservations: via Fastboot: only if the bootloader was unlocked earlier. Through EDL: maybe, but newer models (Xiaomi 12, Redmi Note 11) require authorization through Mi Account. Through Recovery: only if TWRP is installed (but it doesn't work on the locked bootloader). If the bootloader is locked and the phone doesn't turn on, only the service center remains.