TWRP 3.2.1-0 was the first official TWRP release for the Xiaomi Redmi 5A (riva). Official support has since ended: twrp.me now lists the device as “Not Supported”, and the last official build is twrp-3.4.0-0-riva.img. It is only for the Redmi 5A (riva), not the Redmi Note 5A or Note 5A Prime. All the credits go to the Team Win Recovery Project Team (TWRP) for giving the support officially to the Xiaomi Redmi 5a. Now users can flash custom zip’s, root their device and so on using the TWRP.
Official Redmi 5A firmware: the latest MIUI 11 Recovery and Fastboot ROMs for all regions (2), direct from Xiaomi's servers with file checksums.
New Official Release – TWRP 3.2.1-0 for Redmi 5A
The Xiaomi Redmi 5a has 5.0 inches IPS LCD capacitive touchscreen display. Further, it has a display of 720 x 1280 pixel resolution. Moreover, it has 1.4GHz quad-core Qualcomm Snapdragon 425 processor with 2GB of RAM. The Redmi 5a has 16/32 GB internal storage. It has a dual camera with 13 megapixels back and 5 megapixels front camera. Further, it has non-removable Li-Ion 3000 mAh battery. It launched with Android 7.1 Nougat.
Now let’s find out what TWRP is and how to install TWRP Recovery for Xiaomi Redmi 5a.
What is TWRP?
Team Win Recovery Project (or TWRP in short) is an Android Custom Recovery initiated in 2011 with full touch UI. The recovery brought in and made a new trend of Touch-based recoveries. Further, it adds customization support and other huge and amazing features to the AOSP recovery code. With that said, it makes it one of the top Android Custom Recoveries available till today.
On the other hand, the GUI is fully XML based. And this allows you to modify each aspect of this recovery according to your wishes (of course, if you have the required knowledge of XML and Android).
How to Install TWRP on Redmi 5A
You need an unlocked bootloader. Then there are two ways to install TWRP on the Redmi 5A. First, download TWRP from the following link. Then perform one of the following methods.
Method#1
Code:
fastboot flash recovery twrp-3.2.1-0-riva.img
fastboot boot twrp-3.2.1-0-riva.img
Don’t boot into the system before TWRP starts, or MIUI will put the stock recovery back. This device uses dm-verity: on the official MIUI ROM, install Magisk (or a dm-verity-disabled kernel) from TWRP before rebooting to the system, otherwise the phone may not boot.
Method#2
Boot to your current TWRP > Install > Images… > select twrp-3.2.1-0-riva.img > choose Recovery > Swipe to flash
Version 3.2.1-0 Changelog:
- Default to TWRP restore rather than adb backup restore to fix restore on fresh TWRP boot (jlask)
- Better Android 8.0 compatibility in ROM trees (Dees_Troy)
- Fix inconsistent SD Card naming (DevUt)
- Fix missing library in android 8.0 (nkk71)
- Miui fixes (cryptomilk)
Version 3.1.1-0 Changelog:
- Updated TWRP source code to AOSP 7.1.2 (Dees_Troy) Updated TWRP source code to AOSP 7.1.2
- Backups will now include adopted storage keys (Dees_Troy)
- Fixed rebooting when no OS is present (Dees_Troy)
- Fixed line wrapping in the GUI terminal (_that)
- Fixed an adb restore issue (bigbiff)
Version 3.1.0-0 Changelog:
- Vold decrypt on several select HTC devices, TWRP will not try to use the system partition’s vold, vdc binaries and libraries to decrypt the data partition (CaptainThrowback and nkk71)
- Support POSIX file abilities backup and restore to fix VoLTE on select HTC devices and perhaps other issues (Dees_Troy)
- Support new Android 7.x xattrs for back up and restore to fix data loss after a restore (Dees_Troy)
- Adb backup to stream a backup directly from or to you PC, see documentation here (bigbiff)
- Support for FBE decrypt and restoring and backing up FBE policies (Dees_Troy)
- Better indicate to the users that internal storage isn’t backed up(Dees_Troy)
- Try mounting both f2fs and ext4 during decrypt (jcadduno and Dees_Troy)
- Numerous improvements and bug fixes by too many people to mention
- Improve automatic determination of TW_THEME (mdmower)
- Support new Android 7.x log command (Dees_Troy)
- Timeout during FDE decrypt (nkk71 and Dees_Troy)
- Update recovery sources to AOSP 7.1 (Dees_Troy)
- TWRP app install fast during reboot (Dees_Troy)
- Shut off backlight with power key (mdmower)
- Minimal setcap and getcap support (_that)
- Tweak MTP startup routines (mdmower)
- Support for AB OTA zips (Dees_Troy)
- Boot slot support (Dees_Troy)
Sources: TWRP for Xiaomi Redmi 5A (Team Win); 4PDA Redmi 5A – how to flash TWRP (fastboot.exe, 24.12.17, upd. 13.01.19).
Xiaomi no longer updates the Redmi 5A
Xiaomi has ended software updates for the Redmi 5A, so no new firmware is expected. For new Xiaomi firmware, HyperOS 4 news and guides, follow our Telegram channel.

