How to reflash Xiaomi Redmi Note 7 yourself: a complete guide to unlock the bootloader

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:

  1. Account Link to Phone: Sign in to Mi Account in your phone settings and enable synchronization.
  2. 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).
  3. Waiting: The program will show a timer (usually 168 hours).
What happens if you break the unlock?
If you disconnect your phone from your PC or close the Mi Unlock Tool during the process, the timer will reset and you will have to wait again, in the worst case, the device can lock up with a password from Mi Account, even if you know it.

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 firmwareAdvantagesDeficienciesComplexity of installation
Official MIUI (Stable/Developer)Maximum stability, support OTA-Updates, all functions are workingLots of bloatware (preinstalled apps), ads in the system menu⭐⭐ (easily)
MIUI EU (unofficial)No Ads and No Unnecessary Apps, Weekly UpdatesThere 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 performanceSome 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:

  1. 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).
  2. Unpack the firmware: The.tgz archive must be unpacked into a folder without Cyrillic characters (for example, C:\MIUI\lavender_global).
  3. Launch the Mi Flash Tool on behalf of the administrator, click Select and specify the path to the unpacked firmware.
  4. 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.
  5. 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).

  1. Install custom Recovery (e.g. TWRP) The official version for lavender can be downloaded from twrp.me.
  2. Boot in Recovery: 1. Turn off the phone. 2. Press <power button> + <volume up> before the TWRP logo appears.
  3. 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 errorTrying to install an older version of MIUISwitch 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 TWRPIncompatible version of RecoveryInstall the current version of TWRP for lavender
Phone is not defined in FastbootProblems with drivers or cableReinstall the driver, try another USB cable/port
After the firmware no network (IMEI invalid)The modem or nvram partition is damagedRestore 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:

  1. Clip Power + Volume up + Volume down for 20 seconds – sometimes this helps to get out of the brick.
  2. Connect to charging for 1 hour - perhaps the battery has run out.
  3. 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:

  1. Data recovery: If you have backups through Mi Cloud, log in and restore contacts, messages and photos.
  2. 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).
  3. 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.

FAQ: Answers to Frequent Questions

Can I flash Redmi Note 7 without unlocking the bootloader?
No. Any firmware through Fastboot or Recovery requires an unlocked bootloader. The only exception is the Airborne Updates (OTA), but they are only available for official MIUI builds.
How to return the official MIUI after custom firmware?
You need to flash the official firmware through the Clear all Fastboot, and then the bootloader will automatically lock. If you want to leave it unlocked, use the Clean all and lock option in the Mi Flash Tool.
Why is the camera or fingerprint sensor not working after the firmware?
This is a typical custom firmware problem. Solutions: Set up a special patch for the camera (look for XDA). Check if your firmware supports FOD (underscreen fingerprint scanner). Return to the official MIUI if the features are critical.
How to update the firmware if the phone is locked (forgot a pattern lock)?
There are two options: Reset via Recovery: Go to TWRP (If installed, and make a Wipe β†’ Format Data (this will remove the pattern lock, but all data too). Firmware via Fastboot: Sweeve the official firmware with full cleaning - this will reset all settings, including locking the screen. ⚠️ Note: If your phone has Mi Account enabled and you don't remember your password, you'll need to enter your account information after the reset.
Can I flash Redmi Note 7 over EDL if the Fastboot doesn't work?
Yes, but it is a complex method that requires an authorized Xiaomi account (usually only available to service centers). EDL-The software is called Mi Flash Pro, which is called authorization,.mbn firmware, and when you try it yourself without experience, you can permanently damage your phone.