Installing pure Android on Xiaomi Redmi Note 8T: from unlock to custom firmware

Xiaomi Redmi Note 8T with factory-made MIUI firmware offers rich functionality, but many users are annoyed by built-in advertising, unnecessary services and aggressive system optimization. The solution is to install a pure Android (AOSP, LineageOS or Pixel Experience), which is free of these shortcomings. However, the process requires unlocking the bootloader, choosing a compatible firmware and carefully following the steps to avoid turning the smartphone into a β€œbrick”.

In this guide, we’ll take you all the way from prepping your device to final customization, and focus on the critical things that 90% of users miss when they first flash, such as setting up the vendor partition for Redmi Note 8T (codename willow) and bypassing the anti-rollback error that is common with Qualcomm Snapdragon 665 devices.

If you've never worked with fastboot, ADB or custom Recovery, you better practice on a less important device.

1.Why you should install pure Android on the Redmi Note 8T

The MIUI factory firmware on the Redmi Note 8T has a number of drawbacks that the transition to custom assembly solves:

  • 🚫 No Advertising: No banners in settings, apps or notification panels.
  • πŸ”„ Projects like LineageOS support devices longer than Xiaomi (up to 4-5 years).
  • πŸ› οΈ Minimalist interface: A pure Android without duplicate features (e.g., two browsers, two file managers).
  • ⚑ Performance: No background processes MIUI, They consume up to 15-20% of the battery.
  • πŸ”“ More freedom: The ability to install modifications (e.g. Magisk for root rights) without restrictions.

There are, however, downsides:

  • πŸ“± Loss of some functions: For example, IR-The blaster (DU remote) may not work on some assemblies.
  • πŸ”‹ Deterioration of autonomy: Optimization of energy consumption in the MIUI Often better than in custom firmware.
  • πŸ“Έ Camera problems: Stock camera apps (like GCam) require manual setup.

⚠️ Note: Installing custom firmware voids Xiaomi warranty. If the device is warranty, first check if you can return the stock firmware back (usually, but the process is time-consuming).

πŸ“Š What kind of firmware do you plan to install?
LineageOS
Pixel Experience
Havoc OS
Another. AOSP-assembly
I haven't decided yet.

Preparation of the device: unlocking the loader

The first and most critical step is to unlock the bootloader, without which you can't install customized backups or firmware. Xiaomi officially lets you unlock the bootloader, but the process has nuances:

  1. Link your Mi Account to your device: Go to Settings β†’ Xiaomi Account β†’ Mi Cloud and log in. Unlocking is impossible without an account link.
  2. Activate debugging on USB and OEM-Unlock: Enable Developer Mode (7 times click on Version) MIUI In Settings β†’ About the phone. Then in Settings. β†’ Additionally. β†’ For developers, turn on: πŸ”Œ Debugging by USB πŸ”“ Unlocking OEM (It may disappear after restarting – check before unlocking!)

Mi Unlock Tool

:

The official utility from Xiaomi: link. Use the latest version (at the time of 2026 - v5.5.224.31).

Then connect the Redmi Note 8T to your PC in fastboot mode (turn off your phone, then press Power + Volβˆ’ until the rabbit appears in the eardress cap). Launch Mi Unlock Tool, log in and follow the instructions.

⚠️ Note: Xiaomi can block unlock for 7 to 30 days if you haven't previously unlocked devices under this account. This timer can't be bypassed - you'll have to wait.

Mi Account linked to device|On. OEM-unlock|Drivers installed ADB/Fastboot|Download the Mi Unlock Tool of the latest version|Phone's loaded on 60% more-->

3. Select firmware: what to install instead of MIUI

There are several types of firmware available for the Redmi Note 8T (willow), depending on your priorities:

FirmwareFeaturesStabilityReference
LineageOSAs close as possible to the stock Android, minimalist, is updated frequently.β­β­β­β­β˜†Official website
Pixel ExperienceGoogle Pixel interface and chips (e.g. Now Playing for music recognition)β­β­β­β˜†β˜†Download
Havoc OSMaximum customization (setting up the status bar, animations, gestures).β­β­β˜†β˜†β˜†Official website
ArrowOSThe balance between stability and customization is optimized for performance.β­β­β­β­β˜†Download

For beginners, we recommend LineageOS or Pixel Experience, which is the most stable.

  • πŸ“± Android 12 is the most optimized version for the Redmi Note 8T (better compatibility with iron).
  • πŸ€– Android 13/14 β€” There may be bugs with the camera or sensors (check the reviews on the forum) XDA).
How to check the compatibility of the firmware?
Before downloading the firmware, be sure to check it with the code name of your device (willow for Redmi Note). 8T). The mismatch will result in a brick of the phone. Code name can be found: 1. CPU-Z (section "Device"). 2. ADB-If you see begonia instead of willow, you have a Redmi Note 8 Pro, not a Note 8T!

Installation of custom recaveri (TWRP)

For custom Android firmware, you need a special recovery - TWRP (TeamWin Recovery Project). The official version for the Redmi Note 8T is available on twrp.me, but we recommend using a modified build from mauronofrio (the best support for FBE - file encryption).

Installation instructions:

  1. Download. TWRP: Link to the current version: XDA-Forum.Look for a file called twrp-3.7.0_12-willow-mauronofrio.img.
  2. Fly the receptacles through fastboot: Connect your phone in fastboot mode and execute the command: fastboot flash recovery twrp-3.7.0_12-willow-mauronofrio.img Then immediately reboot to the recavers: fastboot boot twrp-3.7.0_12-willow-mauronofrio.img
  3. Turn off forced encryption: In TWRP, go to Wipe β†’ Format Data, type yes and confirm. This will delete all data, but prevent system boot issues.

⚠️ Attention: If after installation TWRP phone hangs on the logo MI, So, it's an anti-rollback, and the solution is to flash the stock back. MIUI The same or newer version is used via fastboot and then repeat the process.

πŸ’‘

If TWRP Does not see internal memory, try to connect the phone to the PC MTP It's in the Recovery itself. USB-cable.

5. Clean Android firmware: a step-by-step process

Now that you have TWRP installed, you can start to run the firmware. Let's use LineageOS 20 (Android 13) as an example:

  1. Download firmware and GApps: πŸ“₯ Firmware: LineageOS for willow (select the latest build). πŸ€– GApps: Open GApps (Pico or Nano variant for minimum weight).

Transfer files to your phone

Connect your device to your PC in MTP mode (in TWRP, this is done via Mount β†’ Enable MTP). Copy your firmware and GApps files into internal memory.

Cleaning sections

In TWRP, do:

Wipe β†’ Advanced Wipe β†’ Tag Dalvik, Cache, System, Data β†’ Swipe to Wipe

Installation of firmware

Go to Install, select the firmware file (lineage-20.0-...-willow.zip) and swipe for confirmation. Once completed, repeat the process for OpenGApps.

First launch

Reboot β†’ System: The first start can take 10-15 minutes β€” don't interrupt.

If the system does not boot or errors occur, check:

  • πŸ”„ Version compatibility TWRP Firmware (e.g. LineageOS 19 requires a TWRP not older than 3.6.2).
  • πŸ“ Correct cleaning of partitions (if you leave the old system, conflicts are possible).
  • πŸ”‹ Battery charge (if it is below 30%, the phone may turn off during firmware).

πŸ’‘

The most common firmware error is ignoring the firmware version. If you had MIUI 12.5 and the firmware was designed for MIUI 11, you'd have a bootloop, and you'd have to flash the actual firmware through fastboot before you installed the custom firmware.

System configuration after installation

After successful firmware clean Android will require a basic setup:

  1. Root rights activation (optional): If you need superuser rights, install Magisk: 1. Download Magisk (https://github.com/topjohnwu/Magisk/releases). 2. In TWRP, file Magisk-v26.4.zip. 3. Reboot. Check the rights through the Magisk Manager app.
  2. Camera setup: Stock camera app in custom firmware often concedes MIUI We recommend you install the Camera: πŸ“· GCam (e.g. assembly from BSG Wichaya). πŸŽ₯ ANX Camera – an alternative with support for 48 MP. Configs for Redmi Note 8T Look for Celso Azevedo.
  3. Battery Optimization: Clean Android Could Be Dumping Faster MIUI. To improve autonomy: ⚑ Turn off the Always-on Display (if any). πŸ”„ Install AccA (App for Autostart Control). πŸ“Ά Switch to the switch. 2G/3G low-signal 4G.

We also recommend:

  • πŸ”’ Install a Firewall application (such as NetGuard) to block background traffic.
  • πŸ›‘οΈ Check firmware updates through Settings β†’ System system β†’ Updates (on LineageOS they come weekly).
  • 🎡 Set up the sound through ViPER4Android (Magisk demands).

πŸ’‘

If the firmware stopped working after NFC or IR-blaster, check if support for these modules is included in the kernel settings. Sometimes it helps to firmware an alternative kernel (for example, FrancoKernel).

7. Solving common problems

Even with proper installation, errors can occur. Let's look at the typical cases for the Redmi Note 8T:

Problem.Reason.Decision
The phone does not turn on after the firmwareIncompatible firmware or error in cleaning partitions.Boot to fastboot (Power + Volβˆ’). Swipe stock MIUI through the Mi Flash Tool. Repeat the process with the correct firmware.
The mobile network is not workingThere are no IMEI or incorrect APN settings.Check it out. IMEI via *#06# If IMEI zero, restore it through QCN-recaveri (instructions: XDA). Set up. APN manually (operator options can be found on its website).
The system is lagging or overheatingUnoptimized core or background processes.Install an alternative core (like Kernelflinger). Turn off animations in Settings β†’ For developers. Check the temperature through AIDA64 - if the CPU heats above 60Β°C, clear the phone of dust.
Google Pay is not working.SafetyNet trigger (due to root rights or uncertified firmware).Hide the root through MagiskHide (in Magisk settings). Switch to Universal SafetyNet Fix. Check status through the SafetyNet Test App.

If the problem is not solved, check the error log through ADB:

adb logcat > log.txt

The log.txt file will help diagnose the problem on forums (e.g., 4PDA or XDA).

8 Return to MIUI: How to roll back

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

  1. Download the official firmware: Use the official Xiaomi website. For the Redmi Note 8T, choose the Global or EEA (Europe) region. The version should be no lower than the one that was before unlocking (due to anti-rollback).
  2. Sweat through Mi Flash Tool: Unpack the downloaded archive and launch the Mi Flash Tool. Connect your phone in fastboot mode, select the firmware folder and press Flash. Use the clean all option for full cleanup.
  3. Unlock the bootloader (if necessary): Once you return to MIUI, the bootloader will automatically lock. If you plan to install custom firmware again, repeat the unlocking process (see Section 2).

⚠️ Attention: When rolling back MIUI If you want to save files, back up through TWRP (Backup β†’ Select Data, Internal Storage).

If after the firmware MIUI phone is stuck on the logo, try:

  • πŸ”Œ Connect to charging on 30+ Minutes (sometimes helps with a discharged battery).
  • πŸ”„ Swipe the firmware again with the clean all and lock option (block the bootloader).
  • πŸ“‘ Use the other USB-port or cable (connection issues may interrupt firmware).
fastboot flash persist persist.img

File. persist.img You can get it out of the stock firmware archive.-->

FAQ: Frequent questions about installing clean Android on Redmi Note 8T

❓ Can I install a clean Android without unlocking the bootloader?
No. Xiaomi blocks custom firmware installation at the bootloader level. Without official unlocking through the Mi Unlock Tool, you can't flash an alternative system. EDL-The mode (emergency download mode), but it requires an authorized Xiaomi account and special equipment.
❓ What is the most stable firmware for everyday use?
According to the reviews of users of Redmi Note 8T for 2026: LineageOS 20 (Android 13) is the best balance of stability and functionality. Pixel Experience 13 – if you want an interface like Google Pixel, but can be less optimized for hardware. ArrowOS 13 – for those who want customization without losing performance. Avoid firmware on Android 14 – they are still raw for this device (problems with the camera and Wi-Fi).
❓ How to transfer data from MIUI pure Android?
Transfer methods: Backup copy through TWRP: Create a backup of the Data section in TWRP After installing pure Android, restore only data (not system!) Cloud services: Sync contacts, photos and files through Google Drive, Mi Cloud or Telegram Saved Messages. Use Swift Backup (requires a root) or Titanium Backup to port applications and their data. ⚠️ Do not carry system applications (/system/app) β€” It can cause conflicts!
❓ Why Face Unlock doesn’t work after firmware?
In most custom firmware, Face Unlock is disabled by default due to security issues (facial data is less secure than in MIUI). Solutions: Install the Magisk module for Face Unlock (e.g., FaceUnlockEnabler). Use alternative applications such as Smart Lock (embedded in Android). Return to MIUI if Face Unlock is critical for you.
❓ Can I update my custom firmware without losing data?
Yes, but with reservations: LineageOS and Pixel Experience are supported OTA-Updates (through Settings) β†’ System system β†’ Updates. Always back up before upgrading. TWRP! If the update requires a change in firmware version, you will have to stitch again with the Data cleanup. TWRP: 1. Download the new firmware version. 2. Reboot to TWRP. 3.Push through. ZIP-file without data cleaning. 4. Squeeze GApps (if updated).