[Miscellaneous Android Development] clone.x:
[GUIDE][K920] CM / BootLoop / Error > QFIL Flash > Lenovo Vibe Z2 Pro Stock 5.0.2

How to revert back: "CyanogenMod > QFIL Flash > Lenovo Stock 5.0.2 K920_S288_160224_ROW"

(Or last save from: "BootLoop/Error > QFIL Flash > Lenovo Stock 5.0.2 K920_S288_160224_ROW")

!!! Warning: You will lose all your data not backed up before flashing firmware !!!

! I am not responsible for bricked devices, everything what you do is at your own risk !

! This will also relock Bootloader, restore Stock Recovery, remove ROOT and format Internal Storage !

Installation instructions QPST firmware using QFile Flash:

1 - Install the necessary drivers ("ADB Drivers", "Lenovo USB Drivers" and "Qualcomm USB drivers")

2 - Activate the "Developer" menu on your phone settings (10x Double-click "Build number" in the "Settings>About Phone")

3 - Enable the "Debug Android" in the "Settings>Developer"

4 - Connect your phone to your computer using a USB cable

5 - Wait until Windows installs a device driver (this may take a while)

6 - When you connect your phone to your computer confirm the "Always allow from this computer" if the message appears

7 - Unplug the USB cable and turn off the phone (after installing the drivers)

8 - Install "QPST_2.7.422" tool

9 - Run the installed program "QFIL" ("Start>All Applications>QPST>QFIL" (Windows 10))

10 - Press and hold the "Volume +" button and connect the USB cable to the switched off phone (will switch to service mode which allows installation/reinstallation Qualcomm drivers)

Will be displayed at the top of the bar in the "QFIL" following information "HS-USB QDLoader 9008 (COM XX)" instead of the original "No Port Avaiable" announcement

11 - After installing the drivers release the "Volume +" and let the phone reboot himself

12 - Verify the correct installation of the drivers in the "Device Manager" on your computer, it needs to have the following items:

"Lenovo Composite ADB Interface" under ADB Android Device, "Lenovo HS-USB Modem Phone" under Modem, "Lenovo HS-USB Diagnostics" and "Lenovo HS-USB NMEA" under COM/LPT ports.

If you see such headings you have all the necessary drivers installed, disconnect the phone from the USB cable and then switch off

13 - Unzip the downloaded file "K920_S288_160224_ROW_QFIL.rar" and copy the entire contents of the folder to "C:/"

14 - In the program "QFIL" fill for "Programmer patch" by select "Browse>prog_emmc_firehose_8974.mbn" from "K920_S288_160224_ROW_QFIL\SW"

15 - Under "RawProgram" select "Load XML>rawprogram0.xml"

16 - Following the "Patch" select "Select patch file>patch0.xml"

The result should look like in the picture below ...

17 - Now again press and hold the "Volume +" and connect the USB cable to the switched off phone

18 - In the moment when when you see in the "QFIL" at the top bar notification "Qualcomm HS-USB QDLoader 9008 (COM XX)" you must immediately start the firmware upgrade by selecting "Download" until cca 3 seconds and then release the "Volume" button, when nothing happened, repeat step again from a point 17

19 - Wait for the process is complete (about 2-5 minutes) then after restarting the phone disconnect the USB cable

20 - If everything went smoothly you now have the original "Lenovo K920_S288_160224_ROW" firmware on your phone

Files for download:

K920_S288_160224_ROW_QFIL.rar Source lenovo-forums.ru by "kraminski" (MD5:596739b6303d8d25d1ed9202daae157c)

ADB-Driver-v1.4.2.zip + LenovoUsbDriver_1.0.12.exe + Qualcomm_USB_Drivers.zip Source xdaforums.com by "Electry"

QPST_2.7.422.zip (MD5:a9ebd8ab2b2bb08b3d4a19419c9b120e)