Xiaomi Redmi 7A (codenames Pine for global and Lotus for Chinese) is still a popular budget smartphone due to its reliability and the ability to install alternative firmware. However, firmware through Fastboot is a process that requires accuracy and understanding of nuances, from unlocking the bootloader to choosing the right version of MIUI or custom software. In this article, we will discuss all the steps from preparing to solving typical errors such as anti-rollback or invalid image.
Unlike firmware through Recovery, Fastboot allows you to restore the device even in the event of a serious failure (for example, after a failed update or βbrickβ). But there are pitfalls: improper firmware can lead to IMEI blocking or data loss. We will take a detailed look at how to avoid these problems, what tools to use (including the Mi Flash Tool and Platform Tools), and where to download official firmware files for the Redmi 7A.
Preparation for firmware: what to do before the start
Before you start firmware, make sure that all the preliminary steps are followed, which minimizes risks and simplifies the process.
First, check the bootloader version of your Redmi 7A. To do this, go to Settings β About Phone β MIUI Version and tap 7 times on the "Core" line. In the menu that appears, select "Bootloader Version." If it is older than 4.19.15, you may need to update through the Mi Flash Tool before installing custom firmware.
- π Battery charge at least 60%.Fastboot firmware discharges battery faster than usual.
- π₯ Download the firmware for your model: Official MIUI: https://new.c.mi.com/global/miuidownload/index (Choose a version for Pine/Lotus). Custom firmware (e.g. Pixel Experience or LineageOS): Check compatibility with msm8937 (chipset 7A).
- π Unlock the bootloader (unless it's done before) without it, you can get the official Fastboot firmware, but you can't install custom software.
- π» Install drivers: Qualcomm HS-USB QDLoader 9008 (regime EDL) and ADB/Fastboot.
Pay special attention to anti-rollback. If you are running an older version of MIUI, the device may lock. Check the current version in Settings β About Phone β MIUI and compare it to firmware. For example, switching from MIUI 12.5 to MIUI 11 is forbidden.
Unlocking the bootloader: a mandatory step for custom firmware
If you plan to install unofficial software (such as Pixel Experience or Havoc-OS), unlocking the bootloader is a must. Official firmware via Fastboot can be flashed without unlocking, but the functionality will be limited.
The unlock process for the Redmi 7A takes up to 72 hours (by Xiaomiβs rules) and requires a Mi Account to be linked.
- Link your Mi Account to your device in Settings β Xiaomi Account.
- Activate USB debugging in Settings β About Phone β MIUI version (7 taps) β Additional settings β For developers.
- Connect your phone to your PC and execute the command: adb reboot bootloader
- In Mi Unlock Tool (download from the official website) log in and follow the instructions.
Once the bootloader is unlocked, all data on the device will be erased, including photos and apps.
What if the Mi Unlock Tool shows a "Couldn't unlock" error?
Installation of drivers and PC configuration
Without the right drivers, Redmi 7A will not be defined in Fastboot mode.
- π₯οΈ ADB/Fastboot Drivers: installed via Platform Tools (download as part of Android) SDK).
- π Qualcomm driver for mode EDL (If you're planning to restore the brick, you can download it here.
- π οΈ Mi Flash Tool - official utility for firmware (download from Xiaomi website).
Check the deviceβs connection in Fastboot-mode:
- Turn off the phone.
- Press Volume Down + Power before the Fastboot logo appears.
- Connect to your PC and execute the command: fastboot devices If the device is displayed (for example, 1234567890abcdef fastboot) β the drivers are installed correctly.
- Reconnect. USB-cable (it is better to use the original cable).
Change the USB port to a PC (preferably USB 2.0).
- Reinstall drivers manually through Device Manager (select Qualcomm) HS-USB QDLoader 9008" for mode EDL).-->
Step-by-step: Firmware via Fastboot
Now, to the process itself, we're going to look at two scenarios: the official MIUI firmware and custom firmware (e.g., Pixel Experience).
Scenario 1: Official firmware via Mi Flash Tool
- Download Fastboot firmware for Redmi 7A (file with the extension.tgz or.zip) from the official website.
- Unpack the archive in a folder without Cyrillic characters (for example, C:\MIUI\pine_global_images_...).
- Launch the Mi Flash Tool, press Select and specify the path to the firmware folder.
- Connect your phone in Fastboot mode (as described above).
- In the Mi Flash Tool, select the firmware method: Clean all β complete cleaning (recommended in case of failures); Clean all and lock β cleaning + locking the bootloader (only for official firmware!); Save user data β saving data (not always stable).
Flash
Scenario 2: Custom firmware via Fastboot
To install Pixel Experience, LineageOS or other AOSP-firmware:
- Download firmware (e.g., XDA-Developers) and vendor/firmware (if required).
- Unpack the archive and check for the file. flash_all.sh or flash_all.bat.
- Connect your phone to Fastboot and execute commands: fastboot flash boot.img fastboot flash system.img fastboot flash vendor.img fastboot flash vendor.img fastboot flash dtbo dtbo.img fastboot reboot
π‘
If you have lost your IMEI after you have firmware, do not restart your device until you have recovered it! Use tools like the SN Write Tool or Maui META to record your original data.
Recovery after a failed firmware ("brick")
If Redmi 7A stopped responding to buttons or is not detected in Fastboot, there is likely to be a serious firmware damage, in which case EDL (Emergency Download Mode) mode will help.
For recovery through EDL:
- Download the official firmware for EDL (file with.mbn or.elf extension).
- Connect your phone to a PC with a pinched button combination (for Redmi 7A, itβs Volume Up + Volume Down + Power) until the Qualcomm HS-USB QDLoader 9008 port comes on.
- Use the Mi Flash Tool or QFil for firmware in EDL mode.
β οΈ Attention: firmware through EDL without an authorized Xiaomi account (with the right to use) EDL Authorized) may result in a complete locking of your device. If you do not have such an account, contact the service center.
An alternative method is to use Test Point (closing contacts on a board to force the transition to EDL), but this requires disassembly of the device and soldering skills.
How to find Test Point on Redmi 7A?
Post-firmware recommendations
After successful firmware, follow a few steps to ensure stable operation of the device:
- π Reset settings through Settings β Additionally. β Recovery and reset if you have been stitching custom software.
- π Block the bootloader (optional) if you use the official MIUI: fastboot oem lock β οΈ Attention: blocking the loader after installing custom firmware will lead to a "brick"!
- πΆ Check it out. IMEI *#06# If it is missing, restore it through SN Write Tool.
- π Charge the phone to 100% and calibrate the battery (discharge to 0% and charge without interruptions).
If you have a custom firmware, install:
- Magisk for root rights (download from GitHub).
- GApps (if not in firmware) β Choose the Nano or Pico option for Redmi 7A.
- Castom core (optional, for example, FrancoKernel for performance improvement).