How to Flash MIUI Stock Recovery on Redmi Note 5A

This article guides you on how to install MIUI stock recovery on Redmi Note 5A (codename Ugglite) and also on its Prime variant (codename Ugg). There might be a situation when you will need to revert back on flashing stock recovery from custom one like TWRP. For instance, you might accidentally have flashed wrong build of TWRP or if you feel you no longer need custom recovery.

Custom recovery is good in terms of features. However, most users need to have it only for rooting purpose or for flashing custom mods and tweaks.

Previously, we have posted a tutorial on how to root Redmi Note 5A (Ugg and Ugglite). The first stage of the article includes necessary steps before rooting: flashing TWRP. Now, if for some reasons you need to bring back the taste of MIUI stock recovery then simply follow steps below.

Both devices, RN5A and RN5A Prime, are equipped with 5.5-inch display having resolutions of 720 x 1280 pixels, 401 PPI, 70% NTSC Color Gamut, and 450 NIT. However, the horsing power planted within each device is different. RN5A, is powered with MSM8917 Qualcomm Snapdragon 425 chipset having Cortex A53 Quad-core CPUs, Adreno 308 GPU, 2GB of RAM, and 16GB ROM Internal storage. On the other hand, the RN5A Prime, sports MSM8940 Qualcomm Snapdragon 435 chipset having Octa-core Cortex A53 CPUs, Adreno 505 GPU, 3GB RAM, and 32GB ROM Internal storage. Moreover, the camera specifications are also different. The Prime edition is powered with 16MP f/2.0 front-facing camera (instead of 5MP) along with a front flash. This makes a perfect selfie obviously.

Again, this article works on. Now let’s go to the steps..


  1. A Xiaomi RN5A (Codename Ugglite) or RN5A Prime (Codename Ugg) device.
  2. A compatible USB data cable. Make sure it is a USB data cable and not USB charging cable only or you can simply use the one comes with your device;
  3. A Windows-based laptop / PC. We strongly suggest you to use Windows 8/8.1/10 with 64-bit system;
  4. Your phone should have enough juice. Make sure it has at least 65% battery power remaining;
  5. Download the flash-able MIUI image file: here for RN5A and here for RN5A Prime – the file is compressed in .zip file so you will need to extract it using either winzip or winrar;
  6. Download either Minimal ADB & Fastboot Driver or Mi Flash tool – the driver is required for your computer to recognize your device and to enable adb fastboot interface;
  7. A spare time of your life which is not more than 30 minutes.

Attention: Please read thoroughly the article before really implementing the steps. Make sure you understand what you are going to do prior doing it. We hold NO responsibility of any risks of broken device so please proceed with caution. Do not forget to create backup of all your important data and files including Contact, Call logs, messages, photos, apps, and so on.Also please do not hesitate to click on any image(s) to click its larger version.

Method #1: Flashing through TWRP

This is the easier method. However, you will need to firstly have TWRP installed. Otherwise, simply jump into the Method #2.

Step 1 – Copy the recovery.img file you have extracted into your phone internal storage.

Step 2 – Turn off your phone completely.

Step 3 – Reboot into TWRP by pressing Power button and Volume Up button simultaneously.

Step 4 – Choose “Install” from main menu.

Step 5 – Locate and select the recovery.img file you have copied.

Step 6 – Now do the “Swipe to confirm flash” action.

Step 7 – Wait till the flashing process finished.

Step 8 – Reboot.

That’s it. The next time you reboot into recovery mode you will no longer see TWRP.

Method #2: Flashing through Computer

Use this method if you cannot reboot into TWRP.

Step 1 – Extract and install Minimal ADB & Fastboot driver into your computer. It is recommended to firstly disable Windows Driver Signature Enforcement mechanism prior installing the driver. You can re-enable that Windows feature again once you have installed the driver.

Necessary reading: Windows Driver Signature Disabler and Enabler tool.

Step 2 – Now install Minimal ADB & Fastboot driver software into your computer.

Step 3 – Grab your phone and enable Developer options and OEM Unlock options in your phone.

Step 4 – Open up Windows Explorer on your computer and go to the location of where you have extracted recovery.img file.

Step 5 – Grab your phone, and turn it off completely. Reboot your phone into bootloader mode (which also known as fastboot mode) by pressing Volume Down (-) and Power buttons together simultaneously until you see the Bunny Fastboot logo.

Step 6 – Connect your device which is already in Fastboot mode into your computer using its USB cable.

Step 7 – Now back to Windows Explorer. Go to the location of where you have extracted the TWRP flash-able image file (Step 5 above).

p.s: It is better to move the recovery.img file into same folder as ADB Fastboot files.

Step 8 – Hold down the “Shift” button on your keyboard and right-click on anywhere inside that folder. Next, choose “Open command window from here” or “Open Powershell Window here“.

Step 9 – Now in command prompt / powershell window, type following command to check the status of your device whether it has been connected successfully or not:

fastboot devices

Your device will be displayed there. Otherwise, you may try either reinstalling the ADB & Fastboot driver or try installing Mi Flash tool.

Step 10 – Finally, issue the main magic command below which is the main magic spell to flash recovery image into your phone:

fastboot flash recovery recovery.img

The flashing process should take only few minutes (not more than 3 minutes).

Step 11 – Once done, you can now reboot your device into normal mode by issuing this command:

fastboot reboot

That’s it. Now you can disconnect your phone from your PC.


Please do not hesitate to leave a comment below. Share your opinion or experience on installing stock recovery back.

You can get faster updated information on new post via our social media account. Like us on Facebook or subscribe your email to our news letter. Please do not hesitate to send us any query or write a message in the comment section below this article. Share us your opinion or your experience! Thanks..

Liked this post? Use the buttons below to share it with your friends..

No Responses

Write a response

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Get more stuff like this
faster in your inbox

New tips, tricks, interesting apps and tools. No spammy messages. Give it a try, you can unsubscribe anytime.

Thank you for subscribing.

Something went wrong.