Xiaomi Redmi Note 7 is still one of the most popular budget smartphones, but over time its performance can be reduced due to outdated software. Flashing helps not only to update the system to the current version, but also to eliminate bugs, improve autonomy or even install custom firmware for advanced features.
In this guide, we will discuss three official flashing methods โ through MIUI Updater, Recovery and Fastboot, and also discuss in detail the unlocking of the bootloader, without which installing alternative firmware is impossible. We will focus on typical errors (for example, Couldnโt verify device or Anti-rollback) and how to get around them. If you are a beginner, start by automatically updating through settings.
1. Preparation for flashing: what to do before the start
Before you start updating software, be sure to back up. Even official firmware can erase user data in case of a critical error. Use the built-in Settings โ About Phone โ Backup or third-party utilities like Titanium Backup.
- ๐ฑ Contacts (export to.vcf on Google Drive)
- ๐ธ Photos and videos (copy to PC or cloud)
- ๐ Wi-Fi passwords (save the list of networks in a text file)
- ๐ฎ Save games (use sync via Google or Mi Account)
Also check battery status. If the charge level is below 50%, connect the smartphone to the charger. Interrupting the firmware process due to battery discharge in 90% of cases leads to a software breech (reflashing through testpoints is required). For Redmi Note 7 models codenamed lavender, the type of firmware is critical: never install software for the Redmi Note 7 Pro (violett) is a guaranteed breeck!
โ ๏ธ Note: If your Redmi Note 7 is purchased in China (the domestic version), the firmware is global. MIUI It can block the network. Check the model in Settings. โ The phone. โ Version. MIUI. Global versions have a suffix MI (for example, V12.5.1.0.RFGMIXM), Chinese โ CN.
The last step of preparation is to download the necessary files. For official firmware, use only sources:
- ๐ Official website MIUI (Choose Stable for stable operation or Developer for testing new features)
- ๐ Xiaomi Firmware Updater (alternative repository with archives of all versions)
Method 2: Automatic update via MIUI Updater (without PC)
The simplest and safest method is an over-the-air update (OTA), which is suitable for switching to a new version of MIUI without resetting data, but has limitations:
- โ It only works for official firmware (not custom)
- โ Stores all settings and files
- โ It does not allow you to go back to the old version.
- โ May not show up-to-date updates if the region of the phone is not the same as the region SIM-map
Instructions:
- Open Settings โ About the phone โ System update.
- Click on the three dots in the top right corner and select Select Service Pack.
- If an update is available, download it (the file weight is usually 1.5-2.5 GB).
- After downloading, click Reboot and Update.
If the update is not available, try:
- ๐ Change region to India (often gets updates before others)
- ๐ถ Connect to another Wi-Fi network or use mobile internet
- ๐ Wait 2-3 days โ sometimes updates roll out gradually
โ ๏ธ Note: If after the update the phone is stuck on the logo MI longer than 10 minutes, forcefully restart it with a clamping power + Turn up the volume by 15 seconds. If that doesn't work, you'll need to run the Fastboot.
๐ก
Automatic updates via MIUI Updater are the only method that does not require unlocking the bootloader and does not reset data.
Method 2: Firmware through Recovery (with data storage)
This method is suitable for manual installation of official firmware, if OTA-Unlike Fastboot, the firmware through Recovery does not erase user data, but requires the update file to be prepared in advance.
Download the firmware in.zip format from the official website (choose the version of Recovery ROM). Rename the file to update.zip and transfer it to the root folder of internal memory (not to the Download or MIUI folders!).
Installation instructions:
- Turn off the phone.
- Press Power + Volume Up to Enter Recovery.
- Choose a language (usually English or Chinese).
- Go to Install update.zip to System.
- Confirm the installation and wait until the completion (the process will take 5-15 minutes).
- Select Reboot to System.
If the phone is unable to confirm the update after the reboot, it means:
- The firmware file is corrupted (pump it)
- You downloaded the wrong version (check the codename lavender)
- bootloader is locked (unlocking required)
Download the Recovery firmware ROM (.zip)|Rename in update.zip|Transfer to the root of memory|Check the checksum MD5|Disable antivirus on PC (can block download)-->
4. Method 3: Firmware via Fastboot (full reset)
Fastboot is the most reliable method for recovering a "bricked" phone or installing custom firmware, but it completely erases all data and requires an unlocked bootloader.
- ๐ฅ๏ธ Windows computer 10/11 (MiFlash)
- ๐ Cable USB (preferably original)
- ๐ ๏ธ MiFlash utility
- ๐ Firmware in.tgz format (choose Fastboot) ROM)
Step-by-step:
- Unpack the firmware archive in a folder without Cyrillic characters (for example, C:\ROM\lavender).
- Install Xiaomi drivers (download MiPhoneManager).
- Turn off the phone and press Power + Volume Down to enter the Fastboot (a hare in a hat-eared hat will appear).
- Connect your phone to your PC and start MiFlash.
- In the program, click Select and specify the path to the folder with the firmware.
- Select Clean All (Full Cleaning) or Clean All and Lock (Cleaning + Lock bootloader).
- Press Flash and wait until it is completed (the process will take 10-20 minutes).
If MiFlash is a Couldn't Flash Cust error, try:
- ๐ Reinstall drivers manually through Device Manager
- ๐ Connect the phone to another USB-port (preferably) USB 2.0)
- ๐ Move the firmware to C: (sometimes the space path causes failures)
โ ๏ธ Note: If you are flashing Redmi Note 7 with a locked bootloader through Fastboot, MiFlash will stop at 99% with an anti-rollback check error. EDL (Only for experienced users).
What is Anti-Rollback and why does it block firmware?
5. Unlocking the bootloader: a mandatory step for custom firmware
By default, the bootloader on all Xiaomi smartphones is locked, which protects the device from unauthorized changes, but also blocks the installation of alternative firmware (for example, LineageOS or Pixel Experience). Unlocking is officially allowed, but requires binding to the Mi Account and waiting 7-15 days (the period depends on the activity of the account).
Instructions for unlocking:
- Link your Mi Account to your phone in Settings โ Xiaomi account.
- Download the Mi Unlock Tool and install it on PC.
- Enable OEM Unlock in Settings โ Additional โ For developers (if there is no item, tap 7 times on the MIUI version to activate the developer mode).
- Turn off your phone and log in to Fastboot (Power + Volume Reduction).
- Connect your phone to your PC and start the Mi Unlock Tool.
- Log in to Mi Account and press Unlock.
If the instrument makes an error:
| Error code | Reason. | Decision |
|---|---|---|
| Couldn't verify device | Phone's not recognized. | Reinstall the drivers, try another one. USB-port |
| Current account is different from the one on the device | The account on the PC and the phone do not match | Sign in to the same Mi Account on both devices |
| You need to wait 168 hours | It has not been 7 days since the account was linked. | Wait until the time is set (no speeding up) |
| Device is locked | The bootloader is already unlocked. | Reboot your phone and check your status in Fastboot |
Once successfully unlocked, you can install customized recaps (TWRPs) and firmware, but remember: unlocking the bootloader resets all data and may void the warranty (in some regions).
bcdedit /set nointegritychecks on
bcdedit /set testsigning onAfter restarting the PC, try again.-->
6. Install custom firmware (TWRP + LineageOS)
Custom firmware like LineageOS or Pixel Experience provides access to pure Android without MIUI shell, regular security updates and advanced settings, but requires:
- โ Unlocked loader
- โ Established TWRP Recovery
- โ Compatible firmware for lavender
Instructions:
- Download TWRP for Redmi Note 7 and firmware (like LineageOS).
- Rename TWRP to twrp.img and transfer to the folder from fastboot.
- Sign in to Fastboot and execute the command: fastboot flash recovery twrp.img
- Without turning off the phone, press Power + Volume Up to log into TWRP.
- In TWRP, select Wipe โ Format Data (enter yes for confirmation).
- Return to the main menu and select Install, then specify the firmware file.
- After installing the firmware, repeat step 5 for GApps (if you need Google services).
The first launch after installing custom firmware can take up to 10-15 minutes. If the phone is stuck on the logo, force it to restart to TWRP and re-install.
โ ๏ธ Note: Some custom firmware does not support data encryption on the Redmi Note 7. If after installation the phone asks for a password, but does not accept it, format Data in the TWRP And re-install the firmware.
7.Typical errors and their solutions
Even if you follow instructions, you can get into trouble, and here are the most common problems and ways to fix them:
| Mistake. | Probable cause | Decision |
|---|---|---|
| The phone does not turn on after the firmware | Misconception of MIUI or installation failure | Sweep through the official firmware through Fastboot with the choice of Clean all |
| Anti-rollback check | Reverse to the old version of MIUI | Install a newer firmware or run through EDL |
| Couldn't verify the device in MiFlash | It's unrecognizable. USB-device | Reinstall drivers, try another cable/port |
| Hanging on the MI logo | Module conflict or damaged firmware | Enter Recovery and run Wipe Cache |
| Mistake 7 in TWRP | Incompatibility of the firmware with the device | Check the code name (lavender) and download the correct version |
If none of the methods worked and the phone doesn't turn on, the last option is the EDL firmware.
- ๐ง Authorized account EDL (fee-payingly)
- ๐ฅ๏ธ MiFlashPro or QFil
- ๐ Cable USB Type-C with support EDL (Not all cables fit)
Firmware through EDL restores the phone even after a major crash, but requires technical skills. If you're not sure, contact the service center.