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. 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.
DOWNLOAD LINK: https://www.androidfilehost.com/?fid=1322778262904029651
Lineage OS 16.0, ROM for the Xiaomi Mi 8
ROM OS Version: 9.x Pie
Based On: Lineage OS
Last Updated 2018-10-16