LineageOS is a free, community built, aftermarket firmware distribution of Android 9 (Pie), 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. 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: LineageOS/android_device_xiaomi_dipper
Kernel source code:
https://github.com/LineageOS/android_kernel_xiaomi_sdm845
Working:
Camera (and flashlight)
IR Camera
WiFi
NFC
Bluetooth
Telephony (Calls and Data)
Audio (Record and Playback)
Video Playback
Sensors
GPS
HW crypto (FBE)
To make Google Pay work there is currently a .zip that need to be flashed as shown in the post below:
https://forum.xda-developers.com/showpost.php?p=79672865&postcount=2284
Compatibility:
Compatible with Xiaomi Mi 8
Builds are based off the Xiaomi's Android 9 firmware with proprietary blobs.
Downloads:
Official download links:
https://download.lineageos.org/dipper
Notice:
No custom kernels are supported in this thread. Only stock kernel and official builds will be supported. No bug reports if that's not the case.
Installation:
Reboot to recovery (TWRP recovery for Mi 8)
Format /system, /data and /cache
Install MIUI P based firmware.
Install LineageOS zip package
Install [optional] a Google Apps package of your choice (Open GApps is advisable, but stock and super variants are not recommended!!!)
Important notes:
* Required * firmware version must be based on MIUI P-based builds.
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.
Credits & collaborations:
bgcngm
infrag
joe2k01
All LineageOS team would like to thank everyone involved in helping with testing, coding, debugging & documenting! Enjoy!
Unofficial Builds:
Build 17/08/2019
https://drive.google.com/open?id=1evOopo9SgAC_fAQilbNovaVkBKF0mgzb
TWRP 3.3.0.0:
Build 05/06/2019
Build on Android 9.0 TWRP sources
https://drive.google.com/open?id=1OcmasmRO1athTFL5zvy-vgytMtDHMfwT