
LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restores the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit our Gerrit Code Review.
Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
SUPPORTED DEVICES
- ZS620KL (Asus Zenfone 5z)
- ZS621KL (Asus Zenfone 5z)
HOW TO INSTALL LINEAGEOS WITH LINEAGE RECOVERY
Please follow the official LineageOS Wiki instructions for our device
Install LineageOS on Z01R | LineageOS Wiki
HOW TO UPDATE LINEAGEOS WITH LINEAGE RECOVERY
Please follow the official LineageOS Wiki instructions for our device
Update LineageOS on Z01R | LineageOS Wiki
HOW TO INSTALL LINEAGEOS WITH TWRP
- Unlock the bootloader and install TWRP.
- Download LineageOS. (see Downloads)
- Boot into TWRP.
- Copy the downloaded zip files to the internal SD card.
- Perform a backup of your current ROM. (Optional)
- NOTE! If you're coming from stock ROM? You MUST format data. Wipe > "Format Data" button > type "yes" > keyboard checkbox
- RECOMMENDED: Do a factory reset (clean wipe)! No support if you didn't! (Wipe System, Cache and Data)
- Flash LineageOS zip.
- Flash TWRP installer zip.
- Reboot to TWRP.
- Optional: Install the Google Apps add-on package. (see Downloads)
- Reboot to system.
HOW TO UPDATE LINEAGEOS WITH TWRP
- Download the LineageOS zip(s). (see Downloads)
- Copy the LineageOS zip to the internal SD card.
- Reboot to TWRP.
- Flash LineageOS. (Wiping Cache is optional, but recommended)
- Reboot to TWRP.
- Optional: Install the Google Apps add-on package. (see Downloads)
- Reboot to system.
MAIN DOWNLOADS
Lineage:
- Official:
LineageOS Downloads
- Unofficial:
https://osdn.net/projects/lineageos-for-z01r/releases/p17823
TWRP for Z01R: Unofficial:

GOOGLE APPS (GAPPS) DOWNLOADS
Google apps | LineageOS Wiki
GOOGLE CAMERA (GCAM) DOWNLOADS
Google Camera:

5z's configuration can be found in his configs:

Config Files for Wichaya's 7.3 (v2.8+)
Stable settings for Wichaya's 7.3 (v2.8+) with xml config files support.
DEVELOPER RESOURCES
Asus ZenFone 5Z
Asus ZenFone 5Z has 7 repositories available. Follow their code on GitHub.
GitHub - LineageOS/android_device_asus_Z01R
Contribute to LineageOS/android_device_asus_Z01R development by creating an account on GitHub.
GitHub - LineageOS/android_kernel_asus_sdm845
Contribute to LineageOS/android_kernel_asus_sdm845 development by creating an account on GitHub.
HOW TO CONTRIBUTE?
Send your patches up for review: https://review.lineageos.org/
Read the guides on the LineageOS Wiki: https://wiki.lineageos.org/
Source Code: https://github.com/LineageOS
Last edited: