Why TWRP Recovery is needed by Redmi Note 7 owners
TWRP (TeamWin Recovery Project) is a powerful tool that unlocks the hidden potential of the Xiaomi Redmi Note 7 (codenamed lavender), which allows you to install informal firmware like LineageOS or Pixel Experience, create full system backups with the ability to restore, remove preinstalled MIUI applications (including advertising services), and obtain root rights through Magisk.
Xiaomiβs standard receptacles are extremely limited: they only allow you to reset your phone to factory settings or flash official updates through update.zip. TWRP for Redmi Note 7 supports touch input, work with ADB, mount partitions in recovery mode, and data encryption (if it was activated in MIUI), which makes it indispensable for enthusiasts who want to squeeze the most out of the device.
But installing TWRP is not an easy process, and requires unlocking the bootloader, which erases all data from the device, and following instructions accurately. Errors at any stage can lead to a "brick," so it's important to understand each step. In this guide, we'll go through the process from start to finish, including driver preparation, unlocking, TWRP firmware, and solving possible problems.
Requirements and Preparations Before Installing TWRP
Before you start installing, make sure your Redmi Note 7 meets the following criteria:
- π± Phone model: Xiaomi Redmi Note 7 (codename lavender). Not to be confused with Redmi Note 7 Pro (violet)!
- π Battery charge: at least 70%. The firmware can take up to 30 minutes, and the discharge in the process will cause a failure.
- π» Computer: Windows 10/11 (recommended Linux/macOS with fastboot support and ADB.
- π Cable: original USB Xiaomiβs Type-C (cheap cables can cause data transmission errors).
- π Backup: All data on the phone will be destroyed when you unlock the bootloader.
The following tools will also be required:
| Tool. | Download link | Note |
|---|---|---|
| Mi Unlock Tool | Official Xiaomi website | Requires a Mi Account with a linked phone number |
| Platform Tools (ADB & Fastboot) | Android Developers | Unpack into the root of the disk C:\platform-tools\ |
| TWRP for Lavender | Official website of TWRP | Choose the latest stable version (for example, twrp-3.7.0_9-0-lavender.img) |
| Xiaomi drivers | Mi PC Suite | Install Mi PC Suite for Automatic Driver Installation |
β οΈ Note: If your Redmi Note 7 was purchased in China (the domestic version), unlocking the bootloader may not be possible without additional manipulation. β The phone. β Version. MIUI. If there are letters at the end CN, It's Chinese firmware.
Step 1: Unlock the bootloader (bootloader)
The bootloader on all Xiaomi devices is locked by default. Unlocking it is a must before installing TWRP. The process takes up to 72 hours due to Xiaomi's security policy, so start with it in advance.
- Link your Mi Account to your phone: π± Go to Settings. β Mi Account and log in. π Link your phone number (required!) Without this, the Mi Unlock Tool won't allow unlocking. π Enable data synchronization and find the device in the list of associated (Settings) β Mi Account β Devices).
- Activate the developer modes and OEM-unlock: π§ Go to Settings. β The phone. β Version. MIUI and tap 7 times on this item to turn on the developer mode. π Back to Settings β Additionally. β For developers and include: OEM-Unlocking (may be absent on some firmware) USB
Connect your phone to the Mi Unlock Tool:
- π₯οΈ Install Mi Unlock Tool on PC and run on behalf of the administrator.
- π± Connect Redmi Note 7 in fastboot mode (turn off phone, then pinch power) + Loudness down).
- π Enter the Mi Account to which the phone is linked.
Once the Mi Unlock Tool is successfully connected, it will show a waiting timer (usually 72 or 168 hours), which is the time it takes to verify the account. At the end of the period, try again to unlock - the process will take a few minutes. All data on the phone will be erased!
What to do if the Mi Unlock Tool shows a "Couldn't unlock" error
If the tool gives you a Couldnβt unlock or Current account is different from the account info on the device, try:
- π Reconnect your Mi Account to your phone (exit and log in again).
- π‘ Use the other IP-address (e.g. through VPN).
- π Wait another 24 hours - sometimes the timer is reset.
- π₯οΈ Try another computer (especially if you used the Mi Flash Tool before).
In extreme cases, create a new Mi Account and link it to the phone in advance (7 days before unlocking).
Step 2: Install TWRP via fastboot
Once the bootloader is unlocked, you can start the TWRP Recovery firmware, and we'll need a fastboot and a downloaded twrp-*.img image.
- Prepare the files: π Place the file. twrp-3.7.0_9-0-lavender.img folder C:\platform-tools\. π₯οΈ Open the command line in this folder: press the Shift + right-button β Open the PowerShell window here.
TWRP:
fastboot flash recovery twrp-3.7.0_9-0-lavender.img
fastboot boot twrp-3.7.0_9-0-lavender.imgThe first team will flash the recovery into the recovery section, the second will immediately load the phone into TWRP.
Prevent replacing TWRP with stock:
By default, MIUI, when you first boot up after unlocking the bootloader, overwrites the custom recaveri to stock.
- π§ V TWRP Go to Mount and mark the System.
- π Open Advanced. β File Manager and delete the file /system/recovery-from-boot.p (if it exists).
- π Reboot back to the TWRP (off-the-shelf!).
β οΈ Note: If after the firmware TWRP The phone is loaded into stock recavers, so you missed the step of removing recovery-from-boot.p. Repeat the procedure, but this time do not boot into the system before installing Magisk (see next section).
π‘
If TWRP does not support touch input (which is unlikely for the latest versions), use the hardware buttons: Volume up/down for navigation, Power to choose from.
Step 3: Install Magisk to save TWRP
To prevent MIUI from overwriting TWRP on the next download, you need to obtain root rights through Magisk, which will also allow you to manage modules and hide root from applications (for example, banking).
- Download Magisk: π Download the last one. Magisk.zip Official repository: GitHub Magisk. π Place the file on your phone or on your phone. SD-map.
- Fly Magisk through TWRP: π± V TWRP Choose Install β point the way Magisk.zip. π Scroll down and confirm the installation with a swipe (Swipe to Confirm Flash).
Complete the setting:
- π After installation, restart the system (Reboot System).
- π± Install Magisk Manager (it may already be in the app menu or you need to download it). Magisk.apk separately).
Additional features after installing TWRP
Now that your Redmi Note 7 has customized Recovery installed, you can:
- π¦ Install custom firmware (LineageOS, Pixel Experience, Havoc-OS, etc.).
- π Make complete backups of systems (including boot, system, data) and restore them if necessary.
- β‘ Remove the bloatwar (pre-installed annexes) MIUI, including advertising services).
- π§ Modify system files (e.g., modify build.prop to trick applications).
- π Encrypt or decrypt the data partition (if supported by your firmware).