Why you need root rights on Xiaomi Redmi 6A and what risks they carry
Getting root rights to Xiaomi Redmi 6A opens up the hidden capabilities of Android, but requires careful attention. With root access, you can remove system applications, optimize performance through the kernel, install modified firmware like LineageOS or Pixel Experience, and use powerful utilities like Titanium Backup or Greenify. However, with freedom come risks from loss of warranty to device blink if you do not do it correctly.
The Redmi 6A (codename cactus) model based on the MediaTek Helio A22 processor has its own peculiarities when obtaining root rights. Unlike smartphones on Snapdragon, the standard method does not work here via fastboot oem unlock - you will need a workaround using the SP Flash Tool utility and a patched bootloader. It is important to understand that after unlocking the bootloader, all data will be reset, and MIUI updates through OTA will stop working without additional manipulation.
This guide is relevant for Android 8.1 Oreo and Android 9 Pie (MIUI 10/11)-based firmware. If your device has upgraded to MIUI 12+, some steps may require adaptation. Before you start, make sure you have a backup of important data and at least 60% battery life β the process of unlocking the bootloader on MediaTek devices can take up to 30 minutes with multiple reboots.
Preparation of the device: what to do before unlocking
Before you start getting root rights, you need to follow a few critical steps. OEM-unlock in the developer settings. Go to Settings for this. β About the phone and 7 times click on the item Version MIUI, To activate the developer menu, then go back to the main settings menu, open the Additional. β For developers and include:
- π OEM-Unlocking (can be called Unlocking the bootloader")
- π Debugging by USB (USB Debugging)
- π Factory Unblocking (if there is such a point)
Second, install MediaTek drivers on your computer, without which the SP Flash Tool will not be able to correctly identify the device, download the MTK USB Drivers package from the official website or trusted sources (for example, XDA Developers).
- π» Python 3.x (for working with the mtkclient utility)
- π¦ ADB and Fastboot (part of Android) SDK Platform Tools)
- π§ SP Flash Tool (version 5.2 or later)
- π± Stock firmware for your model (in case of recovery)
β οΈ Note: If you are using Windows 10/11, Turn off driver signature verification before installation MTK-To do this, reboot to debug mode (hold Shift when you select "Reboot" from the Start menu) and select "Disable Mandatory Driver Signature Verification".
Unlocking the bootloader on Redmi 6A: bypassing the restrictions of Xiaomi
The official Mi Unlock Tool doesnβt support Redmi 6A because of Xiaomiβs policy on MediaTek devices, so youβll have to use an alternative method with SP Flash Tool and a patched preloader image. This process is more risky than on Snapdragon devices, so follow the instructions carefully.
Steps to unlock:
- Download the patched preloader and scatter file for your firmware version, which can be found on the XDA or 4PDA forums in Redmi 6A themes (see cactus).
- Connect the phone to a PC without a battery (if it is removable) or hold Volume Down + Power to go to BROM mode.
- Launch the SP Flash Tool, download the scatter file and select only the preloader item in the firmware list.
- Press Download and wait for the process to complete (usually takes 5-10 seconds).
After successful firmware preloader bootloader will be unlocked, but the device may not boot into the system.
βοΈ Actions after preloader firmware
β οΈ Warning: An unprompted or mispatched preloader can result in a full breeze of the device that will require resweetening of the memory chip. Make sure the files are suitable for your board revision (check through fastboot getvar all).
Installation of custom TWRP Recovery on Redmi 6A
Once the bootloader is unlocked, the next step is to install a customized recavator (TWRP) that allows you to flash modified images, create backups and obtain root rights through Magisk. For the Redmi 6A, there is an informal TWRP build that can be found on XDA or in Xiaomi-related telegram channels.
Installation instructions:
- Download the image TWRP for cactus (e.g. for cactus, twrp-3.7.0_cactus.img).
- Rename the file to recovery.img and place it in the folder with fastboot.
- Move your phone to fastboot mode (hold Volume Down + Power when you turn on).
- Connect the device to your PC and execute the command: fastboot flash recovery recovery.img
- After successful firmware reboot to the Recovery team: fastboot boot recovery.img
If the TWRP doesn't start or the device goes into a bootloop, try an alternative build or run the stock Recovery back. Some versions of MIUI block the loading to the custom Recovery - in which case you will need to roll back to the older firmware.
What to do if TWRP asks for a password?
Getting Root Rights through Magisk: A Step-by-Step Process
The most reliable way to get a root right to Redmi 6A is to use Magisk, which provides a system root without changing the system partition, allowing you to go through SafetyNet and use banking applications. The latest version of Magisk (26.0+) can be downloaded from the official repository on GitHub.
Installation process:
- Download Magisk-v26.4.zip and place it on a memory card or internal memory.
- Download to TWRP (hold Volume Up + Power when enabled).
- From the TWRP menu, select Install, search for an archive from Magisk, and confirm the installation.
- After completion, press Reboot System.
The first download after installing Magisk can take up to 10 minutes. After successful startup, install the Magisk Manager application (download APK from GitHub) and check the root rights status. If the application displays a green tick, it was successful.
| Problem. | Possible cause | Decision |
|---|---|---|
| Magisk is not installed | Incompatible version of TWRP | Update the recaps to the last assembly |
| The phone goes into the bootloop | Conflict with Magisk modules | Download to TWRP and delete files to /data/adb/modules |
| SafetyNet does not pass | There's no cloaking of the root | Install the Universal SafetyNet Fix module |
| Apps don't see root | Not activated by MagiskHide | Enable the option in the Magisk settings |
π‘
If your mobile data stopped working after installing Magisk, try flashing a patch for your modem through TWRP. This often solves the network problem on custom firmware.
Root rights verification and solving typical problems
After installing Magisk, you need to make sure that the root rights work correctly.
- Install the Root Checker app from Play Market.
- Run it and press Verify Root.
- If you see a message, βCongratulations! Root access is properly installed...,β itβs okay.
Typical problems and their solutions:
- π Bootloop after firmware: Load into TWRP and sew Disable_Dm-Verity_ForceEncrypt.zip (shut down system integrity check).
- π΅ Mobile network not working: Swipe stock modem through TWRP or update the firmware.
- π Banking apps don't run: Activate MagiskHide and add apps to the hidden list.
- π Fast battery drain: Disable unnecessary Magisk modules or return to the stock core.
If the root rights are not determined, check:
- Magisk version (should be at least 24.0 for Android 9)
- Integrity of boot.img file (if manually stitched).
- Presence of conflicting modules (remove all unnecessary in /data/adb/modules).
π‘
If after obtaining the root license stopped working OTG or NFC, It's about changing the kernel access rights. OTG_NFC_Fix.zip for Redmi 6A.
How to return everything back: removing root rights and blocking the bootloader
If you need to return the device to its original state (for example, for sale or warranty repair), follow the following steps:
Removal of root rights:
- Load to Magisk Manager and select Uninstall β Complete Uninstall.
- Confirm the action and restart the device.
Stock recaveri recovery:
- Download the official firmware for Redmi 6A from Xiaomiβs website (select the version for your region).
- Remove the recovery.img file from the archive.
- Fastboot: Fastboot Flash Recovery recovery.img
Locking the loader (optional):
To completely lock the bootloader on MediaTek, you will need:
- Download stock preloader for your firmware version.
- Swipe it through the SP Flash Tool (similar to unlocking, but with the original file).
β οΈ Note: Once the bootloader is locked, you will not be able to re-unblock it through SP Flash Tool without the risk of a breeze. If you plan to go back to root rights, leave the bootloader unlocked.