Why do you need to use Redmi 7A and when you need it?
Xiaomi Redmi 7A (codenamed pine) was released in 2019, but still remains a popular budget device. firmware can be required in several cases: to upgrade to the current version of MIUI, eliminate system glitches, remove viruses or even install custom firmware like LineageOS. However, before you start, it is important to understand that not every firmware solves problems, and the wrong actions can turn the phone into a βbrickβ.
The main reasons for firmware:
- π The device brakes, often overheats or spontaneously reboots - signs of damaged system firmware.
- π± You need a new version of Android (like switching from Android 9 to Android 10) that Xiaomi hasnβt released for your region.
- π Reset your password or pattern lock if other unlocking methods fail.
- π οΈ Installation of modified software for advanced functions (root, Xposed, alternative launchers).
But there are risks: loss of warranty (if the bootloader is unlocked), the possibility of errors when you run firmware through Fastboot, as well as problems with the operation of the NFC module or camera on unofficial builds. Redmi 7A has a blocked bootloader by default - its unlock erases all data and requires binding to the Mi Account.
Preparation for firmware: what to do before the start
Unprepared firmware is a direct path to βbrickingβ the phone. First of all, check the current version of MIUI in the Settings menu β About phone β MIUI version. Write it down or take a screenshot β this will help you choose the right firmware.
List of mandatory actions before the firmware:
- π± Charge your phone at least 60% β when discharged during the process, the device may fail.
- π Prepare the original. USB-cable (better from the set) and port USB 2.0 on PC β USB 3.0 often causes firmware errors.
- πΎ Create a backup of data through Settings β Additionally. β Backup or manually copy files to PC.
- π Make sure you know the username and password from your Mi Account account β without it, you will not be able to unlock the bootloader.
Also download the necessary tools:
- π₯οΈ Official firmware for Redmi 7A (Choose a version for your region: Global, China, EEA).
- π οΈ Google Platform Tools (to work with Fastboot and Fastboot) ADB).
- π Mi Unlock Tool (if you need to unlock the bootloader).
β οΈ Note: If you flash a phone with a locked bootloader through Fastboot, the process will end with an anti-rollback error. Be sure to unlock the bootloader first!
βοΈ Checklist before firmware
Method 1: Firmware via MIUI Updater (without unlocking)
The safest method is to upgrade through the built-in MIUI Updater app, which is suitable if you want to upgrade to a new version of MIUI without losing data or unlocking the bootloader, but it only works for official firmware and does not allow you to downgrade the software version.
Step instructions:
- Open the MIUI Updater app on your phone.
- Click on the three dots in the upper right corner and select Select the firmware file.
- Specify the path to the downloaded firmware file (.zip format).
- Confirm the installation and wait for the reboot (usually takes 5-10 minutes).
If the update does not start, check:
- π Compatibility with your current version (e.g., you canβt flash Global into Chinese without first switching to China) ROM).
- π Is there enough space in the phone memory (requires at least 1.5 GB of free space).
- π Donβt interrupt the process β even if the screen goes out for a few minutes, itβs okay.
β οΈ Note: If, after updating, through MIUI Updater phone is stuck on startup Redmi logo, wait 15-20 minutes. If nothing changes, force the device to restart (press the power button for 10 seconds).
π‘
Updating via MIUI Updater is the only official way that does not require unlocking the bootloader and saves user data.
Method 2: Firmware through Recovery (TWRP or Stock)
This method is suitable for both official and custom firmware installations, but requires an unlocked bootloader. If you have standard Recovery, you can only flash official files from Xiaomi. Custom firmware (such as Pixel Experience) will require TWRP.
The following steps are taken for Stock Recovery:
- Rename the firmware file to update.zip and place it in the phoneβs root folder.
- Turn off the phone and press Volume Up + Power to enter Recovery.
- Select a language (if available), then go to Install update.zip to System.
- Confirm the installation and wait until the completion (do not turn off the power!).
For TWRP, the process is a bit more complicated:
- π± Install. TWRP Fastboot (Fastboot Flash Recovery) twrp.img).
- π Boot in. TWRP (buttons Volume up + Nutrition).
- π Make a backup of the current firmware (Backup section).
- π¦ Select Install and specify the path to the firmware file.
| Type Recovery | Supported firmware | Is unlocking required? | Is the data preserved? |
|---|---|---|---|
| Stock Recovery | Only official MIUIs | Yes. | Yes (on update) |
| TWRP | Official and custom | Yes. | No (backup recommended) |
| OrangeFox | Castomic (AOSP, LineageOS) | Yes. | No. |
π‘
If the phone doesnβt boot after youβve been firmwareed through TWRP, try flashing the kernel (boot.img) separately through Fastboot:
fastboot flash boot boot.imgMethod 3: Fastboot Firmware (for power users)
Fastboot is the most reliable method for recovering a bricked phone, but it is also the riskiest method, completely erasing all data and requiring you to follow the instructions exactly, and use it if other methods have failed or you need to flash the phone with the bootloader locked (after unlocking).
What you need:
- π₯οΈ Computer with installed ADB Fastboot (from the Platform Tools package).
- π± Firmware file in.tgz or.zip format (unpack it into a folder from fastboot).
- π Cable USB Type-C (preferably original).
Instructions:
- Turn off the phone and press Volume Down + Power to enter the Fastboot (a hare in a hat-eared hat will appear on the screen).
- Connect the phone to your PC and check the connection with the command:fastboot devices If the device is displayed, you can continue.
- For the official firmware MIUI use script flash_all.bat (for Windows or flash_all.sh (for Linux/Mac). Run it with a double click.
- If you only need to flash individual partitions, use commands like:fastboot flash system.img fastboot flash boot.img
- After completion, type in:fastboot reboot
β οΈ Warning: If the firmware is interrupted during flashing vbmeta, donβt panic β this is normal for some versions. MIUI. Just wait for the automatic reboot.
What if Fastboot doesnβt see the device?
Unlocking the bootloader on Redmi 7A: a step-by-step guide
Without unlocking the bootloader, you wonβt be able to flash your phone through Fastboot or install TWRP. Xiaomi has made the process more complicated in the latest versions of MIUI, so follow the instructions carefully.
What needs to be done:
- Link your Mi Account to your phone in the Settings menu β Xiaomi Account.
- Activate USB debugging: go to Settings β About Phone, click 7 times on MIUI Version, then go back to Settings β Additional β For Developers and enable USB Debugging.
- Download the Mi Unlock Tool and run it on behalf of the administrator.
- Turn off the phone, press Volume Down + Power to log into Fastboot, and connect to the PC.
- In Mi Unlock Tool, press Unlock and wait until it is completed (usually takes 3-5 minutes).
Important nuances:
- π Mi Account must be over 72 hours old or unlocking will be unavailable.
- π± The phone must have at least 60% charge or the process will be interrupted.
- π If you get a Couldnβt unlock error, try using it. VPN servers in Hong Kong or India.
Once successfully unlocked, the phone will automatically reset to factory settings. All data will be deleted!
Solving Common Errors When Using Redmi 7A
Even with the correct following of the instructions, errors can occur, and here are the most common ones and ways to fix them:
| Mistake. | Reason. | Decision |
|---|---|---|
| anti-rollback | Trying to flash the old version of MIUI after the update | Only use the new or same version of the firmware |
| This package is for "pine" devices | Improper firmware (not for Redmi 7A) | Download the firmware with the code name pine |
| E: footprint is wrong | A damaged firmware file or incompatible version | Check it out. MD5-hash the file or download the firmware again |
| The phone does not turn on after the firmware | Incorrectly stitched kernel or vbmeta | Sweat boot.img and vbmeta.img separately through Fastboot |
If your phone loads into Fastboot or Recovery after firmware, try:
- π Swipe the phone again by executing the command:fastboot erase userdata
- π± Install a different firmware version (for example, try Global instead of Global). EEA).
- π οΈ Use the Mi Flash Tool with the Clean All and Lock option (if the bootloader has been unlocked).
π‘
If the phone doesn't turn on after the firmware for more than 15 minutes, don't panic - sometimes the first download takes up to 30 minutes.