
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 out Gerrit Code Review.
Code:
/*
* 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.
*/
- Download the LineageOS zip(s). (see Downloads)
- Copy the LineageOS zip to internal sdcard
- Boot into TWRP
- Optional: Perform a backup of your current ROM
- Do a factory reset (including data). No support if you didn't.
- Flash LineageOS
- Optional: Install the Google Apps addon package (see Downloads)
- Reboot
HOW TO UPDATE LINEAGEOS WITH TWRP:
- Download the LineageOS zip. (see Downloads)
- Copy the LineageOS zip to internal sdcard.
- Flash LineageOS.
- Reboot
Installing with Lineage recovery: refer to official install instructions
DOWNLOADS:
LineageOS 18.1: Unofficial
TWRP: Official
LineageOS source code: github.com/LineageOS
Device tree: android_device_oneplus_cheeseburger, android_device_oneplus_dumpling, android_device_oneplus_msm8998-common
Kernel: android_kernel_oneplus_msm8998
Android version: Android 11
Kernel version: Linux 4.4.y
Required firmware: OOS 10.0.1 (shipped with ROM, no need to install manually)
Status: Stable
Telegram group: https://t.me/los_op5
Created 2020-10-08
Last edited: