yashsingh1/xdaforums huggingface dataset:
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] jackeagle:
Hey Guys!

TWRP-3.4.0 for Asus Zenfone 5z (Z01RD) is UP.

Download : TWRP 3.4.0 Q Image by jackeagle

TWRP 3.4.0 Installer by jackeagle

Steps to install : Refer Post #2

Changelog : Refer Post #3

Enjoy!
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] jackeagle:
Just an Announcement!

TWRP for Asus 5z (Z01RD) is now official :)

TWRP Official Page : Z01RD

TWRP Official Download : Z01RD

Enjoy! :D
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] Ryder.:
Nice?
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] vm5150:
Guide was wrong for factory fresh device figured out myself.
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] arjunvk:
Tell me how
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] aamirtlb:
Touch not working in twrp. Stuck in swipe to enable modification screen.
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] AryanAA:
1. Touch won't work if you have zenui on twrp slot.

2. Wait for 20-30 seconds, touch would start working. This issue came because Asus updated touch panel version in 87 update. Update both slots to 87 or higher to fix this issue.
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] outrage_uk:
Nope. No good for me. Tried for a good 5/6/7 hours...

Slot A - 100.10.107.92 (Q - used OS)

Slot B - 90.11.162.72 (P - unused)

Flashed vbmeta from stock P, stock Q, Evolution X Q, same result.

Bootloop x3 then reverts back to slot A and successfully loads stock os.
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] LAKSHMI SAINATH:
did u find any solution even im also facing the same issue...:crying::crying:
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] Ryder.:
Hi. I flashed twrp in stock rom slot. I'm encrypted. I booted the device. I also changed slot once with twrp. Now it asks every time password. Please help me. How to bypass password to use the phone? What password i have to type? Please help me. The only way to solve is factory reset?? If i have to do factory reset how can i avoid to wipe internal storage?
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] val1999:
the same problem remains at 110 vendor!

what's the stock zenui & what's on custom..

even when both slots have custom. updating the version to 110. did not help...

you have to wait 40-70 seconds...
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] ThE_MarD:
Heyyo, I have a new test build of TWRP up! twrp-3.5.2_10-0-test12-Z01RD includes upgrading to the android-10 branch of TWRP and support for File-Based Encryption.

Release twrp-10 twrp-3.5.2_10-0-test12-Z01RD - twrp-for-z01r - OSDN

Release twrp-10 twrp-3.5.2_10-0-test12-Z01RD - twrp-for-z01r #osdn

osdn.net
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] ThE_MarD:
Heyyo, a new test build of TWRP is going up! In twrp-3.5.2_10-0-test13-Z01RD we switched to source-built bootctrl as our prebuilt one from stock ROM was causing issues with vendor mount/dismount when doing ROM flashes or nandroid backup/restore and also resolves the kernel battery stats errors that popped up

Release twrp-10 twrp-3.5.2_10-0-test13-Z01RD - twrp-for-z01r - OSDN

Release twrp-10 twrp-3.5.2_10-0-test13-Z01RD - twrp-for-z01r #osdn

osdn.net
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] IroNick_nv:
Hello! Can I flash recovery to the Stock Rom now? I didn't understand.
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] jackeagle:
Heya always welcome for it! Since many hands make things lot faster always so i have no issues in having a collaboration development :)
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] Mister_Magister:
Well i think it wil work better when we get lineage. i cant wait for even basic lineage with gui audio rild and camera working so i can start porting SailfishOS for this device (thats my current and only point) so if you get something or anything i will be glad to help (im not android developer sadly)
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] scanno:
What have you done so far?

Here is the kernel i was working on https://github.com/scanno/android_kernel_asus_sdm845 it boots with GSI and TWRP.

Problem so far with the 5z is that Asus seems to use their own kernel logging. Kernel should be rebased on CAF and the Asus changes, needed for correct working need to be identified. Some are obvious, but the changes that are applied for the focaltech driver are not that clearly marked.

Anyway as of yet i did not manage to get a booting build out (also not based on the phhusson GSI). I lack the time to do this on my own. And was not able to get any pstore logging in TWRP when using my TWRP with my kernel with pstore enabled. I am overseeing something but lack the time to dive deep into this. So teaming up seems to be a good solution.
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] nicks.1106:
this is Shakalaca's Device tree for Asus ROG phone, sharing just in case if its useful

https://github.com/shakalaca/android_device_asus_Z01Q
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] jpg3927:
here is some solution

flash ur system.img from firmware after changing slot on twrp

or you need to change slot on only fastboot

i did it and it works

but idk how it happens
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] imkiller:
Very Good Work i hope some custom roms are on the way :)
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] sathishdhaya:
Custom rom

Please also make custom rom..
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] lokesh_007:
will 5z get custom roms as fast as one plus and pocophone f1 ?? planning to buy .. some one plzz reply to my question
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] zain720:
The dude just made a recovery and there are already a million questions about custom roms, maybe if you read what he said in the first page you would get your answer. Stop being so lazy and give him a break for god's sake.
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] scanno:
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
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] sad1968:
Hello, jackeagle.

Is there somewhere an a link for a patch note 2018-10-12 update. Is download link has been changed or its the same?
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] SBhavuk:
is it a treble support Recovery
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] wstephen:
Does this "boot.img" affect the Magisk "patched_boot.img" that did the rooting? Or, this TWRP may be flashed on top of the "patched_boot.img" so preserving the rooted condition of our Zenfone 5z?
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] Dillenger:
Our devices has an a/b partition scheem. So magisk/normal os is installed on either a or b (let's say it is a). TWRP would then be flashed to b. (Right now) You have to predetermine which partition will boot. The booting partitions can be changed with adb/fastboot commands. Once in TWRP, the a or b booting partition can be selected.

-Dillenger

P.S. I would not currently recommend flashing this version. If you phone is encrypted, this version is not much fun. Hopefully soon decryption will be solved. Then TWRP profit.
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] wstephen:
[MENTION=4524746]Dillenger[/MENTION], thankyou so much for the details of the progress, and yes it is still "encrypted" as stock.

Please take your time, and with all the best!

:o
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] jackeagle:
Regarding Encryption it seems Asus has its own implementation kinda weird one honestly that does not allow it to decrypt in normal form! ofc its known issue of TWRP too has it needs some hack around to make it work! Anyway its not worth time to do anything with 8.0 when pie will be out sooner or later :)
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] jackeagle:
Rather i would say flash it in fastboot :)
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] SBhavuk:
didn't get it
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] B Nath:
stuck in bootloop after changing slot to a. nothing seems to work, please help
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] wstephen:
Encryption & Decryption

Just out of curiosity for being noob, I hope you don't mind.

If I backup the userdata partition (currently encrypted) then after upgrading to Pie and has TWRP with decryption capability installed, what will happen if I make an attempt to recover the Oreo encrypted userdata partition?

Am I going to end up chaotic?:o
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] scanno:
Format data partition with fastboot

One of the reasons why I removed my TWRP. We can't make a stable TWRP yet without these kind of problems.
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] B Nath:
is there no other way as i dont want to lose my data(no backup) ? someone mentioned flashing system.img from the firmware, will that work?

Also how to remove twrp?
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] scanno:
You can always try to flash system image, but that will most likely not work.

I had to format my data partition already many times.

If you flashed TWRP on the slot that is not used, then you can leave it. It will be overwritten by the next update. You can also flash stock boot.img. That will overwrite TWRP.

Verstuurd vanaf mijn ASUS_Z01RD met Tapatalk
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] wstephen:
Hi anyone,

Just like to ask, if I backup the userdata partition (currently encrypted) then after upgrading to Pie and has TWRP with decryption capability installed, what will happen if I make an attempt to recover the Oreo encrypted userdata partition?

Am I going to end up chaotic?
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] vysakhnraju:
It's really sad to see such a great device having no support in the developer community. Looks like no one is working on this device yet. Thanks to you for at least showing an interest on this device. Please do keep us posted on any updates on the progress. Kudos.
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] AryanAA:
Don't worry, jackeagle and scanno are waiting for the pie update and hopefully Asus releases it soon so that we can get custom ROMs rolling too :)

I wish Asus released a beta version like other OEMs!
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] envyelric:
please explain thoroughly how to install TWRP step by step
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] Arju:
It's written in the first post.
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] envyelric:
I see but not enough for me

I'm rookies please help me
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] anadarco7:
You cannot flash now as it's too complicated to create a TWRP now with current 8.0 sources .Please wait till pie is released we will have a valid one step by step.
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] jackeagle:
New Build Released!

Hey Guys!

New TWRP Recovery build is UP!

Download : TWRP Release 2

Steps to install : Refer Post #2

Changelog : Refer Post #3

Enjoy!
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] kailashrs:
Uhh, why would you say that? This twrp is fully functional now...
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] jpg3927:
test result

hello i tested ur twrp

here is result

1. you can install it on system slot, but bootloop. it needs to get logcat

2. you can change slot on twrp, not bricked! (with vbmeta flashed with --disable-verity --disable-verification option (i think)0)

3. magisk installer didn't recognize changed slot on twrp, so can't install magisk on active slot

4. it can't restore /system, /vendor. or it bricked on weird qualcomm bug screen

5. it can backup and restore /data but i think it needs with vbmeta flashed with --disable-verity --disable-verification option

6. you need to change slot to system slot before do something on /system /vendor -> i think this can recognized by twrp itself
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] jackeagle:
Heya!

Thanks for testing TWRP and results! :)

1) Can you explain it even more ?

2) If its stock yes it needs to be done because Asus security wont allow you to boot normally because of AVB and Verity! nothing much can be done until OpenSource Rom arrives :)

3) Magisk does not recognize current slot ? Can you run getprop in adb and check if it returns active slot ?

4) System and Vendor restore did it return any error ? linker or misc ?

5) Ya again its Asus security!

6) This is didnt understand can you elaborate bit more on it ?
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] jpg3927:
1) you said 'install twrp at other slot (not system slot)' but it can flashed on system slot, but it get bootloop on boot animation. i think there is problem on decrypt /data when system boot. but i couldn't get logcat on boot :( maybe you can

3) ok i will :) (i will post later)-> getprop not work on twrp, how can i get?

4) first of all, wiping that partitions get error (i don't know what it is), so i changed wiping method to rm -rf, and it works. but when boot, it get weird error (some of... qualcomm bug report??)

6) i said magisk can't recognize changed slot, but /system /vendor changed when slot changed maybe /boot to. (but magisk installer can't recognize :()
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] jackeagle:
1) So you flashed TWRP recovery on stock rom slot ? That will cause bootloop since Boot img is not stock specific hence AVB Triggers moreover kernel is not stock compatible since AVB Flags are enabled. Hence if you have stock on slot A you have to flash TWRP on slot B by switching slots using fastboot command

Moreover its always good practice to add slot suffix during flashing TWRP or any sort of images in fastboot

for example

fastboot flash boot_a boot.img (Since my stock is on Slot B i flash TWRP on slot A :) )

4) Thanks for report i have reproduced that error and its fixed now. build will be released shortly :)

6) This one is really weird need to check that can you link me the zip file you used ?

Thank you! :)
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] jpg3927:
thanks! so can i backup and restore all of device with /system, /vendor? very good :)
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] jpg3927:
6) i used official magisk 17.1 zip file
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] jackeagle:
Hey Guys!

New TWRP Recovery build (Release 3) is UP!

Download : TWRP Release 3

Steps to install : Refer Post #2

Changelog : Refer Post #3

Enjoy!
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] vysakhnraju:
Thank you [MENTION=5216756]jackeagle[/MENTION] for all your hard work. Really appreciate it! Cheers.
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] jpg3927:
can you check 'format data' function?

i think this has some weird problem. it can't work
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] Premkrishna:
Well answered
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] jackeagle:
it seems binary file was messed up for some reason! gonna reupload it.
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] jpg3927:
and i think /system /vendor restore not boot

i did backup /system /vendor /boot /data and tested gsi rom

after testing. i tried to restore them. but not worked

so i flashed stock system.img and vendor.img and it worked

why it happened?

Tapatalk を使用して私の ASUS_Z01RD から送信
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] jackeagle:
it wont work if you attempt to restore for stock its due to signature mismatch. vendor has its own OEM Signature which wont be same when you restore. In short Asus stock is tricky mess!

Download links are updated with new binary! :)
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] invincible authority:
Guys trying to change the active slot but "fastboot set_active a" doesn't work. It's showing a list of syntaxes after I press enter. Any solution?

EDIT : Worked.. had to use admin privileges lol
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] pannu2don:
What is the fastboot command to change slot..?

Fastboot set-active <a/b> Not working..!!!:(

---------- Post added at 06:34 PM ---------- Previous post was at 06:32 PM ----------

Admin privilege on command prompt??
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] AryanAA:
Yep, just run cmd as administrator and try again.
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] whitedevil007:
Do a video on the entire thing pls

---------- Post added at 12:14 PM ---------- Previous post was at 12:11 PM ----------

Do a video on it
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] pannu2don:
I tried flashing treble AOSP 9.0 ROM using twrp..boot loop:(..did anyone successfully booted AOSP on this device ???
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] kailashrs:
Flash using fastboot
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] pannu2don:
So. We don't need twrp to flash? Did you tried and is it working?
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] robinhood1808:
One of the member on this thread (https://www.xda-developers.com/flash-generic-system-image-project-treble-device/?nocache=1) reported that even flashing a GSI ROM through fastboot did not work and he had to revert to stock.

I wish there would have been a clearer way to be able to install GSI on 5z.

Asus is lagging in terms of update as it recently revealed that Pie would only be available at the end of January 2019.
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] kailashrs:
He probably forgot to disable verity using 'fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img'
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] robinhood1808:
Saw your thread regarding the instructions for flashing GSI based ROM.

I guess you would be among the very elite to boot GSI on 5Z. :)

I would try it soon to see how if it works.
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] kailashrs:
Lol no, a lot people on our tg chat have already booted gsi with this, and this command to disable verity is common for all a/b system devices... I merely wrote a guide to help people. :)
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] robinhood1808:
Would you please share that Telegram Group here?

I would like to get an insight of all of this. :)
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] pannu2don:
Can you please provide link to your guide...
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] pannu2don:
Found the link....Thanks
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] drsandy71:
System.img file

Im not a developer, I am stuck in thte bootloop.. Can u please upload the link to system.img file?
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] nitish.4you:
First of all, Thank you for at least trying to start development for this device. We all know this device has a great potential to stand upfront in this developer community.

Here, I just want to ask about rooting the device, my priority here is just rooting the device and I know that there is a separate post on rooting it but I prefer installing magisk via TWRP recovery. So, anyone tested it? Can we just normally download Magisk from the official website and straight away flash it via the recovery to root the device?

Thanks
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] atulyadav023:
I am a noob , can any one help me by step by step process
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] SumitKsk:
So there is no rom for this device until Asus Pie releases? [emoji17]
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] ajbash007:
I hope so that it comes after pie release
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] jackeagle:
Nope since our vendor is too old to do anything moreover its just a waste of time since it will require additional fixes to make it work so rather then that better to wait for pie release :)
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] ajbash007:
Cool atleast zenfone user can get Some development after pie release...
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] jackeagle:
Yup without doubt for sure :)
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] ajbash007:
I cant tell you. How good it feels to hear about it.
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] Starburst76:
Strange issue while trying to flash ROM

Hi, I know this is not exactly related but I have been searching for an answer for a week on this and couldn't find anything remotely related, judging by your knowledge and other guys on this thread, I may have some hope in finding an answer.

I purchased a used ZenFone 5z and things did not behave normal e.g. I couldn't boot into safe mode it was always getting stuck on ZenFone logo, then I wiped the device from the fast boot menu and now it can access safe mode, one works perfectly however I don't seam to have VOLTE option in menu , again it is available on my subscription but could be not activated for this phone.

now this and the looks of the person I bought it from and his knowledge in phones raised my suspicion . could this be a hacked phone? I checked the following :

through ADB checked status and boot loader is locked and phone is not rooted

under phone menu everything is locked

I checked with ASUS the phone is still under warranty

I decided to download the official ROM and flash it again clean * I am not sure if this is possible since it already has the latest update I tried the SD card method and there is no option in the recovery menu.

I tried the ADB method and I face this problem : on the phone screen while trying to instal the firmware

update package verification took 121 sec ( result 0) .

Instaling update...

E:Failed to parse build number is post-build-incremental=the file name

Step1/2

Step 2/2

Unaible to open sysfs usb node (no such file or directory) . Trying configf failed to set driver control: No such device

Instal from ADB complete﻿

the phone boot loader is locked and there is no option under menu for OEM unlock , is this what's causing the above error?

or is the rom on the phone not allowing the flashing? i.e. it is different from the one I downloaded from ASUS directly.?\

sorry for the long description and I hope we learn something from this.

cheers
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] rajbleu:
Pls advise how to change slot by using fastboot. Unfortunately did not change any slot after installed TWRP but device is not booting now. Pls help me out
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] MtnOrf:
I flashed boot.img to "b", and reboot to recovery but can't recognize storage(/sdcard).

There are nothing files,only folders.

Please help me bro... I've wiped Rom...
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] ajbash007:
Clear data and cache again. Mount the various options listed in mount section.. download latest firmware file on pc. Connect your pc while putting phone in recovery mode. Coz it can detect the storage or use pendrives. Place that firmware on the device and flash it.
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] threeFatCat:
Greate work! Question: Do we need to decrypt first before installing this? How I wish someone will develop for Asus 5 ZE620KL too.
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] muchi_13:
How to check active slot at step no.3? Is there any specific command on adb?
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] Indercheeda:
Active slot

You can check it in your mobile fastboot option ,
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] Jesus David Otero:
is this the TWRP that be to working?
[Asus Zenfone 5Z  ROMs, Kernels, Recoveries, & Othe] jackeagle:
It doesn't seem to be hacked device or anything but it more of sounds like either Device Hardware issue or just random weird bug of software!

Was VOLTE working before you had done the reset or anything? like did it ever work before?

OEM Unlocking Option is present in Developer Options which u can only access after tapping build number in About Phone 7 times which activates Developer Options and for unlocking there is a separate guide and needs Asus Tool to unlock but beware that once you unlock bootloader your Warranty of Device will be void permanently.