Download LineageOS 16 for Redmi 5A – riva

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #44821

    You can now download and install LineageOS 16 for Redmi 5A. Here is how to install LineageOS 16 on Redmi 5A, with a step-by-step guide. This Redmi 5A LineageOS 16 build is brought to you by developer sunnyraj84348.

    Follow the links to get other LineageOS 16 and Android Pie ROM builds.


    If you like this ROM then do consider for a contribution to sunnyraj84348 and LineageOS project:
    Donate to LineageOS project
    – No donation link found for sunnyraj84348


    Installing a custom ROM may require an unlock bootloader on Redmi 5A, which may VOID your warranty and may delete all your data. Before proceeding further you may consider backup all data on the phone.
    You are the only person doing changes to your phone; neither the developer nor I can be held responsible for the mistakes done by you.


    Download LineageOS 16 for Redmi 5A

    Status of the Redmi 5A LineageOS 16 ROM:

    – Almost Everything


    – IR Blaster
    – Hardware Encryption
    – To Enable MTP go to developer option and set default usb configuration to file transfer


    HOW TO DOWNLOAD AND INSTALL LineageOS 16 ON Redmi 5A – Android 9 Pie CUSTOM ROM:

    Following are the two sub-sections of this Redmi 5A LineageOS 16 guide:

    1. First time installation of LineageOS 16 on Redmi 5A
    2. Upgrading LineageOS 16 on Redmi 5A from a previous build of LineageOS 16 ROM

    Flashing LineageOS 16 on Redmi 5A for the first time:

    Points to NOTE:

    • Try to avoid restoring apps backup using Titanium Backup. It may break things up.
    • Don’t restore system data using Titanium Backup! It will definitely break the current installation.
    • It is also discouraged to Restoring Apps + Data using Titanium Backup.


    1. Download and Copy the Treble enabler, Redmi 5A LineageOS 16 ROM, All files from Other fixes download link, front camera fix and Android Pie GApps ZIP file to your phone.
    2. Boot into the TWRP custom Recovery to install this LineageOS 16 on Redmi 5A.
      Make sure to have a Custom recovery like a TWRP recovery or any other custom recovery.
      – If not then download the TWRP recovery from Downloads link and follow the Custom Recovery Installation Guide (it’s a generic guide which will work for TWRP as well as any other recovery)

      – Installing TWRP recovery requires an unlocked bootloader on Redmi 5A
    3. Wipe the data partition (or do a factory reset), Cache partition, Dalvik Cache or ART cache and Format the System partition.
      – Here is a guide explaining how to wipe using TWRP recovery.

      This will delete all your data on your phone. You may consider complete backup of your phone data or take a NANDROID backup of the current ROM
      How to backup all data on your Android Device
      how to take NANDROID backup using TWRP recovery
    4. First Flash the the Redmi 5A Treble enabler zip file
      – Here is a post explaining how to install recovery flashable zip file
    5. Then flash the LineageOS 16 for Redmi 5A
    6. Then flash the POST-sGSI_1, POST-sGSI_2, POST-sGSI_3 zip files using TWRP
    7. Then flash the LagFIX
    8. Then install the Android Pie MindTheGapps for LineageOS 16 package.
      – Here is a post explaining how to install GApps using TWRP recovery.
    9. Reboot to system using the TWRP. Once the phone is booted, reboot again to recovery
    10. This time you flash the VoLTE fix if you are using VoLTE.
    11. Flash the file to prevent setting reset after each reboot
    12. Reboot and Enjoy the Android 9 Pie LineageOS 16 on Redmi 5A.
    13. If the front camera does not work, then flash the Front camera fix.

    Upgrading from earlier version of LineageOS 16 on Redmi 5A (riva):

    1. Copy the latest ROM zip file of LineageOS 16 for Redmi 5A, LineageOS 16 GApps and/or Magisk ROOT package to the phone
    2. Boot into Recovery.- Make sure you have a latest custom Recovery that should be able to flash the LineageOS 16 ROM update.
    3. Format or wipe the system partition from the custom recovery menu.
    4. Install the LineageOS 16 for Redmi 5A.
      – Here is a post explaining how to install LineageOS
    5. Reboot and see you have the GApps and ROOT access or NOT.
      – Gapps is built in such a way that it will sustain across ROM updates.
    6. If you don’t have GApps after upgrading the LineageOS 16 on Redmi 5A, then flash the GApps.
      – Here is a post explaining how to flash GApps using TWRP recovery.
    7. If you don’t have ROOT after upgrading the LineageOS 16 on Redmi 5A, then flash the SuperSU or Magisk or the Lineage SU binary.
      – Here is a post explaining How to Enable ROOT on LineageOS 16 ROM
    8. Once everything is done, reboot and Enjoy the LineageOS 16 on Redmi 5A.

    Complete the initial setup and enjoy Android 9 Pie with LineageOS 16 on Redmi 5A.

    After installing LineageOS 16 on Redmi 5A you may want to install Google Camera (GCam) or enable ROOT access on your phone and here is how you can do that:
    How to ROOT LineageOS 16
    GCam for Android Pie (this page contains a huge list of GCam for all available devices)

    If there is no ROOT access for some reason even after installing the LineageOS SU binary, then you can try SuperSU rooting guide to enable ROOT access.

    Stay tuned or Subscribe to the Redmi 5A (riva) LineageOS forum For other Android Pie, Android Oreo ROMs, Nougat ROMs, or other ROMs and all other device specific topics.

    ? Google Camera APK | Mod APK


    Didn’t work for me.

    Instructions of upgrade from previous version sent me to fastboot menu only. Instructions for install 16 version from fresh: made an error when flashing and system won’t boot.


Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Comments closed.