Disclaimer:

Team Win strives to provide a quality product.  However, it is your decision to install our software on your device.  Team Win takes no responsibility for any damage that may occur from installing or using TWRP.

Status:

Support Status: Current

Maintainer: Nebrassy

Code Name: renoir

Device Tree / files

Support thread on xda-developers

Notes About Xiaomi Mi Devices:

Some Xiaomi Mi devices have bootloaders that require additional steps to unlock before you are able to flash custom images. This typically involves using MI Unlock Tool to apply & wait for certain time period to have your device unlocked.
You will need to follow the steps on Xiaomi's MIUI website in order to unlock your device.
Understand that unlocking your device will wipe all of your personal data, settings, and apps from its memory.

See: Apply for unlocking Mi devices

This device uses Dynamic Partitions

This means that TWRP will not allow modifications to any of the partitions that make up the Super partition on the stock ROM. All backups and restores will include the full Super partition rather than the individual dynamic partitions.

In order to flash the individual partitions, you will have to boot into fastbootd.

Download Links:

Current and past versions of TWRP can be found at one of the mirrors below:

Installation:

WARNING: If you accidently flash TWRP to your device using fastboot instead of temporarily booting the image, you will need to download the latest factory image for your device and reflash the boot image.

You will need the platform-tools from the Android SDK on your computer. Download the platform-tools as per your operating system.

Windows users will need proper drivers installed on their computer. You can try the simple FWUL adb/fastboot ISO or the Naked ADB drivers or the Universal ADB drivers if you don’t already have a working driver installed

Download the correct image file and copy the file into the same folder as your platform-tools as well as device’s storage. Rename the image to twrp.img.

Now reboot to fastboot/download/bootloader mode by using adb or manual key combos (Use Google to find that if you are not sure). To use adb to reboot, use the following command:

adb reboot bootloader

Temporary boot the downloaded image using the following command:

fastboot boot twrp.img

Preferred Installation Method: Once booted, navigate to the Advanced > Flash Current TWRP option. This will install the TWRP image you just booted permanently to the device.

Alternate Installation Method: Once booted, navigate to the Advanced > Install Recovery Ramdisk option. This will ask you to select the image you want to install TWRP from. Select the TWRP image you just downloaded and copied into device storage. Proceed to install this image.

NOTE: You also need to use the “Fix Recovery Bootloop” option present in the same Advanced Tab. Use that option after you have installed the recovery ramdisk successfully to avoid boot loops happening from installing TWRP Permanently.

After this is done, you have successfully installed TWRP on your device.

Changelog:

  • Nebrassy
    2022-02-07T18:52:46Z
    Merge changes I25b035b9,Ia874f74c,Icd8e29ec into android-11 * changes: renoir: Fix battery and USB OTG detection go permissive cleanup usb config

  • Adithya R
    2021-12-18T17:25:09Z
    renoir: Fix battery and USB OTG detection * in lahaina (msm-5.4) pmic driver now lies in adsp [1], so adsp firmware must to be loaded along with qti battery/ charger kernel module, in order to get battery and usb power_supply up & running * with this, we dont need to set usb mode to peripheral explicitly either [1]: https://source.codeaurora.org/quic/la/device/qcom/common/commit/rootdir/etc/init.recovery.qcom.rc?h=LA.UM.9.14.r1-18600-LAHAINA.0&id=4e2b0f663a8f4b73000c81999055363411aaf12c Change-Id: I25b035b9255f30ef54bb25012fde2fae4bb1c085

  • nebrassy
    2021-12-02T13:52:21Z
    go permissive Change-Id: Ia874f74cecbade450af37208b1e32c9b44aed75e

  • nebrassy
    2021-12-19T21:54:37Z
    cleanup usb config Change-Id: Icd8e29ec0b45a9202f0baab8a19794d55ebc6a94

  • Nebrassy
    2021-11-25T03:21:48Z
    Merge "force lunch to fail if kernel is missing" into android-11