How to flash the blocked Xiaomi Redmi Note 7: a complete guide to unlock the bootloader

Xiaomi Redmi Note 7 (lavender) is still popular with users due to its balanced features and customization capabilities. However, after a failed firmware, reset or lock your Mi Account, the device can turn into a β€œbrick” – do not load beyond the logo or require a password that you forgot. In 90% of cases, this situation can be fixed yourself, but this will require you to unlock the bootloader and install the firmware correctly.

In this article, we will discuss all the working ways to run the blocked Redmi Note 7 in 2026: through Fastboot, EDL mode, and bypassing Mi Account lock without losing data. We will focus on typical errors (such as anti-rollback or invalid image) and how to fix them. If you have never flashed a smartphone before, don’t worry: the instructions are adapted for beginners, with step-by-step screenshots and explanations.

Important: The firmware of the smartphone will void the warranty and may lead to data loss. If the device is blocked due to Mi Account, first try to restore access through the official Xiaomi website - this is the safest option.

1. Firmware Preparation: What to Do Before Starting

Before you start unlocking, make sure you have everything you need. The absence of at least one of the items can make it impossible to restore the device (for example, if you forget to unlock the bootloader before you run through Fastboot).

Here's the full checklist:

Download the Mi Flash Unlock Tool (official)

Install Xiaomi drivers (Qualcomm + ADB)

Download the firmware for Redmi Note 7 (the version should match the region!)

Prepare. USB-cable (original or high quality)

Charge your phone at least 50%

Backup your data (if the phone is still turned on)

Get permission to unlock the bootloader (via Mi Account)

-->

Pay special attention to the choice of firmware. For the Redmi Note 7 (lavender), there are the following types:

  • πŸ“± Global (MIUI Global – for international versions (e.g, lavender_global_images...). Suitable for most users in Russia and CIS.
  • πŸ‡¨πŸ‡³ China (MIUI China - Chinese firmware without Google services, not recommended for everyday use.
  • πŸ› οΈ Fastboot firmware – a complete package to install via the Mi Flash Tool (extension.tgz or.zip).
  • πŸ”§ Recovery firmware – update via stock recovery (extension.zip, installed via Updater).

Download the firmware only from official sources:

  • πŸ”— Official website MIUI (Choose the Redmi Note 7 β†’ lavender).
  • πŸ”— Xiaomi Firmware Updater (alternative source with archived versions).

πŸ’‘

If your Redmi Note 7 is locked on the Mi Account screen, try bypassing the lock without firmware: connect to Wi-Fi, enter any password 3 times, then click Forgot Password and follow the instructions on the screen. This will work if the device was tied to your account.

2 Unlocking the bootloader: a mandatory step before the firmware

The bootloader on all Xiaomi smartphones is locked by default, a security measure that prevents unofficial software from being installed. To flash the device through Fastboot or EDL, it must be unlocked.

The process takes 3 to 7 days (due to the Xiaomi account verification) and consists of the following steps:

  1. If the phone is still on, go to Settings β†’ Mi Account β†’ Sync and make sure the device is linked to your account. If the phone is locked, this step is skipped (but unlock will only be possible through EDL).
  2. Download Mi Unlock Tool, log in to your Mi Account and connect your phone in Fastboot mode (click Volume Down + Power). The program will determine the model and send a request to unlock.
  3. The Xiaomi confirmation wait checks your account for suspicious activity, usually in 3-5 days (sometimes longer), and you can check the status in the Mi Unlock Tool itself.
  4. After you get permission, reconnect your phone to Fastboot, launch the Mi Unlock Tool, and press Unlock.

Less than 3 days

3-7 days

More than a week.

Didn't unlock it.

I remember.-->

Important nuance: If you bought the phone with your hands, the previous owner could not untie your Mi Account. In this case, unlocking through the Mi Unlock Tool will be impossible - you will need to contact Xiaomi support with proof of purchase (check, contract).

⚠️ Warning: Once the bootloader is unlocked, the smartphone will be reset to factory settings. All data (photos, contacts, messages) will be deleted. If the phone is still on, back up via Settings. β†’ Additionally. β†’ Backup.

3. Firmware through Fastboot: step-by-step instructions

The method is suitable if:

  • βœ… The bootloader is unlocked.
  • βœ… The phone is determined by the computer in Fastboot mode (when connected). USB Fastboot is displayed in Device Manager).
  • βœ… You have the official Fastboot firmware for Redmi Note 7 (lavender).

You'll need the Mi Flash Tool for the firmware.

  1. Download and install Xiaomi drivers. If Windows does not recognize the device, install the driver manually through Device Manager (select Android Bootloader Interface).
  2. Connect your phone in Fastboot mode Turn off your smartphone. Press Volume down. + Meal for 10 seconds until the hare appears in the hat-eared (Fastboot logo). USB-computer-wire.
  3. Unpack the firmware archive with firmware (for example, lavender_global_images_V12.5.1.0.RFGMIXM_20210310.0000.00_10.0_global_4d5d1a3b0b.tgz) Unpack into a folder without Cyrillic characters (for example, C:\MIUI\lavender).
  4. Run Mi Flash Tool Open the program on behalf of the administrator. In the Select field, specify the path to the unpacked firmware. Make sure that the bottom shows COM-port.
  5. There are 3 options at the bottom of the program: Clean all - complete cleaning (recommended when changing the version of MIUI), Clean all and lock - cleaning + lock the bootloader (do not choose if you plan to further customize the phone!), Save user data - saving data (does not always work, can lead to errors).

For reliability, choose Clean All.

Start the firmware

Press Flash. It takes 5-10 minutes. When it's done, the phone automatically restarts.

If the firmware is successful, the phone will load into the initial MIUI setting. If there is an error, see the section "Typical errors and their solutions" below.

πŸ’‘

Fastboot is the most reliable way to unlock a bootloader, but if the phone is not detected in this mode (for example, due to a damaged connector or controller), you will need to use EDL mode.

4.Firmware through EDL: When the Fastboot doesn't work

EDL (Emergency Download Mode) is a β€œemergency boot” that allows you to flash your phone even if:

  • πŸ”Œ bootloader is locked (but you can't unlock it through Mi Unlock Tool).
  • πŸ’₯ Phone does not turn on at all (black screen, no reaction to buttons).
  • πŸ”§ The connector is damaged. USB power controller.

To run through the EDL, you will need:

  • πŸ–₯️ Windows computer 7/10/11 (on macOS/Linux doesn't work).
  • πŸ”Œ Cable USB Type-C (preferably original).
  • πŸ“¦ Firmware in.mbn or.elf format (special files for the use of.mbn) EDL).
  • πŸ› οΈ Mi Flash Pro or XiaomiTool V2.

Note: Firmware through EDL without unlocked bootloader can lead to IMEI blocking (the phone will lose network).To avoid this, use official firmware and follow the instructions below.

Step 1: Enter EDL mode

There are two ways:

  1. Hardware (for working phones) Turn off the phone. Press Volume up + Volume down + Power for 10-15 seconds. The screen will remain black, but the computer must identify the device as a Qualcomm HS-USB QDLoader 9008.
  2. Software (via ADB) If the phone is turned on but does not load beyond the logo, connect it to your computer, open the command line and type: adb reboot edl

Step 2: Firmware with Mi Flash Pro

Follow the instructions:

  1. Install the Qualcomm 9008 driver (download here).
  2. Run Mi Flash Pro, select firmware for EDL (file with.mbn extension).
  3. Press Refresh – the program must define the COM port.
  4. Select Clean All mode and press Flash.

It takes 10-20 minutes. When you're done, the phone will restart. If you don't have a network after you've run the firmware, check the IMEI in Settings β†’ About the phone. If it's missing, you'll need to restore it through the engineering menu (instruction below).

What if the phone doesn’t turn on after EDL?
If the phone is not showing any signs of life after running through EDL (it doesn’t vibrate, it doesn’t warm), check: 1. The cable and USB port β€” try another cable or computer. 2. The battery β€” if the phone is under 5%, it won’t turn on. Connect to charging for 30 minutes. 3. Re-routing β€” sometimes helps to flash the same version again. 4. Test item β€” if nothing helps, it may be damaged power controller (repair required).

5. Typical firmware errors and their solutions

Even if you follow the instructions accurately, you can get errors, and here's a table of the most common problems and how to fix them.

Mistake.Reason.Decision
Couldn't unlock the Mi Unlock ToolAccount not confirmed or phone not tiedWait 3-7 days after submitting your application. Make sure your phone is linked to your Settings account β†’ Mi Account.
Flash is not allowed in locked statebootloader lockedUnlock the bootloader through the Mi Unlock Tool (see section 2).
Anti-rollback check failTrying to install an old version of MIUIDownload a newer firmware. Check the version through fastboot getvar anti.
Invalid sparse file format at headerA damaged firmware fileDownload the firmware again (check the MD5 checksum).
Phone is not defined in Fastboot/EDLLack of drivers or damaged USB-portInstall the drivers manually through Device Manager. Try another cable or port.

If you see an error that is not in the table, look for its code (e.g., 0x80070002). Often this indicates a driver or connection problem.

  • πŸ”Œ Reconnect. USB-cable.
  • πŸ–₯️ Reboot the computer.
  • πŸ”„ Try another one. USB-port (preferably) USB 2.0).
  • πŸ› οΈ Install drivers manually (download Xiaomi Driver Installer).

⚠️ Note: If you are running through EDL Sahara Communication Failed, which could mean the phone is in mode BROM (In this case, only flashing through QFil or contacting the service center will help.

6.IMEI recovery after firmware

If the IMEI is missing after the firmware is running through EDL (Settings β†’ Phone Unknown), it means that the NV-data area has been damaged.

Method 1: Engineering menu (for experienced users)

This method works if you have a backup of NV data or know the original IMEI (like from a phone box).

  1. Open the Phone app and enter the code: ##4636## Select Phone Information and check your current IMEI.
  2. Install the MTK Engineering Mode app (QCN Rebuilder is suitable for Qualcomm processors).
  3. Enter the original IMEI (for the Redmi Note 7, it is indicated on the sticker under the battery or on the box).
  4. Reboot the phone.

Method 2: Through firmware NV-section

If IMEI is reset to 0 or Null, you will need to flash the nvdata.bin file via Fastboot:

  1. Download stock nvdata.bin for Redmi Note 7 (can be found on XDA Developers).
  2. Connect your phone in Fastboot mode.
  3. Open the command line in the folder with fastboot and type: fastboot flash nvdata nvdata.bin fastboot reboot

Warning: Incorrectly changing the IMEI can result in a network lock or a violation of the law (in some countries, changing the IMEI is prohibited).

7. bypassing the lock Mi Account without firmware

If your Redmi Note 7 is locked on your Mi Account screen but you don’t remember the password, there are a few ways to get around the lock without full firmware:

Method 1: Restore your account

If the phone is connected to the Internet:

  1. On the lock screen, enter any password 3 times.
  2. The button β€œForgot your password?” will appear.
  3. Enter the email or phone number associated with your Mi Account.
  4. Follow the instructions for resetting your password.

Method 2: Through ADB (if debugging is enabled)

If you have previously enabled USB debugging:

  1. Connect the phone to the computer.
  2. Open the command prompt and type: adb shell am start -n com.android.settings/.MiuiAccountSettings This will open the account settings where you can untie the device.

Method 3: Through Test Point (Test Point)

If nothing works, you can force the phone to EDL mode through the test point (contacts on the motherboard).

  1. Take the phone apart (requires a mediator and a cross screwdriver).
  2. Find the test item (for the Redmi Note 7, these are two contacts next to the battery signed by EDL).
  3. Lock them with tweezers and plug them in. USB-The phone will go to the cable. EDL.
  4. Swipe your phone through Mi Flash Pro (see section 4).

⚠️ Warning: Disassembling the phone will void the warranty and may cause damage to the board.If you are unsure of your skills, contact the service center.

FAQ: Frequent questions about the Redmi Note firmware 7

Can I flash Redmi Note 7 without unlocking the bootloader?
No, it's not possible to officially flash a phone through Fastboot without unlocking the bootloader. The only workaround is through EDL, but it requires special knowledge and can lead to a loss of IMEI.
How do I know if the bootloader is unlocked on my phone?
Turn off your phone and press Volume Down + Power to log into Fastboot. If you see Unlocked at the bottom of the screen, the bootloader is unlocked. If Locked is locked.
Which firmware to choose: Global or China?
For most users, Global (there are Google services, support for Russian language) is suitable. China firmware does not have Google Play and some features, but it is updated more often. There are also EEA (Europe) and India (India) - they differ in pre-installed applications.
Can I return the warranty after the firmware?
No, any firmware (even the official one via Mi Flash) will void the warranty, but if the phone is stable after firmware is installed, the service center may not notice the interference (but this is not guaranteed).
What to do if the phone does not turn on after the firmware?
Try: Charge your phone for 30 to 60 minutes (possibly battery dead), repeat the firmware via Fastboot or EDL, check the cable and USB port, if nothing helps, contact the service (possibly damaged power controller).