FORUMS
Remove All Ads from XDA

[GUIDE][ZS620KL][Update 07.01.2019] 5Z How to unlock root up/downgrade and unbrick

136 posts
Thanks Meter: 63
 
By isthisadagger, Senior Member on 13th July 2018, 11:59 AM
Post Reply Email Thread
Warning - USE THIS GUIDE AT YOUR OWN RISK. I AM NOT RESPONSIBLE IF YOU END UP BRICKING YOUR DEVICE.

[Update 07.01.2019] Added more current raw image for ZS620KL WW 80.30.96.111
[Update 25.10.2018] Added raw image for ZS621KL.
[Update 09.08.2018] Updated for 80.11.37.95 and future versions.
[Update 20.07.2018] I was able to root FW 80.11.37.86 with Magisk Manager 5.8.3 so you are no longer locked to FW 80.11.37.69 and do not have to downgrade.

This guide is split into two sections: rooting and downgrade/unbrick.
Each section is split into a quick how to for experienced users and a more detailed guide.

General info:
The most current firmware as of 20.07.18 is 80.11.37.86. Newer versions will work too!
This guide is written for firmware 80.11.37.86. If you do not want to upgrade/downgrade to 80.11.37.86 you will need to use the firmware (zip file from ASUS) you are on in all the steps.
If you upgrade your firmware to a newer version AFTER rooting it you will lose root! You will need to patch the boot.img of the new firmware again > follow the rooting guide.
I have only tested this on my ZS620KL Z01RD WW version. It should work on other variants JP/RU.
Magisk hide is working and Safetynet check passes.

Bugs/problems:
Unlocking the bootloader will void your warranty! Currently there is no method known to relock it!
You will get a warning message about your unlocked bootloader at every boot.
You will no longer receive OTA updates but you can download the new firmwares directly from Asus.
You will get a warning message about an internal problem every boot. Which you can disable if you do not need write access to the vendor partition.
> see rooting guide 10.

[Downloads]
for rooting
The latest and official platform tools (adb/fastboot) directly from google.
https://dl.google.com/android/reposi...st-windows.zip

Payload_dumper to extract the boot.img from the firmware:
https://androidfilehost.com/?fid=818070582850510260

Magisk Manager:
https://forum.xda-developers.com/app...mless-t3473445

The bootloader unlock app and the 80.11.37.86 firmware for your device (WW/RU/JP) from ASUS:
https://www.asus.com/Phone/ZenFone-5...Desk_Download/

for downgrade/unbrick
raw firmware (ZS620KL WW):
WW 80.10.8.54
https://drive.google.com/file/d/1ogb...w?usp=drivesdk

WW 80.30.96.111
https://drive.google.com/file/d/16Og...XPOrg_7q9/view
Confirmed working by amscova.

raw firmware (ZS621KL):
https://addrom.com/raw-rom-unbrick-f...ne-5z-zs621kl/
Confirmed working by B Nath.

[Rooting how to]
  1. Upgrade to firmware 80.11.37.86 and enable usb debugging.
  2. Unlock your bootloader with the app.
  3. Extract boot.img from firmware using payload_dumper.
  4. Patch boot.img with magisk manager.
  5. fastboot flash boot patched_boot.img.
  6. Enjoy root.

[Rooting guide]
You can root any firmware from 80.11.37.86 up with this guide. To upgrade to a newer firmware version copy the zip file (e.g. UL-Z01R-WW-80.11.37.86-user.zip) you downloaded from Asus
to the root of your phones internal memory and reboot or unplug your usb cable.
You will get an update found notification. Start the update. To downgrade check the downgrade guide below.
  1. Enable usb debugging in System > Developer options. If you can not see System > Developer options go to System > About phone > Software information > Build number and tap it multiple times.
    This will make the Developer options visible.
    WARNING! Upgrading to some firmwares disables usb debugging and you need to enable it again.
  2. Make a backup of all the data you do not want to lose.
  3. Download the platform tools and extract them into a folder (i will use c:\5z\ in this guide) this will create a subfolder platform-tools.
    You need a current fastboot version for this to work (due to a/b slots/partitions), so please use the current platformtools!
  4. Download the bootloader unlock app, extract the UnlockTool_9.1.0.3_180621_fulldpi_Draco_GDPR.apk and copy it to your phone.
    Use a filemanager on your phone to install it and follow the on screen instructions to unlock the bootloader.
    WARNING! You will lose your warranty and all data on the phone so backup beforehand. You will see the first warning message at boot after this. There is currently no method know to relock the bootloader.
  5. Download payload_dumper and extract it to c:\5z\. A payload_dumper-win64 folder will be created.
  6. Download the firmware zip of the version you have on your phone and extract payload.bin from the zip to c:\5z\payload_dumper-win64\payload_input\ folder.
  7. Start c:\5z\payload_dumper-win64\payload_dumper.exe and let it finish. Now copy the c:\5z\payload_dumper-win64\payload_output\boot.img to your phone (i will use the download folder).
  8. Download Magisk Manager, copy the apk to your phone and use a filemanager on your phone to install it. Start the app and update it if you are asked.
    When you are asked if you want to install Magisk > install. Select Method > Patch Boot Image File. Now select the boot.img in the download folder and let it finish patching.
    Copy the patched_boot.img from the MagiskManager folder on your phone to c:\5z\platform-tools\
  9. Start your phone in fastboot mode. To do that press and hold "power+volume up" to switch it on until you see the fastboot menu. If you are having trouble getting there,
    it helps to release the power button first then the volume up when you see the menu.
    Now connect the phone to your computer with the original usb cable. Open a command line with admin privileges and excute the following commands:

    To switch to the fastboot dir:
    Code:
    cd c:\5z\platform-tools\
    To check if your phone has been found:
    Code:
    fastboot devices
    You should see the serial number of your phone.

    Now flashing the patched boot image:
    Code:
    fastboot flash boot patched_boot.img
    The output should look something like this:
    target reported max download size of 268435456 bytes
    sending 'boot' (18724 KB)...
    OKAY [ 0.620s]
    writing 'boot_a'...
    OKAY [ 0.133s]
    finished. total time: 0.756s

    And the reboot:
    Code:
    fastboot reboot
  10. Your phone should be booting now and you will see the second warning message "There is an internal problem with your device...".
    If you want to get rid of that warning and do not need write access to your vendor partition (you most likely do not):
    Open Magisk Manager and in the main screen press Uninstall > Restore Images to restore the images, check Preserve AVB 2.0/dm-verity checkbox in "Advanced Settings" on the main screen, then reinstall Magisk by pressing Install > direct install in the main screen.
  11. Should you be stuck in the Zenfone boot animation or something went wrong, you will need to follow the steps in the unbrick section.
    Otherwise your phone is rooted now. Enjoy.

[Downgrade/unbrick how to]
  1. Download and extract the raw firmware.
  2. With the phone in fastboot mode execute flashall_aft.cmd in the extraction folder.
  3. You are now downgraded/unbricked with firmware 80.10.8.54.
  4. Copy firmware version of your choice to internal sd card root and reboot/unplug usb cable to get "update notification".
  5. Start the update to selected firmware from the "update found" notification.
[Downgrade/unbrick guide]
If you need to downgrade the firmware or if you have somehow bricked your device you can try to flash a raw (full) image of the phone.
  1. Download and extract the raw firmware to c:\5z\raw.
    If the download link is no longer working google for WW__ZS620KL_80.10.8.54_MP_user_20180517175955_rele ase.zip and download it.
  2. Start your phone in fastboot mode. To do that press and hold "power+volume up" to switch it on until you see the fastboot menu. If you are having trouble getting there,
    it helps to release the power button first then the volume up when you see the menu.
    Now connect the phone to your computer with the original usb cable. Open a command line with admin privileges and excute the following commands:

    To switch to the fastboot dir:
    Code:
    cd c:\5z\raw
    To flash the raw image:
    Code:
    flashall_aft.cmd
    This will take a few minutes and the phone will reboot automatically. The first boot will take a little longer but your phone should now be unbricked and downgraded to 80.10.8.54.
  3. You can now go to the root section of the guide and upgrade to a more current firmware.

Thanks to Renaf2 for his ZE620KL guide, GSPD and amscova for providing the ZS620KL raw image links and B Nath for finding the ZS621KL raw image.
The Following 15 Users Say Thank You to isthisadagger For This Useful Post: [ View ] Gift isthisadagger Ad-Free
 
 
13th July 2018, 04:51 PM |#2  
Renaf2's Avatar
Senior Member
Flag Dijon, Cancale, On Earth, In Space
Thanks Meter: 225
 
More
Nice Theard

Thank You for your work
15th July 2018, 05:48 AM |#3  
Member
Thanks Meter: 5
 
More
Upgrade after rooting
Hello,after downgrade and rooting the phone with your method,it is posible to put in internal memory the last version of firmware(80.11.37.86) and upgrade the phone,or the phone remains blocked in the version of firmware(80.11.37.69) which we make downgrade and root?Thank you for your hard work.
15th July 2018, 06:33 AM |#4  
Account currently disabled
Flag Kuala Lumpur
Thanks Meter: 237
 
Donate to Me
More
Quote:
Originally Posted by isthisadagger

Warning - USE THIS GUIDE AT YOUR OWN RISK. I AM NOT RESPONSIBLE IF YOU END UP BRICKING YOUR DEVICE.

Process is too long. I am working on unofficial Unlock Tool so that we can retain the warranty.

For downgrading, there is a tool for that. For me, fastboot codes may mess up the system/cache partitions.

If anyone wanna test my unlocking tool, feel free to PM me via Telegram

MOD EDIT: LINK REMOVED
The distribution of social media links is no longer allowed on XDA. Please refer to the thread linked below:
Telegram and Whatsapp Channels - Going Forward
The Following 3 Users Say Thank You to Saktis_STi For This Useful Post: [ View ] Gift Saktis_STi Ad-Free
15th July 2018, 02:54 PM |#5  
isthisadagger's Avatar
OP Senior Member
Thanks Meter: 63
 
More
Quote:
Originally Posted by mihaitaiosub

Hello,after downgrade and rooting the phone with your method,it is posible to put in internal memory the last version of firmware(80.11.37.86) and upgrade the phone,or the phone remains blocked in the version of firmware(80.11.37.69) which we make downgrade and root?Thank you for your hard work.

Yes it is possible but you will lose root.
Patching the boot.img for 80.11.37.79 and 80.11.37.86 does not seem to work with this method.
16th July 2018, 03:30 AM |#6  
Member
Thanks Meter: 5
 
More
Quote:
Originally Posted by isthisadagger

Yes it is possible but you will lose root.
Patching the boot.img for 80.11.37.79 and 80.11.37.86 does not seem to work with this method.

And is not possible to root again whith method described on this thread?
16th July 2018, 03:59 AM |#7  
Account currently disabled
Flag Kuala Lumpur
Thanks Meter: 237
 
Donate to Me
More
Quote:
Originally Posted by mihaitaiosub

And is not possible to root again whith method described on this thread?

This is why we need TWRP.
The Following User Says Thank You to Saktis_STi For This Useful Post: [ View ] Gift Saktis_STi Ad-Free
20th July 2018, 12:06 PM |#8  
isthisadagger's Avatar
OP Senior Member
Thanks Meter: 63
 
More
Quote:
Originally Posted by mihaitaiosub

And is not possible to root again whith method described on this thread?

It is possible with Magisk Manager 5.8.3.
The Following User Says Thank You to isthisadagger For This Useful Post: [ View ] Gift isthisadagger Ad-Free
20th July 2018, 06:06 PM |#9  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by isthisadagger

Warning - USE THIS GUIDE AT YOUR OWN RISK. I AM NOT RESPONSIBLE IF YOU END UP BRICKING YOUR DEVICE.

[Update 20.07.2018] I was able to root FW 80.11.37.86 with Magisk Manager 5.8.3 so you are no longer locked to FW 80.11.37.69 and do not have to downgrade.

This guide is split into two sections: rooting and downgrade/unbrick.
Each section is split into a quick how to for experienced users and a more detailed guide.

General info:
The most current firmware as iof 20.07.18 is 80.11.37.86.
I have only tested this on my ZS620KL Z01RD WW version. It should work on other variants JP/RU.
This guide is written for firmware 80.11.37.86. If you do not want to upgrade to 80.11.37.86 you will need to use the firmware you are on in all the steps.
Magisk hide is working and Safetynet check passes.

Bugs/problems:
Unlocking the bootloader will void your warranty!
You will get a warning message about your unlocked bootloader at every boot.
You will get a warning message about an internal problem every boot. Which you can disable if you do not need write access to the vendor partition.
> see rooting guide 10.

[Downloads]
for rooting
The latest and official platform tools (adb/fastboot) directly from google.
https://dl.google.com/android/reposi...st-windows.zip

Payload_dumper to extract the boot.img from the firmware:
https://androidfilehost.com/?fid=818070582850510260

Magisk Manager:
https://forum.xda-developers.com/app...mless-t3473445

The bootloader unlock app and the 80.11.37.86 firmware for your device (WW/RU/JP) from ASUS:
https://www.asus.com/Phone/ZenFone-5...Desk_Download/

for downgrade/unbrick
raw firmware:
https://drive.google.com/file/d/1ogb...w?usp=drivesdk

[Rooting how to]

  1. Upgrade to firmware 80.11.37.86 and enable usb debugging.
  2. Unlock your bootloader with the app.
  3. Extract boot.img from firmware using payload_dumper.
  4. Patch boot.img with magisk manager.
  5. fastboot flash boot patched_boot.img.
  6. Enjoy root.

[Rooting guide]
You can root any firmware up to 80.11.37.86 with this guide. To upgrade to a newer firmware version copy the zip file (e.g. UL-Z01R-WW-80.11.37.86-user.zip) you downloaded from Asus
to the root of your phones internal memory and reboot or unplug your usb cable.
You will get an update found notification. Start the update. To downgrade check the downgrade guide below.
  1. Enable usb debugging in System > Developer options. If you can not see System > Developer options go to System > About phone > Software information > Build number and tap it multiple times.
    This will make the Developer options visible.
    WARNING! Upgrading to some firmwares disables usb debugging and you need to enable it again.
  2. Make a backup of all the data you do not want to lose.
  3. Download the platform tools and extract them into a folder (i will use c:\5z\ in this guide) this will create a subfolder platform-tools.
    You need a current fastboot version for this to work (due to a/b slots/partitions), so please use the current platformtools!
  4. Download the bootloader unlock app, extract the UnlockTool_9.1.0.3_180621_fulldpi_Draco_GDPR.apk and copy it to your phone.
    Use a filemanager on your phone to install it and follow the on screen instructions to unlock the bootloader.
    WARNING! You will lose your warranty and all data on the phone so backup beforehand. You will see the first warning message at boot after this.
  5. Download payload_dumper and extract it to c:\5z\. A payload_dumper-win64 folder will be created.
  6. Download the firmware zip of the version you have on your phone and extract payload.bin from the zip to c:\5z\payload_dumper-win64\payload_input\ folder.
  7. Start c:\5z\payload_dumper-win64\payload_dumper.exe and let it finish. Now copy the c:\5z\payload_dumper-win64\payload_output\boot.img to your phone (i will use the download folder).
  8. Download Magisk Manager, copy the apk to your phone and use a filemanager on your phone to install it. Start the app and update it if you are asked.
    When you are asked if you want to install Magisk > install. Select Method > Patch Boot Image File. Now select the boot.img in the download folder and let it finish patching.
    Copy the patched_boot.img from the MagiskManager folder on your phone to c:\5z\platform-tools\
  9. Start your phone in fastboot mode. To do that press and hold "power+volume up" to switch it on until you see the fastboot menu. If you are having trouble getting there,
    it helps to release the power button first then the volume up when you see the menu.
    Now connect the phone to your computer with the original usb cable. Open a command line with admin privileges and excute the following commands:

    To switch to the fastboot dir:
    Code:
    cd c:\5z\platform-tools\
    To check if your phone has been found:
    Code:
    fastboot devices
    You should see the serial number of your phone.

    Now flashing the patched boot image:
    Code:
    fastboot flash boot patched_boot.img
    The output should look something like this:
    target reported max download size of 268435456 bytes
    sending 'boot' (18724 KB)...
    OKAY [ 0.620s]
    writing 'boot_a'...
    OKAY [ 0.133s]
    finished. total time: 0.756s

    And the reboot:
    Code:
    fastboot reboot
  10. Your phone should be booting now and you will see the second warning message "There is an internal problem with your device...".
    If you want to get rid of that warning and do not need write access to your vendor partition (you most likely do not):
    Open Magisk Manager and in the main screen press Uninstall > Restore Images to restore the images, check Preserve AVB 2.0/dm-verity checkbox in "Advanced Settings" on the main screen, then reinstall Magisk by pressing Install > direct install in the main screen.
  11. Should you be stuck in the Zenfone boot animation or something went wrong, you will need to follow the steps in the unbrick section.
    Otherwise your phone is rooted now. Enjoy.

[Downgrade/unbrick how to]
  1. Download and extract the raw firmware.
  2. With the phone in fastboot mode execute flashall_aft.cmd in the extraction folder.
  3. You are now downgraded/unbricked with firmware 80.10.8.54.
  4. Copy firmware version of your choice to internal sd card root and reboot/unplug usb cable to get "update notification".
  5. Start the update to selected firmware from the "update found" notification.
[Downgrade/unbrick guide]
If you need to downgrade the firmware or if you have somehow bricked your device you can try to flash a raw (full) image of the phone.
  1. Download and extract the raw firmware to c:\5z\raw.
    If the download link is no longer working google for WW__ZS620KL_80.10.8.54_MP_user_20180517175955_rele ase.zip and download it.
  2. Start your phone in fastboot mode. To do that press and hold "power+volume up" to switch it on until you see the fastboot menu. If you are having trouble getting there,
    it helps to release the power button first then the volume up when you see the menu.
    Now connect the phone to your computer with the original usb cable. Open a command line with admin privileges and excute the following commands:

    To switch to the fastboot dir:
    Code:
    cd c:\5z\raw
    To flash the raw image:
    Code:
    patchall_aft.cmd
    This will take a few minutes and the phone will reboot automatically. The first boot will take a little longer but your phone should now be unbricked and downgraded to 80.10.8.54.
  3. You can now go to the root section of the guide and upgrade to a more current firmware.

Thanks to Renaf2 for his ZE620KL guide and GSPD for providing the raw image name.

Does unbricking lock the bootloader back since we will be flashing a raw a file.
21st July 2018, 01:03 AM |#10  
Member
Thanks Meter: 5
 
More
With Magisk Manager 5.8.3 the whole guide works like a charm

THX
The Following User Says Thank You to Buffydamion For This Useful Post: [ View ] Gift Buffydamion Ad-Free
21st July 2018, 01:56 AM |#11  
Junior Member
Thanks Meter: 0
 
More
My Zenfone 5z isn't being detected in fastboot mode, kindly help with correct driver softwares, my PC is running on Windows 10
Update : I got my phone to detect in fastboot
Post Reply Subscribe to Thread

Tags
downgrade, root, unbrick, zs620kl

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes