Xiaomi smartphone turned into a βbrickβ after a failed firmware, and the bootloader is blocked? the situation seems hopeless, but there is a way out. Even if the device does not turn on, does not respond to buttons and is not detected by the computer in fastboot mode, it can be brought back to life through emergency mode. EDL (The main thing is to prepare correctly and avoid typical errors that will ultimately βkillβ the device.
In this article, we will discuss all the working methods of firmware for devices with a locked bootloader, including bypassing the Mi Account authorization, choosing the right firmware and solving MiFlash errors. X3 Pro, because they're the ones who have the most efficient recovery, and if you're Xiaomi on Mediatek, don't despair, either: they have their own solutions.
The first warning is that the procedure requires patience and precision, and one wrong action can make the device a brick forever, but if you follow the instructions and use proven tools, the chances of success are 80-90% even for beginners.
Why Xiaomi is becoming a brick and how to avoid it
The main reason for the bricking is the wrong firmware or interrupted update process, and here are the most common scenarios:
- π Interrupted update via Recovery. if during installation of firmware in TWRP or Mi Recovery drainage sat down the battery or the user forced to turn off the device.
- π± Firmware of an incompatible version MIUI. For example, an attempt to install global firmware on the Chinese model or vice versa.
- π Unlocking the bootloader with errors: If the unlock process through the Mi Unlock Tool was interrupted or violated (for example, without linking the Mi Account to the device).
- π οΈ Misuse ADB/Fastboot. Errors when entering commands, such as accidental cleaning of a boot or system partition.
Most often, a brick occurs on devices with a locked bootloader, because they do not allow you to boot into fastboot or recovery for recovery β EDL-mode that bypasses the bootloader lock at the hardware level.
β οΈ Attention: If your Xiaomi vibrates when connected to charging after a failed firmware but doesn't turn on - this is a sign of a "soft brick." EDL If the device does not show any signs of life (no vibration, indication, heating), it is a hard brick, you can not do without emergency mode.
Preparation for firmware: what will be needed
Before you start rebuilding, you must gather everything you need, and without the right tools and files, the process is doomed to failure.
- π» Computer on Windows 7/10/11 (MacOS or Linux may have driver problems).
- π Original. USB-cable (better the one that came with the device) cheap cables often do not provide a stable connection to the device. EDL.
- π Charger. The battery must be at least 30 percent charged, or the firmware will be interrupted.
- π Firmware for your model in.tgz or.zip format (more on this below).
- π οΈ Tools: MiFlash, QFil (for Qualcomm), Qualcomm drivers HS-USB QDLoader 9008.
Pay special attention to the choice of firmware. It should correspond to:
- π± Device models (e.g. Redmi Note) 9 Pro is joyeuse, not joyeuse_global, If you have a Chinese version).
- π Region (Global, China, EEA, Installing firmware not for your region can lead to network or language problems.
- π’ Versions MIUI. If you have been flashing Android 12 and downloaded the firmware for Android 11, the device will not boot.
β οΈ Warning: Never use firmware from questionable sources! Official files can only be downloaded from websites: Official portal MIUI (Xiaomi Firmware Updater (Authenticated Firmware Archive) Firmware from torrents or forums may contain viruses or be damaged.
| Tool. | Appointment | Download link |
|---|---|---|
| MiFlash | Official utility for firmware in EDL fastboot | Official website |
| QFil (Qualcomm Flash Image Loader) | MiFlash alternative for Qualcomm devices | XDA-Developers |
| Qualcomm HS-USB QDLoader 9008 | Required for the recognition of the device in EDL-mode | AndroidMTK |
| XiaomiTool V2 | Semi-automatic utility for unlocking and firmware (supports) EDL) | Official website |
βοΈ Preparation for firmware through EDL
How to enter EDL-The mode on the blocked Xiaomi
EDL (Emergency Download Mode is an emergency boot mode that allows you to flash a device even with a locked bootloader, and you can log in in in several ways, depending on the state of the brickΒ»:
Method 1: Hardware method (for "soft brick")
If the device reacts to buttons (vibrates, flashes an indicator), try:
- Turn off the smartphone (if it is turned on, press the power button for 10-15 seconds).
- Press Volume up + Volume down and connect the cable to the computer.
- Hold the buttons for 30 to 40 seconds until Qualcomm appears in the Device Manager. HS-USB QDLoader 9008.
Method 2: Testpoints (for "hard brick")
If the smartphone doesn't respond to anything, you'll have to close the test points on the motherboard, which is the last resort, and you'll have to disassemble the device.
- Remove the back cover (this will require a mediator or plastic spatula).
- Find testpoints on the motherboard (usually two metal platforms with the inscription). EDL or TEST POINT).
- Lock them with tweezers or screwdrivers and plug them in. USB-computer-wire.
On the Redmi Note models 8/8T (ginkgo/willow) The test points are located next to the battery connector. X3 NFC (surya - under a metal screen near the processor. the exact location is better specified for your model in the forum 4PDA.
What to do if the test points do not work?
Firmware through MiFlash: step-by-step instructions
When the device was determined in EDL-mode (in the Device Manager appeared Qualcomm) HS-USB QDLoader 9008, you can start the firmware:
- Unpack the firmware in a folder without Cyrillic characters (for example, C:\Xiaomi\joyeuse_global_images_...).
- Run MiFlash on behalf of the administrator.
- Click Select and point the way to the firmware folder.
- The Device field should be displayed COM-port, COM3). If it is not, check the drivers.
- Select firmware mode: Clean all β clean (recommended for bricks) + Bootloader lock (use if you want to return the device to the stock state) Save user data - saving user data (not suitable for restoring bricksΒ»).
Refresh
Flash
If the firmware is successful, the device will automatically restart. If not, read the error section below.
π‘
Before you run your firmware, disable the antivirus! Many antiviruses (such as Avast or Kaspersky) block MiFlash as potentially dangerous software. Add a folder with the utility as an exception or temporarily disable protection.
Common MiFlash Errors and How to Fix Them
Even with the right actions, MiFlash can produce errors, and here are the most common ways to solve them:
| Mistake. | Reason. | Decision |
|---|---|---|
| Sahara communication failed | Problems with connection in EDL erroneous. | Check the cable and port USB. Reinstall Qualcomm drivers.Try another version of MiFlash (e.g. 20180528 instead of 20200710). |
| Flash write failed | Damaged memory partitions or incompatible firmware. | Try to flash another version. MIUI (Use Clean all instead of Save user data. If the error is repeated, it may be a damaged flash memory (requires repair). |
| Device not found | The device is not defined in EDL. | Check the testpoints (for hard brick) to close. Turn off all other points. USB-Try another computer (sometimes helps). |
| Mi account authorization required | The bootloader is blocked by Mi's account. | Use XiaomiTool V2 to bypass authorization (see next section). If you know the login / password from the associated account, unlock through the official website. |
β οΈ Note: If MiFlash gives an error Critical partition flashing is not allowed, it means that the firmware is designed for the device with the unlocked boot. EDL-Firmware (marked for locked bootloader), or unlock the bootloader through XiaomiTool.
Bypassing the authorization of Mi Account when firmware
One of the most frustrating problems is blocking the bootloader with a Mi Account, even if you sew the device through the phone. EDL, It can require you to enter a login and password from the previous owner, and there are two ways to solve this problem:
Method 1: Using XiaomiTool V2
XiaomiTool V2 β It's a semi-automatic utility that can bypass Mi Account authorization and flash devices with a locked bootloader:
- Download and install XiaomiTool V2.
- Connect the device to EDL-mode.
- Choose your model in the list.
- Click on Bypass Mi Account (if required) or Flash Firmware.
- Wait until the process is completed (it can take up to 30 minutes).
Method 2: Hand-to-hand bypasses via fastboot (if) EDL doesn't work)
If the device is somehow loaded into fastboot (for example, after a failed firmware), try:
- Go to fastboot (click Volume Down + Power).
- Connect to your computer and execute commands: fastboot oem unlock fastboot flash persist persist.img fastboot erase frp (file) persist.img can be extracted from the firmware).
- Reset the device.
On some models (for example, Redmi Note 9 Pro with Snapdragon processor) 720G) Mi Account can only be bypassed through EDL These files can be found on specialized forums, but beware - they may contain vulnerabilities.
π‘
If the device was bought hand-held and tied to someone else's Mi Account, the only legal way to unlock is to contact the previous owner.Bypassing authorization may violate Xiaomi's terms of use and result in a lock. IMEI.
Firmware devices on Mediatek: features and nuances
If your Xiaomi is running on a Mediatek processor (like Redmi) 9A, Poco C3), The recovery process is different. EDL mode BROM, And instead of MiFlash, it's a utility. SP Flash Tool.
Main steps:
- Download the firmware in.zip format for Mediatek (usually it contains a scatter.txt file).
- Install Mediatek Preloader drivers (you can download from the official website).
- Launch the SP Flash Tool and upload the scatter file.
- Connect the device turned off to the computer (no buttons!) The utility should detect it.
- Press Download and wait until it is completed (usually takes 3-7 minutes).
Important nuances for Mediatek:
- π§ Don't use Format All + Download β This will lead to loss IMEI and serial number.
- π‘ After the firmware, the network may disappear. IMEI via Maui META or SN Write Tool.
- π If the firmware doesnβt start, try another version. SP Flash Tool (e.g. 5.2 instead of 5.1).
What to do if the firmware does not help
If after all the manipulations the device still does not turn on, check the following points:
- π Battery's dead. Connect the charger for 30 to 60 minutes, then repeat the firmware.
- π Problems with USB-Try another port (preferably) USB 2.0 on the back of the PC).
- π± If the device is not warming, vibrating or detecting in any mode, the processor or memory may have burned, and only the service center will help.
- π Firmware is wrong. Make sure the files are for your model and region.
If you are sure you did everything right, but the result is zero, try:
- Switch another version MIUI (For example, the older or Chinese instead of the global).
- Use alternative utilities: QFil instead of MiFlash (for Qualcomm). META repair IMEI Mediatek.
Contact the service center
Xiaomi 12 Pro
Snapdragon 8 Gen 1
β οΈ Note: If after firmware the device is switched on but does not determine SIM-The map or Wi-Fi is likely to have damaged modem or nvram partitions. EDL With the help of a full firmware (Clean all).