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

Code Name: heart

Device Tree / files

Support thread on xda-developers

This device uses dm-verity!

This means that swiping to allow system modifications will prevent you from being able to boot if you are using the stock kernel. In order to bypass dm-verity's boot prevention, you will have to install a kernel that has dm-verity disabled in the fstab.

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 (heart) 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.

Fastboot Install Method (No Root Required):

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.

Visit Lenovo’s ZUI official unlocking website, where you’ll be asked to fill in some device and contact information in order to get your bootloader unlock file.

Follow the instructions and get your unlock file.

Enable OEM unlock in the Developer options under device Settings, if present.

Connect the device to your PC via USB.

On the computer, open a command prompt (on Windows) or terminal (on Linux or macOS) window, and type:

adb reboot bootloader

You can also boot into fastboot mode via a key combination:

With the device powered off, hold Volume Down + Power. Keep holding both buttons until the word “FASTBOOT” appears on the screen, then release.

Once the device is in fastboot mode, verify your PC finds it by typing:

fastboot devices

Now type the following command to unlock the bootloader:

fastboot flash unlock sn.img

Where sn.img is the bootloader unlock file you received in the email.

Next, use your second unlock command

fastboot oem unlock-go

Wait for the bootloader unlocking process to complete. Once finished, you can check if bootloader is successfully unlocked by typing:

fastboot getvar unlocked

Verify that the response is “unlocked: yes”. In that case, you can now install third-party firmware.

Download the correct image file and copy the file into the same folder as your platform-tools. Rename the image to twrp.img and type:

fastboot flash recovery twrp.img

Note many devices will replace your custom recovery automatically during first boot. To prevent this, use Google to find the proper key combo to enter recovery. After typing fastboot reboot, hold the key combo and boot to TWRP. Once TWRP is booted, TWRP will patch the stock ROM to prevent the stock ROM from replacing TWRP. If you don’t follow this step, you will have to repeat the install.

Changelog:

  • Marc Bourgoin
    2022-09-04T04:18:20Z
    Merge "heart: Updates for TWRP-12.1" into android-12.1

  • Marc Bourgoin
    2022-06-29T21:08:34Z
    heart: Updates for TWRP-12.1 * Kernel updated to https://github.com/lenovo-sm8150/android_kernel_lenovo_sm8150/commits/2dc3943b429f4cfab1099ef8222bbb54e2003f90 * Switched to source built vendor.display.config * Modified decryption blobs * Changed decryption props * Modified inclusions in twrp makefile * Updated README Change-Id: Ia6d0f81e081b0da35f27f8241538e426e1cd23b6

  • Marc Bourgoin
    2022-02-23T06:01:09Z
    Merge "heart: Adapt for TWRP 11" into android-11

  • Marc Bourgoin
    2022-02-01T23:37:29Z
    heart: Adapt for TWRP 11 Kernel updated to this point: https://github.com/lenovo-sm8150/android_kernel_lenovo_sm8150/commits/a50fc777e103c563076c8e451c2fa5c028eb5498 Change-Id: I24a9546395f3b03b8711af7f89c12dbb73c4622e

  • Marc Bourgoin
    2021-09-11T22:18:01Z
    Merge "heart: modify offset" into android-9.0