Clean Android on Xiaomi Redmi Note 8: how to install custom firmware without errors

Why Redmi Note 8 users want to get rid of MIUI

Xiaomi Redmi Note 8 is one of the most popular budget smartphones of 2019, but its proprietary shell MIUI is not everyone’s liking.built-in advertising, unnecessary system applications, aggressive battery optimization and not always logical interface solutions force owners to look for alternatives. Pure Android (or close custom firmware) offers stability, lack of bloatware and longer-term support for updates.

But switching to custom firmware isn’t just about installing new software; it’s about completely reflashing the device with unlocking the bootloader, installing a custom recovery, and the potential risks of β€œbricking” the phone. In this article, we’ll break down the only officially supported way to install pure Android on the Redmi Note 8 through unlocking the bootloader and TWRP, and explain which firmware to choose in 2026.

Before you start, make sure your Redmi Note 8 has the codename ginkgo (this is important for choosing the right firmware!). You can find it in the settings: Settings β†’ About Phone β†’ MIUI β†’ Device Model. If it says M1908C3JG or M1908C3JH, you are on the right track.

What firmware is suitable for Redmi Note 8

Not all custom firmware is equally good. The following options are relevant for the Redmi Note 8 in 2026:

  • πŸ“± LineageOS is the most stable and closest to "pure" Android firmware. OTA-Updates but no Google services (you need to install them separately).
  • 🎨 Pixel Experience is a firmware with interface and features from Google Pixel. Perfect for those who want to get as close to the β€œstock” Android.
  • ⚑ ArrowOS β€” balance between customization and stability, supports many features, but may be less optimized for the battery.
  • πŸ”§ Havoc-OS is for fine-tuning enthusiasts, with lots of modules and tweaks, but it requires experience in customization.

We recommend that novice users choose between LineageOS and Pixel Experience, which are the most stable and have an active community. XDA Developers or Project Sites.

πŸ“Š What kind of firmware do you plan to install?
LineageOS
Pixel Experience
ArrowOS
Havoc-OS
Another/Didn't decide

Not all firmware supports data encryption (FBE). If you need encryption (like Android Pay), check out the build description. Also note the Android version: some firmware is still based on Android 11, and others have already been upgraded to Android 13.

Preparation for installation: what to do before the firmware

Installation of custom firmware is an irreversible process (except for returning to MIUI via Fastboot).

  1. Back up all the important data. The firmware wipes away the internal memory!
  2. Charge the phone at least 70%, interruption of the process due to battery discharge can lead to a "brick".
  3. Install drivers for Xiaomi on PC. Download Mi Unlock Tool and ADB/Fastboot drivers.
  4. Unlock the bootloader (more on this in the next section).
  5. Download firmware and TWRP for your model. Files should be specifically for ginkgo!

Also prepare. USB-cable (preferably original) and Windows-based computer 10/11 (On macOS or Linux, unlocking the bootloader may not work.

β˜‘οΈ Checklist before firmware

Done: 0 / 5

⚠️ Note: If your Redmi Note 8 was purchased in China (the domestic version), unlocking the bootloader may not be possible without a Chinese Mi Account. β†’ The phone. β†’ Version. MIUI.

Unlocking the loader: step-by-step instructions

Without an unlocked bootloader, custom firmware cannot be installed. Xiaomi officially allows you to unlock the bootloader, but the process requires waiting and a Mi Account.

  1. Link your Mi Account to your phone: Settings β†’ Xiaomi Account β†’ Sign in.
  2. Activate. OEM-unlocking USB: Settings β†’ The phone. β†’ Version. MIUI (Click 7 times to become a developer β†’ Additionally. β†’ For developers β†’ Unlocking OEM (include) Debugging USB (insert)
  3. Connect your phone to your PC and start the Mi Unlock Tool. Log in to the same Mi Account as your phone.
  4. The first step is to wait 168 hours (7 days), a requirement for Xiaomi to allow new accounts.
  5. After 7 days, repeat the process – the bootloader will be unlocked.

If you see a message that says "Couldn't unlock" or "Current account is not bound to this device," you will see:

  • πŸ”Œ You didn't wait 168 hours.
  • πŸ“± Mi Account on the phone and Mi Unlock Tool are different.
  • 🌐 Your region in your Mi Account does not match your phone region (e.g., phone for China, account for global market).
What if the Mi Unlock Tool can’t see the device?
1. Check if debugging is included on USB and unlock OEM. 2. Install drivers manually through Device Manager (select "Xiaomi" ADB Interface. 3. Try another one. USB-cable or port (preferably) USB Disable the antivirus - it can block the Mi Unlock Tool. 5. Run the program on behalf of the administrator.

Once you successfully unlock the phone, it will reboot, and you'll see a warning about the bootloader unlocked every time you turn on. That's normal.

Installation of TWRP and firmware through custom Recovery

Now that the bootloader is unlocked, you can install the TWRP (Team Win Recovery Project) custom recovery that will allow you to flash alternative firmware. For Redmi Note 8 (ginkgo), use the official version of TWRP.

Steps to install TWRP:

  1. Download the file. twrp-3.7.0_9-0-ginkgo.img (or a newer version) and rename it to recovery.img.
  2. Place the file in the folder with the platform-tools (where adb.exe and fastboot.exe are located).
  3. Turn off the phone and press Power + Volume down to log into the Fastboot.
  4. Connect your phone to your PC and execute the command: fastboot flash recovery recovery.img
  5. After successful installation, restart to the recavers: fastboot boot recovery.img

If TWRP doesn’t offer to enter a password (even if you have a pattern lock installed), then the firmware doesn’t support FBE (file-based encryption), in which case you need to format /data to TWRP before the firmware:

  1. In TWRP, select Wipe β†’ Format Data.
  2. Type in yes and confirm.
  3. Reboot back to TWRP.

⚠️ Attention: Formatting /data delete ALL data from internal memory, including photos, apps and settings!

Now we can start installing the firmware. ZIP-firmware file (e.g, lineage-20.0-20260510-nightly-ginkgo-signed.zip) You need to transfer it to your phone:

  • πŸ“ Through ADB Sideload in TWRP (Advanced β†’ ADB Sideload).
  • πŸ’Ύ Through OTG-cable (if you have one) USB-flash-drive).
  • πŸ”„ Internal Memory (if you copied the file before installation) TWRP).

To be installed in TWRP:

  1. Choose Install.
  2. Show the way to ZIP-firmware.
  3. Swipe for confirmation.
  4. After installation, press Reboot System.

πŸ’‘

If the phone has been stuck on the logo for more than 10 minutes since the reboot, it means the firmware is not suitable for your model or was installed incorrectly, in which case, go back to TWRP and repeat the process.

Installation of Google Services (GApps) and system setup

Most custom firmware (like LineageOS) doesn't include Google services (GApps) by default. They need to be installed separately. Download the appropriate GApps package from OpenGApps or NikGApps.

How to choose the version of GApps:

Type of firmwareAndroid versionRecommended GApps packageSize
LineageOS 20 (Android 13)13NikGApps Basic or OpenGApps Pico~200-300MB
Pixel Experience 1313No requirement (already built-in)β€”
ArrowOS 1212OpenGApps Nano~500MB
Havoc-OS 4.1911OpenGApps Micro~150MB

Installation of GApps:

  1. Download. ZIP-GApps file (e.g, open_gapps-arm64-11.0-pico-20260512.zip).
  2. Reboot to TWRP (Nutrition + Volume Up).
  3. Choose Install and point the way to ZIP-GApps.
  4. Swipe for installation.
  5. Reboot the system.

After the first download (it can take 5-15 minutes), perform the initial setting of Android. If you encounter an error "Setup Wizard stopped", then:

  • πŸ”„ GApps are incompatible with the firmware version (check the compliance of the Android versions).
  • πŸ“¦ You have chosen a large package of GApps (try Pico or Nano).
  • πŸ”§ The firmware does not support signature spoofing (you need to include in the settings for developers).

πŸ’‘

If you have lost access to your mobile network after installing GApps, go to Settings β†’ Mobile Network β†’ Access Point (APN) and select your carrier’s APN manually.

Possible problems and solutions

Even with the correct following of the instructions, errors can occur, and here are the most common problems and ways to solve them:

1. the telephone is not turned on after firmware ("brick")

If after installing the firmware, the phone does not respond to the power button or hovers on the logo:

  • πŸ”‹ Try to clamping the power. + Volume up 15-20 seconds for forced reboot.
  • πŸ”Œ Connect your phone to charge for 30 minutes – the battery may have run out.
  • πŸ’» If nothing helps, go through the official MIUI via Mi Flash Tool in Fastboot mode.

2. Mobile network or Wi-Fi is not working

Communication problems are usually related to:

  • πŸ“‘ Incorrect modem firmware. Try flashing vendor and firmware from the official MIUI.
  • πŸ“Ά Wrong settings. APN. Delete everything. APN And add a new one manually.
  • πŸ”„ Conflict with Magisk (if installed) Try disabling modules.

3. Fast battery discharge

Castom firmware can consume the battery faster because of:

  • ⚑ No kernel optimization. Try flashing another kernel (e.g. Perseus for Redmi Note 8).
  • πŸ”„ Background processes. Check application activity in Settings β†’ Battery.
  • πŸ“± Incorrect sleep settings. Turn on Doze and App Standby in the developer settings.

4. Sensors are not working (gyroscope, compass, NFC)

This is a typical problem when using informal firmware.

  • πŸ”§ Please. persist.img formal MIUI through TWRP.
  • πŸ“² Check if your firmware supports all sensors (read reviews on the XDA).
  • πŸ”„ Try another firmware build.

⚠️ Note: If the firmware stopped working NFC, It's probably because there's no proprietary drivers in custom firmware. NFC It only works on some Pixel Experience builds.

FAQ: Answers to Frequent Questions

Can I return MIUI after installing custom firmware?
Yes, but you need to flash the official MIUI through Fastboot using the Mi Flash Tool. Note that: All data will be deleted. The bootloader will remain unlocked (the boot warning will remain). Some features (for example, Mi Cloud) may not work correctly. Instructions for returning to MIUI: Download Fastboot firmware for Redmi Note 8. Unpack the archive and place the folder in the root of the C:\. Launch Mi Flash Tool, select the folder with the firmware and click on the Fastboot and turn on the phone on Flash.
Will Google Pay and other banking apps work?
It depends on the firmware and SafetyNet status: πŸ’³ On Pixel Experience, Google Pay usually works out of the box". πŸ”’ LineageOS requires Magisk and Universal SafetyNet Fix. πŸ“± Banking applications (Sberbank, Tinkoff) can block access on an unlocked bootloader. Try hiding root using MagiskHide or DenyList. Check SafetyNet status with the SafetyNet Test app.
How to update custom firmware?
Most of the firmware (for example, LineageOS) supports OTA-Update: Go to Settings β†’ System system β†’ Update the system. Download the new update. Reboot to TWRP and set ZIP-Update file. Re-install GApps if necessary (if they have been updated). OTA does not work, download updates manually from the official firmware site and install through TWRP.
Can I install custom firmware without unlocking the bootloader?
No. Xiaomi blocks the installation of unofficial software at the bootloader level. Any "bypass" methods (for example, through exploits) either do not work on the Redmi Note 8 or lead to a "brick." The only safe way is to officially unlock through the Mi Unlock Tool.
What is the most stable firmware for everyday use?
According to reviews of users of Redmi Note 8 in 2026: πŸ† Pixel Experience – the best balance of stability and functionality. πŸ› οΈ LineageOS is the cleanest and fastest, but requires manual installation of GApps. ⚠️ ArrowOS and Havoc-OS are more customizable, but there may be battery or sensor bugs. For maximum stability, choose official builds (not "unofficial").