A Proven Way to Flash TWRP and Root Redmi 6A (Codename Cactus)

A Proven Way to Flash TWRP and Root Redmi 6A (Codename Cactus) 1

Xiaomi Redmi 6A (codename Cactus) is a budget device with ARM system (not ARM64). This article shows you how to install TWRP custom recovery on Redmi 6A and hence you can flash Magisk and gain root access.

Being the iteration of Redmi 5A, the 6A also aims to those who love budget devices either for their primary or secondary phones.

Some also opt to buy budget devices such as Redmi 6A to improve their skill trying out many tweaks, mods, or ports.

Here are MIUI Blog, we also love budget devices. We love to play around with Redmi 5A. Unfortunately, the success history of 5A is not followed correctly by the 6A.

Many users of Redmi 6A struggle to find the working builds of tweaks, ports, or modifications for their devices.

Flashing a custom recovery is the basic type of modification on your Android device. With this, you can flash any other custom binaries and mods, including Magisk.

This article shows you the step by step procedure on how to flash the official TWRP recovery on Redmi 6A. Furthermore, you can also proceed to the root steps.

One thing you should aware of. This article is here as informational purpose only. Flashing a custom binary on your phone has a risk of damaging your device especially if done wrong.

We hold no responsibility of any damage, bootloop, or bricked situation that may happen to your phone. Please proceed carefully.

On top of that, we strictly recommend you to create a full backup of your crucial data and files. This is a good practice for every brave flasher.


Step 1. Unlock your Redmi 6A bootloader. This is important as it is the main requirement of flashing a custom recovery.

Step 2. Download and install Xiaomi ADB Fastboot Driver on your computer. You don’t need to do this if you already have Mi Flash tool installed (not the portable version).

Step 3. Download TWRP Recovery for Redmi 6A here. It’s an image file (.img). You need to download it on your computer.

Step 4. Rename the file (from e.g: TWRP-3.2.3-2.img) to recovery.img. This is necessary to make the process easier. You can do this by right-clicking on its name the choose “Rename” option.

A Proven Way to Flash TWRP and Root Redmi 6A (Codename Cactus) 2

Step 5. Copy the recovery.img file into the adb folder which is usually located at C:\adb\.

Painless Steps to Install TWRP and Root Redmi Note 7 3

Step 6. Enable USB Debugging option. This option is available within Developer Options menu. Hence, you have to enable it at first.

Enabling Developer Options, go to:

Settings >> About phone >> tap the MIUI version 7x >> You are developer!

Enable USB Debugging, go to:

Settings >> Additional Settings >> Developer Options >> USB Debugging >> toggle it on.

A notification will pop up on your screen. Tap “OK“.

Effortless Root Poco F1 with Orange Fox and Magisk 3

Step 7. Now connect your Redmi 6A phone to your computer using its USB cable.

Step 8. On your computer, hold down the Shift key and right-click anywhere inside the ADB folder (C:\adb\). Choose “Open PowerShell window here“.

ALSO READ:  Steps to Flash Pitch Black TWRP on Mi A2 (jasmine_sprout)
Painless Steps to Install TWRP and Root Redmi Note 7 4

Step 9. Now type following command and hit Enter key to execute it:

adb devices
adb reboot bootloader
fastboot devices
Effortless Root Poco F1 with Orange Fox and Magisk 5

This instructs your computer to establish ADB connection with your device while verifying any device attached. Second, this also reboots your device into Fastboot mode (bootloader mode).

You may notice a message displayed on your phone asking to “Allow USB Debugging“. Simply tap “OK“.

You will see your phone rebooting and you will also see the Mi Bunny Fastboot logo displayed.

Effortless Root Poco F1 with Orange Fox and Magisk 6

Step 10. Next, you also need to format the userdata partition by typing the command below:

fastboot format userdata

Step 11. It should finish in a few seconds. Once done, type this command to flash TWRP on Redmi 6A:

fastboot flash recovery recovery.img

Step 12. Wait till the process is complete. At this point, the TWRP has been flashed. You can now boot into TWRP.

How to boot Redmi 6A into TWRP recovery?

Step 13. Press and hold the power button to turn off your phone completely.

Step 14. Once it’s off, press and hold the Power button and the Volume Up button simultaneously. This will bring you to the TWRP recovery.

Step 15. During your first TWRP boot, you need to allow modification. Do the “Swipe to allow modifications“. You shall enter the main menu afterward.

How to Root Redmi 6A

Step 16. In your computer, download Magisk and Disable Encryption Patch Redmi 6A. You should now have tow ZIP files.

Step 17. Now copy the two zip files (e.g: Magisk-v18.1.zip and Disable-Encryption-Redmi_6_6a.zip) to your computer. You can do this through Windows Explorer.

Step 18. Back to your phone which is still in TWRP Recovery mode. Choose “Install” from the main menu.

Step 19. Now locate the Magisk zip file. Tap on its file name to choose it.

Step 20. Next, do the “Swipe to confirm flash” action. The TWRP will start flashing the Magisk zip file on your phone. Wait till the process fully completes.

Step 21. Once done, go back to the main menu and choose “Install” again.

Step 22. Now find and choose the “Disable-Encryption-Redmi_6_6a.zip” file.

Step 23. Again, do the “Swipe to confirm flash” action and wait for the process till it completed.

Step 24. Once done, you can “Reboot” to “System“. This brings your phone to the normal state.

Step 25. Congratulation, your phone has been rooted. You can check download “Root Checker” app from Play Store. Use that app to check for your root status.

At this point, another app called “Magisk Manager” is also installed. This is the main app that allows you to manage, organize, and control the root access on your phone.

Should you have any question, please do not hesitate to leave any comments of feedback below.


3 thoughts on “A Proven Way to Flash TWRP and Root Redmi 6A (Codename Cactus)”

  1. This method does not work!
    If i flash the disable encryption file, my SIM Card no longer gets detected, the phone gets extremely slow and eventually will only boot into TWRP…

Leave a Reply

Your email address will not be published.