How to enable root on Xiaomi Redmi 5A (Riva)

[Tutorial] How to root Redmi 5A

Here’s a short tutorial on how you can root your Redmi 5A smartphone and install TWRP Custom Recovery. This method required you to have unlocked bootloader, TWRP Custom Recovery and SuperSU.

How to enable root on Xiaomi Redmi 5A (Riva)

  1. Download and install drivers for Redmi 5A.
  2. Download Platform-tools (adb/fastboot) and unpack to “C:\adb”.
  3. Start your phone in fastboot mode. Turn it off, then press “Volume Down” and “Power” buttons until fastboot logo appears on the screen.
  4. Connect your phone to PC via USB cable.
  5. Open command window from the folder with ADB files and TWRP .img file (download TWRP for Redmi 5A here).
  6. Flash TWRP using the following commands (TWRP .img file should be in the same folder with adb files):
    fastboot erase recovery
    fastboot flash recovery twrp.img
    fastboot boot twrp.img
  7. Your phone will reboot into TWRP.
  8. Download SuperSU 2.82 and copy downloaded archive to phone internal memory or SD card.
  9. In TWRP press “Install” and select SuperSU archive, swipe to confirm installation.
  10. After installation is completed, select “Reboot into system”. First startup will take around 5 minutes.

How to unroot Redmi 5A?

To remove root on your Redmi 5A device, open “SuperSU” application, go to “Settings” > “Full unroot”. The second way is to download unroot patch and install it via TWRP Custom Recovery: unSU.zip