How to reflash Xiaomi Redmi Note 7: official and custom firmware

Xiaomi Redmi Note 7 remains one of the most popular budget smartphones even years after its release. However, over time, standard MIUI firmware begins to slow down and updates from the manufacturer stop coming out. Flashing the phone can solve performance problems, add new features or even install clean Android without excess software. But the process requires accuracy: a bug at any stage can turn the device into a β€œbrick”.

In this guide, we’ll look at all the ways to reflash, from the official Updater update to custom firmware installations via TWRP and Fastboot. You’ll learn how to unlock the bootloader, where to download the verified firmware files for Redmi Note 7 (codename lavender), and how to avoid errors. And if you’ve never flashed a smartphone before, don’t worry: the instructions are tailored for beginners.

Preparation for Flashing: What to Do Before Starting

Flashing is not just a couple of buttons, but doing the wrong thing can cause data to be lost, a system crash, or even a physical device to crash, so the first step is to have a full backup of all the important data, and even if you plan to upgrade without resetting, the risk of file loss remains.

Here’s what you should do before you start:

  • πŸ“± Save your contacts, photos and documents to the cloud (Google Drive, Mi Cloud) or computer. Use Mi Mover to back up your applications.
  • πŸ”‹ Charge the phone to at least 60%. When discharged during firmware, the device may turn off and stop turning on.
  • πŸ”— Download the correct firmware for your model. For the Redmi Note 7, these are lavender-marked files (not to be confused with the Redmi Note 7 Pro - violett!).
  • πŸ” Find out the version. MIUI In Settings β†’ This will help you choose the latest firmware (stable or developer).

Also check if the bootloader is unlocked, and if it isn't, you'll have to unlock it through the official Mi Unlock tool, which you'll find out in the next section.

πŸ’‘

If you’re flashing your phone for the first time, practice on an old model or use an Android-x86 virtual machine to understand the process.

Unlock the bootloader on Xiaomi Redmi Note 7

The bootloader on all Xiaomi smartphones is locked by default, a security measure, but it also makes it harder to install custom firmware. Unlocking takes 3 to 30 days, depending on Xiaomi policy and your Mi Account.

Here's a step-by-step process:

  1. Link your Mi Account to your phone: Go to Settings β†’ Mi Account β†’ Sync and make sure the device is tied.
  2. Activate USB debugging: In Settings β†’ About the phone tap 7 times on the MIUI version, then go back to Settings β†’ Additional β†’ For developers and enable debugging via USB.
  3. Connect the phone to the PC and confirm the debugging permission.
  4. Download Mi Unlock Tool from the official website and start the program.
  5. Log in to your Mi Account and follow the instructions. The program will check if you can unlock the bootloader.

If you see a message called Couldn't unlock. Wait 168 hours is fine. Xiaomi requires you to wait 7 days (sometimes longer) before unlocking.

  • ❌ Untie the Mi Account from the phone.
  • ❌ Do a resetting.
  • ❌ Switching the device through Fastboot.
πŸ“Š You have already unlocked the bootloader on your Xiaomi?
Yeah, long ago.
Yeah, recently.
No, just planning.
No, I'm not going to.

Re-flashing methods: which one to choose?

There are three main methods of firmware Redmi Note 7:

MethodDifficultyUnlocking requiredSuitable for
Through Updater (OTA)⭐❌ No.Official updates to MIUI
Through Recovery (MIUI or TWRP)⭐⭐❌ No, for MIUI)βœ… Yes. TWRP)Official and some custom firmware
Through Fastboot (MiFlash)β­β­β­βœ… Yes.Any firmware, recovery after failure

The choice of method depends on your goals:

  • πŸ”„ Update MIUI last-minute β†’ Use Updater or Recovery.
  • πŸ› οΈ Install custom firmware (such as LineageOS or Pixel Experience) β†’ need TWRP + Fastboot.
  • 🚨 Restore the phone after a failure β†’ Fastboot only.

πŸ’‘

For beginners, the safest way is to upgrade through Updater. The risk of bricking is minimal, but the functionality is limited to official firmware.

Firmware through Fastboot: step-by-step instructions

This method is suitable for installing any firmware, including custom, but requires an unlocked bootloader and computer. We will use the official MiFlash tool.

What you need:

  • πŸ’» Windows computer (for MiFlash).
  • πŸ”Œ Cable USB Type-C (preferably original).
  • πŸ“ Firmware in.tgz or.zip format for lavender.
  • πŸ› οΈ Utilities: MiFlash, ADB & Fastboot tools.

Instructions:

  1. Run MiFlash, select the firmware folder and press Refresh.The device should appear in the list.

β˜‘οΈ Preparation for firmware through Fastboot

Done: 0 / 5

⚠️ Note: If after firmware the phone is stuck on the logo MI For more than 15 minutes, don't panic. Try to go to Recovery. + Power) and make Wipe Data. If that doesn't work, repeat the firmware with Clean all.

Installation of custom firmware through TWRP

If you want to install informal firmware (like LineageOS, Pixel Experience or HaventOS), you’ll need custom TWRP recavators. This method offers more freedom, but also risks.

What needs to be done:

  1. Install. TWRP: Download the latest version TWRP For lavender from the official website and browse through Fastboot: fastboot flash recovery twrp-3.7.0_9-0-lavender.img fastboot boot twrp-3.7.0_9-0-lavender.img
  2. Backup in TWRP: In the main menu, select Backup and save the Boot, System, Data sections.
  3. Download the firmware.zip file and GApps (if you need Google services), transfer them to your phone and install them via Install to TWRP.
  4. Clean the cache: Once installed, run Wipe β†’ Dalvik / ART Cache + Cache.
  5. Reboot to the system.

The first launch of custom firmware can take up to 15 minutes. If the phone freezes, don't force it to turn it off, wait.

What if TWRP doesn’t see internal memory?
This is a common problem when moving from MIUI Solution: 1. Connect your phone to your PC through MTP into TWRP and copy the firmware files. 2. Or use OTG-cable and flash drive. 3. In extreme cases, run the firmware through ADB Sideload in TWRP (Advanced β†’ ADB Sideload).

⚠️ Note: Some custom firmware does not support Widevine L1, This will make Netflix and other services work in low resolution. XDA.

Frequent mistakes and their solutions

Even with the correct instructions, there can be problems, and here are the most common mistakes and ways to correct them:

Mistake.Reason.Decision
Fastboot: unknown commandNot installed ADB/Fastboot or the wrong pathInstall Platform Tools and check for environment variables
This package is for"lavender" devices; this is a""The wrong firmware for the modelDownload the firmware specifically for lavender (not violett!)
The phone does not turn on after the firmwareIncompatible firmware or interrupted processRepeat the firmware through Fastboot with the choice of Clean all
Anti-rollback check failTrying to revert to the old version of MIUITry a newer version or the same one you had before.

If your phone has turned into a brick (it doesn't turn on, it doesn't respond to buttons), don't panic. In 90% of cases, it can be restored:

  1. Try going to Fastboot (Loudness Down + Nutrition).
  2. If you don’t, plug your phone into charging for 30 minutes, then try again.
  3. Sweep through the official firmware through MiFlash in Clean All mode.

πŸ’‘

If MiFlash is running an error 0x80070002, try running the program on behalf of the administrator or using another version of the utility (for example, MiFlash 2018).

Where to download firmware for Redmi Note 7

Where to get firmware files is one of the most important questions: unofficial sources may contain viruses or modified versions with malware.

  • 🌍 Official firmware MIUI: - MIUI Downloads (select Redmi Note 7) β†’ lavender). - MIUI ROM (archer).
  • πŸ› οΈ Custom firmware: - XDA Developers (section for Redmi Note 7) - SourceForge (Pixel Experience firmware, LineageOS).
  • πŸ”„ The latest updates are MiFlash: Android Developers.

When downloading, pay attention to:

  • πŸ“… Release date – fresh firmware is usually more stable.
  • πŸ”’ Version. MIUI β€” Redmi Note 7 is relevant firmware based on Android 9-11.
  • 🌐 Region – Choose Global, EEA Russia to avoid problems with Google language and services.

FAQ: Answers to Frequent Questions

❓ Can I flash Redmi Note 7 without unlocking the bootloader?
Yes, but only official firmware via Updater or Recovery. For custom firmware and TWRP, unlocking is mandatory.
❓ How to check if the bootloader is unlocked?
Turn off your phone and press Volume Down + Power. If you see Unlocked under the Fastboot logo, the bootloader is unlocked. If Locked isn't.
❓ Which firmware is better to choose: stable or for developers?
Stable is suitable for everyday use, with fewer bugs, Developer firmware is updated more often but may contain errors, and for custom firmware, choose the one that has more positive reviews on XDA.
❓ Will I lose my warranty after I have re-flashed?
Yes, any unofficial firmware or unlocking of the bootloader will void the warranty, but you can return the official firmware and lock the bootloader back before contacting the service center.
❓ Can I bring back the standard? MIUI post-stamp?
To do this, run the official firmware through Fastboot in Clean All mode, but note that some custom firmware changes partition layout, and additional configuration may be required.