Redmi Note 7 (codename lavender) still remains one of the most popular smartphones for experimenting with custom firmware. Even years after its release, the device is supported by many alternative operating systems - from LineageOS to Pixel Experience, - which give a second life to the gadget with an updated interface, improved performance and no advertising MIUI. However, switching to custom firmware is not just a matter of pressing a couple of buttons: preparation, understanding of the risks and strict adherence to instructions are important here.
In this article you will find current data on bootloader unlocking for Redmi Note 7 in 2026, a comparison of top firmware with their pros and cons, as well as a step-by-step guide with solutions to common errors - from Fastboot mode before problems with the sensor after installation. We won't convince you to switch to custom: instead, we'll show you the real benefits and pitfalls so you can make an informed decision.
Why do users install custom firmware on Redmi Note 7?
The main reason is dissatisfaction with the standard MIUI. Even in the latest versions the shell Xiaomi suffers from intrusive advertising, duplicate services and slowdowns over time. Custom firmware solves these problems radically:
- 🚀 Performance: clean Android (AOSP) or optimized assemblies like Pixel Experience work faster due to the absence of background processes MIUI.
- 🔄 Updates: official support Redmi Note 7 has long been discontinued, and custom firmware receives monthly security patches.
- 🛡️ Privacy: no data collection Xiaomi, Chinese services are disabled, you can use MicroG instead of Google Services.
- 🎨 Customization: themes, gestures, setting the status bar - all this is available out of the box in LineageOS or Havoc-OS.
But there is also a downside: loss of warranty (if it was still valid), the risk of the device being “bricked” in case of an error, as well as possible bugs in the operation of the camera or module NFC - especially in early builds. For example, in Pixel Experience for lavender Sometimes artifacts are observed when shooting in 48 MP, and LineageOS may not display colors correctly on AMOLED-screen.
- Advertising in system applications
- Slowdowns over time
- No updates
- Inability to disable unnecessary services
- Another reason
Comparison of popular custom firmware for Redmi Note 7 (lavender)
The choice of firmware depends on your priorities: stability, appearance or functionality. Below is an up-to-date comparison of the most supported builds for lavender (data for mid-2026).
| Firmware | Base | Pros | Cons | Download link |
|---|---|---|---|---|
| LineageOS 20 | Android 13 | Maximum stability, minimalistic design, frequent security updates | No GApps by default, modest feature set out of the box | Official website |
| Pixel Experience | Android 14 | Interface as shown Google Pixel, optimized camera, built-in GApps | Sometimes it overheats during prolonged use, bugs with Always-on Display | Download page |
| Havoc-OS | Android 13 | Maximum customization (gestures, animations, status bar), support Substratum | Less stable than LineageOS, possible bugs with VoLTE | Official website |
| ArrowOS | Android 14 | Balanced firmware with an emphasis on performance, support Face Unlock | No official support lavender (unofficial builds only) | Official website |
For most users, the optimal choice will be Pixel Experience — it offers the best balance between stability and functionality. If you need maximum customization, pay attention to Havoc-OS, but be prepared for possible bugs. Suitable for corporate use (where security is important) LineageOS without GApps.
⚠️ Attention: unofficial builds (for example, from random developers on 4PDA) may contain malicious code or spyware. Download firmware only from official sources or trusted repositories like XDA Developers.
Preparation for installation: unlocking the bootloader and backup
Before flashing the firmware, you need to unlock the bootloader (bootloader) and create a backup copy of your data. This stage is the most critical: a mistake here can lead to "briku" (inoperability) of the device.
1. Unlocking the bootloader
Xiaomi locks the bootloader on all devices, so it needs to be officially unlocked through the tool Mi Unlock Tool. The process takes up to 7 days (due to mandatory confirmation waiting) and requires:
- 📱 Linked account Mi Account to the device (in settings
Mi Account → Mi Cloud → Find device). - 🔗 Internet connection via mobile data (Wi-Fi will not work!).
- 🖥️ Computer with Windows (official Mi Unlock Tool doesn't work for macOS/Linux).
Step by step instructions:
- Download Mi Unlock Tool and install.
- Turn it on on your phone
Developer Mode(click on 7 timesMIUI versionin settings) and activateOEM unlockinginSettings → Advanced → For Developers. - Connect your phone to PC in
Fastboot(turn off the device, then hold downVolume Down + Power). - Run Mi Unlock Tool, log in to your account Mi and follow the instructions. After the first request you will have to wait 168 hours (7 days).
What to do if Mi Unlock Tool gives the error “Couldn’t unlock”?
The error often occurs due to:
1) Unlinked account Mi to the device (check in Settings → Mi Account → Mi Cloud).
2) Using an unofficial version of the tool (download only from official website).
3) Blocking by region (solved by changing the account region to China in the settings Mi Account).
If persists error, try using alternative unlock tools like XiaomiTool V2, but this increases the risk of account blocking.
2. Creating a backup
Even if you plan to flash a "clean" build, make a backup copy via TWRP or OrangeFox Recovery. This will save your data in case of failure. It is important to save:
- 📁 Folder
/data(applications, settings, messages). - 📱
EFS(IMEI and network settings - without it the phone will not connect to the network!). - 🔑
BootAndRecovery(in case of rollback).
For backup:
- Install TWRP for lavender through
fastboot flash recovery twrp.img. - Boot into recovery (press
Volume Up + Powerwhen turned on). - Select
Backup → Select Partitionsand markData,EFS,Boot. - Save a copy to SD card or PC.
Linked Mi account to the device|Unlocked OEM Unlock in developer settings|Made EFS and Data backup|Downloaded firmware and GApps (if needed)|Battery charge > 70%|Disabled antivirus on PC
-->
Step-by-step instructions for installing custom firmware
When the bootloader is unlocked and the backup is made, you can start flashing the firmware. We will look at the universal method via TWRP, which is suitable for most custom OSes.
1. Install TWRP Recovery
For Redmi Note 7 recommended to use official version of TWRP or OrangeFox (the latter supports encryption FBE). Download the image .img and stitch it through fastboot:
fastboot flash recovery twrp-3.7.0_9-0-lavender.img
fastboot reboot recovery
If after reboot recovery does not start, but the phone boots into MIUI, which means the system overwrote TWRP. Solution:
- Download Anti-Rollback Script and stitch it through
fastboot. - Or turn off automatic rewrite recovery in settings MIUI (if the phone is still loading).
2. Custom OS firmware
Algorithm of actions:
- Download the firmware (for example, Pixel Experience) and, if necessary, GApps (For example, NikGApps for Android 14).
- Move files to SD card or internal memory.
- Boot into TWRP and execute
Wipe → Advanced Wipeby selectingDalvik, Cache, System, Data. - Return to the main menu and select
Install, then flash the firmware first, then GApps (if needed). - After installation, run
Wipe → Format Data(required! otherwise the system will not boot). - Reboot into the system (
Reboot → System).
The first launch may take 10–15 minutes. If the device is stuck on the logo for more than 20 minutes, then an error has occurred (see the "Troubleshooting" section).
If the touchscreen does not work after flashing the firmware, flash the kernel (boot.img) from the archive with firmware via fastboot flash boot boot.img. This often solves the problem with the sensor on lavender.
Solving common problems after flashing
Even with proper installation, bugs can occur. Here are the most common problems and their solutions:
| Problem | Possible reason | Solution |
|---|---|---|
| The phone does not turn on (black screen) | Incorrect Wipe or interrupted firmware |
Repeat the firmware with full Format Data. If it doesn’t help, restore the backup EFS. |
| No network (IMEI reset) | Partition damaged EFS or incompatible modem software |
Restore EFS from backup or flash modem.img from stock firmware. |
| The camera gives an error | Libraries are missing MIUI Camera or conflict with GApps | Install GCam with settings for lavender. |
| Rapid battery drain | Background processes or unoptimized kernel | Check battery statistics in Settings → Battery. If the kernel is at fault, flash an alternative one (for example, FrancoKernel). |
If after the firmware Pixel Experience doesn't work Always-on Display, this is a known bug for lavender. There is no solution yet, but you can disable the feature in the screen settings to save battery.
⚠️ Attention: if after flashing the phone boots intoFastboot modewith an erroranti-roll back, it means you are trying to flash an older version MIUIthan the one that was installed. The solution is to flash it current stock firmware through Mi Flash Tool.
Optimizing custom firmware: setup tips
Installing the firmware is half the battle. To Redmi Note 7 worked as fast and stable as possible, follow these steps:
- ⚡ Disable animations: in
Settings → System → Developer Optionsset all animations to0.5xor turn it off. - 🔋 Optimize your battery: use the app AccA to track wake-ups and block background processes.
- 📸 Set up your camera: for GCam download the config
BSG_MGC_8.1.101_A10_V2a.xml(optimized for lavender). - 🎵 Improve your sound: install ViPER4Android with profile for Snapdragon 660.
For gaming scenarios it is recommended to install the kernel FrancoKernel or Kirisakura - they are better optimized for Snapdragon 660 and reduce throttling when heating. Also don't forget about Thermal Engine in developer options: set heating limit to 60°Cto avoid sudden lags.
On custom firmware Redmi Note 7 supports Project Treble, which allows you to install Generic System Images (GSI). This opens access to firmware like CalyxOS or GrapheneOS without official device support.
Rollback to stock MIUI firmware
If the custom firmware does not live up to expectations or critical bugs arise, you can return the original MIUI. To do this:
- Download stock firmware for your model (eg
V12.5.3.0.RFGCNXMfor the global version). - Unpack the archive and run Mi Flash Tool on PC.
- Connect your phone in
Fastbootand select the option in the programClean all and lock(this will lock the bootloader back!). - Wait for the process to complete (5–10 minutes).
After the rollback, all data will be erased and the bootloader will be locked. To install custom firmware again, you will have to repeat the unlocking procedure.
⚠️ Attention: if you sell your phone after using custom firmware, be sure to return the stock one MIUI and lock the bootloader. Otherwise, the new owner may encounter problems when updating via OTA.
FAQ: answers to frequently asked questions
Is it possible to install custom firmware without unlocking the bootloader?
No, Xiaomi blocks the installation of unofficial software at the hardware level. Any "workaround" methods (like EDL-mode) require an authorized account Xiaomi and may lead to the device being blocked.
Which firmware is better for games: Pixel Experience or Havoc-OS?
Havoc-OS gives more opportunities for tweaks (for example, overclocking CPU/GPU), but less stable. Pixel Experience optimized for everyday use, but may sag a bit in games due to thermal throttling limitations. Best choice for gaming Havoc-OS with core Kirisakura.
Lost IMEI after flashing. How to restore?
If backup EFS no, try:
- Flash
modem.imgAndfsimagefrom stock firmware via TWRP. - Use tool QCN Rebuilder (requires QPST And
EDL-mode). - Contact the service center - they can repair it IMEI according to the purchase receipt.
⚠️ Recovery IMEI on its own may be illegal in some countries (eg Russia).
How to update custom firmware?
Most firmwares (for example, LineageOS) support OTA updates via built-in menu Settings → System → Update. For Pixel Experience:
- Download the new build from the official website.
- Boot into TWRP.
- Flash the update without
Wipe Data(enoughWipe Cache/Dalvik).
If there are bugs after the update, do Dirty Flash (re-flashing over the old version without clearing data).
Is it possible to use Google Pay on custom firmware?
Yes, but for this you need:
- Flash firmware with certificate Google (For example, Pixel Experience).
- Make sure that
SafetyNetis being verified (check via the app SafetyNet Test). - If SafetyNet does not work, install Magisk and activate the module Universal SafetyNet Fix.
On LineageOS without GApps Google Pay won't work.