Fastboot on Xiaomi Redmi Note 7: a complete user guide

The Fastboot mode on Xiaomi Redmi Note 7 is a powerful tool that allows you to install custom firmware, unlock the bootloader, restore the โ€œbrickโ€ device and perform other operations that are not available in the standard MIUI. However, not all users understand what a Fastboot is, how it differs from Recovery, and when it should be used.

Many people mistakenly confuse Fastboot with Recovery Mode, but these are fundamentally different things. If Recovery is a graphics shell for resetting settings or installing updates, Fastboot works at the command line firmware level. On Redmi Note 7 (codenamed lavender), this mode is especially important, since the device supports unlocking the bootloader, which opens the way to custom firmware like LineageOS or Pixel Experience.

But beware: the wrong actions in Fastboot can turn your smartphone into a brick. In this article, we will detail how to get into mode, what commands to use, and what to do if something goes wrong.

What is Fastboot and Why You Need It on Redmi Note 7

Fastboot is a protocol developed by Google to interact with the bootloader of Android devices. On the Xiaomi Redmi Note 7, it allows you to:

  • ๐Ÿ”“ Unlock the bootloader (bootloader unlock) for installing custom firmware.
  • ๐Ÿ“ฅ Install official and unofficial firmware via fastboot flash.
  • ๐Ÿ”„ Restore the device after failures ("uncurbยป).
  • ๐Ÿ› ๏ธ Check the condition of the section EFS (stored IMEI and serial numbers).
  • ๐Ÿ“ก Testing hardware (e.g., checking the operation of the module) NFC camera).

On the Redmi Note 7, Fastboot activates during the boot phase, before the operating system starts, which means that even if MIUI doesnโ€™t start, you can still access critical features of the device.

Itโ€™s important to understand that Fastboot is not the same as EDL Mode, which is used by service centers to flash dead devices, whereas Fastboot is available to anyone and requires no special hardware.

โš ๏ธ Note: On Redmi Note 7, unlocking the bootloader via Fastboot results in a full Factory Reset!

How to Sign In to Fastboot on Xiaomi Redmi Note 7: 3 Ways

There are several ways to activate Fastboot mode on the Redmi Note 7. Choose the most convenient one depending on the situation:

Method 1: Through hardware buttons (if the smartphone is turned off)

  1. Turn off the device (press the power button and select Turn off).
  2. Press and hold the Volume Down button and the power button at the same time.
  3. Keep them pressed until the Fastboot logo appears (an Android robot with an open case and the inscription FASTBOOT).

Method 2: Through ADB (if the smartphone is on)

If you have debugging enabled USB (USB Debugging, you can log into Fastboot using the command:

adb reboot bootloader

This command will restart the device directly into Fastboot mode without the need to use buttons.

Method 3: Through the Recovery Menu (if TWRP is available)

If your Redmi Note 7 has custom TWRP Recovery installed, you can go to Fastboot via the menu:

  1. Go to Recovery Mode (click Volume Up + Power).
  2. Select Reboot โ†’ Bootloader.

After successful login, a black background with white FASTBOOT text and a robot image will appear on the screen, and the device is now ready to work with commands via fastboot on the computer.

๐Ÿ“Š How do you usually log into the Fastboot?
Through hardware buttons
Through the ADB team
Through TWRP
Another way.

Fastboot Main Commands for Redmi Note 7

To manage the Redmi Note 7 in Fastboot mode, you will need a computer with ADB/Fastboot drivers installed and a USB connected device. Below is a list of the most useful commands:

Team team.DescriptionExample of use
fastboot devicesShows connected devices in Fastboot mode.fastboot devices โ†’ 123456789abcdef fastboot
fastboot oem unlockStarts the procedure of unlocking the bootloader (requires binding of the Mi Account).fastboot oem unlock โ†’ OKAY [ 0.123s]
fastboot flash [section] [file]This section is used (e.g. boot, recovery).fastboot flash recovery twrp.img
fastboot boot [file]Downloads a temporary image (e.g., TWRP) without firmware.fastboot boot twrp.img
fastboot getvar allOutputs information about the device (serial number, loader status).fastboot getvar product โ†’ product: lavender

The Redmi Note 7 is especially useful in the fastboot oem device-info command, which shows the bootloader's unlock status. If you see Device unlocked: true in the answer, then the bootloader is already unlocked.

โš ๏ธ Note: Fastboot erase commands (e.g., fastboot erase userdata) result in complete deletion of partition data. Use them only if you are sure you need to!

โ˜‘๏ธ Preparation for work with Fastboot

Done: 0 / 4

Unlock the bootloader on Redmi Note 7 via Fastboot

One of the main reasons for using Fastboot on Redmi Note 7 is to unlock the bootloader. Without this, you can not install custom firmware or TWRP Recovery.

Step 1: Linking your Mi Account

Before unlocking, you need to link your Xiaomi account to the device:

  1. Go to Settings โ†’ Mi Account โ†’ Link your account to your device.
  2. Enter your Mi Account details (if not, register at account.xiaomi.com).

Step 2: Request Unlocking through Mi Unlock Tool

Download the official Mi Unlock Tool utility from Xiaomi website and follow the instructions:

  1. Launch it. miflash_unlock.exe PC-only.
  2. Sign in with the same Mi Account as you do on your smartphone.
  3. Connect the Redmi Note 7 to Fastboot mode.
  4. Press Unlock and wait until it is completed (usually takes 3-5 minutes).

On Redmi Note 7, after unlocking the bootloader, the reset to the factory settings is automatically performed. All data (photos, contacts, messages) will be deleted!

Step 3: Checking the Unblocking Status

To make sure that the bootloader is unlocked, enter the command:

fastboot oem device-info

In the answer, look for the lines:

Device unlocked: true


Device critical unlocked: true

What if the Mi Unlock Tool canโ€™t see the device?
1. Check if Qualcomm drivers are installed HS-USB QDLoader 9008 (can be downloaded from the XDA Developers). 2. Try another one. USB-port (preferably) USB 2.0). 3. Disable the antivirus - it can block the utility. 4. Make sure that the smartphone is enabled debugging by USB and allowed OEM Unlock in the Developer Settings.

Install custom firmware through Fastboot

Once you unlock the bootloader, you can flash custom firmware (like LineageOS or Pixel Experience). For the Redmi Note 7, the process looks like this:

Step 1: Downloading the firmware

Choose the right firmware for the lavender model (as Xiaomi calls the Redmi Note 7).

  • ๐Ÿ“Œ XDA Developers (Redmi Note 7).
  • ๐Ÿ“Œ Telegram channels with custom firmware.

Step 2: Firmware through fastboot

Unpack the archive with firmware and execute commands (example for LineageOS):

fastboot flash boot boot.img


fastboot flash system system.img




fastboot flash vendor vendor.img




fastboot flash dtbo dtbo.img




fastboot reboot

To simplify the process, many firmware comes with a script. flash_all.bat โ€” Just start it and all commands will be executed automatically.

โš ๏ธ Note: Firmware unofficial builds can lead to problems with IMEI, module NFC Check the reviews of other users before installing!

๐Ÿ’ก

Before you run the firmware, check the hash amount (MD5 or SHA-256) of the downloaded file, which will help to avoid installing corrupted firmware.

Frequent Fastboot Errors and How to Fix Them

Working with Fastboot on Redmi Note 7 can be accompanied by errors. Let's consider the most common and ways to solve them:

Mistake.Reason.Decision
waiting for deviceThe computer can't see the device.Check it out. USB-cable (use original). Install drivers ADB/Fastboot. Try another one. USB-port.
FAILED (remote: 'Device is locked. Cannot flash images')The bootloader is not unlocked.Unlock the device through the Mi Unlock Tool.
FAILED (remote: 'Not allow to flash in Lock State')The device is in the state of Anti-Rollback (protection against rollback of the firmware).Sweeve the newer version of MIUI through the Mi Flash Tool.
Invalid sparse file format at headerThe firmware file is damaged.Download the firmware again and check the MD5.

If the Redmi Note 7 does not turn on after a failed firmware, try to restore it via Fastboot using the official firmware from Xiaomi.

  1. Download the official ROM for Lavender.
  2. Unpack the archive and launch it. flash_all.bat.

๐Ÿ’ก

If your smartphone doesnโ€™t respond to Fastboot commands, try EDL by closing the test points on the board. This is a last resort and requires disassembling the device!

How to avoid turning Redmi Note 7 into a brick

Fastboot is always risky, and to minimize the chances of building a Redmi Note 7, follow these rules:

  • ๐Ÿ”‹ Do not stitch the device if the battery is below 50%.
  • ๐Ÿ”Œ Use only the original. USB-cable (cheap cables can interrupt the connection).
  • ๐Ÿ“‹ Always check. MD5 downloaded firmware.
  • ๐Ÿ” Do not flash partitions intended for another model (e.g, boot.img from the Redmi Note 8).
  • ๐Ÿ›ก๏ธ Make a backup copy of the section EFS before any manipulation.

If you still encounter a problem when the Redmi Note 7 doesnโ€™t turn on after you have firmware, try the following steps:

  1. Hold Volume Up + Power for 10-15 seconds โ€“ sometimes it helps to get out of the soft brick.
  2. Connect the device to your PC and check if it is identified in Device Manager as Qualcomm HS-USB QDLoader 9008. If so, it can be restored via the Mi Flash Tool.

Last chance: If your smartphone doesnโ€™t respond to any commands, contact Xiaomiโ€™s service center. In most cases, it can be restored via EDL, but it requires a special hardware (Authorization Account).

FAQ: Frequent Fastboot Questions on Redmi Note 7

Can I log in to Fastboot if the smartphone is not turned on?
Yes, if the device has any response to charging (burning indicator, vibration) try to pinch Volume Down + Power for 10-15 seconds. If there is no reaction, it may be a problem in the hardware (battery, board).
How to get out of Fastboot if the smartphone is frozen?
Press the power button for 20-30 seconds. If it doesn't work, plug it into the charger and try again. In extreme cases, wait until the battery is completely discharged (may take several hours).
Do I need to unlock the bootloader to install official updates?
No, official MIUI updates are installed via Recovery or System Update without unlocking. Fastboot is only for custom firmware or manual recovery.
Can I use Redmi Note 7 without a computer?
Partially. For example, you can install TWRP Recovery through the Official TWRP App (requires root), but you need to have a computer to unlock the bootloader or fastboot-ROM firmware.
Will I lose my warranty after unlocking the bootloader?
Yes, Xiaomi considers unlocking the bootloader a violation of warranty conditions, but in most cases, service centers can restore the device for a fee, even if it is โ€œbrickedโ€.