How to Reflash Xiaomi Redmi Note 7 on Pixel Experience: A Complete Guide to Unlocking and Setup

Xiaomi Redmi Note 7

Snapdragon 660

Pixel Experience

Many users face problems after installation: Google services do not work, mobile communication disappears or the device goes to the bootloop. In this guide, we will take a step-by-step approach to the current Pixel Experience (including Plus Edition), the nuances of unlocking the bootloader for Redmi Note 7 (codename lavender), and how to avoid common errors. IMEI β€” This is critical for dual-SIM models.

If you’ve never flashed a smartphone before, start by reading the Preparation section.For experienced users, we recommend you jump right to unlocking the bootloader or installing the Pixel Experience.

1.Preparation: What to Know Before Firmware

The Pixel Experience firmware on Redmi Note 7 is not just a shell replacement, it's a complete rewriting of the system partition.

  • πŸ”‹ Battery charge at least 70%. The firmware can take up to 30 minutes, and discharging during the process will lead to a brick).
  • πŸ“± Pixel Experience only supports Redmi Note 7 codenamed lavender. Redmi Note 7 Pro (violet) requires other firmware!
  • πŸ’Ύ Backup. All data (photos, contacts, messages) will be deleted. Use Mi PC Titanium Backup or Suite (requires root).
  • πŸ” Unlocked bootloader. Without this, custom firmware cannot be installed. The process takes up to 7 days (due to Xiaomi policy).

Important: Pixel Experience is not official Xiaomi software, which means that after the firmware you lose the warranty (if it is still valid), as well as access to some MIUI features, such as built-in app duplication or Read mode.

  • πŸ“± Clean Android without ads and Bloatware.
  • πŸ”„ Quick security updates (monthly).
  • 🎨 Pixel themes and settings, including Now Playing).

⚠️ Note: Some Pixel Experience firmware for Redmi Note 7 does not run VoLTE (voice via email) 4G). Before installing, check out reviews on the XDA-Developers forum for your version.

πŸ“Š Which Android version do you prefer on the Redmi Note 7?
MIUI (stock)
Pixel Experience (Android 13/14)
LineageOS
Another custom firmware
I don't know.

2 Unlock the bootloader on the Redmi Note 7

Xiaomi blocks the bootloader on all devices, including the Redmi Note 7. To unlock it, you need to obtain permission from the company through the official Mi Unlock Tool.

  1. Linking your Mi Account to your device: Go to Settings β†’ The phone. β†’ Version. MIUI and tap 7 times on the line to activate the developer mode. β†’ Additionally. β†’ For developers and include: πŸ”“ Unlocking OEM (point-of-point!). πŸ”Œ Debugging by USB.

Connect your phone to your PC, log in to Mi Account and wait for the notification β€œDevice is tied to your account” (can take up to 24 hours).

Requesting permission to unlock

Download Mi Unlock Tool (version no lower than 5.5.224.30). Launch the program, log in to the same Mi Account as on your phone, and follow the instructions. SMS.

Waiting time: Xiaomi blocks the unlock for 7 days (168 hours) for new accounts.

Final unlock

After 7 days, repeat the process in Mi Unlock Tool. The device will reboot to Fastboot mode and the bootloader will be unlocked.

fastboot oem device-info

If you see Device unlocked: true, you can go to the firmware.

⚠️ Note: Do not use unofficial unlock tools (e.g., unblocking tools, EDL They can lead to hard-brick (irreparable damage), especially on the Redmi Note 7 with an anti-rollback patch).

What is anti-rollback and why is it important?
Starting with MIUI 12, Xiaomi has implemented rollback protection on older firmware versions. If you have flashed the Redmi Note 7 through EDL or installed informal builds, trying to return to the old MIUI can lock the device permanently. Pixel Experience does not affect the anti-rollback, but before firmware check the current version of MIUI in Settings β†’ About. If it is newer than in the custom firmware instruction, you may need to update the bootloader (firmware).

3. Installation of custom TWRP Recovery

TWRP (Team Win Recovery Project) is an alternative recovery required to install the Pixel Experience. For Redmi Note 7 (lavender), use the official build from twrp.me or a proven unofficial one (for example, from OrangeFox).

Installation instructions:

  1. Download the latest.img file TWRP for lavender, for example, twrp-3.7.0_9-0-lavender.img).
  2. Move the file to a folder from fastboot (usually C:\platform-tools\).
  3. Turn off your phone and press Power + Vol Down to log into Fastboot.
  4. Connect the device to the PC and execute the command: fastboot flash recovery twrp-3.7.0_9-0-lavender.img
  5. Immediately after the firmware reboot to the Recovery: fastboot boot twrp-3.7.0_9-0-lavender.img It's important if you boot into the system, MIUI re-write TWRP squash.

We recommend Pixel Experience Plus based on Android 13, which is the most stable for lavender. Download the firmware from the official website: https://download.pixelexperience.org/lavender.

Installation instructions:

  1. Data partition formatting: In TWRP, go to Wipe β†’ Format Data, type yes and confirm. This will delete all user data, but is necessary to avoid encryption errors.
  2. Pixel Experience: Return to the main menu TWRP, Select Install, find the downloaded firmware file (for example, PixelExperience_plus_lavender-13.0-20260310-1200-OFFICIAL.zip) and confirm installation.
  3. Gapps firmware (if needed): If you downloaded a version without Google services (e.g. Vanilla), additionally scrolle the OpenGapps package (select arm64 β†’ 13.0 β†’ pico).
  4. Cache Cleanup: Once installed, run Wipe β†’ Advanced Wipe and mark Dalvik/ART Cache and Cache. Then reboot to the system.

The first download can take up to 10 minutes. If the screen has been getting stuck on the Pixel Experience logo for longer than 15 minutes, then there has been an error. In this case, go back to TWRP (Power + Vol Up when downloaded) and check the logs (Advanced β†’ Copy Log).

Problem.Possible causeDecision
Hanging on the logoIncompatible version of firmware or GappsSwitch another build or remove Gapps
No mobile network.Persistent partition or incorrect APN settings are damagedRestore the backup persist or manually add APN
Wi-Fi's not working.There is no driver or incorrect regionSwitch a patch for Wi-Fi or change the country in the settings
Error E: Unknown command [log] in TWRPAn outdated version of RecaveriUpdate TWRP to the latest version

πŸ’‘

If the camera doesn’t work after the firmware, download the ANX Camera module from the Google Camera repository. For the Redmi Note 7, the BSG configuration with settings for the Snapdragon 660 is suitable.

5. Set up Pixel Experience after installation

After a successful boot, you will have to first set up the system.

  • πŸ”’ Activate root access (if needed): Go to Settings β†’ System system β†’ Developer options and enable Root access. To manage rights, install Magisk (download the latest version from GitHub and run through the TWRP).
  • πŸ“Ά Set up a mobile network: If there is no connection, check IMEI *#06#. If it is missing, restore the persist partition from the backup to the TWRP. It can also help manually. APN (Operator settings are usually on its website).
  • πŸ”‹ Battery Optimization: The Pixel Experience defaults Adaptive Charge, but Redmi Note 7 is better off turning it off and using Power Limit mode to 80% (extends battery life).

To improve productivity, we recommend:

  • Disable animations in Developer Settings (set animation scale to 0.5x).
  • Install Greenify for hibernation of background applications.
  • Use the FrancoKernel kernel (if you have experience with custom cores).

⚠️ Note: Some Pixel Experience builds for Redmi Note 7 Autobrightness is not working. To fix this, patch it. AutoBrightnessFix.zip (search the forum XDA smack-in).

πŸ’‘

After firmware, be sure to check the work of the sensors (gyroscope, compass, approximation) using the Sensor Test application. If some sensors do not respond, then the firmware is incompatible with your iron - try another build.

Typical errors and their solutions

Even with the correct following of the instructions, problems can arise, and here are the most common ones and ways to fix them:

1. Error 7 error when firmware in TWRP

Reason: The firmware is designed for a different model or is incompatible with the current firmware version.

Decision:

  • Check the device’s code name (lavender for Redmi Note 7).
  • Upgrade firmware to the latest version via Fastboot (download with Xiaomi Firmware Updater).
  • Use the firmware marked UNOFFICIAL if the official one does not fit.

2. the device does not boot after firmware (bootloop)

Cause: A boot partition or incompatible kernel is damaged.

Decision:

  1. Log in to TWRP and scrolle separately boot.img from the firmware archive.
  2. Run Wipe β†’ Advanced Wipe and mark System, Data, Cache, then repeat the installation.
  3. If it doesn't work, go back to stock MIUI via Fastboot.

3. The camera or speaker is not working

Reason: There are no proprietary drivers from Xiaomi.

Decision:

  • Sweep through the MiuiCamera package for the Redmi Note 7 (look for 4PDA).
  • Check the sound settings in Engineer Mode (#36446337###).

4. Fast battery discharge

Reason: Background processes or an unoptimized core.

Decision:

  • Install BetterBatteryStats to analyze consumption.
  • Turn off AOD (Always On Display) in the screen settings.
  • Sweat through a custom core, such as Perseus or StagOS.

7 How to get back to MIUI if something goes wrong

If Pixel Experience is not satisfied or there are critical errors, you can return to stock MIUI. This will require official firmware in.tgz or.zip for lavender.

Instructions for rollback:

  1. Download the latest stable MIUI from Xiaomi’s website (select Redmi Note 7 β†’ Global/EEA).
  2. Unpack the archive and place the image file in the folder with fastboot.
  3. Turn off your phone and press Power + Vol Down to log in to Fastboot.
  4. Run the command for full flashing: fastboot flashall or scrolle each section separately (example for boot): fastboot flash boot.img
  5. Upon completion, type in fastboot reboot

If you have forgotten your Mi Account, use the Mi Account Unlock Tool (available on forums like 4PDA), but this can lock your device permanently if you use it incorrectly!

⚠️ Note: When returning to the MIUI After Pixel Experience, the persist partition may disappear, which will lead to loss. IMEI. Always do his backup before any firmware manipulations!

8. Frequently Asked Questions (FAQ)

Can I flash Pixel Experience without unlocking the bootloader?
No. Xiaomi blocks custom firmware installation at the hardware level. Without OEM Unlock, you can't flash Pixel Experience or any other software other than the official MIUI.
Which Pixel Experience is the most stable version for the Redmi Note 7?
At the moment (2026), the most stable is considered Pixel Experience Plus 13 (Android 13). Android 14 versions can have bugs with the camera and mobile network.
Why is the mobile Internet not working after the firmware?
The reasons may be different: damaged partition persist (restore it from the backup to the TWRP). Wrong settings APN (Add them manually to the settings β†’ Mobile network β†’ Access Points. There is no VoLTE support in your build (try patching). VoLTE_Fix.zip).
How to upgrade Pixel Experience to Redmi Note 7?
Update is done via the built-in updater (Settings) β†’ System system β†’ System update) or manually: Download the new firmware version from the official website. TWRP. Flow a new.zip file without formatting data (to save applications). Dalvik/Cache If the update doesn't come in, check if it's offline. OTA-update.
Can I use Google Pay after the Pixel Experience?
Yes, but you do: Sweep Magisk and activate MagiskHide; install Universal SafetyNet Fix; turn on the root hider for the Google Pay app in the Magisk settings; then Google Pay must run without SafetyNet errors.