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.
*/

LineageOS 18.1 is a free, community built, aftermarket firmware distribution of Android 11 (R), which is designed to increase performance and reliability over stock Android for your device.
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.
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. You can also view the Changelog for a full list of changes & features
Lin·e·age
/ˈlinēij/
noun
- lineal descent from an ancestor; ancestry or pedigree.
- a sequence of species each of which is considered to have evolved from its predecessor.

If you encounter any issues with sensors or anything related to hardware, please flash stock rom and then a custom one.
Check the G3 issue tracker and LineageOS issue tracker before installation.
Clean flash is recommended, here's the procedure:
- wipe Dalvik cache, /system, /data and /cache.
- flash latest ROM zip
- optional: flash Google apps ARM

Download LineageOS 18.1
TWRP
Google apps
Rooting your phone by Linus Tech Tips
Stock ROM by @MESA
3__HacerPermisivo.zip - this switches your selinux to permissive
bootimage_adb_unsecure by @AdrianDC - debugging, disables adb auth
Mr_Bump.zip by @dadi11 - fix for Secure booting error (boot certification verify)

Join G3 development channel on Telegram to get more info about my projects.

@dadi11
@walter79
@aleasto

github.com/LineageOS
github.com/itsHardStyl3r
device and kernel sources
local_manifests
Important: information about open sources from HardStyl3r
Last edited: