Xiaomi is one of popular Android phone brands that is known for its honest pricing (read: budget friendly) and for its developer friendly (read: custom mod supports). No wonder that their devices are always sold millions and several times it occupied largest shares in annual phone sales.
One of its awesomeness is the fact that Xiaomi devices are easy to root and to flash custom ROM. Many ROM developers have managed to cook their own flavor of Android and made it compatible for most of Xiaomi phones. Meed Lineage OS! One of popular Android Custom ROM that many have used it because of its stability and performance.
Check also: All MIUI and Custom ROMs for Redmi 5A.
Here in this page you can download the unofficial build of LineageOS v14.1 released on 20180515 based on Android 7.x Nougat for Redmi 5A (codename Riva) device. The ROM chef, Sunnyraj84348, claims that it works flawlessly with Xiaomi Fast Charging feature enabled. It means users can still enjoy Qualcomm Quick Charge technology on their phone using this ROM.
Features that known to work: Audio, BLUETOOTH, Camera, dt2w, EGL, fingerprint, IR Blaster, RIL, Video Playback, VoLTE, Wifi, and LED light.
However, this ROM does not come with Google Apps pre-installed. You have to download the GApps package and flash it through TWRP/RWRP.
ROM OS Version:
Android 7.x Nougat
ROM Firmware Required:
Unlocked Bootloader, Recovery (TWRP or RWRP)
The download link above points to the original link shared by the developer. Use the mirror links below only if you have problem from the above link (in case if down or invalid).