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.
Sepolicy is still permissive
Camera (and flashlight)
Telephony (Calls and Data)
Audio (Record and Playback)
Compatible with all Xiaomi Redmi 4A and Redmi 5A variants (16GB / 32GB), other Redmi devices are not supported.
Builds are based off the Xiaomi's Android 7.1 firmware with proprietary blobs from MIUI 8.3.29 dev package.
LINK REMOVED BY MODERATOR
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.
Reboot to recovery (Custom TWRP recovery for Redmi 4A - Direct link)
Format /system, /data and /cache
Install LineageOS zip package
Install Magisk 16.4 For root permission
Install [optional] a Google Apps package of your choice (Open GApps is advisable, but stock and super variants are not recommended!!!)
Credits & collaborations:
This work is due to efforts from RedmiDevs founding members that did the full device bring-up. Huge thanks to @tEaM Tentacles for all the help during that bring-up.
Finally, all RedmiDevs & LineageOS team would like to thank everyone involved in helping with testing, coding, debugging & documenting! Enjoy!
ROM OS Version: 9.x.x
ROM Kernel: Linux 3.18.71