How to Install Clean Android on Xiaomi Redmi Note 9: A Complete Guide from Unlock to Firmware

Tired of intrusive advertising in MIUI, unnecessary apps and constant updates that only slow down your Xiaomi Redmi Note 9? Installing pure Android (or custom firmware based on it) is the best solution for those who appreciate performance, privacy and minimalist interface. In this article, we will analyze all the steps from unlocking the bootloader to choosing the best firmware and installing it through TWRP.

But before you get started, consider that the process requires care. Errors at any stage can lead to a device "brick" (inoperability) We will describe each step in detail, provide current links to tools (2026) and point out critical points that are often missed in other guides - for example, why you can not use the old versions of the Fastboot for the Redmi Note 9 with a Mediatek Helio G85 processor.

1.Why should you switch to pure Android?

The main complaint users have about MIUI is not only advertising, but also system restrictions, for example, in standard firmware Xiaomi blocks:

  • πŸ”’ Background execution of applications (even after disabling "battery optimization").
  • πŸ“± Installation of APK from unknown sources without warning.
  • πŸ”„ Full access to the file system (e.g., to modify build.prop).
  • πŸ“‘ Flexible network setting (e.g. priority 4G/5G or disabling bands LTE).

Pure Android (or firmware based on it, like LineageOS, Pixel Experience) solves these problems.

  • ⚑ Faster work due to the lack of unnecessary Xiaomi services.
  • πŸ”„ Timely security updates (as opposed to MIUI, where patches are delayed).
  • 🎨 Minimalist interface without duplicate applications (e.g., two browsers, two file managers).
  • πŸ”“ Full root access (if necessary) without manufacturer restrictions.
πŸ“Š Which firmware do you prefer?
MIUI (scall Xiaomi)
LineageOS
Pixel Experience
Another custom
I don't know what to choose.

However, there are downsides: some Xiaomi features (such as the IR- pulp or read mode) may not work correctly or not at all. You also have to manually adjust the camera – stock Google Camera is often inferior to the MIUI Camera in photo processing.

πŸ’‘

Before you run the firmware, check the compatibility of the models! Redmi Note 9 has several modifications: merlin (global version), merlin_in (India), merlin_eea (Europe).

Preparation: What will be required for installation

Before you start, gather everything you need.

ComponentDescriptionReference (2026)
ComputerWindows 10/11 or Linux (MacOS not recommended due to ADB driver issues)β€”
USB cableOriginal Xiaomi cable (important for a stable connection in Fastboot)β€”
ADB & FastbootUnlocking and firmware tools (version no lower than 33.0.3)Official website
Xiaomi driversFastboot (installed via Mi Flash Tool)Download page
TWRP RecoveryCastom recovery for Redmi Note 9 (version 3.7.0 or later)Official TWRP

Also download:

  • πŸ“± Firmware: for example, LineageOS 20 (Android 13) or Pixel Experience 13 for merlin.
  • πŸ”‘ Magisk (if root access is required) is the latest stable version from GitHub.
  • πŸ“‹ Data Backup: Use Titanium Backup or Adb Backup (in MIUI Backup via Settings β†’ Memory β†’ Backup doesn’t save all data!).

Download ADB/Fastboot and Xiaomi drivers|Install TWRP forecast (merlin/merlin_in)|Download the firmware (check the Android version!)|Create a backup data (photos, contacts, SMS)|Charge your phone at least to 70%|Disable screen lock (PIN/graphical)-->

3. Unlock the bootloader on the Redmi Note 9

Without bootloader unlocking, custom firmware cannot be installed. Xiaomi officially allows you to unlock the bootloader, but the process can take up to 7 days (due to account verification).

  1. Activate Developer Mode: Go to Settings β†’ About Phone β†’ Version MIUI and tap 7 times on the build number. Go back to Settings β†’ Additional β†’ For Developers and turn on: πŸ”§ Debugging on USB πŸ”“ Unlock OEM (important item!)

Link your Mi Account to your device:

Go to Settings β†’ Xiaomi Account β†’ Mi Cloud and log in. Without this, unlocking is impossible!

Download the Mi Unlock Tool from the official website (version 2026) and launch it on PC. Connect your phone in Fastboot mode (turn off your phone, then press Power + Volume down).

In Mi Unlock Tool, log in under the same Mi Account as on your phone. Click "Unlock." If a waiting message appears (e.g., "Wait 168 hours"), wait until the deadline is set.

What if the Mi Unlock Tool can’t see the device?
1. Check if Xiaomi drivers are installed (via Mi Flash Tool). 2. Try another USB-port (better 2.0 than 3.0). 3. Disable the antivirus - it can block Fastboot. 4. Use Xiaomi's original cable (cheap cables often don't transmit data to FXQPH0004XXXXX.00000000, then reboot your phone, reboot it, and then reboot your PCXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.

⚠️ Warning: If you previously blocked the bootloader through fastboot oem lock, it can take up to 30 days to unlock! Also note that once unlocked, all data on the phone (including internal memory) will be reset.

4. Installation of TWRP Recovery

TWRP (Team Win Recovery Project) is a custom recovery that will allow you to flash clean Android. For Redmi Note 9 (merlin), use informal builds, as official support is terminated. Download the current version from XDA Developers.

Installation instructions:

  1. Copy twrp-3.7.0-merlin.img file to ADB/Fastboot folder.
  2. Connect your phone in Fastboot mode (as in step 3) and execute the command: fastboot flash recovery twrp-3.7.0-merlin.img
  3. Immediately after the firmware, go to TWRP, holding Power + Volume up. If you miss this step, MIUI will reset TWRP on the first download!
  4. In TWRP, reset to factory settings (Wipe β†’ Format Data), then reboot to recovery again.

πŸ’‘

After installing TWRP, DO NOT boot into MIUI!, the system will automatically overwrite custom recovery.

5. Selection and installation of clean firmware

For Redmi Note 9, there are several firmware options based on pure Android:

FirmwareAndroid versionPlusesCons
LineageOS 2013Stable work, minimalist interface, regular updatesNo GApps (you need to install separately), weak camera optimization
Pixel Experience 1313Interface like Google Pixel, preinstalled GApps, good performanceSometimes Bluetooth bugs, no support for IR-
ArrowOS 1313Maximum customization, good optimization for MediatekFewer updates, possible bugs with mobile network
HaventOS12/13Unique design, pre-installed chips (e.g. gestures)Closed source code, rare updates

We recommend the Pixel Experience 13 for most users, as it offers the best balance between stability and functionality. Download the firmware from the official website (Pixel Experience) or XDA.

Installation instructions:

  1. Copy a firmware file (e.g., PixelExperience_merlin-13.0-20260310.zip) and Magisk (if root is needed) onto a phone or flash drive.
  2. Download to TWRP (Nutrition + Volume Up).
  3. Complete reset: Wipe β†’ Advanced Wipe β†’ Dalvik / ART Cache, System, Data, Cache.
  4. Install β†’ Select ZIP- file β†’ Swipe to Confirm Flash.
  5. If you need GApps (like Google Play), run them right after you have firmware (download NikGApps or MindTheGapps for Android 13).
  6. If you wish, you can use Magisk for root rights.
  7. Reboot β†’ System: The first boot can take up to 10 minutes!

⚠️ Warning: If your phone has been stuck on the Google logo or Pixel Experience for longer than 15 minutes after firmware is installed, then the firmware is not compatible with your model. Repeat the process with another build by pre-executing Format Data in TWRP.

6. Set up a clean Android after installation

After the first download, you will need to:

  1. Go through the initial setting (select language, connect to Wi-Fi, log in to your Google account).
  2. Check the basic functions: πŸ“Ά Mobile Network (Settings APN may reset). πŸ“· Camera (Install Google Camera with settings for Helio G85). πŸ”Š Sound (in some firmware, quiet speaker - fixed via Magisk modules).

Recover data from the backup (use Swift Backup or Adb Recover).

Configure gestures and interface in Settings β†’ System β†’ Gestures.

To improve productivity:

  • ⚑ Turn off animations: in Settings β†’ About Phone β†’ Build Number (7 taps), then in For Developers, set Windows Animation = 0.5x.
  • πŸ”‹ Activate the performance mode in the battery settings.
  • πŸ—‘οΈ Clear the cache through Settings β†’ Memory β†’ Cache data.

πŸ’‘

If the mobile network does not work after firmware, check the APN settings: go to Settings β†’ Network and Internet β†’ Mobile Network β†’ Additional β†’ Access Points (APN) and add your operator’s settings manually.

7. Solving common problems

Even with the right installation, errors can occur, and here are the most common ways to correct them:

Problem.Reason.Decision
The phone does not turn on after the firmwareIncompatible firmware or interrupted processSweep through the Fastboot official MIUI, then repeat the process
No mobile network.No APN settings or incorrect modem firmwareAdd APN manually or stitch vendor and firmware from stock MIUI
The camera's not working.There are no drivers for the Helio G85Install Google Camera with config for Redmi Note 9 or run miui_camera through Magisk
Fast battery dischargeBackground processes or unoptimized coreInstall Kernel Adiutor and set up an energy saving profile
IR- is not working.There is no support in the custom firmwareUse third-party apps (such as Mi Remote Controller)

If you encounter a β€œbootloop” (cyclical reboot):

  1. Download to TWRP.
  2. Delete /data/dalvik-cache and /cache files.
  3. Refuse the firmware without resetting the data.
  4. If it doesn’t work, run Format Data and run the firmware again.

8.Return to MIUI: How to roll back

If pure Android didn’t live up to expectations, you can return MIUI.

  1. Download the official firmware for your model from the Xiaomi website (choose Fastboot ROM, not Recovery ROM).
  2. Unpack the archive in a folder with Fastboot.
  3. Connect your phone in Fastboot mode and execute the command: fastboot flash all (or use the Mi Flash Tool with the Clean All option).
  4. Wait until it's finished (the process will take 5-10 minutes) and the phone will automatically reboot to MIUI.

⚠️ Warning: When you return to MIUI, the bootloader will automatically lock! If you plan to install custom firmware again, do not block the bootloader with fastboot oem lock.

If the phone does not turn on after MIUI firmware, try:

  • πŸ”„ Repeat the process with another firmware version (e.g., an older one).
  • πŸ“₯ Switch only boot and recovery through Fastboot:
  • πŸ”§ Use EDL- Mode (requires an authorized Xiaomi account and boxing).

FAQ: Answers to Frequent Questions

❓ Can I install a clean Android without unlocking the bootloader?
No, unlocking the bootloader is a must. Without it, it won't allow custom recovery or firmware to be flashed, and the only way around is to use projects like Xiaomi.EU that modify MIUI without completely replacing the system, but it's not pure Android.
❓ Which firmware is better for gaming: LineageOS or Pixel Experience?
The Pixel Experience is better suited for gaming, as it is optimized for Google Services and has better Vulkan support. However, for maximum performance, we recommend flashing the Perseus kernel (available on XDA) on top of any firmware.
❓ Why does the firmware not work after the firmware? NFC?
In most custom firmware for the Redmi Note 9, NFC does not work due to the lack of proprietary Xiaomi drivers. Solutions two: Swipe vendor and firmware from stock MIUI via Fastboot. Use a patch for Magisk (e.g. NFC Enabler for Merlin). Note that even after that, NFC functionality may be limited (e.g., Mi Pay will not work).
❓ How to update custom firmware?
Update depends on the firmware type: LineageOS/Pixel Experience: Download a new ZIP- file and run through TWRP (without resetting unless otherwise specified). Firmware with OTA- Updates: Use the built-in updater (e.g., ArrowOS or HaventOS). Before updating, always backup to TWRP (Backup β†’ System, Data, Boot)!
❓ Can I get OTA- updates on pure Android?
Yes, but only if the firmware supports built-in OTA- updates (e.g. Pixel Experience or LineageOS). To do this: Go to Settings β†’ System β†’ System Update. Download the update and install it. If necessary, run a new Magisk (if you use root). If OTA does not work, download the updates manually from the official firmware site and install it through TWRP.