[Lenovo Z5 Pro (No GT) Q&A, Guides, Development] BadCluster:
--------------------------------> DISCLAIMER: <------------------------------------​

Guide for pure educational purpose. If you are going to use it, you do it to *your risk and danger, I will not be held responsible if your phone will not work anymore.

Depending on the phone manufacturer, root and unlock the bootloader could invalidate the warranty of the phone​

-------------------------------> PRE-REQUIREMENTS <---------------------------------​

ADB means Android Debug Bridge, and it is software that you should always do have installed on your PC.

Pre-Requisite 1

Make sure that you have the drivers for your phone installed on your PC.

If not, you can download and install them from here https://devsjournal.com/usb-drivers-for-all-android-devices.html or from attachment:

Pre-Requisite 2

You must also install: Minimal ADB & Fastboot, you can download the software

from here https://devsjournal.com/download-minimal-adb-fastboot-tool.html or from attachment:

Scrolling through the page you will have 2 options: Download or Portable

(choose the one that you prefer)

Pre-Requisite 3

Make sure you have enabled 'USB Debugging' and OEM Unlocking on your device (read all tutorial before do it, because it will be wiped all data from the phone)

Settings -> Applications -> Developer Options

Settings -> Applications -> Development

PAY ATTENTION: If you do not see the Developer Options menu you need to do this:

Settings -> Device Info -> tap 6 or 7 times on the 'Build version' entry

A pop-up should appear, telling you 'now you are a developer'

In case of disaster follow this tutorial:​

Restore Stock Image and Lock the Bootloader (for Warranty)​

-------------------------------> UNLOCK BOOTLOADER <---------------------------------​

IMPORTANT NOTE: Before doing this, know that this operation completely reset your device and after rebooting, you will find the phone as if he had just left out of the box. So you'll need to configure your phone again and reinstall all apps.

To unlock bootloader tap on:

Settings -> Applications -> Developer Options

(If you don't see the delevopers option you need to un-hide. To activate developer option click 7 times on ZUI version under settings -> system -> about. Once you did that you get developer options in settings -> system)

Now Click on it (Developers option) and activate the options OEM unlocking and USB debugging

If you have a Pin or Password, it will ask you to re-enter it.

You will see a popup where you will be asked to confirm this operation.

Now start the phone in boolader by doing this:

1) Connect the phone to the PC

2) Start the Minimal ADB & Fastboot program from the PC

3) On the PC screen, type:

adb reboot bootloader​

(A request may appear on the phone screen with permission of USB debugging, accept it)

The phone will now restart in Booloader mode.

4) Now that you are in bootloader mode, from the PC, from the screen

Minimal ADB and Fastboot type:

fastboot -i 0x2b4c oem unlock-go​

The response will look like this:

...

OKAY [ 0.031s]

finished. total time: 0.031s

C:\adb>​

Type:

fastboot reboot​

Now, during the reboot phase, the phone will proceed with a factory reset and will restart normally (it could take a couple of minutes)​

Done, now your phone has the bootloader unlocked.

-------------------------------> HOW TO INSTALL TWRP <---------------------------------​

Download the TWRP from here or mirror

1) Open the folder where your TWRP Recovery .img file is saved.

2)Then open a CMD window inside that folder. To do that, Shift + Right click on any empty white space inside the folder and then select Open command window here.

3) Connect your Android device to the PC. Type the following into the command window to boot your device into bootloader/fastboot mode:

adb reboot bootloader​

If your asks for permission to “Allow USB debugging”, tap OK.

4) Once your device boots into bootloader mode, type this into the command line.

fastboot flash recovery recovery-TWRP-3.2.3-0110-LENOVO_Z5PRO-CN-wzsx150​

5) Once TWRP is successfully flashed on your device, type this final command to reboot your device.

fastboot reboot​

Well, now you have installed the TWRP Recovery.

If you are interested to know how to root your phone: Follow this TUTORIAL