
LineageOS is a free, community built, aftermarket firmware distribution of Android 12 (S), which is designed to increase performance and reliability over stock Android for your device.
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* We are 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 us for messing up your device, we will laugh at you.
*
*/
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. You will need to provide your own Google Applications package (gapps). LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
Base source code is available in the LineageOS Github repo. And if you would like to contribute to the project, please visit our Gerrit Code Review.
GPL compliance:

- Device tree source code: https://github.com/Inkypen79/device_xiaomi_odin
- Kernel source code: https://github.com/Inkypen79/kernel_xiaomi_odin
Working:
Almost everything
Broken:
You tell me
Downloads:
https://sourceforge.net/projects/xiaomi-odin/files/13/LineageOS
https://sourceforge.net/projects/xiaomi-odin/files/12/LineageOS
https://sourceforge.net/projects/xiaomi-odin/files/11/LineageOS
Installation:
Reboot to recovery
Copy LineageOS zip to internal storage
Install LineageOS zip package
Install [optional] a Google Apps package of your choice
Format data (wiping is not sufficient, formatting requires you to type "yes")
Reboot
Important notes:
GApps can only be flashed on clean installs.
Formatting data (all user data is wiped, including internal storage) is a must if MIUI was previously installed and device was encrypted.
Contributors
Inkypen
ROM OS Version: Android 12
ROM Kernel: Linux 5.4
Based On: AOSP
Last edited: