Installing pure Android on Xiaomi Redmi 9 is a challenge that attracts many users tired of MIUI with its advertising, duplicate services and specific design. Googleβs stock firmware offers a minimalist interface, fast work and no redundant software. However, the process requires care, from unlocking the bootloader to choosing a compatible version of Android.
In this article, you will find the current 2026 manual tailored to the features of the Redmi 9 (the lancelot model), including avoidance of typical errors, backup recommendations and comparisons of popular custom firmware. We will not convince you to switch, just give clear steps and warn about the risks.
Why users want to remove MIUI with Redmi 9
The main complaint against MIUI on Redmi 9 is over-optimization for the Chinese market.
- π’ Intrusive advertising in system applications (for example, in the Browser or Music).
- π Duplicate services (two file managers, two app stores).
- π’ Slowdowns due to Xiaomi background processes that canβt be turned off without root.
- π Restrictions on changing system settings (for example, blocking the ability to disable flashing notification indicator).
Pure Android solves these problems, but it also has disadvantages:
- β οΈ Lack of support for some Redmi 9 features (e.g, IR-The port may not work in custom firmware).
- π Faster battery discharge due to lack of aggressive optimization MIUI.
- π± Loss of warranty (if the device is still warranty).
Preparation for installation: what to do before the firmware
Before you start installing a pure Android, follow the mandatory steps:
β οΈ Note: Failure to comply with these points may result in a device blinking (total inoperability) for example without a backup. IMEI You risk losing your network after you have been firmware.
- π Charge your phone to at least 70% β the process can take 1-2 hours.
- π± Make sure you have a Redmi 9 model codenamed Lancelot (check in Settings). β The phone. β Version. MIUI).
- πΎ Make a full backup through the Mi PC suite TWRP (if already established).
- π Save it. IMEI, MAC-addresses and data modemst1/st2 (guideline).
To preserve the IMEI:
- Install the MTK Engineering Mode app from the Play Market.
- Go to MTK Settings β Connectivity β CDS Information β Radio Information.
- Select Phone 1 (or Phone 2 for the second slot) SIM), copy AT+EGMR=1,7.
- Save both IMEIs to a text file.
βοΈ Checklist before firmware
Unlock the bootloader on Redmi 9
Without unlocking the bootloader, custom firmware cannot be installed. Xiaomi officially allows you to unlock the lancelot, but the process requires waiting.
Steps to unlock:
- Link the device to Mi Account (required!): Settings β Xiaomi Account.
- Activate Developer Options: Tip 7 times on the MIUI version in Settings β About Phone.
- Enable USB Debugging and OEM Unlock in Settings β Additional β For Developers.
- Download the official unlock tool (Mi Unlock Tool).
- Connect your phone in Fastboot mode (turn off, then press Power + Volβ).
- Start the Mi Unlock Tool, log in and follow the instructions.
β³ Waiting time: usually 7-14 days (depending on Xiaomi policy).If the tool shows a "Couldn't unlock" error, try again after 24 hours.
What if the Mi Unlock Tool canβt see the device?
Selecting the firmware: which version of Android to install
There are several types of firmware available for Redmi 9 (lancelot):
| Type of firmware | Advantages | Deficiencies | Recommended version |
|---|---|---|---|
| LineageOS | It is as close to the stock Android as possible, stable, and has regular updates. | No Google Apps (you need to install separately), there are possible bugs with the camera. | LineageOS 20 (Android 13) |
| Pixel Experience | The interface is like Google Pixel, good optimization. | Can brake on weak gland, bugs with sensors. | PixelExperience Plus (Android 13) |
| HaventOS | Light firmware with minimalist design, good performance. | Fewer features, rare updates. | HaventOS 4.12 (Android 12) |
| CrDroid | Balance between customization and stability. | There is no official support for lancelot (look for unofficial builds). | CrDroid 9.x (Android 13) |
For beginners, we recommend LineageOS, which is the most stable and has an active community. If you want a Pixel interface, take the Pixel Experience, but be prepared for possible lags.
π‘
Before downloading the firmware, check its compatibility with your version of Redmi. 9. For example, the Lancelot (Redmi) model 9/9 Prime is not suitable for firmware for lancelot_in (Indian).
Installation of TWRP and firmware of pure Android
Custom firmware installation requires TWRP, a custom recovery, and the official version for Redmi 9 is available at twrp.me.
Step-by-step:
- Download. TWRP for lancelot (e.g. for lancelot, twrp-3.7.0_9-0-lancelot.img).
- Move the firmware (.zip) and GApps (if you need Google services) to the memory card.
- Connect your phone in Fastboot mode and execute the command: fastboot flash recovery twrp-3.7.0_9-0-lancelot.img
- Boot to TWRP: Hold Power + Vol+ after the reboot.
- In TWRP, run Wipe β Advanced Wipe and mark Dalvik / ART Cache System Data Internal Storage (if the firmware is on the memory card).
Install β Select ZIP
GApps
Reboot to the system.
β οΈ Note: If after firmware, the phone is stuck on the Xiaomi or Google logo for longer than 10 minutes, then the firmware is incompatible with your model. MIUI via Fastboot.
Solving typical problems after installation
Even with the right installation, errors can occur, and here are the most common ways to correct them:
- πΆ No network (IMEI missing: Restore IMEI through MTK Engineering Mode or Maui Tool META (spoiler).
- π No sound: Check the AudioFX settings in the firmware or reflash the vendor from the original MIUI.
- π· The camera emits an error: Install ANX Camera or GCam with MediaTek Helio support G80.
- π Fast battery discharge: Turn off AOD (Always on Display and background activity of Google Services.
How to restore IMEI after firmware?
If the problem is not solved, check the error logs in TWRP (Advanced β Copy Log) and refer to the XDA-Developers forum.
Return to MIUI: How to Reverse the Way
If pure Android didnβt live up to expectations, you can return MIUI.
- Download the official firmware for Redmi 9 (Fastboot version).
- Unpack the archive in a folder with the Mi Flash Tool.
- Connect your phone in Fastboot mode.
- In the Mi Flash Tool, select the firmware folder and press Refresh (the device must be determined).
- Press Flash and wait until it is completed (the process will take 5-10 minutes).
β οΈ Note: After returning to the MIUI The bootloader will automatically lock. To re-install the custom firmware, you'll have to re-unlock.
π‘
Before rolling back to MIUI, make a backup of data in TWRP β when you run through Fastboot, all user files will be erased.