Recovery of Xiaomi Redmi 6A after brick: full instructions with files and commands

Xiaomi Redmi 6A (codename cactus) is one of the most popular budget smartphones of the brand, but even it is not immune to software failures. If your device stopped turning on after a failed firmware, factory reset or experiments with custom ROM, do not rush to carry it into the service. In 80% of cases, the device can be returned to life on its own - the main thing is to act on a proven scheme.

This article will cover all the stages of Redmi recovery. 6A From diagnosing a problem to choosing the right firmware and installing it through official and alternative tools, we will look at two main scenarios: when the smartphone does not respond to buttons (full brick) and when it loads only in the Fastboot (soft brick). All instructions are current for 2026 and checked on the latest versions. MIUI.

Before you start, make sure it's software, and if the phone doesn't show signs of life (it doesn't vibrate, it doesn't warm, it doesn't light up the charging light), it's probably a hardware breakdown, like a faulty battery or power controller, in which case the firmware won't help and you need repairs.

1.Diagnostics of the condition of the brick: how to understand what can be restored

The first step is to determine the type of brick, and the choice of recovery method depends on it.

  • πŸ”΄ Hard brick: the phone doesn't respond to charging, doesn't vibrate when connected to a PC, the screen is black, 90% of the time it's caused by a broken firmware on a Fastboot or a broken boot partition.
  • 🟑 Soft brick: The device loads into the Fastboot but does not start the system, most often after a failed update or reset.
  • 🟒 Bootloop: The phone is constantly rebooting, reaching the logo MI It's a system file corruption or a module conflict.

To determine the condition accurately, try the following steps:

  1. Connect your smartphone to charge for 10-15 minutes. If the charging indicator lights up, it's a software problem.
  2. Press Power + Volume down for 10 to 15 seconds. If you see a Fastboot menu, it's a soft brick.
  3. Connect the phone to your PC and check if it is defined in Device Manager as Qualcomm HS-USB QDLoader 9008 (for full brick) or Android Bootloader Interface (for soft).

⚠️ Note: If Device Manager displays Unknown Device or Qualcomm HS-USB Diagnostics 900E, This may indicate a hardware failure of the memory controller (eMMC), in which case the firmware will not help - you need to replace the chip.

If your Redmi 6A falls under the first two cases (soft brick or bootloop), the chances of recovery are close to 100%.A full brick will require a special EDL (Emergency Download Mode) cable and firmware through MiFlash with Xiaomi account authorization.

2. Preparation for firmware: what will be needed

Before starting the procedure, gather everything you need.

  • πŸ“± Smartphone Xiaomi Redmi 6A (cactus) with a battery level of at least 30%. If the phone does not turn on, keep it charging for 1-2 hours.
  • πŸ’» Computer running Windows 7/10/11 (64-bit). On MacOS or Linux, firmware is possible, but requires additional drivers.

Pay special attention to the choice of firmware. There are several types of files for Redmi 6A:

Type of firmwareExpansionFor what occasions?Where to download
Fastboot (official).tgz or.zipSoft brick, bootloop, reset to factory settingsOfficial Xiaomi website
Recovery (OTA).zipUpdate via stock recovery (if phone is turned on)Xiaomi Firmware Updater
EDL (emergency).mbn or.elfFull Brick (9008 mode) if Fastboot is not availableXDA Developers
Castomic (AOSP).zipInstallation of alternative firmware (requires an unlocked bootloader)Pixel Experience

For most users, the best option is the official Fastboot firmware from Xiaomi. It is suitable for restoring the stock system and does not require unlocking the bootloader (if it has already been unlocked before, EEA) β€” This is important for the proper operation of Google services.

πŸ“Š What type of firmware do you plan to use?
Official Fastboot
Castomic (AOSP)
Firmware through EDL
I haven't decided yet.

Installation of drivers and preparation of PC

Without the right drivers, Windows won’t recognize Redmi 6A in Fastboot or EDL modes.

  1. Download and install Android SDK Platform-Tools (includes fastboot and adb).
  2. Install Xiaomi drivers: For Fastboot: Qualcomm QDLoader.
bcdedit /set testsigning on


bcdedit /set nointegritychecks off

Then restart the PC.

After installing the drivers, check the connection:

  1. Turn off the phone.
  2. Press Volume Down + Power to Enter Fastboot.
  3. Connect to your PC and enter in the command line: fastboot devices If the serial number of the device appears, the drivers are installed correctly.

⚠️ Note: If you are connected to EDL-mode (9008) Windows is giving you an error 10 or Code 28, You'll have to manually specify the path to the driver through Device Manager. EDL-Drivers and select the file android_winusb.inf.

If you plan to flash through EDL, additionally download MiFlash (2018 or later) and QFil. These tools will be required to work with emergency mode.

4. Unlock the loader (if required)

If the Redmi 6A bootloader is locked, you can not flash custom firmware or the official Fastboot version.

fastboot oem device-info

If you see Device unlocked: false in the answer, the bootloader is locked.

  1. Link your Mi Account to your device: Turn on your phone (if it boots). Go to Settings β†’ Xiaomi Account β†’ Link your account to your device.

Mi Unlock Tool

Fastboot

Please note:

  • ⏳ Unlocking takes 72-360 hours (depending on Xiaomi policy), and you will have to wait until you send a request.
  • πŸ”„ If the phone has already been unlocked before, re-assignment of the account is not required.
  • 🚫 On some firmware (for example, Chinese) unlocking can be disabled.

If you need to urgently restore the phone, and there is no time to wait for unlocking, you can use the firmware through EDL - it bypasses the bootloader lock, but requires an authorized Xiaomi account with developer rights.

What if the Mi Unlock Tool gives you a "Couldn't unlock" error?
This error occurs if: - The account is not linked to the device (repeat step). 1). - The phone was less unlocked. 30 Days ago (reset the meter via fastboot oem) clean_all). - Uses an unofficial version of the tool (download only from the Xiaomi website).

5. Firmware through Fastboot (for soft brick)

If your Redmi 6A is loaded into Fastboot, you can restore it using the official firmware.

β˜‘οΈ Preparation for firmware through Fastboot

Done: 0 / 5
  1. Unpack the downloaded firmware (for example, cactus_global_images_V12.0.3.0.PCBMIXM_20210312.0000.00_10.0_global_1d5a3b73b4.tgz) folder C:\MiFlash\rom.
  2. Run MiFlash on behalf of the administrator.
  3. In the Select field, specify the path to the firmware folder.
  4. At the bottom, select firmware mode: clean all – complete cleaning (recommended in case of failures). clean all and lock – cleaning + lock the bootloader (if you need to return the runoff). save user data – saving user data (does not always work).

Refresh

Flash

If the process is successful, the phone will automatically restart. The first download can take up to 15 minutes - don't interrupt it.

⚠️ Note: If MiFlash gives you a critical partition doesn't exist, you didn't download the firmware for your model. 6A The code name should be cactus β€” check the file name! An alternative way is to run the firmware through the command line: fastboot flash boot boot.img fastboot flash recovery recovery.img fastboot flash system system.img fastboot flash userdata userdata.img fastboot erase cache fastboot reboot This method takes longer, but gives you more control over the process. If a partition is not stitched (for example, a userdata), you can skip it and try it again later. 6. Firmware through EDL (If the phone does not respond to buttons and is not detected in Fastboot, only emergency mode remains. EDL (9008). This will require: πŸ”Œ EDL-cable (or homemade, with closed contacts) GND and EDL plug-in USB). πŸ“ Firmware in.mbn or.elf format (for example, prog_emmc_firehose_8917.mbn). πŸ› οΈ QFil or MiFlash tool with support EDL. Instructions: Connect your phone to your PC using EDL-cable (or close the contacts on the board if you make the cable yourself). HS-USB QDLoader 9008. Run MiFlash, select firmware and clean all mode. Press Flash and wait until it is completed (the process may take up to a few minutes). 20 Important: firmware through EDL You need to log in to a Xiaomi account with developer rights, and if you don’t have one, use alternative tools like QFil or a new one. UFED, But they don't work with all versions of firmware. If MiFlash gives you a "Sahara communication failed" error, try: Reconnect the cable. Use another one. USB-port USB 2.0). Run MiFlash in Windows Compatibility Mode 7. πŸ’‘If you don't. EDL-And you can make temporary contacts on the phone board with tweezers or needles. 6A, find the connector USB And close the contacts. GND and EDL (This is usually the 5th and 6th pins. 7. Solving common errors Even with accurate follow-up to the instructions, errors can occur. Here are the most common ways to fix them: Error Reason Remote: device is locked bootloader Locked Unlock through Mi Unlock Tool or use EDL FAILED (remote: Partition table doesn't exist Damaged Sweep full firmware through MiFlash with clean all Waiting for device Drivers not installed or cable faulty Check connection, reinstall drivers, try another Invalid sparse file format at header Port Damaged Firmware file Download the firmware again, check the checksum (MD5) Phone loads in recovery, but firmware is not installed Damaged section Recovery recovery.img Fastboot Flash Recovery recovery.img If after firmware the phone boots but errors occur (for example, "Android not running"), reset via Recovery: Press Volume up + Meals for entering Recovery. Choose Wipe Data β†’ Wipe All Data. Restart the device. If the problem persists, repeat the firmware with the clean all and lock option, and it will return the phone to factory status. πŸ’‘If the phone does not turn on after firmware, but is determined in Fastboot, try flashing only the boot section with the fastboot flash boot command. boot.img. Often it is the damage to this section that leads to a brick. 8. After Firmware: What to Do Next After a Successful Recovery, Follow Several Important Steps: πŸ”„ Update the system: go to Settings β†’ The phone. β†’ Update the system and install the latest security patches. πŸ”’ Set up lock: if you flashed a clean all phone, all data is deleted. Install a new one. PIN graphical. ☁️ Recover data: if the backup was enabled in Mi Cloud before the brick, log in to your account and restore contacts, photos and apps. πŸ›‘οΈ Check it out. IMEI: Enter the dialer *#06#. IMEI It is not available, restore it with the help of QCN-file (instructions are available on the XDA). If you've been flashing custom firmware (like LineageOS or Pixel Experience), add GApps (Google services) β€” download the appropriate version from OpenGApps. Magisk (for root rights) β€” if root access is required. To avoid repeat bricks, follow the rules: ❌ Do not interrupt the firmware process (even if it took more than 10 minutes). ❌ Do not install firmware from other models (even if they are on the same processor). βœ… Before the Custom Experiments ROM backup through TWRP. If you plan to further manipulate the system, we recommend unlocking the bootloader and installing it. TWRP Recovery.This will give more backup and recovery options. --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 6A finished. If all the steps are done correctly, the phone should work stably. If problems persist, check the hardware (battery, plumes, power controller). FAQ: Frequent questions about Redmi 6A without unlocking the bootloader? Yes, but only official firmware through MiFlash in Fastboot mode. Custom firmware and modified recovery require unlocked bootloader. EDL, But it requires an authorized Xiaomi account. The phone is logged in, but it's not turning on -- black screen. What do you do? Possible reasons: Boot section is damaged -- run it separately with fastboot flash boot command. boot.img. Incompatible firmware β€” download the version for cactus. Hardware problem β€” check the battery or the display plume. Try booting into Fastboot and repeating the firmware with the clean all option. How to find out which firmware is right for my Redmi 6A? On the official website of Xiaomi, firmware is marked by regions: Global - for the international version (with Google services). China - Chinese firmware (without Google, but with local services). EEA β€” for Europe (corresponding to) GDPR). You can view the current version in Settings β†’ The phone. β†’ Version. MIUI. Download firmware with the same code name (cactus) and region. Can you restore data after firmware? If you flashed with the clean all option, all data is deleted without recovery. If you used save user data, chances are, but not guaranteed. For future cases, we recommend: Enable backup in Mi Cloud (Settings) β†’ Xiaomi account β†’ Mi Cloud β†’ Backup, set up TWRP And make a full backup of the userdata partition, using third-party tools like Titanium Backup. How do you fix it? This is a typical problem when you run a firmware version that is incompatible. Solution: Scroll down modem and nvram from stock firmware: fastboot flash modem. NON-HLOS.bin fastboot flash fsg fsg.mbn Check IMEI (enter *#06#). If he's thrown, restore him through QCN-File. Reset network settings to Settings β†’ SIM-maps and mobile networks β†’ Resetting network settings.