[Asus Zenfone 5Z  Guides, News, & Discussion] tiagopraz:
Recovery ZS620KL EDL mode - Qualcomm HS-USB QDLoader 9008 (COMx)

First I want to thank the author of this post:

https://xdaforums.com/zenfone-5z/how-to/discuss-unbrick-zenfone-5z-zs620kl-t3889459

Tt helped me a lot to start the repair process of my device.

I am Brazilian and I want to apologize if there are grammatical errors, I am using the ggogle translator :).

I had problems when I was trying to root my Zenfone 5Z (ZS620KL 256GB 8GB RAM SND845).

After using twrp incorrectly, the device was restarted on the fastboot screen, just the fastboot screen and nothing else. I went into despair because I know that Asus devices are quite laborious when repairs are needed.

Then I found the topic https://xdaforums.com/zenfone-5z/how-to/guide-zenfone-5z-how-to-root-downgrade-t3815877.

I used the file flashall_aft.cmd that is present in this ROM, and then the biggest problem happened. The device received the reboot command but was off and did not turn on anymore; when the power button was pressed, it only vibrated;

at the time, I realized that I had died.

However, I had already read about it on a Zenfone 4 device, which had a not very happy ending because I ended up losing imei, bandwidth, wireless settings and serial number.

Returning to the case of Zenfone 5z, researching, I found a rom available to be used as QFIL, which fortunately was not successful as it would end up like the case of Zenfone 4, but this rom helped a lot and I will make the files used here available.

I make it clear that I don't know if for other cases this procedure will work, but in my case, I managed to recover without losing imei, bandwidth settings or wireless and also the serial number was kept.

My first attempt was to perform the procedure of the topic using the file unparse_img.bat, but using this file brought me problems with windows, as I executed the file using two mouse clicks, so the batch file understood the path "." As the root of the system; so I used it by calling through the cmd window inside the place where it was stored, but I was not successful following the step by step because QDART was unable to identify some necessary files.

There may be another method to recover the device, but this one worked for me and I am posting here, I hope it helps someone else. I am sharing the following files:

adb_fastboot.zip

Draco_ZS620KL_QMSCT_download.pdf

QDART_NEW.zip

Qdart_pass.txt

files_rom_qfil.zip

QPST_2.7.496.zip

WW_ZS620KL_80.30.96.111_MR2_20180921002943_release-user.raw.zip

asus_zenphone_usb_driver_win.zip

endpoint_edl.PNG

https://drive.google.com/drive/folders/1qto8yhNgfKdwSDFPpnLVBgnb3Hoq_NJy?usp=sharing

Extract the compressed files so that they are in their separate folders.

Enter the folder where the files extracted from the file "WW_ZS620KL_80.30.96.111_MR2_20180921002943_release-user.raw.zip" are located.

Within that folder, there are some files plus two folders which are "factory_for_QMSCT" and "firmware". During the attempts I made, I came across missing file errors detected by QDART, to avoid this, I put all files in one folder. Then, cut all the files from the root folder where you extracted the file "WW_ZS620KL_80.30.96.111_MR2_20180921002943_release-user.raw.zip" and paste into the "firmware" folder, when copying to that folder you will need to replace some files that are already there . Also cut the files from the "factory_for_QMSCT" folder and paste them into "firmware" as well. It is important to say that not all files will be used during the procedure by QDART, but to avoid interruptions during the procedure, as I did, I decided to join the files in a single folder.

Now, extract the file "files_rom_qfil.zip" also into the "firmware" folder and replace possible duplicate files if necessary. At this point, we have all the files available in the "firmware" folder.

Extract and install QPST. When using QDART, it searches for saharaserver inside the "C: \ Program Files" folder, however QPST is installed by default inside "C: \ Program Files (x86)". To resolve this, after installing QPST, copy the "Qualcomm" folder in "C: \ Program Files (x86)" to "C: \ Program Files".

Now restart the computer so that the system does not enforce the driver signature. This is necessary for installing QDART. I am not going to tell you how to disable the imposition of Windows drivers here or it will be very extensive, but it is easily found on Google.

After restarting and disabling driver imposition, install QDART as explained in the Draco_ZS620KL_QMSCT_download.pdf file.

The QDART installer is responsible for installing the USB QDLoader drivers.

After the installation is finished, we will put the device in EDL mode. Some people use special cables for this, however, as I was in a hurry I couldn't use a cable of this type, so I had to open the device. "I cried at that moment :(". I also shared an image (endpoint_edl.PNG) that displays two points next to the flat cable. Open the Windows device manager and insert the USB cable into the computer; if when inserting your device in the computer's usb port no hardware is detected, it will be necessary to force the device to enter EDL mode. To leave the device in EDL mode, use forceps or something that conducts energy and insert in these two points in order to close a circuit, if you already have the device connected to the computer by usb, holding the forceps in these two points, press and follow the device's power button for at least twenty seconds. After that the hardware sound detected in the windows should play. As the drivers have already been installed by QDART, the device must already be identified as USB QDLoader.

To find out if everything is right, run the saharaserver. From the folder "C: \ Program Files \ Qualcomm \ QPST \ bin", open the file "QPSTConfig.exe" and see if the device is identified in that application, if yes, you can close the application. Now, let's run QMSCT. It is located in the "C: \ Program Files (x86) \ Qualcomm \ QDART \ bin" directory. It may be that in the first execution an error message appears, just press the "OK" button and then you will be asked to restart the application, you can proceed with the restart.

We can proceed by following the steps described in the "Draco_ZS620KL_QMSCT_download.pdf" file. The only difference is where the files will be located, because our files are all within the "firmware" folder. Therefore, in the QMSCT configuration screen, the file "Draco_UFS_PROVISION_And_SW_download_FHLOADER.xtt" will be located inside the "firmware" folder and the "Binary Image Folder Path" option should also be pointed to the "firmware" folder. Taking this into account, the steps described in the .pdf are valid.

After proceeding with the procedure, QMSCT will display the message "PASS". It means that the procedure was successful and no files were missing. It is important to inform that in case of failure during the process due to communication problems with the COM port, it is necessary to close the QMSCT, remove the device from the computer's USB port, press the power button for a longer time than normal until it vibrates . That done, open the QMSCT, hold the ENDPOINTS with tweezers to leave EDL mode and with them closed, connect the device again to the USB port, so the QMSCT will identify you again and start the process again.

If there is no fault during the procedure, the device will still be off. Remove from the USB port and press the power button for a longer period than normal until it vibrates, then the device will have returned to the previous situation that left it on the fastboot screen. Detail that the imei remains intact as well as the bandwidth and wireless settings.

To get out of the continuous fastboot screen, I had to change slot a to slot b and install the twrp that is inside the compressed file "adb_fastboot.zip".

On the fastboot screen, connect the device again to the computer and install the asus usb driver that is in the file "asus_zenphone_usb_driver_win.zip".

Download a firmware file of your choice from the Asus website, I used the latest "UL-Z01R-WW-100.10.107.99-user.zip". After downloading, copy it to a memory card and install using twrp as described below.

Run the command prompt inside the folder containing the twrp and adb files, or browse to the folder using cmd. If using the PowerShell window for execution, errors will occur, use only cmd.

to change the slot and install twrp, run the commands:

fastboot set_active b

fastboot reboot bootloader

fastboot flash boot twrp-3.4.0-0-Z01RD.img

fastboot reboot

When the device restarts, press and hold the "vol -" button and twrp will be called. Click "install"> "select storage" and select the memory file just inserted with the firmware file downloaded from the Asus website, proceed with the installation until the end and use the option "reboot to system".