Xiaomi Redmi 7 (codenamed onc) is still a popular budget smartphone, despite the release of new models. However, over time, standard MIUI firmware begins to slow down and official updates stop coming out, in which cases, flashing becomes the only way to return the device to its previous performance or install the current version of Android.
In this guide, we will discuss all possible ways of firmware - from official updates through MIUI Updater to install custom firmware through TWRP and Fastboot. You will learn how to unlock the bootloader, where to download verified firmware files, and how to avoid typical errors leading to "bricking" the phone.
We warn you beforehand that firmware is a risky process. Redmi 7 with MIUI version below 12.0.3.0 may require you to force the bootloader to unlock through the Mi Unlock Tool, even if the device has previously been unlocked. This is due to Xiaomi's policy of tightening security. If you are not sure about yourself, contact a specialist.
1. Firmware Preparation: What to Do Before You Start
The first and most important step is data backup, which erases all the contents of internal memory, including photos, contacts and messages, and uses Mi Cloud or third-party apps like Swift Backup.
- ๐ฑ IMEI (Type *#06# and write down both numbers)
- ๐ Activation keys for banking applications (if you use them)
- ๐ folder DCIM (photo)
- ๐ Call log and SMS (Export through Settings โ Google โ Backup)
Check the MIUI version and bootloader status:
- Go to Settings โ About phone and tap the MIUI version 7 times to activate the developer mode.
- Return to Settings โ Additional โ For developers and enable USB Debugging and OEM Unlocking.
- Connect the phone to your PC and type in the command line: adb shell getprop ro.boot.verifiedbootstate If the answer is orange - bootloader is unlocked, if green - blocked.
Also prepare:
- ๐ป Computer on Windows 7/10/11 (Mi Flash Tool is best avoided macOS/Linux because of driver problems)
- ๐ Original. USB-cable (cheap cables can interrupt the connection)
- ๐ Battery charge โฅ 60% (when discharged during firmware, the phone can turn into a brickยป)
- ๐ ๏ธ Drivers: Mi USB Driver and ADB/Fastboot
๐ก
If you have a Redmi 7 with a Snapdragon 632 processor (not the 660 as in the Redmi Note 7), never use firmware for other models! 7A" It will not work, it is a guaranteed brick.
2. Official firmware via MIUI Updater (the safest method)
If your goal is simply to upgrade Redmi 7 to the latest official MIUI without risking data loss, use the built-in MIUI Updater.
- ๐ Updates by airยป (OTA)
- ๐ฅ Install the full firmware package through the Choose update package
- ๐ All data retention (unless you choose Clean All)
Instructions:
- Download the latest stable firmware for Redmi 7 (onc) from the official website: ๐ Global (for international versions) ๐จ๐ณ China (Chinese only) ROM)
The file should have a name like miui_ONCGlobal_V12.5.3.0.QFLMIXM_... (where QFL โ code 7).
Move the file to the root of the phoneโs internal memory (not to folders!).
Settings โ About the phone โ System update
โฎ
Choose update package
Specify the path to the downloaded file and confirm the installation.
The process will take 5-15 minutes. The phone will restart several times - do not turn off the power or press buttons! If after the upgrade the device is getting stuck on the MI logo, wait 10-20 minutes or reset via Recovery (press Power + Vol+).
What if MIUI Updater doesnโt see the firmware file?
3. Firmware through Fastboot (for unlocked bootloader)
The Fastboot method is suitable if:
- ๐ You already have an unlocked bootloader (orange status)
- ๐ฆ You need to install a full firmware (for example, after a failure)
- ๐ You need to revert to an older version. MIUI
Redmi 7 is critical to use the correct version of the Mi Flash Tool:
- For Android 9/10 (MIUI 11-12) firmware, MiFlash 2020.3.14
- For Android 11 (MIUI 12.5+) โ MiFlash 2021.5.21
Older versions of the tool may not recognize Redmi 7 or cause an anti-rollback error.
Step-by-step:
โ๏ธ Firmware through Fastboot
Important nuances for Redmi 7:
- โ ๏ธ If you choose Clean all and lock, the bootloader will lock and the next firmware will require re-unlocking via the Mi Unlock Tool.
- โ ๏ธ Do not use firmware marked EEA (Europe on global devices โ this could lead to network loss.
- โ ๏ธ At the stage of unpacking the firmware (.tgz) โ File folder, make sure that there is a file in the folder flash_all.bat. If it is not, the firmware is damaged.
๐ก
On Redmi 7 with MIUI below 12.0.2.0, the Fastboot firmware may end up with an "anti-rollback 4" error, which requires you to upgrade to MIUI 12.0.2.0+ via Recovery first, and then use Fastboot.
4. Unlock the loader: without it can not do
If the bootloader is locked (green status), it must be unlocked through the official Mi Unlock Tool. Xiaomi has tightened the rules, and the following restrictions apply to the Redmi 7:
- ๐ Wait 72โ168 hours after linking your Mi Account to your device (even if youโve previously unlocked it).
- ๐ฑ Mandatory SIM-card in the phone during unlocking (network checks).
- ๐ Link to Mi Account โ without it, the tool will not allow unlocking.
Instructions:
- Download Mi Unlock Tool (at least 5.5.224.24 for Redmi 7).
- Sign in to your Mi Account on your phone and the tool on your PC (should be the same account!).
- Connect your phone in Fastboot mode (press Power + Vol- when the device is off).
- In the tool, press Unlock. If a Couldn't unlock error appears, wait for the specified time (usually 72 hours) and try again.
Frequent mistakes and decisions:
| Mistake. | Reason. | Decision |
|---|---|---|
| Couldnโt unlock 86006 | It has not been 72 hours since the account was linked. | Wait and repeat |
| Current account is different from the account info on the device | Different accounts on the phone and in the Mi Unlock Tool | Reauthorize |
| Device is locked. Unable to verify | Phone is not in Fastboot mode | Reboot to Fastboot (Power + Vol-) |
| Mi cloud service is unavailable | Problems with Xiaomi servers | Try it later or use a VPN |
๐ก
If the Mi Unlock Tool gives you an error, "This device is not supported," download a modified version of the tool from XDA-Developers. It bypasses Xiaomi's limitations on older models.
5. custom firmware installation (TWRP + LineageOS/Pixel Experience)
If you are not satisfied with the standard MIUI, you can install custom firmware based on Android 11/12. For Redmi 7 available:
- ๐ฑ LineageOS 18.1 (Android 11)
- ๐ฑ Pixel Experience (Android 12)
- ๐ฑ crDroid (Android 11)
The installation will require:
- Unlocked boot loader (see section 4).
- Installed custom TWRP Recovery (official version for onc: twrp.me).
- Firmware in.zip and GApps format (if you need Google services).
Step-by-step:
- Download. TWRP for Redmi 7 Fastboot: Fastboot Flash Recovery twrp-3.7.0_9-0-onc.img fastboot boot twrp-3.7.0_9-0-onc.img
- In TWRP, run Wipe โ Advanced Wipe and mark Dalvik / ART Cache System Data Cache
Don't touch it.
Internal Storage
MicroSD
Install โ Choose.zip โ Swipe to confirm
GApps
Magisk
Reboot to the system.
How to return MIUI after custom firmware?
Warnings for custom firmware on Redmi 7:
โ ๏ธ Attention: On the firmware Android 12+ The camera module may not work (due to Sonyโs closed source driver code) IMX486). Use modified GCam from BSG.
โ ๏ธ Note: If after installing custom firmware disappeared 4G/LTE, check the settings APN Or run the modem from stock firmware through TWRP (file modem.img from the image folder).
Typical errors and their solutions
Even if you follow the instructions accurately, you can have problems.
Error: 'This package is for 'onc' devices; this is a'
Reason: The firmware is not designed for your model. Solution: Download the firmware specifically for onc (Redmi 7), not for olive (Redmi 8) or lavender (Redmi Note 7).
The error is "Anti-rollback check fail."
Reason: Trying to install an older version of MIUI than the current.Solution: Upgrade first to the latest official version via Recovery, then use Fastboot.
The phone does not turn on after firmware (black screen)
Causes and solutions:
- ๐ Battery's gone. โ Charge 30.+ Then try to download to Fastboot (Power). + Vol-).
- ๐ Wrong firmware โ Sweep through the official version via the Mi Flash Tool with the Clean All option.
- ๐ The loader blocked. โ Re-unlock with the Mi Unlock Tool.
No network after firmware
Reasons:
- ๐ก Inconsistency of the firmware region (for example, China installed) ROM globalize).
- ๐ถ Damaged Modem settings.
Solution: Sweat modem.img file from stock firmware via Fastboot:
fastboot flash modem modem.imgor reset the network settings to Settings โ SIM-maps and mobile networks โ Resetting settings.
7. Where to download firmware and tools for Redmi 7
Official sources:
- ๐ MIUI Global Stable (Global Stable)
- ๐ช๐บ MIUI Europe (region) EEA)
- ๐จ๐ณ MIUI China (Chinese versions only)
- ๐ฆ Bigota (archive of all versions, including beta)
Custom firmware and tools:
| Resource | Description | Reference |
|---|---|---|
| TWRP | Castomic recavers for installing firmware | twrp.me |
| LineageOS | Pure Android without MIUI | lineageos.org |
| Pixel Experience | Firmware with Pixel interface | pixelexperience.org |
| Mi Flash Tool | Official Firmware Tool Through Fastboot | miui.com |
| XDA-Developers | Forum with mods, fixes and discussions | forum.xda-developers.com |
Warning:
โ ๏ธ Warning: Never download firmware from torrent trackers or obscure sites! In 2023, there were cases when files with viruses or spyware were distributed under the guise of firmware for Redmi 7. XDA.