Xiaomi Redmi Note 7 flashing (codenamed lavender) is a procedure that can bring a locked smartphone back to life, speed it up or install a fresh version of MIUI with new features. However, the wrong actions will turn the phone into a brick, so it is important to understand every step from unlocking the bootloader to choosing the right version of the firmware.
This instruction is suitable for restoring the "brick" device, and for upgrading to MIUI 14 or custom firmware installations like the Pixel Experience, and we'll break down both the official methods, Fastboot and Recovery, and we'll also talk about how to get around common bugs like anti-rollback or problems with the system. EDL-If you've never flashed Xiaomi before, start with the preparation section -- there's a checklist of mandatory actions.
Preparation for firmware: what to do before the start
The first and most important step is data backup. Even if you plan to flash your phone through the air without resetting, any error will result in loss of photos, contacts and messages. Use Mi Cloud or local copying to your PC via MTP (turns on in the notification curtain).
- π± IMEI (Write it down via *#06# - useful if the network disappears after the firmware)
- π Account passwords (if you use two-factor authentication, turn it off temporarily)
- π folder DCIM (Photos and videos that are not synced to the cloud)
- π± List of installed apps (can be exported via Google Play)
Then check the current firmware version. Go to Settings β About Phone β MIUI Version. Write down the full name (e.g. MIUI Global 12.5.3 Stable). This information will help avoid the anti-rollback error of protecting Xiaomi from rollbacks on older firmware versions. If your version is newer than the one you want to install, the firmware will be locked at the check stage and the phone will stop turning on.
Make a backup of data on a PC or in the cloud|Check the version. MIUI customized|Download the correct firmware for the Lavender model|Charge your phone at least 60%|Install Xiaomi drivers on PC (Mi Flash Tool)|Disable the antivirus (it can block firmware files)-->
It is equally important to prepare the tools:
- π₯οΈ Computer on Windows 7/10/11 (for the Fastboot firmware; on macOS/Linux There may be problems with drivers)
- π Original. USB-cable (cheap cables often donβt transmit data to Fastboot)
- π± Programs: Mi Flash Tool (for official firmware), ADB/Fastboot, XiaomiTool V2 (loader-free)
Official firmware via Fastboot| Custom firmware via Recovery| Air Update (OTA)| Not yet decided-->
Unlocking the bootloader: without this firmware is impossible
The Xiaomi Redmi Note 7, like all smartphones of the brand, comes with a locked bootloader, which means that installing any firmware (even official) via Fastboot or Recovery will be blocked. Unlocking takes 3 to 30 days - it all depends on Xiaomi policy and your Mi Account.
The process consists of three stages:
- Account Link to Phone: Sign in to Mi Account in your phone settings and enable synchronization.
- Unlock Request: Download Mi Unlock Tool from the official website, log in to your account and connect your phone in Fastboot mode (press Power + Volume down when the phone is off).
- Waiting: The program will show a timer (usually 168 hours).
What happens if you break the unlock?
Important nuances:
- π Mi Account must be older than 30 days β new accounts will not be able to unlock the bootloader.
- π Use the original cable β cheap cables are often not recognized in Fastboot.
β οΈ Note: If you bought the Redmi Note 7 in China (the domestic version), unlocking the bootloader may not be possible without special tools like the one you need. EDL. In this case, contact the service center.
Firmware selection: official MIUI vs custom builds
There are three types of firmware available for Redmi Note 7:
| Type of firmware | Advantages | Deficiencies | Complexity of installation |
|---|---|---|---|
| Official MIUI (Stable/Developer) | Maximum stability, support OTA-Updates, all functions are working | Lots of bloatware (preinstalled apps), ads in the system menu | ββ (easily) |
| MIUI EU (unofficial) | No Ads and No Unnecessary Apps, Weekly Updates | There is no Russian language in some versions, there are possible bugs. | βββ (middle-of-the-road) |
| AOSP (Pixel Experience, LineageOS) | Pure Android without MIUI shell, better performance | Some functions are not working (IR-blaster, full-power camera) | ββββ (difficult) |
For beginners, we recommend the official stable version of MIUI. It can be downloaded from en.miui.com. Choose the firmware for the lavender model (codenamed Redmi Note 7).
- π Global - for international versions (supports Russian language, Google services).
- π¨π³ China β without Google, only Chinese and English, but updated more often.
- πͺπΊ EEA β European version, similar to Global, but with other pre-installed applications.
If you want to try custom firmware, pay attention to the Pixel Experience - it is as close to "pure" Android and is well optimized for the Redmi Note 7. XDA Developers (Look for a Theme for Lavender).
π‘
Before downloading the firmware, check its hash amount (MD5) using HashMyFiles. This will help you avoid errors due to broken files.
Firmware through Fastboot: step-by-step instructions
The Fastboot method is the most reliable way to flash the Redmi Note 7, especially if the phone is not turning on or is βbrick-likeβ, which requires the Mi Flash Tool and the official firmware in.tgz format.
Steps:
- Install drivers: Download the Mi Flash Tool and install drivers from the driver folder (if Windows doesnβt find them, use Driver Signature Enforcement Overrider).
- Unpack the firmware: The.tgz archive must be unpacked into a folder without Cyrillic characters (for example, C:\MIUI\lavender_global).
- Launch the Mi Flash Tool on behalf of the administrator, click Select and specify the path to the unpacked firmware.
- Connect the phone in Fastboot mode: 1. Turn off the phone. 2. Press <power button> + <volume down> until a bunny says "Fastboot." 3. Connect to the PC.
- Select firmware mode: Clean all - complete cleaning (recommended when changing the version of MIUI), Clean all and lock - cleaning + lock bootloader (use if you sell a phone), Save user data - data storage (does not always work stably).
Flash
If the process is 99 percent dead or you have an anti-rollback error, you're trying to install an older version of MIUI than the one on your phone.
β οΈ The only way out is to flash a newer version. MIUI (If it's not, you'll have to use it. EDL-mode with an authorized Xiaomi account (this is done in service centers).
π‘
If the phone doesnβt turn on for more than 10 minutes after running through Fastboot, donβt panic β the first turn on after a complete cleanup can take up to 20 minutes.
Firmware through Recovery: for updates and custom ROM
Recovery is suitable for installing updates (OTA) or custom firmware (e.g. Pixel Experience).
- Install custom Recovery (e.g. TWRP) The official version for lavender can be downloaded from twrp.me.
- Boot in Recovery: 1. Turn off the phone. 2. Press <power button> + <volume up> before the TWRP logo appears.
- For official updates: Wipe β Dalvik/ART Cache. For custom firmware: Wipe β Advanced Wipe β select System, Data, Cache, Dalvik.
Install firmware
1.Push Install.
2. Select a firmware file (usually in.zip format).
3. Confirm the swipe installation.Reboot.
Reboot System
For custom firmware, an additional installation may be needed:
- πΉ GApps (Google Services) β if they are not in the firmware.
- πΉ Magisk β to obtain root rights (optional).
- πΉ Fix for Camera β Some custom firmware requires a separate patch to run the main camera.
If you've got a custom firmware installed, you've got a logo that's not compatible or you haven't wiped it. Try repeating the process with another firmware.
Typical errors and their solutions
Even with the correct instructions, there can be problems, and here are the most common ways to correct them:
| Mistake. | Reason. | Decision |
|---|---|---|
| Anti-rollback check error | Trying to install an older version of MIUI | Switch a new version or use it EDL-regime |
| This package is for "lavender" devices; this is a "" | Firmware is incorrect (not for Redmi Note 7) | Download firmware specifically for lavender |
| Couldn't mount /system in TWRP | Incompatible version of Recovery | Install the current version of TWRP for lavender |
| Phone is not defined in Fastboot | Problems with drivers or cable | Reinstall the driver, try another USB cable/port |
| After the firmware no network (IMEI invalid) | The modem or nvram partition is damaged | Restore IMEI via SN Write Tool (requires an authorized account) |
If the phone does not turn on after a failed firmware at all (black screen, no reaction to buttons), try:
- Clip Power + Volume up + Volume down for 20 seconds β sometimes this helps to get out of the brick.
- Connect to charging for 1 hour - perhaps the battery has run out.
- Use it. EDL-Mode (requires special cable and authorization from Xiaomi).
β οΈ Note: If you have lost your scalp and lost IMEI, Do not try to restore it through random instructions from the Internet. Incorrect actions will lead to complete loss of the network, and the phone will become a brick with no possibility of recovery even in the service center.
What to do after firmware: setup and optimization
After successful firmware Redmi Note 7 will require initial configuration:
- Data recovery: If you have backups through Mi Cloud, log in and restore contacts, messages and photos.
- Network Check: Make sure that IMEI Retained (type *#06#). If you don't have a network, check your settings. APN In Settings β SIM-maps and mobile networks β Access points (APN).
- Disconnection of unnecessary services: π« Settings β Annexes β Application management β Disable unnecessary system applications (e.g. Mi Video, Mi Music). π« Settings β Accounts. β Delete unnecessary accounts (e.g., Xiaomi Cloud if you are not using it).
Optimizing productivity
- β‘ Turn on the settings. β Additionally. β For developers β Window animation (off.).
- β‘ Turn off auto-launch applications in Settings β Annexes β Permits β Auto-start.
If you have a custom firmware stitched (e.g., Pixel Experience), additionally:
- π§ Install Magisk for root rights (if necessary).
- π· Check the camera performance β some builds require GCam or 48MP module patches.
- π Calibrate the battery: completely discharge and charge the phone 2-3 successively.
π‘
After the official MIUI firmware update all applications through Google Play β this will fix possible bugs with Google services.