Xiaomi Redmi Note 9S (The codename curtana remains a popular smartphone among custom firmware enthusiasts, despite the release of new models. TWRP (Team Win Recovery Project opens access to advanced features: system backup, manual firmware ZIP-Files, root rights, and even building blocks after a failed experiment, but the process has nuances, from unlocking the bootloader to choosing the right version of the Recovery for your region.
In this guide, we will discuss the current 2026 method of installing TWRP on the Redmi Note 9S, taking into account changes in Xiaomiβs policy to unlock bootloaders and the peculiarities of working with the Qualcomm Snapdragon 720G chipset. You will learn how to avoid common errors (for example, Invalid image format or hanging on the Mi logo), what tools will be needed, and how to check the success of the operation. The guide is suitable for users with basic skills with ADB and Fastboot, but we will explain each step in detail.
β οΈ Warning: Installation TWRP And unlocking the bootloader resets the smartphone to factory settings, deletes all data, and can take away warranties. MIUI) The process is blocked by additional protection measures - read about this in the section on preparation.
1. Preparation: What to do before installing TWRP
Before you start firmware, make sure you have everything you need, and errors at this point are the main reason for the "bricking" of the devices, and here is a checklist of mandatory conditions:
Backup of important data (photos, contacts, messages)
Battery charge of at least 70%
Original. USB-cable (better from the set)
Windows 10/11 or Linux PC (macOS not recommended)
Disabled antivirus (can block) ADB-team)-->
Pay special attention to the MIUI firmware version. On the Redmi Note 9S with firmware newer than MIUI 12.5, an additional step may be required - a rollback to an older version via Fastboot. Check the current version in the Settings menu β About Phone β MIUI version.
Also download the following files (links are valid for June 2026):
- πΉ Official TWRP For curtana (select the version) 3.7.0_12-0 or newer)
- πΉ Platform Tools (ADB & Fastboot by Google
- πΉ Mi Unlock Tool (to unlock the bootloader)
- πΉ Stock firmware (in case of restoration)
π‘
If you have a Chinese version of the Redmi Note 9S (with the CN suffix in the model), before unlocking the bootloader, be sure to run the global firmware through the Mi Flash Tool.
2 Unlock the bootloader: without this, TWRP cannot be installed
Xiaomi blocks the bootloader on all its devices, so the first step is to unlock it. The process takes from 7 to 360 hours (depending on Xiaomi policy and your Mi Account activity).
- Link your Mi Account to your phone: go to Settings β Xiaomi Account β Sync and make sure the device is tied.
- Enable USB debugging: Settings β About Phone β MIUI version (click 7 times to activate Developer Mode), then Settings β Additional β Developer β Debugging over USB.
- Connect your phone to your PC, confirm debugging permission, and follow the ADB command: Adb devices The device should appear in the list.
- Launch the Mi Unlock Tool, log in to the Mi Account and follow the instructions. During the verification phase, the phone will reboot to Fastboot.
- Wait for a message about successful unlocking (it may take several attempts).
β οΈ Note: If the Mi Unlock Tool shows a Couldn't unlock error or asks you to wait, don't interrupt the process. Xiaomi can block unlock on new accounts - in this case, link SIM-Card to account and wait 72 hours.
Less than 24 hours.
1-3 days
4-7 days
More than a week.
I haven't tried it yet.-->
3. Install TWRP via Fastboot: a step-by-step process
Once the bootloader is unlocked, you can start the TWRP firmware. It is important to use only the official version from the TWRP.me site, as unofficial builds may contain malicious code or not support data encryption.
Instructions:
- Downloaded file twrp-3.7.0_12-0-curtana.img rename twrp.img and put it in a folder with platform-tools.
- Open the command prompt in this folder (Shift + right mouse button β βOpen PowerShell window hereβ).
- Turn the phone into Fastboot mode: turn it off, then press Power + Volume Down.
- Connect your phone to your PC and check for detection by the team: fastboot devices
- TWRP: fastboot flash recovery twrp.img
- Reboot to Recavers off the system!: fastboot boot twrp.img
β οΈ Note: If after firmware you reboot into the system, stock recavator MIUI slack TWRP. Therefore, immediately after the command fastboot boot phone should boot in the custom recaveri.
What happens if TWRP doesnβt start?
4. TWRP setup: encryption, backup and root
After the first TWRP run, you will be asked to allow modifications to the system partition. Don't agree to changes (swipe don't!) unless you plan to flash Magisk or custom firmware right away. Otherwise, the system may stop booting.
First, make a full backup of the current firmware:
- Go to the Backup section.
- Check the boxes Boot, System, Data, Vendor.
- Select a save location (preferably on MicroSD, if any).
- Start backup swipe to the right.
If TWRP asks for a password to decrypt /data, enter PIN-If the partition doesn't decrypt, it means your firmware uses a new encryption method (FBE), And the backup data will be incomplete.
π‘
Backup in TWRP is your brick insurance, and even if you don't plan on running firmware experiments, keep a copy of the stock system, and it will allow you to recover your phone in case of a failure after an upgrade or a failed modification.
5. Common mistakes and their solutions
When installing TWRP on the Redmi Note 9S, users often face typical problems, and we put them together in a table with solutions:
| Mistake. | Reason. | Decision |
|---|---|---|
| Invalid sparse file format at header | A damaged twrp.img file or incompatible version | Download the image again from the official website. Check the checksum (SHA-256) |
| Phone is not defined in fastboot devices | No Qualcomm drivers or antivirus blocking | Install drivers via Mi Flash Tool or disable antivirus |
| After firmware TWRP phone loads into stock recavator | MIUI overwrites the Recovery when loading | Immediately after firmware run fastboot boot twrp.img, not fastboot reboot |
| Failed to mount /data (Invalid argument) | FBE encryption on new firmware | Format /data into TWRP (all user data will be deleted!) |
If your problem is not listed in the table, check the error log in TWRP (Advanced β Copy Log) often listing a specific file or partition that cannot be mounted.
6.Follow-up: Magisk, custom firmware, recovery
Now that TWRP is installed, you can:
- π§ Get root rights through Magisk (download the latest version) Magisk-v26.4.zip and run through Install in TWRP).
- π± Swipe custom firmware (e.g. LineageOS or Pixel Experience for curtana).
- π Restore the stock firmware from the backup if something goes wrong.
- π οΈ Remove Bloatware (preinstalled Xiaomi apps) via Mount β System in TWRP.
β οΈ Note: Installing Magisk or custom firmware can cause Google Pay, Netflix and banking apps to crash due to the SafetyNet trigger. To get around this, after Magisk firmware, install Universal SafetyNet Fix and MagiskHide Props Config modules.
π‘
Before you run custom firmware, check it is compatible with your bootloader version. For example, firmware for the Redmi Note 9 Pro (joyeuse) will not work for the Note 9S (curtana), despite the look and feel of the models.
7 How to get it all back: Restore the stock Recovery
If you need to return the phone to its original state (for example, for sale or warranty repair), follow the following steps:
- Download stock recavators for your version of MIUI (can be extracted from the official firmware.tgz via the Mi Flash Tool).
- Fastboot: Fastboot Flash Recovery stock_recovery.img
- Return the stock. boot.img (Magisk: Fastboot Flash boot stock_boot.img
- Reset the Recavator: Wipe Data β Factory Reset.
After that, the phone will look like new, but the bootloader will remain unlocked. To lock it back, use the command:
fastboot oem lockAttention: