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 restores the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
Installation Instructions
Note: Make sure to take a backup of important files, photos, contacts, etc. as installing a custom ROM resets your phone and we are not responsible for any data loss or damage to your system. Step 1: Download the required ROM and GApps files from the download section below. Step 2: Make Sure that your device’s bootloader is unlocked and you have successfully installed TWRP Recovery. If not then follow the below link to do so.
How to Unlock Bootloader on Any Xiaomi Android Device – The Right Way
Step 3: Now Boot into TWRP Recovery mode and do a full factory reset and data and cache wipe. Step 4: Next Go to Install in Recovery mode and flash the downloaded ROM zip file followed by GApps file. Step 5: That’s all After successful installation reboot your device.
Download
ROM Version: Lineage OS 16.0 Android Version: Android 9.0 Pie ROM Firmware Required: >= 9.5.14/Latest (Global/China) Stable/Latest (Global/China) Beta ROM: Download Lineage OS ROM GApps: Download OpenGApps Source: XDA Forums
Credits
Lineage OS TeamAospExtended TeamAll Respected Developers and Device Maintainers
If you any queries or suggestions then don’t forget to leave them in the comments below.