[Asus Zenfone 5 (2018, ZE620KL) Guides, News, & Dis] emincangencer:
I am not responsible for anything that may occur.

Most of the GSI's need SELinux Permissive status. This cannot happen with boot.img because of Vendor. So we have to use Magisk to make Permissive. This is for old GSI's. If you are gonna use new GSI's from Erfan and Phhusson check the end of the thread.

1- You need a working GSI installed(HavocOS works). https://sourceforge.net/projects/havoc-os/files/arm64-aonly/

2- You need to install Magisk. I installed v19.3.

3- You need TWRP recovery. I use 3.3.0. And make sure you disabled your data encyrption.

4- You need a Permissiver. With Magisk SELinux Manager module we are patching SELinux systemlessly.

*After installing Magisk reboot. Then add this module in Magisk Manager and reboot(Follow steps on guide. Volume up to confirm, after volume down to select permissive). https://xdaforums.com/apps/magisk/module-magisk-selinux-manager-t3760042 You don't need latest. Just download 1.0 from Attached Files. I used that.

* Go to about on your settings. You should see in bottom permissive status. If you see enforcing go back and fix what you have done wrong. After making permissive go to TWRP recovery. In recovery make sure data is mounted in Mount. Then go to Advanced > File Manager. In there open data folder and delete everything other than adb, app, media. Then go to app folder and delete everything other than com.topjohnwu.magiskxxx.

* Now you should only have adb, app/com.topjohnwu.magisk(xxx), media. Exit from File Manager and go to Backup. Choose only Data. Then swipe to backup. Backup stored in /sdcard/TWRP, /data/media/0/twrp. That's why we didn't delete media folder. And don't ever wipe Internal storage(Your backup in there.).

5- But you can wipe data and that excludes backup. So wipe Dalv, system, data and cache. And then in Restore your backup and you should get your Magisk and Modules back(You can see adb and app folder by remounting).

6- Flash any GSI you want. If you want to install GApps stock version go to mount and uncheck Mount system partition read-only and tick system on the top. Go to Wipe> Advanced Wipe> Check system> Repair or Change File system> Resize File System> Swipe to resize. This will make your space 3600mb again. Your system files will not be touch. Now you can install gApps zip.

Working OxygenOS: https://drive.google.com/open?id=1GPGWJu3lUeheUO2iGSNHQWEPiYgeF3DY

LINKS to GSI's: https://docs.google.com/document/d/123s7H37wHKqlxn8rIBQmG_DvffgTVZv3hO-uiy7N-sk/edit?usp=sharing

Some Files if needed = https://drive.google.com/drive/folders/1yFJl-teTlbSWilgJIgN317Ba2FFVRSaO?usp=sharing

Tested on Version V16.0615.1908.109.

As of today, Android Q/10 is working. https://github.com/phhusson/treble_experimentations/releases

Wipe dalv, system, data, cache. Flash img, then flash Magisk-phh.zip.

For Erfan:

Since 25.09.2019, all new ErfanGSI's will work on our devices. Check the date. It should be newer than 20190925. No need to flash Permissiver or Zygote fix.

You need to flash stock boot.img. Mount vendor and delete /vendor/overlay in Advanced > File Manager to fix Pixel Launcher crash. If you want to backup vendor.img follow this guide.

Telegram Channel:https://t.me/Zenfone5GSI

In Turkish Language: https://docs.google.com/file/d/1GKlOl68vOngXAMfvj9rV6YZ9Wq8AC4JG7m7AdIf6i74/view