
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 restore 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
- LEX720 (ZL1_CN)
- LEX722 (ZL0_CN)
- LEX727 (ZL1_NA)
3rd PARTY ADDONS/MODS
While we have no issues with people using supersu/magisk/xposed/custom kernels/etc, we can't provide support for users who have them installed.
This thread is not the right place to discuss about mods/addons.
HOW TO INSTALL LINEAGEOS
- Make sure your phone is running firmware from at least 20S
- Download the LineageOS zip(s). (see Downloads)
- Copy the LineageOS zip to internal sdcard.
- Unlock bootloader and install TWRP 3.2.3 or higher.
- Boot into TWRP.
- Perform a backup of your current ROM. (Optional)
- RECOMMENDED: Do a factory reset! No support if you didn't!
- Flash LineageOS.
- Optional: Install the Google Apps addon package. (see Downloads)
- Reboot
HOW TO UPDATE LINEAGEOS
- Download the LineageOS zip(s). (see Downloads)
- Copy the LineageOS zip to internal sdcard.
- Flash LineageOS.
- Reboot
DOWNLOADS
LineageOS 17.1: https://download.lineageos.org/zl1
You can see the changes for each release here: https://download.lineageos.org/zl1/changes/
Migration-Tools: https://androidfilehost.com/?w=files&flid=254680 (Unofficial->Official, Official->Unofficial)
Google Apps: http://opengapps.org/ (I recommend nano)
TWRP:

[RECOVERY][OFFICIAL] TWRP for the leeco le pro3 (x727,x720,x722,zl1,zl0)
#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...

Contributors:
codeworkx,
jabashque
ThE_MarD,
mosimchah
andr68rus,
infrag,
darkobas,
jrior001,
And many more
DEVELOPER RESOURCES
https://github.com/lineageos/android_device_leeco_msm8996-common
https://github.com/lineageos/android_device_leeco_zl1
https://github.com/lineageos/android_kernel_leeco_msm8996/tree/lineage-17.1
HOW TO CONTRIBUTE?
Send your patches up for review: https://review.lineageos.org/
Last edited: