blob: e1ecf937508a18a12b6907d9e2b9254ff51ad70d [file] [log] [blame]
Marc Bourgoin96b95ff2021-08-16 16:00:35 -06001---
2layout: device
3title: "Lenovo Z6 Pro"
4codename: zippo
5oem: Lenovo
6downloadfolder: zippo
7supportstatus: Current
8maintainer: ThEMarD
9devicetree: https://github.com/TeamWin/android_device_lenovo_zippo
10xdathread: "https://forum.xda-developers.com/t/official-tests-twrp-for-the-lenovo-z6-pro-zippo.4320609/"
11---
12
13{% include disclaimer.html %}
14
15{% include supportstatus.html %}
16
17{% include dmverity.html %}
18
19{% include appinstall.html %}
20
21{% include download.html %}
22
23<div class="page-heading">TWRP Install (Requires TWRP 2.8.4 or higher already installed):</div>
24Download 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.
25
26<div class="page-heading">Fastboot Install Method (No Root Required):</div>
27<a href="https://developer.android.com/studio/releases/platform-tools">You will need the platform-tools from the Android SDK on your computer.</a> Download the platform-tools as per your operating system.
28
29Windows users will need proper drivers installed on their computer. You can try the <a href="https://forum.xda-developers.com/android/software-hacking/live-iso-adb-fastboot-driver-issues-t3526755">simple FWUL adb/fastboot ISO</a> or the <a href="https://forum.xda-developers.com/google-nexus-5/development/adb-fb-apx-driver-universal-naked-t2513339">Naked ADB drivers</a> or the <a href="https://adb.clockworkmod.com/">Universal ADB drivers</a> if you don't already have a working driver installed.
30
31Visit <a href="https://www.zui.com/iunlock">Lenovo's ZUI official unlocking website</a>, where you'll be asked to fill in some device and contact information in order to get your bootloader unlock file.
32
33Follow the instructions and get your unlock file.
34
35Enable OEM unlock in the Developer options under device Settings, if present.
36
37Connect the device to your PC via USB.
38
39On the computer, open a command prompt (on Windows) or terminal (on Linux or macOS) window, and type:
40<pre>
41adb reboot bootloader
42</pre>
43
44You can also boot into fastboot mode via a key combination:
45
46<pre>
47With the device powered off, hold Volume Down + Power. Keep holding both buttons until the word FASTBOOT appears on the screen, then release.
48</pre>
49
50Once the device is in fastboot mode, verify your PC finds it by typing:
51<pre>
52fastboot devices
53</pre>
54
55Now type the following command to unlock the bootloader:
56<pre>
57fastboot flash unlock sn.img
58</pre>
59Where sn.img is the bootloader unlock file you received in the email.
60
61Next, use your second unlock command
62<pre>
63fastboot oem unlock-go
64</pre>
65
66Wait for the bootloader unlocking process to complete. Once finished, you can check if bootloader is successfully unlocked by typing:
67<pre>
68fastboot getvar unlocked
69</pre>
70
71Verify that the response is "unlocked: yes". In that case, you can now install third-party firmware.
72
73Download the correct image file and copy the file into the same folder as your platform-tools. Rename the image to twrp.img and type:
74<pre>
75fastboot flash recovery twrp.img
76</pre>
77
78Note many devices will replace your custom recovery automatically during first boot. To prevent this, use <a href="https://www.google.com/">Google</a> 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.