[Lenovo Vibe Z2 Pro ROMs, Kernels, Recoveries, & Ot] chili71:
This is my first post here...

Firstly I would like to thanks for your efforts to make an updated operating system without bugs for my phone K920.

Secondly, as a sign of gratitude, I will try to bring my small contribution through a all-in-one tutorial below ... absolutely all the steps that should be taken to install Lineage on K920 from stock OS. Maybe it's not perfect and certainly can be improved, but I lost several hours to find all this information and put them together.

A. Unlock bootloader

Download UnlockBootloader, QFIL, drivers

1. Download required files.

2. Install necessary drivers - LenovoUsbDriver.

Unlocking

1. Extract UnlockBootloader.zip to the root of your drive (C:/) on your PC.

2. Turn off your phone and unplug the USB cable from your PC.

3. Install and open the QFIL utility (C:\ProgramData\Microsoft\Windows\Start Menu\Programs\QPST\QFIL).

4. Fill in following lines:

Programmer path: C:\Unlock_Bootloader_LP_ROW\prog_emmc_firehose_8974.mbn

Search path: C:\Unlock_Bootloader_LP_ROW

Load XML: rawprogram0.xml -> patch0.xml -> open

5. Now hold Volume+ button and plug the USB cable to your PC.

6. (optional) For about ~3 seconds you should see "Lenovo HS-USB QDLoader xxxx" in your device manager.

(This is just to check whether you have necessary drivers installed correctly)

7. (optional) Unplug the USB cable and do 5. step again.

8. Immediately after plugging the USB cable press Download in QFIL utility.

9. Wait for finish, your phone should reboot automatically. Done!

B. Recovery TWRP

Download TWRP

Download ADB+Fastboot

1. If you haven't already, install ADB+Fastboot with drivers

2. Enable ADB debugging on your phone (in Settings->Developer Options)

3. After connecting the phone to the PC, pop up may appear, tick Always allow from this computer and click OK

4. Extract downloaded recovery zip and copy .img file to C:/adb (rename file recovery.img)

5. Now open cmd line (press Start+R, type "cmd", press OK) and go to C:/adb (type "cd C:/adb" and hit Enter)

6. Reboot into bootloader (fastboot mode) (type "adb reboot-bootloader")

7. Your phone should now reboot into the bootloader (Little green android logo in the middle of the screen)

8. Flash the recovery.img (type "fastboot flash recovery recovery.img")

9. (first TWRP) type "fastboot boot recovery.img" -> TWRP -> Mounts -> System; Advanced -> File Manager -> /system -> rename recovery-from-boot.p to recovery-from-boot.p.bak

10. Reboot! Done!

C. Lineage OS

Download Lineage OS, Gapps

1. Download and transfer the Lineage os ROM and Gapps for Lineage os you wish to flash to your device’s storage.

2. Boot your device into TWRP recovery.

- power off your device

- boot in recovery mode by pressing and holding Volume Up and Power Button at the same time

- release all buttons when the Lenovo Vibe Z2 Pro screen flickers and in a few seconds the Recovery screen will appear.

3. Select “Wipe” from TWRP main menu and do a “Swipe to Factory Reset” on the bottom of screen.

Note: This will factory reset your device. If your custom ROM doesn’t require a factory reset, then simply skip this step.

4. Go back to TWRP main menu, tap on “Install” and select the Lineage os ROM .zip file and gapps (add another .zip) for Lineage os that you transferred to your device in Step 1.

5. After selecting the .zip file, do “Swipe to Confirm Flash” on the bottom of screen to begin the custom ROM installation process. This may take some time.

6. Once your ROM is successfully flashed, you’ll see “Wipe cache/dalvik” option, select it and then do “Swipe to wipe” on bottom of screen.

7. Once cache & dalvik wipe completes, hit the “Back” button on-screen and then select “Reboot System” button.

D. Root

Download SU addon

After install "Supersu" from TWRP recovery (like Lineage installation), to enable root, you must enable Developer Options:

1. Go to Settings. Click on About phone and then Tap Seven times on the Build number.

2. Open Developer options and then scroll a little bit down on the Developer Options settings and look for the Root access setting, which must be showing Disabled.

3. Click on the Root access and set it to Apps and ADB or Apps only or ADB only, as per your need.

I hope you find this helpful...

Once again, thanks for this good job !