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

Code Name: jasmine_sprout

Device Tree / files

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 filling out an application 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 (jasmine_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:
If you already have TWRP installed: Download the latest zip and install the zip using TWRP.

If you do not already have TWRP installed: Download both the img and the zip. You will need to have fastboot binaries and the correct drivers installed. Power off your device completely. Hold volume down and turn on the device. Your device should now be in the bootloader. Connect the device to your PC. Open a command window and run the following command from the proper location:

fastboot boot path/to/twrp.img

This will temporarily boot TWRP on your device. Use adb to push the zip onto your device:

adb push path/to/twrp.zip /

Go to install and browse to the zip and install the zip. The zip will install TWRP to both boot slots. Installing TWRP at this time will remove root if you are currently rooted.

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.

Changelog:

  • manish.n.manish45
    2019-11-06T16:20:09Z
    Merge "jasmine: add support for keymaster-4.0" into android-9.0

  • Manish4586
    2019-11-05T20:01:51Z
    jasmine: add support for keymaster-4.0 Signed-off-by: Manish4586 Signed-off-by: Manish4586 modified: BoardConfig.mk modified: omni_jasmine_sprout.mk modified: recovery/root/init.recovery.qcom.rc modified: recovery/root/sbin/android.hardware.boot@1.0-service modified: recovery/root/sbin/android.hardware.boot@1.0.so modified: recovery/root/sbin/android.hardware.confirmationui@1.0.so modified: recovery/root/sbin/android.hardware.gatekeeper@1.0-service-qti new file: recovery/root/sbin/android.hardware.gatekeeper@1.0.so renamed: recovery/root/sbin/android.hardware.keymaster@3.0-service-qti -> recovery/root/sbin/android.hardware.keymaster@4.0-service-qti new file: recovery/root/sbin/android.hardware.weaver@1.0.so new file: recovery/root/sbin/android.hidl.base@1.0.so new file: recovery/root/sbin/android.hidl.token@1.0.so new file: recovery/root/sbin/android.system.wifi.keystore@1.0.so new file: recovery/root/sbin/libcap.so renamed: recovery/root/vendor/lib64/libdsutils.so -> recovery/root/sbin/libdsutils.so modified: recovery/root/sbin/libicuuc.so renamed: recovery/root/vendor/lib64/libidl.so -> recovery/root/sbin/libidl.so modified: recovery/root/sbin/libion.so renamed: recovery/root/vendor/lib64/libmdmdetect.so -> recovery/root/sbin/libmdmdetect.so new file: recovery/root/sbin/libpcrecpp.so new file: recovery/root/sbin/libprocinfo.so new file: recovery/root/sbin/libqmi_cci.so renamed: recovery/root/vendor/lib64/libqmi_client_qmux.so -> recovery/root/sbin/libqmi_client_qmux.so renamed: recovery/root/vendor/lib64/libqmi_common_so.so -> recovery/root/sbin/libqmi_common_so.so renamed: recovery/root/vendor/lib64/libqmi_encdec.so -> recovery/root/sbin/libqmi_encdec.so renamed: recovery/root/vendor/lib64/libqmiservices.so -> recovery/root/sbin/libqmiservices.so new file: recovery/root/sbin/libsysutils.so modified: recovery/root/sbin/libxml2.so modified: recovery/root/sbin/prepdecrypt.sh modified: recovery/root/sbin/qseecomd modified: recovery/root/sbin/time_daemon new file: recovery/root/system_root/system/bin/crash_dump64 modified: recovery/root/system_root/system/compatibility_matrix.xml deleted: recovery/root/system_root/system/etc/vintf/compatibility_matrix.1.xml deleted: recovery/root/system_root/system/etc/vintf/compatibility_matrix.2.xml deleted: recovery/root/system_root/system/etc/vintf/compatibility_matrix.3.xml deleted: recovery/root/system_root/system/etc/vintf/compatibility_matrix.device.xml deleted: recovery/root/system_root/system/etc/vintf/compatibility_matrix.legacy.xml deleted: recovery/root/system_root/system/etc/vintf/manifest.xml modified: recovery/root/vendor/etc/gpfspath_oem_config.xml deleted: recovery/root/vendor/etc/vintf/compatibility_matrix.xml modified: recovery/root/vendor/lib64/hw/android.hardware.boot@1.0-impl.so modified: recovery/root/vendor/lib64/hw/android.hardware.gatekeeper@1.0-impl-qti.so deleted: recovery/root/vendor/lib64/hw/android.hardware.keymaster@3.0-impl-qti.so deleted: recovery/root/vendor/lib64/hw/keystore.sdm660.so modified: recovery/root/vendor/lib64/libGPreqcancel.so modified: recovery/root/vendor/lib64/libGPreqcancel_svc.so modified: recovery/root/vendor/lib64/libQSEEComAPI.so new file: recovery/root/vendor/lib64/libSecureUILib.so modified: recovery/root/vendor/lib64/libStDrvInt.so modified: recovery/root/vendor/lib64/libdiag.so modified: recovery/root/vendor/lib64/libdrmfs.so modified: recovery/root/vendor/lib64/libdrmtime.so modified: recovery/root/vendor/lib64/libkeymasterdeviceutils.so new file: recovery/root/vendor/lib64/libkeymasterprovision.so new file: recovery/root/vendor/lib64/libkeymasterutils.so renamed: recovery/root/vendor/lib64/hw/gatekeeper.sdm660.so -> recovery/root/vendor/lib64/libops.so new file: recovery/root/vendor/lib64/libqdutils.so modified: recovery/root/vendor/lib64/libqisl.so deleted: recovery/root/vendor/lib64/libqmi_cci.so new file: recovery/root/vendor/lib64/libqservice.so new file: recovery/root/vendor/lib64/libqtikeymaster4.so modified: recovery/root/vendor/lib64/librecovery_updater_msm.so modified: recovery/root/vendor/lib64/librpmb.so modified: recovery/root/vendor/lib64/libsecureui.so modified: recovery/root/vendor/lib64/libsecureui_svcsock.so new file: recovery/root/vendor/lib64/libspcom.so modified: recovery/root/vendor/lib64/libssd.so modified: recovery/root/vendor/lib64/libtime_genoff.so modified: recovery/root/vendor/lib64/vendor.display.config@1.0.so modified: recovery/root/vendor/lib64/vendor.qti.hardware.tui_comm@1.0.so renamed: recovery/root/vendor/etc/vintf/manifest.xml -> recovery/root/vendor/manifest.xml Change-Id: Icd411914ed47a2e687867931ce56e6ecc9bea671

  • Manish4586
    2019-05-27T10:37:23Z
    twrp: fstab: add splash support Signed-off-by: Manish4586

  • Manish4586
    2019-06-23T15:16:20Z
    recovery: fix bootctrl crash fix due to vendor security patch Signed-off-by: Manish4586

  • Manish4586
    2019-06-23T15:10:55Z
    its twrp Signed-off-by: Manish4586