TWRP for Lenovo Z5 Pro GT
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.
Support Status: Current
Maintainer: ThEMarD
Code Name: heart
Support thread on xda-developers
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.
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.
Current and past versions of TWRP can be found at one of the mirrors below:
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.
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.
- Marc Bourgoin
2025-04-25T00:12:28Z
Merge "heart: Squash updating device for dynamic partitions" into android-12.1 - Marc Bourgoin
2025-04-17T09:59:33Z
heart: Squash updating device for dynamic partitions TWRP Gerrit seems to be having issues with merging a commit chain Author: Marc BourgoinAuthorDate: 2025-04-17 03:59:33 -0600 heart: Fix avb vbmeta image arg Change-Id: I72f0a18a109fb920e8d0de2d62b9e4c8160748b3 Author: chematelegram AuthorDate: 2023-12-20 12:19:31 +0100 heart: Include fastbootd Change-Id: Id526c224f7f783be0d4c66183f7a7532b34fcafb Author: chematelegram AuthorDate: 2023-12-20 13:00:21 +0100 heart: Include extra languages Change-Id: I2265b0742dbda6826196a5be385714977c904a2f Author: chematelegram AuthorDate: 2023-12-20 13:03:00 +0100 heart: Prepare Data Media early * Fixes encryption for legacy devices Change-Id: I0dea32377947222b9f1293ae52e0f08837b5e0e4 Author: chematelegram AuthorDate: 2023-12-22 22:13:07 +0100 heart: Update twrp.fstab flags Change-Id: I3caf087997e017dfb1f23b7a78abad8cdd09e92c Author: chematelegram AuthorDate: 2023-12-20 11:36:32 +0100 heart: Switch to dynamic partitions Change-Id: I1f3004d65656d19e30012eea54a405a4d94e718f Author: chematelegram AuthorDate: 2023-12-20 11:49:24 +0100 heart: Include data f2fs in twrp.flags Change-Id: Ie539a143b0f89c9b6b68a648e5d6cf5e5af807a4 Author: Marc Bourgoin AuthorDate: 2025-04-18 09:14:54 -0600 heart: Update kernel Up to this point on lineage-22.2 branch: https://github.com/LineageOS/android_kernel_lenovo_sm8150/tree/1011bf9ad84598facd122fd91b8fdae67e92987c Change-Id: Ibc9b4d622ecb2a38f148af474fb5536486935104 Author: Marc Bourgoin AuthorDate: 2025-04-18 23:09:09 -0600 heart: Setup dynamic partitions in twrp.fstab Change-Id: I0f75fda0efcd70e9f0a1cb3d045c264828728dfe Author: Marc Bourgoin AuthorDate: 2025-04-18 15:40:31 -0600 heart: Remove system_root from twrp.fstab This breaks system mounting when converted to dynamic. Any users wishing for pre-dynamic TWRP can use an older version which are still available on TWRP.me Change-Id: I299292f52e718fb8df5355c492e7defead35a232 - 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