• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[RECOVERY][OFFICIAL] TWRP 3.4.x[Zenfone 5z (ZS620KL)]

Search This thread

jackeagle

Forum Moderator / Recognized Dev / Dev Relations
Staff member
Apr 11, 2013
3,413
9,141
XDA
twrp-xda-logo.png

Team Win Recovery Project (TWRP) is an open-source software custom recovery image for Android-based devices. It provides a touchscreen-enabled interface that allows users to install third-party firmware and back up the current system, functions often unsupported by stock recovery images. It is, therefore, often installed when rooting Android devices, although it isn't dependent on a device being rooted to be installed.


Notes for themers: In addition to the udpated theme, we have introduced a theme version variable to the TWRP theme system. If the theme version does not match the version that TWRP expects, TWRP will reject the custom theme and load its stock theme. This change will ensure that people who update TWRP without updating their theme will still have a workable recovery. We have removed libjpeg support. The stock theme was only using a jpeg image for the splash / curtain. This change means that any custom themes will no longer be able to use jpeg images. It also means that tools used to repack recovery images with a different curtain / splash will need to be updated to use the new method.

Version number notes: For a while we’ve been using a 4 digit version number and reserved the 4th digit for device-specific updates. For instance, we find and fix a device-specific issue like decryption of data on Nexus 5, we would release that as a 2.8.7.1. After a while, some people would start asking where 2.8.7.1 was for other devices. So, going forward we have decided to change the numbering scheme to 3.0.0-2, etc. Our hope is that this version numbering scheme will more clearly identify that the 4th digit does not indicate a version change for the code base.

We need your help! The bulk of TWRP work is done by 3 people on a volunteer basis. We have pushed most of our device files to our github and we have a gerrit instance. If you have the ability, please help us maintain our official devices and/or add your device to our official device list. Thanks in advance!

Flashing TWRP:
- Bootloader needs to be unlocked
- You need latest adb and fastboot
- Boot into bootloader
- Check the current active slot, change the slot to the other slot (if current active slot is = a then use b. If b, then use a)
- Switch slot by using fastboot set_active <a or b>
- Use fastboot reboot bootloader to check if right slot is selected.
- Flash the boot image by using fastboot flash boot boot.img
- Select recovery from bootloader

Note : Do not flash recovery to the slot where Stock Rom exists its not yet completely verified if you will be able to boot to stock when recovery is flashed.
Hence is why it is recommended in above steps to change slots so that stock remains unaltered.

What is working:
- Decryption of Data
- ADB
- Screen brightness settings
- Vibration on touch
- Correct screenshot color
- Active slot switching from TWRP
- MTP

DOWNLOAD:
TWRP Recovery Image for Zenfone 5z(ZS620KL) by jackeagle

Fastboot Flashing Code
Code:
[CENTER]fastboot flash boot boot.img[/CENTER]

SUPPORT:
Live support is available via #twrp on Freenode with your IRC client or just click this link.
If you like my work, donations are always welcome (but not mandatory). :)

XDA:DevDB Information
TWRP Recovery, Tool/Utility for the Asus Zenfone 5Z

Contributors
jackeagle, Rohan purohit
Source Code: https://github.com/LineageOS/android_kernel_asus_sdm845/


Version Information
Status: Stable
Current Stable Version: 3.4.0
Stable Release Date: 2019-04-26

Created 2018-10-01
Last Updated 2020-07-14
 

jackeagle

Forum Moderator / Recognized Dev / Dev Relations
Staff member
Apr 11, 2013
3,413
9,141
XDA
Steps to Install and Information

TWRP Recovery Downloads

TWRP 3.4.0 Q Image by jackeagle
TWRP 3.4.0 Installer by jackeagle


How To Install TWRP Recovery On Asus Zenfone 5z (ZS620KL)

Prerequisites: Unlocked bootloader (Refer to Asus Documentation on Unlocking Bootloader for further information)

Step 1:
Download TWRP Recovery onto your PC. Make sure you check the md5 to verify its integrity (where possible).

Step 2:
Place the file in your fastboot folder (this is where fastboot.exe is located on your PC).
Power off your phone then boot into the bootloader (power + volume up).

Step 3:
Check Active Slot in fastboot. This is very important and if its showing "a" you have to switch to slot "b" and vice versa.
To switch active slot using following command

Code:
    fastboot --set-active= <a/b>
then reboot to bootloader again to check if active slot is changed or not using following command

Code:
    fastboot reboot bootloader


Step 4:
Flash TWRP Recovery using following command

Code:
    fastboot flash boot boot.img


Step 5:
Press Volume keys and select Reboot to Recovery and Press and Hold Power button to reboot to recovery.
You will be successfully rebooted to TWRP Recovery! :)
Enjoy!

Warning: DO NOT SWITCH SLOTS USING TWRP SETTINGS FOR NOW! USE FASTBOOT METHOD ITSELF ELSE YOU WONT BE ABLE TO BOOT STOCK!
DO NOT FLASH PERMANENT TWRP ZIP ON STOCK KERNEL. IT WILL CAUSE TOUCH ISSUES DUE TO KERNEL DRIVERS.
 
Last edited:

jackeagle

Forum Moderator / Recognized Dev / Dev Relations
Staff member
Apr 11, 2013
3,413
9,141
XDA
Changelog




July 13 2020

  • Update to TWRP 3.4.0 Release
  • Merged with latest kernel changes
  • Misc fixes

29th Feb 2020

  • Fixed Migration and Higher versions of Gapps flashing
  • Update to Android 10 Kernel Release
  • Misc fixes

22nd Feb 2020
  • Updated to TWRP 3.3.1-10
  • Fixed Decryption for all (Stock and Custom Roms)
  • Added ability to flash Asus Stock OTA/firmware via TWRP
  • Fixed MTP
  • Update to Android 10 Kernel Release
  • Misc fixes

2nd August 2019

  • Updated to TWRP v3.3.1 Latest Release
  • Merged with latest changes from TWRP
  • Added support to flash persist img from TWRP
  • Fixed MTP
  • Updated TWRP Permanent Flash zip
  • Misc fixes

4th July 2019

  • Updated to TWRP v3.3.1 Latest Release
  • Merged with latest changes from TWRP
  • Remove /persist mounts
  • Updated TWRP Permanent Flash zip

4th June 2019


  • Added TWRP Permanent Flash zip

26th April 2019

  • Updated to TWRP v3.3.0 Latest Release
  • Added EDL Support ( Edl Mode is used to fully restore the bricked devices. For further information visit TWRP Website).
  • Removed DarkUI
  • Fixed few issues

24th Feb 2019

  • Updated with Latest TWRP Pie Recovery
  • Added Full Support for LOS16 Released here

20th Jan 2019

  • Updated with Latest TWRP Pie Recovery
  • Updated Blobs to Latest Asus Pie Release
  • Fixed few issues
  • Updates to TWRP UI with Dark Theme
  • Added Support for LineageOS-16 Flashing.
  • Backup / Restore Tested nd Working.
  • Fixed UI Lags

29th Dec 2018

  • Updated with Latest TWRP Pie Recovery
  • Updated Blobs to Latest Asus Pie Release
  • Fixed /data Decryption on Asus Pie
  • Revamped TWRP UI with Dark Theme
  • Fixed File Manager Bugs
  • Disabled MTP (Causes panic)

7th Nov 2018

  • Fixed Backup and Restore issue

6th Nov 2018

  • Fixed /data Decryption and Internal Storage Access!
  • Fixed TimeZone Selection bug
  • Updated to latest Asus Release!
  • Updated TWRP to Latest 9.0 Release.

2nd October 2018

  • Initial Release
 
Last edited:

jpg3927

Senior Member
Jan 29, 2012
821
1,921
Changwon
hello
first of all, thanks for your hard work.
btw, i have zenfone 5z japanese varient, and i tried this twrp, twrp boots and works
but when tried to back to stock one, my device got soft bricked
so i saw ur device tree and i think this brick occured by ww version's boot.img and settings (bootloader)

can you make other twrp with japanese varient's boot.img and settings?
thanks
 

jackeagle

Forum Moderator / Recognized Dev / Dev Relations
Staff member
Apr 11, 2013
3,413
9,141
XDA
hello
first of all, thanks for your hard work.
btw, i have zenfone 5z japanese varient, and i tried this twrp, twrp boots and works
but when tried to back to stock one, my device got soft bricked
so i saw ur device tree and i think this brick occured by ww version's boot.img and settings (bootloader)

can you make other twrp with japanese varient's boot.img and settings?
thanks

Hi,
Well the version added is latest release version. You didnt update it to latest version ?
 

Mister_Magister

Senior Member
Jun 3, 2013
1,201
1,268
Well im always getting bootloop after flashing this twrp. Steps:
>be on slot a
>set_active b
>flash boot boot.img
>set_active a
>boot
>boots and all working fine
>set_active b
>boot into recovery
>it booted twrp everything is nice
>set_active a or change slot from twrp
>boot
>bootloop

Seems like booting twrp changes something so i can no longer boot.

Stock: WW__ZS620KL_80.10.8.54_MP_user_20180517175955_release
 

scanno

Senior Member
Mar 27, 2008
2,250
3,820
Arnhem
Redmi K20 Pro
Xiaomi Poco F3
Just be carefull with TWRP for now. I did not pull mine for nothing.

Verstuurd vanaf mijn ASUS_Z01RD met Tapatalk

---------- Post added at 08:01 PM ---------- Previous post was at 08:00 PM ----------

Where are the device specific sources?

Verstuurd vanaf mijn ASUS_Z01RD met Tapatalk
 
  • Like
Reactions: zain720

Mister_Magister

Senior Member
Jun 3, 2013
1,201
1,268
Just be carefull with TWRP for now. I did not pull mine for nothing.

Verstuurd vanaf mijn ASUS_Z01RD met Tapatalk

---------- Post added at 08:01 PM ---------- Previous post was at 08:00 PM ----------

Where are the device specific sources?

Verstuurd vanaf mijn ASUS_Z01RD met Tapatalk

I mean this device is useless as long as we dont have lineage anyway
 

Mister_Magister

Senior Member
Jun 3, 2013
1,201
1,268

Yashmishra

Senior Member
Aug 28, 2016
130
29
Regarding GSI

@scanno @jackeagle

Phhusson said that If we had Devs he can help them to fix issues in gsi. Since u two are the only Devs ,maybe work with phh once you have time?
 

Attachments

  • Screenshot_20181001-175310.jpg
    Screenshot_20181001-175310.jpg
    171.5 KB · Views: 599

jackeagle

Forum Moderator / Recognized Dev / Dev Relations
Staff member
Apr 11, 2013
3,413
9,141
XDA
Well im always getting bootloop after flashing this twrp. Steps:
>be on slot a
>set_active b
>flash boot boot.img
>set_active a
>boot
>boots and all working fine
>set_active b
>boot into recovery
>it booted twrp everything is nice
>set_active a or change slot from twrp
>boot
>bootloop

Seems like booting twrp changes something so i can no longer boot.

Stock: WW__ZS620KL_80.10.8.54_MP_user_20180517175955_release

Well this does seem something odd but then since i cannot reproduce it, its difficult for me to debug it.
As of now i tried it on my device nd yet all boots fine even after switching of slots. But let me tell you there is a bug related to TWRP switching slots since some devices they have reported that switching slots does cause bootloops when its done from recovery but since i have never faced it i cannot say with full surety!
 

Top Liked Posts

  • There are no posts matching your filters.
  • 36
    twrp-xda-logo.png

    Team Win Recovery Project (TWRP) is an open-source software custom recovery image for Android-based devices. It provides a touchscreen-enabled interface that allows users to install third-party firmware and back up the current system, functions often unsupported by stock recovery images. It is, therefore, often installed when rooting Android devices, although it isn't dependent on a device being rooted to be installed.


    Notes for themers: In addition to the udpated theme, we have introduced a theme version variable to the TWRP theme system. If the theme version does not match the version that TWRP expects, TWRP will reject the custom theme and load its stock theme. This change will ensure that people who update TWRP without updating their theme will still have a workable recovery. We have removed libjpeg support. The stock theme was only using a jpeg image for the splash / curtain. This change means that any custom themes will no longer be able to use jpeg images. It also means that tools used to repack recovery images with a different curtain / splash will need to be updated to use the new method.

    Version number notes: For a while we’ve been using a 4 digit version number and reserved the 4th digit for device-specific updates. For instance, we find and fix a device-specific issue like decryption of data on Nexus 5, we would release that as a 2.8.7.1. After a while, some people would start asking where 2.8.7.1 was for other devices. So, going forward we have decided to change the numbering scheme to 3.0.0-2, etc. Our hope is that this version numbering scheme will more clearly identify that the 4th digit does not indicate a version change for the code base.

    We need your help! The bulk of TWRP work is done by 3 people on a volunteer basis. We have pushed most of our device files to our github and we have a gerrit instance. If you have the ability, please help us maintain our official devices and/or add your device to our official device list. Thanks in advance!

    Flashing TWRP:
    - Bootloader needs to be unlocked
    - You need latest adb and fastboot
    - Boot into bootloader
    - Check the current active slot, change the slot to the other slot (if current active slot is = a then use b. If b, then use a)
    - Switch slot by using fastboot set_active <a or b>
    - Use fastboot reboot bootloader to check if right slot is selected.
    - Flash the boot image by using fastboot flash boot boot.img
    - Select recovery from bootloader

    Note : Do not flash recovery to the slot where Stock Rom exists its not yet completely verified if you will be able to boot to stock when recovery is flashed.
    Hence is why it is recommended in above steps to change slots so that stock remains unaltered.

    What is working:
    - Decryption of Data
    - ADB
    - Screen brightness settings
    - Vibration on touch
    - Correct screenshot color
    - Active slot switching from TWRP
    - MTP

    DOWNLOAD:
    TWRP Recovery Image for Zenfone 5z(ZS620KL) by jackeagle

    Fastboot Flashing Code
    Code:
    [CENTER]fastboot flash boot boot.img[/CENTER]

    SUPPORT:
    Live support is available via #twrp on Freenode with your IRC client or just click this link.
    If you like my work, donations are always welcome (but not mandatory). :)

    XDA:DevDB Information
    TWRP Recovery, Tool/Utility for the Asus Zenfone 5Z

    Contributors
    jackeagle, Rohan purohit
    Source Code: https://github.com/LineageOS/android_kernel_asus_sdm845/


    Version Information
    Status: Stable
    Current Stable Version: 3.4.0
    Stable Release Date: 2019-04-26

    Created 2018-10-01
    Last Updated 2020-07-14
    22
    Hi, thanks for recovery will you also try to port lineage or some other custom rom? We really need working device tree

    There are plans for Lineage Development but it all depends on time availability! But yes its in process :)
    15
    The 5z turns out to be a headache to develop for.

    Once the problems are solved that we are facing, custom roms will eventually come.

    Just hope that Asus will release a 9.0 ROM soon.

    Verstuurd vanaf mijn ASUS_Z01RD met Tapatalk
    13
    Steps to Install and Information

    TWRP Recovery Downloads

    TWRP 3.4.0 Q Image by jackeagle
    TWRP 3.4.0 Installer by jackeagle


    How To Install TWRP Recovery On Asus Zenfone 5z (ZS620KL)

    Prerequisites: Unlocked bootloader (Refer to Asus Documentation on Unlocking Bootloader for further information)

    Step 1:
    Download TWRP Recovery onto your PC. Make sure you check the md5 to verify its integrity (where possible).

    Step 2:
    Place the file in your fastboot folder (this is where fastboot.exe is located on your PC).
    Power off your phone then boot into the bootloader (power + volume up).

    Step 3:
    Check Active Slot in fastboot. This is very important and if its showing "a" you have to switch to slot "b" and vice versa.
    To switch active slot using following command

    Code:
        fastboot --set-active= <a/b>
    then reboot to bootloader again to check if active slot is changed or not using following command

    Code:
        fastboot reboot bootloader


    Step 4:
    Flash TWRP Recovery using following command

    Code:
        fastboot flash boot boot.img


    Step 5:
    Press Volume keys and select Reboot to Recovery and Press and Hold Power button to reboot to recovery.
    You will be successfully rebooted to TWRP Recovery! :)
    Enjoy!

    Warning: DO NOT SWITCH SLOTS USING TWRP SETTINGS FOR NOW! USE FASTBOOT METHOD ITSELF ELSE YOU WONT BE ABLE TO BOOT STOCK!
    DO NOT FLASH PERMANENT TWRP ZIP ON STOCK KERNEL. IT WILL CAUSE TOUCH ISSUES DUE TO KERNEL DRIVERS.
    11
    Changelog




    July 13 2020

    • Update to TWRP 3.4.0 Release
    • Merged with latest kernel changes
    • Misc fixes

    29th Feb 2020

    • Fixed Migration and Higher versions of Gapps flashing
    • Update to Android 10 Kernel Release
    • Misc fixes

    22nd Feb 2020
    • Updated to TWRP 3.3.1-10
    • Fixed Decryption for all (Stock and Custom Roms)
    • Added ability to flash Asus Stock OTA/firmware via TWRP
    • Fixed MTP
    • Update to Android 10 Kernel Release
    • Misc fixes

    2nd August 2019

    • Updated to TWRP v3.3.1 Latest Release
    • Merged with latest changes from TWRP
    • Added support to flash persist img from TWRP
    • Fixed MTP
    • Updated TWRP Permanent Flash zip
    • Misc fixes

    4th July 2019

    • Updated to TWRP v3.3.1 Latest Release
    • Merged with latest changes from TWRP
    • Remove /persist mounts
    • Updated TWRP Permanent Flash zip

    4th June 2019


    • Added TWRP Permanent Flash zip

    26th April 2019

    • Updated to TWRP v3.3.0 Latest Release
    • Added EDL Support ( Edl Mode is used to fully restore the bricked devices. For further information visit TWRP Website).
    • Removed DarkUI
    • Fixed few issues

    24th Feb 2019

    • Updated with Latest TWRP Pie Recovery
    • Added Full Support for LOS16 Released here

    20th Jan 2019

    • Updated with Latest TWRP Pie Recovery
    • Updated Blobs to Latest Asus Pie Release
    • Fixed few issues
    • Updates to TWRP UI with Dark Theme
    • Added Support for LineageOS-16 Flashing.
    • Backup / Restore Tested nd Working.
    • Fixed UI Lags

    29th Dec 2018

    • Updated with Latest TWRP Pie Recovery
    • Updated Blobs to Latest Asus Pie Release
    • Fixed /data Decryption on Asus Pie
    • Revamped TWRP UI with Dark Theme
    • Fixed File Manager Bugs
    • Disabled MTP (Causes panic)

    7th Nov 2018

    • Fixed Backup and Restore issue

    6th Nov 2018

    • Fixed /data Decryption and Internal Storage Access!
    • Fixed TimeZone Selection bug
    • Updated to latest Asus Release!
    • Updated TWRP to Latest 9.0 Release.

    2nd October 2018

    • Initial Release