yashsingh1/xdaforums huggingface dataset:
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] jackeagle:
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
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] Mister_Magister:
Hi, thanks for recovery will you also try to port lineage or some other custom rom? We really need working device tree
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] Preet_:
Thank you!
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] ajbash007:
Its good to see the devlopment on this device. I would love to see the development on this device. Its the competitor of one plus 6. And it should compete with one plus 6 in various development as well.
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] vinayakjoshivj:
This is awesome, i think soon we can see some custom Roms for this device
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] jackeagle:
There are plans for Lineage Development but it all depends on time availability! But yes its in process :)
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] Mister_Magister:
Will you also share sources? I need lineage to start porting SailfishOS
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] jpg3927:
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
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] jackeagle:
Hi,

Well the version added is latest release version. You didnt update it to latest version ?
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] jpg3927:
japanese varient didn't release 80.30.96.111 yet :( i'm on 80.30.96.80
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] Mister_Magister:
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
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] scanno:
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
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] Mister_Magister:
I mean this device is useless as long as we dont have lineage anyway
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] scanno:
Don't agree on that one [emoji16]. But hey if some more people are developing, perhaps we can join efforts.

Getting a good kernel and a good device tree is good for any room wether it is Omni or los.
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] Mister_Magister:
well here are https://github.com/Jackeagle/twrp_device_asus_z01r Jackeagle sources

here is me trying pointlessly to convert your device tree to build lineage https://github.com/VerdandiTeam/android_device_asus_ZS620KL
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] Yashmishra:
Regarding GSI

[MENTION=905572]scanno[/MENTION] [MENTION=5216756]jackeagle[/MENTION]

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?
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] Yashmishra:
It's great to see 5Z finally getting some attention.
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] jackeagle:
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!
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] AryanAA:
After booting to twrp, go to reboot and change the slot to the one where you have your rom and then flash the required zips.
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] amscova:
Thanks! Probably could have found the answer somewhere here but you saved me the trouble. It worked. Now I can do everything just fine.
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] AryanAA:
Happy Rooting :)
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] DarkAlpha.Sete:
Could you somehow make this work official, so it can be seen in TWRP's page?

It'd be great to have TWRP officially.
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] jackeagle:
Already working on it :)
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] czghzh:
我看不懂英文
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] Ryder.:
How or where can i get stock recovery for zenfone 5z?
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] tigo100:
just flash the stock boot.img in fastboot mode, the same as your android version, from this thread https://xdaforums.com/zenfone-5z/how-to/zs620kl-fota-update-links-update-20-08-t3831794
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] Nazri786:
Hi will this work on zenfone 5 ze620kl?
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] hamzasr:
No.

Please search for TWRP in Zenfone 5 forum, this is for 5Z
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] jackeagle:
Hey Guys!

New TWRP Pie Recovery build is UP!

Download : TWRP v3.3.0

Steps to install : Refer Post #2

Changelog : Refer Post #3

Enjoy!
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] hamzasr:
You are awesome.!!
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] Jesus David Otero:
I cant flash magisk in my active slot

Hi men

I don´t know use your twrp :'v

when i change mi current slot for acces to recovery mode is all normal i can be in TWRP

but, when i wanna flash some zip, i change mi active slot to where my system is, for make the flash.

and the zip flashes in slot where the recovery is.
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] jackeagle:
A/B Partition scheme has always been a confusion. it all sums up on how zip is like if there is zip that is done for AB scheme then it follows same rules that when u flash from current slot it installs it on inactive slot. however there are still some zips that flash to current slot itself and basic example for that is Gapps used to flash with LOS. hence it all depends on type of zip u flash :)
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] developer01:
is there a way to make the Viper4android module work ?? in magisk coz its not working at alll and i unlocked the bootloader of my device just coz of that :{

plz help :{
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] Ryder.:
So if i flash twrp in the way explained here i'll have the stock recovery in a partition and the twrp in the other one? Can i update with firmware from asus website then and install magisk in the inactive slot keeping it after the update? How this twrp installation works? It's my first device with a/b partitions. Sorry for stupid questions
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] Dillenger:
Yes, I think so. I have magisk/root on partition a and twrp on partition b. I rooted the firmware with magisk, installed that with adb/fastboot. That was flashed/installed on partition a. Then I flashed TWRP to partition b using adb/fastboot. I think this is the set-up or similar to what you are looking for. Follow this guide: https://xdaforums.com/zenfone-5z/how-to/guide-zenfone-5z-how-to-root-downgrade-t3815877, to root the lastest firmware with Magisk then follow the guide in this tread to install TWRP.

The a/b partition scheme is very strange to everyone at first. There are advantages and disadvantages of the style of set-up. The more you work with it, the better you will understand it. Hope this helps

-Dillenger

P.S. I think you could also install TWRP first, then flash Magisk through TWRP to the other partition, but I have not done it this way. Some flashable .zips act strange in a/b partitions.
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] jackeagle:
There is permanent TWRP zip which can be flashed with boot.img that enables you to use TWRP on any boot.img but its not yet fully tested hence i have not released yet.

if you all want i can release it :)
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] ajbash007:
test it and then release it.:laugh:
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] jackeagle:
Yes sir! :p :laugh:
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] hamzasr:
You can DM me the link. I will test it and revert.
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] jackeagle:
Hey Guys!

TWRP Permanent Flash zip is up

Download : TWRP v3.3.0

Steps to install : Refer Post #2

Changelog : Refer Post #3

Enjoy!

Beware that do not flash this with Stock Rom as Touch screen fails with Stock kernels this is because of Touch drivers. Hence do not flash it. Only flash with GSI or LOS.

Tested on LOS and GSI without any issues. :D

Feel free to post if any bugs found. :)
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] acelover:
This means now i can have gsi and twrp on same partition?
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] jackeagle:
Yup you can have :) Flash style remains same though :)
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] ajbash007:
if the flash system remains the same where you have change the active slot before flashing twrp. then how can it be on the same slot with gsi
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] rafyvitto:
Ive always had gsi and twrp in the same slot.... o0
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] LeonardoLimaMH:
Switch slot command is not working

Mod edit: Quoted OP removed as unnecessary.

Switch command is not working, I tried this command and the "fastboot set_active <a | b>

and even fastboot set_active <a / b>

and all of them, do not work, does nothing...
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] jackeagle:
if you copy paste OP command it wont work you have to select which slot u want set whether it is a or b and add that appropriately

for example

If you want to switch slot to A then use this command

fastboot --set-active=a

if you want to switch slot to B then use this command

fastboot --set-active=b

:)
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] LeonardoLimaMH:
Sorry but, when i use your code it says "unknown option --set-active=a"

My active slot is "b", i tried to use the "a" to install the recovery, but it not changes.

I have another question, there is no other way to install the recovery?
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] jackeagle:
Then there is some problem with fastboot binary you are using since I do that almost regularly without issues. You are using latest fastboot binary or old one ? :)
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] LeonardoLimaMH:
I don't know, but I will download again ?

There's a new issue…

Yesterday I tried to install the TWRP, but the slot was b like I said before.

But today I was reinstalling magisk again and the slot, automatically changed to a.

When I entered in the fastboot it was on a again.

Now I'm more confused with this smartphone.

I must install the TWRP in the a or b?

Or independently of what was on screen, I do must change the slot?

Thanks for the patience
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] jackeagle:
That is real picture of A/B Scheme. When you flashed TWRP nd booted to TWRP it was still slot B but when u flashed Magisk or any zip for that matter except GAPPS it will automatically switch to another slot and set that has current one.

Let me explain you with example

If you are on slot A and booted to TWRP nd flashed zip which is AB Compatible then basically after flashing it will automatically set Slot B has default Slot nd it will boot into that slot keeping Slot A inactive. that is how flashing works in AB Partition so since TWRP is not compatible with stock you have to flash TWRP in different slot than stock but beware that whatever you flash on TWRP will have changes effected on Stock (Diff slot) and there is nothing that can be done for that has that is how AB Scheme works :)
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] LeonardoLimaMH:
No man I do not installed the twrp yet, because I don't know which slot I put it.

In the a or b ??

I'm totally a noob in this.

I'll really appreciate your help

I understood most of things you commented, but not some.

I'm not a native speaker, so I have some difficulties to learn…

I installed the magisk in the slot A, when I reboot in the bootloader screen it stills apears the slot A active.

Even if I reboot right now in the bootloader, it will apears the slot A active.

I don't know which slot is the stock

So I could install TWRP in the slot A like magisk?

Or I must change to B before install?

Sorry for all this confusion I made

And thanks for everything
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] mlegend:
Device didn't boot up

I installed TWRP recovery in slot b and when my device was rebooted, it got stuck at boot animation??? not stable at all...

can we remove that recovery from fastboot slot b ?
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] Dillenger:
Install the previous version of TWRP on slot b: https://www.androidfilehost.com/?fid=1395089523397953604. Or, reinstall the latest Official Asus firmware, this will overwrite the recovery partitions of both a and b with the factory recovery.

[MENTION=5216756]jackeagle[/MENTION] the permanent TWRP does not play nicely with stock, it caused bootloop for me.

-Dillenger
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] Jesus David Otero:
Men, you must search "Minimal ADB Fastboot" and try make from this file
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] pvscz:
I have just tested on stock ROM 90.11.162.72, TWRP did not reacted to touch screen:

My active slot for system is a, my "original" TWRP in slot b.

I rebooted to bootloader (slot a), changed active slot to b, rebooted to bootloader (slot b) and restarted to recovery.

In my "original" TWRP I changed active slot back to a, and installed the file twrp-installer-3.3.0-0-Z01R.zip.

Then I rebooted to system to test, if I can reboot directly from system to recovery (without using ADB/fastboot on PC).

System booted ok, but not rooted (expectably). I resbooted to recovery (slot a).

"New" TWRP in the slot a started, but it did not react to touch screen. So I could not continue within the "new" TWRP. I had to flash previous boot (magisk_patched.bin) back.

If I did anything wrong, just let me know.
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] jackeagle:
Maybe you have not read OP. TWRP boot.img does not work with Stock it only works with GSI or LOS. That is why when using with stock u have to flash on different slot not on the slot you have stock installed.
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] jackeagle:
Ya you have done all steps perfectly correct :) The issue is that if you had flashed on stock kernel (Asus stock firmware) then touch wont work this is because stock kernel uses hardware key method for recovery and don't have touch drivers so we cant do anything about it. Hence updated OP with same kindly do not install zip on stock firmware of Asus
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] JuninhoCelular:
Hello everyone!! I'm with an Asus 5z 256gb and would like to know if someone has done this procedure in this model and it's working OK. I'm a little scared to try and would like to have one successful story about this. Thanks in advance! ??
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] pvscz:
Yes, I have the same model. It works - just follow the guidelines (and fully understand what means "A/B partition").
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] kgian2007:
Hello, do you have fm radio whith LOS?
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] pvscz:
I cannot tell you, I use stock ROM.

I have been using (maybe) all stock ROMs so far, and FM radio worked in all of them. FM radio is for me an Absolute MUST and I have not found any other limitations to my way-of-working incl. rooting (except of TWRP in the second slot and with that connected complications with rebooting to recovery), there is why I have not seen any real reason to test any custom ROM. But, all the other readers - please feel free to convince me for custom ROM. :))
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] jackeagle:
Hey Guys!

TWRP Permanent Flash zip is up

Download : Refer Post #3

Steps to install : Refer Post #2

Changelog : Refer Post #3

Enjoy!

Beware that do not flash this with Stock Rom as Touch screen fails with Stock kernels this is because of Touch drivers. Hence do not flash it. Only flash with LOS/Custom Roms or GSI.

:)
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] KromerX:
Thanks for new twrp.

Guys, I've spent about 4 hours trying to install any custom ROM with latest twrp above.

I've used xda Noob-Friendly guide that is pretty straightforward and clear.

But no matter what I've done, on a step when I should flash custom ROM, I have installer failed with Error 1 on step 2/2 saying there is an error in postinstaller.

I have the same problem at least for lineage and pixel experience.

I've done wipes with every possible combination after can't make instructions to work and end up with restoring factory firmware.

Can someone help me to understand what is wrong on my side?
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] AryanAA:
Firstly, tell your bootloader version and rom slot. Then share a summary of the procedure you followed. Then we might be able to help.
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] KromerX:
My bootloader version: 90.11.162.72

Procedure I followed (my active slot is a, inactive b): https://xdaforums.com/zenfone-5z/how-to/guide-custom-rom-flashing-guide-t3944849

I've used latest twrp and latest lineage and pixel experience builds.

I've tried adb sideload and adb push for loading and flashing firmware. Error is on on the same step, it feels like something wrong with storage/encryption. But I've wiped everything...
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] Dillenger:
I am not sure what is not working, but I had a lot of difficulty with this too. The biggest step that I missed was 'formatting internal storage' in the twrp advanced wipe. I was wiping the data partition, but that is not enough. Not sure if this is the same problem but make sure you format internal storage in twrp (before flashing ROM and then permanent twrp.

Hope this helps

Dillenger
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] stefanivan97:
Hi, I have a problem with starting the rom, I mean it seems like boot looping. I managed to flash twrp boot image and flash perma twrp following first an entitled "noob guide" as I found here on XDA and then i followed your guide. I think the problem of booting is because it shows error mounting storage and data but I dont know how to fully get a working rom. (By the way, I installed BlissROM)

---------- Post added at 02:13 PM ---------- Previous post was at 02:06 PM ----------

Lol now it is booting the rom, finally, I didnt installed Gapps, I dont understand this new system of different slots anymore, maybe I tried to erase data on the different slot? I dont know, now I got the stock recovery I dont know how, and I cant flash Gapps from there, I guess I.ll just refollow your steps
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] Dillenger:
I think the step you missed is formatting internal storage in twrp. Before installing the ROM and permanent twrp do an advanced wipe and format internal storage. Then install bliss & twrp. Reboot to recovery (should be other partition) and install gapps, magisk, other mods, etc.

-Dillenger
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] stefanivan97:
Well, you did helped me because as I remember I never selected Internal storage when I wiped, I havent flashed the file that never encrypt your data, I guess it is not a problem unless you dont want to clear internal storage when moving to another ROM, Im installing GApps and seems it is installing fine, and no error on mounting anything when I start TWRP or when it updates itself partition details. Its first time I unlock a phone that has slots and whatever other partition has. On my old Asus zenfone 2 laser was easier to do that, but thanks to your post and other treads around this community to help me unlock this SD845 too, really apreciatted!
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] razr003:
my question is that bro

if we wipe all internal storage

then how can we copy rom files again into our internal storage

our phones twrp doesnt support mtp mode in twrp

kindly tell me the exact steps please

thank you in advance
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] amscova:
Use external SD card to store zips and flash them in twrp by picking sd card in storage selection.
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] razr003:
is this the only work around ?

no other options?:confused:
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] amscova:
Haven't tried it myself but you could use an OTG cable and load your files from USB stick.
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] KromerX:
Has anyone tried adb push to load firmware zip on our device? Is that a good way to go without sd card using this version of twrp?
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] kcajith:
1) Can I flash this Twrp on stock rom?

2) Per steps mentioned on first page I will change the active slot and after twrp flash is it required to flash stock full zip?