Installation of TWRP on Xiaomi Redmi Note 8T: unlocking the bootloader and firmware recovery

Why install TWRP on the Redmi Note 8T?

TWRP (Team Win Recovery Project) is a powerful tool for owners of Xiaomi Redmi Note 8T (codename willow), which provides access to functions not available in standard MIUI Recovery. It can install informal firmware (for example, LineageOS or Pixel Experience), create full system backups (nandroid backup), remove bloatware (preinstalled Xiaomi applications), and restore the device after unsuccessful experiments with firmware.

However, installing TWRP on the Redmi Note 8T is not an easy process.It requires unlocking the bootloader, which is officially supported by Xiaomi, but comes with risks: data reset, loss of warranty and potential problems with the /data partition encryption. In addition, due to the features of the Qualcomm Snapdragon 665 hardware platform and Xiaomi’s policy of blocking modifications, some versions of TWRP may work unstable or require additional manipulation with the kernel.

In this guide, we will discuss the current method of installing TWRP on the Redmi Note 8T, taking into account the changes in MIUI 14 and the new requirements for unlocking the bootloader in 2026, you will learn how to prepare the device, get permission to unlock, flash the recavers through fastboot, and avoid common errors such as hanging on the logo or losing the IMEI.

Requirements and preparation of the device

Before starting the procedure, make sure your Redmi Note 8T meets the following conditions:

  • πŸ“± Model of the device: Xiaomi Redmi Note 8T (codename willow. You can check in Settings β†’ The phone. β†’ Quickboot Getvar Product Team or Model.
  • πŸ”‹ Battery charge: at least 70%. Firmware at low charge can lead to a "brick" (unusable state).
  • πŸ’» Computer: PC with Windows 10/11 Linux (macOS is not recommended due to fastboot driver issues).
  • πŸ”Œ Cable: original USB-C Xiaomi cables: Cheap cables can cause data errors.
  • πŸ“ Backup: All data on the device will be erased! Backup photos, contacts and apps via Mi Cloud or locally.

The following tools will also be required:

Tool.Download linkNotes
Mi Unlock ToolOfficial Xiaomi websiteThe 2026 version requires a Mi Account with a phone number tied.
ADB & Fastboot (Platform Tools)Android DevelopersUnpack into the root of the disk C:\platform-tools\ convenienceally.
TWRP for Redmi Note 8TOfficial website of TWRPChoose a version. 3.7.0_9-0 Or newer. Older builds may not support MIUI 14.
Qualcomm driversQualcomm DeveloperIt is necessary for fastboot to work correctly in Windows.

⚠️ Note: If your device was purchased in China (suffix version) CN In the model, unlocking the bootloader can take up to 360 hours (15 days) instead of the standard 72 hours.

πŸ“Š What is your experience with Android devices?
Never stitched it.
I stitched it 1-2 times.
Experienced user
Developer/modderator

Unlock bootloader on Redmi Note 8T

Unlocking the bootloader is a must before installing TWRP. Xiaomi officially allows this procedure, but links it to the Mi Account.

  1. Link your Mi Account to your device: πŸ“± Go to Settings. β†’ Xiaomi account and log in. πŸ”— Enable data synchronization and confirm the phone number. πŸ” Activate the Settings option β†’ Additionally. β†’ For developers β†’ Unlocking OEM (If there is no paragraph, follow step 2).
  2. Activate Developer Mode: Go to Settings β†’ About Phone and 7 times click on the MIUI Version. After that, the Developer option will appear in the menu.
  3. Connect the device to the Mi Unlock Tool: πŸ–₯️ Run MiUnlock.exe on behalf of the administrator. πŸ”Œ Connect your phone in fastboot mode (turn off the device, then press the Power). + Volβˆ’ before the appearance of the hare logo). πŸ”‘ Log in to the same Mi Account as on your phone.

Start the unlocking process:

Press Unlock in the program. If you see a waiting message (e.g. Couldn't unlock. Wait for 168 hours), you have to wait for the specified time. For new accounts, it is usually 7 days.

Once successfully unlocked, the device will automatically reset to factory settings. Don't disconnect it from your PC until you see the MIUI initial setting screen.

Mi Account tied to phone|Developer mode activated|OEM Unlock on.|Fastboot drivers installed|Device in fastboot mode (logo of a hare)-->

⚠️ Warning: If the phone does not turn on after unlocking or hovers on the logo MI, Don't panic. Try to boot up to fastboot. + Volβˆ’) And run the standard recaveri command: fastboot flash recovery recovery.img fastboot reboot Where recovery.img β€” Original Recovery from Official Firmware for Your Model.

Install TWRP on Redmi Note 8T via Fastboot

Now that the bootloader is unlocked, you can start the TWRP firmware. It is important to use the current version of the backpack, as older builds may not support the fbe (file-based encryption) encryption in MIUI 14.

Download the archive with TWRP for willow (e.g, twrp-3.7.0_9-0-willow.img) and follow the following steps:

  1. Rename the file: For convenience, rename the downloaded file to twrp.img and place it in the platform-tools folder.
  2. Open the command line: In the platform-tools folder, press Shift + right mouse button and select Open PowerShell window here (or Command Prompt in Windows 10).
  3. Please. TWRP: The command is fastboot flash recovery. twrp.img If there is a mistake FAILED (remote: 'Not allowed in Lock State', which means the bootloader is not unlocked!
  4. Boot to TWRP: Don't restart the device to the system! Instead, execute: fastboot boot twrp.img This will temporarily load the TWRP without firmware into the recovery section (useful for testing).

If TWRP If you downloaded successfully, you'll see the main menu with a touch interface. ZIP-files – first you need to disable forced data encryption, otherwise the device may get stuck on downloading.

What to do if TWRP asks for a password?
If, after loading into TWRP If you see a password request, this means that the section /data It's encrypted: 1. Connect the phone to the PC and in TWRP Choose Advanced β†’ File Manager. 2. Move to the /data/system and delete locksettings.db, locksettings.db-wal, locksettings.db-shm files. 3. Reboot to TWRP Again, the password will no longer be required. ⚠️ Note: This will remove all graphic keys and PIN-code!

Solving common problems when installing TWRP

Even with the correct instructions, Redmi Note 8T users often encounter errors, and here are the most common ones and ways to fix them:

Mistake.Reason.Decision
FAILED (remote: 'Not allowed in Lock State')The bootloader is not unlockedRepeat the unlocking procedure through the Mi Unlock Tool. Make sure that the wait (if any) is over.
Telphon hovers on MI logo after TWRP firmwareCore conflict or incorrect version of TWRPSwipe the official firmware through the Mi Flash Tool in clean all mode, then re-install TWRP.
TWRP does not see internal memory (/data)Partition encrypted or damagedIn TWRP, select Wipe β†’ Format Data (enter yes). This will delete all data but unlock access!
E: Unable to mount /systemTWRP is incompatible with MIUIDownload the newer version of TWRP or swipe through OrangeFox Recovery (an alternative to TWRP for Xiaomi).

The problem of losing IMEI after firmware is particularly important, because it damages the modem partition or the nvram partition, and to restore the IMEI:

  1. Download the official firmware for your model from the Xiaomi Firmware Updater website.
  2. Remove the files nvram.img and modem.img (located in the image folder).
  3. Fastboot: fastboot flash modem modem.img fastboot flash nvram nvram.img

πŸ’‘

If after the firmware TWRP phone doesn't see SIM-check the radio module version (baseband) in Settings β†’ If it's missing, just go through it. modem.img from the official firmware of your regional version (for example, willow_global).

Custom-based firmware ZIP-file TWRP

Once you have successfully installed TWRP, you can flash custom firmware, cores, or modifications, but there are a few nuances specific to the Redmi Note 8T:

  • πŸ“¦ Magisk for root: To get superuser rights, download the latest version of Magisk (GitHub) and click on the new version. ZIP via Install β†’ Select Storage β†’ Downloads.
  • πŸ”„ Disabler for the MIUI: If you are running custom firmware (e.g. Pixel Experience), install it first. Disable_Dm-Verity_ForceEncrypt.zip, otherwise the device will not boot.
  • πŸ”’ Encryption: If you plan to use encryption, select the TWRP Wipe β†’ Format Data β†’ F2FS (This is a file system that is better suited for custom firmware).

Example of the LineageOS firmware sequence:

  1. Download firmware and GApps (such as Open GApps Pico).
  2. Reboot to TWRP (Power + Vol+)
  3. Run Wipe β†’ Advanced Wipe and mark Dalvik, Cache, System, Data.
  4. Please. ZIP-Files are in order: Firmware (for example, lineage-20.0-willow.zip) GApps Magisk (optional)
  5. Reboot β†’ System: The first boot can take 10-15 minutes.

⚠️ Attention: On the Redmi Note 8T Android-based firmware 12+ There may be a problem with loss of sound in the speaker after installing custom ROM. This is related to Qualcomm drivers. WCD937x. Solution: patching Audio_Fix_willow.zip (search the forum XDA Developers).

πŸ’‘

Before you run your custom ROM firmware, always check it is compatible with your device’s codename (willow for Redmi Note 8T). ROM firmware for another model (e.g., ginkgo for Redmi Note 8) will result in a β€œbrick”!

Restore the original MIUI firmware

If you have to return a standard MIUI after experimenting with TWRP or custom firmware, do it through the Mi Flash Tool.

  1. Download official firmware: Select a version for your region on the site MIUI Downloads. For the Redmi Note 8T These are tagged files. willow_global or willow_eea.
  2. Unpack firmware: Use an archiver (for example, 7-Zip) To extract files from a.tgz or.zip archive, you have to get a folder with images and flash_all.sh.
  3. Install Mi Flash Tool: Download the utility from the official website and install. During the installation, allow the installation of drivers.
  4. Switch the device: πŸ–₯️ Run MiFlash.exe on behalf of the administrator. πŸ”Œ Connect your phone in fastboot mode. πŸ“‚ In the program, click Select and indicate the path to the unpacked firmware. πŸ”„ Choose Clean All (Full Reset) or Clean All and Lock (Reset) + loader-lock). πŸš€ Press Flash and wait until it is completed (5-10 minute).

After successful firmware, the device will automatically reboot to the standard MIUI. If the bootloader has been locked (clean all and lock), to re-install the TWRP, you will need to unlock it again through the Mi Unlock Tool.

What if the Mi Flash Tool gives you a critical partition flashing error is not allowed?
This error occurs when: 1. You are trying to flash firmware for another region (for example, willow_global device willow_eea). 2. The Mi Flash Tool is outdated (use the version) 2023.4.28.0 or newer). 3. The firmware folder does not contain critical files (for example, boot.img or system.img). Solution: - Download firmware specifically for your region. - Check the integrity of the archive (compare hashes) MD5 Try flashing fastboot manually: fastboot flash boot boot.img fastboot flash system system.img fastboot flash vendor vendor.img

FAQ: Answers to Frequent Questions

Can I install TWRP on the Redmi Note 8T without unlocking the bootloader?
No, it's impossible. Xiaomi blocks the recovery partition modification on all devices with a locked bootloader. Any attempts to circumvent this restriction (for example, through exploits) lead to a "brick" of the device. The only official way is to unlock through the Mi Unlock Tool.
Why does the phone not see internal memory after installing TWRP?
This is because of the encryption enabled. FBE (File-Based Encryption in MIUI. Decisions: B TWRP Choose the Wipe β†’ Format Data, type yes. This will delete all data, but unlock access to memory. ZIP-file Disable_Dm-Verity_ForceEncrypt.zip before first loading into the system.
How to return the official firmware if the phone does not turn on after TWRP firmware?
If the device is not loading (hung on the logo or flashing a red indicator), follow the following steps: Load to fastboot (Power + Volβˆ’ buttons). Scroll the official firmware through the Mi Flash Tool in clean all mode. If fastboot is not available, try EDL (Emergency Firmware via Qualcomm HS-USB QDLoader 9008). This will require an authorized Xiaomi account and a special cable.
Can I update my TWRP after installation?
Yes, but not through the standard update itself. TWRP (This can lead to errors. Better: Download the new version twrp.img from the official website. TWRP. Choose Advanced β†’ Flash Image and show the way to a new one twrp.img. Reboot to RecavΓ©rie (Reboot) β†’ Recovery).
Will Google Pay work after installing TWRP and Magisk?
Not if you get root rights through Magisk. Google Pay and other banking apps (like SberBank Online) block work on devices with unlocked bootloader or root access: πŸ”’ Use the MagiskHide Props Config module to mask the root. πŸ“± Universal SafetyNet Fix (available on GitHub). πŸ’³ Alternatively, use a physical bank card or other phone for payments.