Xiaomi Redmi Note 5 (codenamed whyred) is still popular with users due to its balanced features and customization capabilities. However, firmware experiments, failed updates or TWRP malfunctions can turn the device into a βbrickβ β a state where the phone does not turn on, hovers on the Mi logo or does not respond to buttons at all. In 80% of cases, this device can be restored, but the process requires accuracy and understanding of technical nuances.
In this article, we will discuss all the current methods of unblocking for the Redmi Note 5, including working with Fastboot, EDL mode, bypassing Mi Account lock and recovering through Qualcomm HS-USB QDLoader 9008. Particular attention will be paid to typical errors (for example, Invalid image format or Anti-rollback check fail), which often cause failure. If your phone falls into one of these categories, read on.
1. Diagnosis of the condition of the βbrickβ: how to determine the degree of damage
Before you start rebuilding, you need to know exactly how badly the device is damaged, and the choice of the method of scraping depends on it. Redmi Note 5 can be in one of four states:
- π Soft-brick: The phone turns on but hovers on the Mi logo, loads into Fastboot or Recovery, responds to buttons.
- π¨ Bootloop: Cyclical reboot without access to the recovery menu.
- π Hard-brick: Device not turned on, not detected by computer, screen black.
- π Mi Account lock: phone requires authorization after reset or firmware.
For diagnosis, follow the following steps:
- Connect your phone to charge for 10-15 minutes (even if it doesnβt respond).
- Try to log in to Fastboot: Press Power + Volume Down for 10-15 seconds.
- Check if the device is detected in Windows Device Manager (the Android Bootloader Interface or Qualcomm HS-USB QDLoader 9008) should appear.
Critical: If the phone is not detected in any mode, the problem may be in the hardware (damaged motherboard, chip dump), in which case software recovery attempts are useless - repairs are required at the service center.
Preparation for recovery: tools and drivers
To successfully unburrow Xiaomi Redmi Note 5, you will need:
| Tool. | Appointment | Download link |
|---|---|---|
| Mi Flash Tool | Firmware via Fastboot/EDL | Official Xiaomi website |
| ADB & Fastboot | Work with the loader | Android Developers |
| Qualcomm Drivers | For EDL mode (QDLoader 9008) | XDA Developers |
| TWRP for whyred | Custom recovery | Official website of TWRP |
Important: Qualcomm HS-USB QDLoader 9008 drivers are often blocked by Windows as unsigned.
- Turn off the driver digital signature check (Perform β shutdown /r /o β Diagnostics β Additional settings β Download options β Reboot β F7).
- Install drivers manually through Device Manager (update the driver β Select the driver from this computer β Specify the folder with unpacked drivers).
βοΈ Firmware preparation
β οΈ Warning: Never use the Redmi Note 5 Pro firmware (codename vince) for Redmi Note 5 (whyred) β this will result in hard-brick due to different hardware platforms!
3. Method 1: Fastboot Recovery (for soft-brick)
If the phone is detected in Fastboot (when connecting to a PC, an Android Bootloader Interface device appears), the most reliable way is to flash the official firmware through the Mi Flash Tool.
Step-by-step:
- Download stable firmware version for Redmi Note 5 (Whyred) from the official Xiaomi website (file with extension.tgz) Unpack it in a folder without spaces and Cyrillic (for example, C:\whyred_fastboot).
- Install the Mi Flash Tool and run on behalf of the administrator.
- Connect the phone in Fastboot mode (clamp Power + Volume Reduction).
- In the Mi Flash Tool, press Select and point the path to the unpacked firmware. Select Clean all mode.
- Press Flash and wait until it is completed (usually 5-10 minutes).
If you fail to use Invalid image format or Flash not done, try:
- π Reinstall Fastboot drivers.
- π Use a different firmware version (e.g. Global Stable instead of China Stable).
- π Connect the phone to another USB-port (preferably) USB 2.0 on the back of the PC).
π‘
If the Mi Flash Tool gives you a βCouldnβt find fastbootβ error, try manually restarting your phone to fastboot via the adb reboot bootloader command (if ADB works).
4. Method 2: Firmware through EDL (for hard-brick)
If the Redmi Note 5 is not enabled and is defined as Qualcomm HS-USB QDLoader 9008, the only way to recover is through Emergency Download Mode (EDL).This method requires an unlocked bootloader or using an authorized Xiaomi account (for new devices).
Algorithm of action:
- Download the firmware for EDL (a file with the.mbn or.elf extension). Whyred is a good fit, for example, this firmware with XDA.
- Install Qualcomm Drivers (see Section 2).
- Connect your phone to your PC in mode EDL: If the phone is completely dead: pinch the power + Volume up. + Turn down the volume and plug in USB-If your phone is responsive to buttons, use the command fastboot oem edl.
Mi Flash Tool
Clean all and lock
Flash
Warning: Firmware through EDL With a lock-on bootloader, you'll lose the ability to install custom firmware without re-unlocking it. TWRP LineageOS, choose Clean All mode.
What to do if the Mi Flash Tool asks for authorization?
5. Method 3: Bypassing the Mi Account lock after a reset
If the Redmi Note 5 requires you to enter Mi Account data after you have been firmware or reset, you will need to bypass the lock. Xiaomi officially allows untethering only through proof of ownership (checks, IMEI box).
Method 1: TWRP (if installed)
- Load to TWRP (Clip Power + Volume Increase).
- Go to Advanced β File Manager.
- Delete files: /data/system/locksettings.db /data/system/locksettings.db-wal /data/system/locksettings.db-shm /data/system/gateway.xml
- Reset the phone. The lock should disappear.
Method 2: Through ADB (if debugging is enabled)
If USB debugging was enabled before the lock, connect the phone to your PC and do:
adb shell
su
rm /data/system/locksettings.db*
rm /data/system/gateway.xml
rebootβ οΈ Note: Delete the lock files via TWRP/ADB It only works on older versions. MIUI (before 12.0). Xiaomi has added additional checks on the new firmware, and this method may not work. EDL Completely cleaned (Clean all).
6. Method 4: Recovery through Qualcomm Firehose (advanced)
If standard methods didnβt work, and the phone is defined as QDLoader 9008, you can try flashing the firehose firmware through QFil or Miracle Box. NAND-Memory or incorrect partitioning.
Instructions for QFil:
- Download QFil and firehose firmware for whyred (e.g., from here).
- Install Qualcomm drivers (see Section 2).
- Run QFil, select Flat Build and specify the path to the file prog_emmc_firehose_8953.mbn.
- In the Select Port section, your device should appear (COMX: Qualcomm HS-USB QDLoader 9008).
- Press Load XML and select rawprogram0.xml and patch0.xml files from firmware.
- Press Download and wait until it is completed (the process can take up to 30 minutes).
Important: Firehose firmware completely overwrites memory, so all data will be lost, and there is a risk of turning soft-brick into hard-brick if you choose the wrong firmware files.
π‘
Firehose firmware is an extreme method, only use it if other methods have failed and you are confident that the files you have selected are correct.
7.Typical errors and their solutions
When unburping Xiaomi Redmi Note 5 users often face the following problems:
| Mistake. | Reason. | Decision |
|---|---|---|
| Anti-rollback check fail | Trying to flash the old version of MIUI after the new one | Use firmware with the same or newer Anti-Rollback Index (check in the database) |
| Invalid image format | A damaged firmware file or an incorrect version of the Mi Flash Tool | Download the firmware again, use the latest version of Mi Flash |
| Device not found in Fastboot | No driver or problem with USB-port | Reinstall the driver, try another cable/port |
| The phone is not identified as QDLoader 9008. | The problem is USB-contact or damage to the motherboard | Check the cable, clear it. USB-Port of the phone, try another PC |
If the Mi Flash Tool is 99% Flash Not Done, try:
- π Disable driver signature verification in Windows.
- π₯ Download firmware from another source (for example, from Xiaomi Firmware Updater).
- π Use it. USB-externally powered hub (sometimes helps with unstable connection).
8 Prevention: How to avoid bricks in the future
To avoid the need to unburp the Redmi Note 5, follow these rules:
- π Always check firmware compatibility with the code name of the device (whyred for Redmi Note 5).
- π Do not block the bootloader (fastboot oem lock) after installing custom firmware.
- π± Before the firmware through TWRP Make a backup of the persist section (responsible for IMEI modem).
- β‘ Do not interrupt the firmware process (even if it is 99% frozen, wait 10-15 minutes).
- π§ Use only verified firmware sources (Xiaomi Firmware Updater, XDA).
Recommendation: If youβre actively experimenting with firmware, install OrangeFox Recovery instead of TWRP β it works better with the Redmi Note 5 and has built-in IMEI loss protection.
π‘
Before installing custom firmware, check it for anti-Rollback protection. If the firmware index is lower than the current one, the phone will turn into a brick!