Installing pure Android on Xiaomi Redmi 9T: from unlock to firmware

Why Redmi 9T users choose pure Android

Smartphone Xiaomi Redmi 9T (codename lime from the box runs on the corporate shell MIUI, It offers a lot of features, but not everyone is happy with its performance and intrusive advertising. AOSP-Firmware solves these problems: it's devoid of unnecessary applications, consumes less resources and updates directly from Google. But switching to stock firmware is not an easy process: you need to unlock the bootloader, choose a compatible build and avoid common errors.

In this article, you will find a step-by-step guide to the Redmi 9T features (including the NFC versions), current links to tools and tips for solving typical problems. We won’t convince you to switch, just show you how to do it right if you’ve already made a decision.

What is β€œPure Android” and how is it different from MIUI?

Under pure Android usually understand firmware based on source code. AOSP (Android Open Source Project, without significant modifications from the manufacturer 9T multiple options:

  • πŸ“± LineageOS – the most stable and time-tested firmware with minimal improvements.
  • πŸ”„ Pixel Experience β€” AOSP with Google Pixel signature chips (e.g., live wallpaper and Call Screen).
  • ⚑ ArrowOS – Balance between cleanliness and additional settings (e.g. navigation gestures).
  • πŸ› οΈ HaventOS – Experimental firmware with a focus on privacy (without Google services by default).

The main differences are MIUI:

ParameterMIUI (stock)Pure Android (AOSP)
ProductivitySlowdowns due to background processesMore smooth work on the same iron
UpdatesDepends on Xiaomi (often delayed)Monthly security patches from Google
AdvertisingBuilt into system applicationsAbsent completely.
CustomizationThemes but limited settingsFlexible interface configuration (Launchers, icons)
CompatibilityOptimized for iron XiaomiPossible bugs with camera or sensors

Important: On Redmi 9T with a Snapdragon 662 processor, some of which are AOSP-Firmware may not support hardware video acceleration (e.g. Netflix in the video) HD). Before installing, check the compatibility list on the forum XDA Developers.

πŸ“Š What kind of firmware are you considering for Redmi? 9T?
LineageOS
Pixel Experience
ArrowOS
Another AOSP
I haven't decided yet.

Preparation for installation: unlocking the loader

The first and most critical step is to unlock the bootloader. Without this, you can not install custom firmware. Xiaomi officially allows you to unlock the bootloader, but the process requires a Mi Account account and wait (usually 7 days).

What you'll need:

  • πŸ“± Redmi Smartphone 9T chargeable%.
  • πŸ’» Computer with Windows/Linux and USB-cable (original cable!).
  • πŸ”‘ Mi Account linked to the device (mandatory confirmation by email/phone).
  • πŸ› οΈ Mi Unlock Tool (download from the official website).

Step-by-step:

  1. Turn on Developer Mode: Go to Settings β†’ About Phone β†’ MIUI version and tap 7 times on the build number.
  2. Return to Settings β†’ More β†’ For developers and activate: Debugging by USB Unlock OEM (an important item!)

Connect the phone to the PC, confirm the debugging permission.

Mi Unlock Tool

Mi Account

After sending a request, wait for the confirmation SMS (usually comes in 3-7 days).

⚠️ Note: If you previously blocked the bootloader via fastboot oem lock, unlocking can take up to 30 days. Xiaomi limits the unlock frequency for a single account.

Created and confirmed by Mi Account|Developer mode is on|Unlocking activated OEM|Download the latest Mi Unlock Tool version|Phone's 60-charged%+-->

Select and download firmware for Redmi 9T

Once the bootloader is unlocked, you need to select a compatible firmware. Redmi 9T (codename lime) only fits the builds explicitly specified for that device. Below are proven options for 2026:

FirmwareAndroid versionDownload linkFeatures
LineageOS 20Android 13Official websiteStable, without GAPPS (should be installed separately)
Pixel Experience 13Android 13Official websitePixel Launcher Preinstalled by GAPPS
ArrowOS 13.1Android 13Official websiteAdditional interface settings

Before downloading, check:

  • πŸ” Compatible with lime (not to be confused with limein – this is the Redmi 9 Power for India!).
  • πŸ“… Assembly date (up-to-date firmware updates every 1-2 months).
  • πŸ“¦ Presence GAPPS (If there are no Google Apps, download NikGapps or MindTheGapps separately.

Where to look for updates? Follow the theme on XDA Developers, where they publish fresh builds and fixes for bugs.

πŸ’‘

If you want to save time, download firmware and GAPPS in advance on your PC, not via phone – it is faster and more reliable.

Installation of firmware through TWRP Recovery

Custom firmware requires custom recavers, usually TWRP. The official version for Redmi 9T is available on the TWRP website, but there are nuances:

Step-by-step:

  1. Download the image twrp-3.7.0_9-0-lime.img (Or newer) and put it in a folder from fastboot to PC.
  2. Transfer the phone to fastboot mode: adb reboot bootloader Or turn off the phone and pinch Power + Volume down.
  3. Please. TWRP Temporary (no entry in recovery): fastboot boot twrp-3.7.0_9-0-lime.img
  4. In TWRP, select Wipe β†’ Format Data (this will delete all data!). Enter yes to confirm.
  5. Transfer firmware and GAPPS to your phone via MTP (in TWRP: Mount β†’ Enable MTP).
  6. Install firmware, then GAPPS (order is important!): Install β†’ Select ZIP β†’ Swipe to Confirm Flash
  7. Once installed, run Wipe β†’ Dalvik / ART Cache and restart.

⚠️ Warning: If your phone hangs on the logo after the reboot, it means that the firmware is not compatible with your version of Redmi. 9T. Try a different build or check if you missed a step with Format Data.

What if TWRP doesn’t see internal memory?
If the /data partition is not displayed in TWRP, it is encrypted. Solution: 1. In TWRP, go to Wipe β†’ Format Data β†’ type yes. 2. Connect your phone to your PC and transfer the firmware files via adb push: adb push rom.zip /sdcard/ adb push gapps.zip /sdcard/ 3. Install the firmware as usual.

First setup and elimination of typical problems

After you successfully install a clean Android, you'll have to set up your initial setup, which is not much different than setting up a new phone, but there are a few custom firmware-specific features:

  • πŸ”§ Absent. MIUI-Account: No longer need to link your device to your Mi Account, this is a plus for privacy.
  • πŸ“Ά Mobile network problems: If the network is not catching, check your settings APN In Settings β†’ Network and Internet β†’ Mobile network β†’ Additionally. β†’ Access points (APN).
  • πŸŽ₯ The camera is not working properly: AOSP-Firmware often lacks support for 48 MP – the camera will shoot in 12 MP with binning pixels.
  • πŸ”‹ Fast battery discharge: The first 2-3 days the system calibrates the battery - this is normal. If the problem persists, check the background processes in Settings β†’ Battery.

To eliminate the bugs:

  • Update your firmware to the latest version (via Settings β†’ System β†’ System Update).
  • Install the FrancoKernel kernel (if available for your firmware) – it improves performance and autonomy.
  • For Wi-Fi or Bluetooth problems, try changing the region in your network settings.

πŸ’‘

If after installing pure Android, navigation gestures stopped working, activate them in Settings β†’ System β†’ Gestures β†’ System navigation.

Return to MIUI: How to Reverse the Way

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

  1. Download the official firmware for Redmi 9T from Xiaomi (choose Global or EEA).
  2. Unblock the file and find it. flash_all.bat (for Windows or flash_all.sh (for Linux/Mac).
  3. Transfer the phone to fastboot mode and connect to the PC.
  4. Run the script. flash_all.bat β€” It will automatically sew all the sections.
  5. After rebooting, reset via Settings β†’ Additional β†’ Restore and Reset β†’ Reset settings.

Important: When you return to MIUI, the bootloader will automatically lock, and if you want to install custom firmware again, you will have to repeat the unlock procedure.

⚠️ Attention: Do not use script flash_all_lock.bat β€” It will block the bootloader and can lead to a hard brick if the firmware is not suitable for your model.

FAQ: Frequent questions about installing clean Android on Redmi 9T

Can I install a pure Android without unlocking the bootloader?
No, it's impossible. All custom firmware requires an unlocked bootloader. The only legal way to get around this is to use the Google Android Flash Tool, but it only supports official Pixel devices.
Will I lose my warranty after installing custom firmware?
Yes, any manipulation of the bootloader and firmware will void the Xiaomi warranty, but you can return the MIUI before contacting the service center (see section above).
Which firmware is better for autonomy: MIUI or pure Android?
According to the results of tests on the Redmi 9T, pure Android (for example, LineageOS) consumes the battery 10-15% slower due to the lack of background MIUI processes.
Can I upgrade to pure Android through OTA?
Yes, but only if the firmware supports OTA-Updates (such as LineageOS or Pixel Experience) go to Settings for this. β†’ System system β†’ Updates come less frequently than in the MIUI, But they're more stable.
What if the touchscreen doesn’t work after the firmware?
This is a known problem with some builds for Redmi 9T. Solutions: Try another firmware (e.g., switch from ArrowOS to Pixel Experience). Install the Perseus kernel (if available for your firmware). Check if the display cable is damaged (relevant if the phone fell).