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: Nikesh001

Code Name: laurel_sprout

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

App Install Method (Requires Root):

Download the Official TWRP App (root required):

Install the app and open it. Agree to the Terms. Select TWRP Flash. Select your device from the device list (laurel_sprout) and choose a version. The file will download to your Downloads folder. Browse to and select the file. Tap on Flash to Recovery. Find out more about the app here.

Download Links:


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

TWRP Install (Requires TWRP 2.8.4 or higher already installed):

Download the latest TWRP image file (.img) from the download link and boot TWRP. Go to install and find and select the Images... button. Browse to the image that you downloaded and select it. Choose recovery and swipe to flash.

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

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.

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:

  • Nikesh Kataria
    2020-01-22T06:27:11Z
    Merge "laurel_sprout: Adding Platform_version for decryption" into android-9.0

  • Nikesh Kataria
    2020-01-22T06:26:48Z
    Merge "laurel_sprout: Remove since build is using aosp bootctrl." into android-9.0

  • mauronofrio matarrese
    2019-12-22T11:49:36Z
    laurel_sprout: Adding Platform_version for decryption Change-Id: I00cf0c0b53f72d926e50446b9c5eda0edaaf8359

  • bigbiff
    2019-12-01T00:46:04Z
    laurel_sprout: Remove since build is using aosp bootctrl. Change-Id: I69fdb000292c909b7f50baa22369ed68f64daffa

  • Giovix92
    2019-09-27T22:56:23Z
    laurel_sprout: disable AB ota postinstall [2/2] Resetting mount_count to 0 will prevent backuptools fron running, and thus prevent error 5 in 2nd step.