Getting root rights to Xiaomi Redmi 7A opens up access to hidden Android features, from removing system applications to fine-tuning performance. However, the process requires care โ one mistake can turn a smartphone into a brick. In this article, we will discuss three officially supported methods (via Magisk, SuperSU and LineageOS) relevant to MIUI 12/13/14 firmware based on Android 9/10, taking into account the features of the Redmi 7A model (codename pine).
Important: after unlocking the bootloader, Xiaomi resets all data and the warranty is canceled. If you use a smartphone to work with banking applications (Sberbank, Tinkoff), note that many of them block access on rooted devices. Before you start, check the firmware version in Settings โ About Phone โ MIUI version โ this depends on the choice of method.
Preparing for root rights: what to do before unlocking
Before you start unlocking the bootloader and installing the root, follow the mandatory preparatory steps. Ignoring them can lead to data loss or the inability to restore the phone to work.
First, back up all your important data. Use Mi Cloud (unless it's locked) or third-party utilities like Titanium Backup (requires root, but you can copy files manually to your PC).
- ๐ฑ Contact (export to) VCF)
- ๐ธ Photo and video (copy to external drive)
- ๐ Passwords from the browser (synchronize with Google)
- ๐ฎ Game saves (use the game cloud or manual backup)
Second, check the battery status. The unlocking and firmware process can take up to 30-40 minutes, and an interruption due to battery discharge is almost guaranteed to make it impossible to recover using standard methods (JTAG required), charge the phone to at least 80% and connect to a power source.
Also prepare:
- ๐ฅ๏ธ Windows computer 10/11 (or Linux/macOS virtual-machine)
- ๐ Original. USB-cable (poor cables may interrupt the connection)
- ๐ฅ Archives with utilities: Mi Unlock Tool, ADB/Fastboot, TWRP for Redmi 7A
Make a data backup|Charge the phone to 80%+|Download Mi Unlock Tool|Install drivers ADB|Disable antivirus (can block utilities)-->
Unlocking the bootloader on Redmi 7A: step-by-step instructions
Xiaomiโs bootloader is locked by default and unlocking it is a must before getting a root.The procedure takes 72โ168 hours (3โ7 days) due to Xiaomiโs security policy, which requires waiting after you link your account to your device.
Step 1. Link your Mi Account to your phone:
- Go to Settings โ Xiaomi Account and log in.
- Turn on Settings โ Additional โ For Developers โ Unlock OEM (if there is no item, tap 7 times on the MIUI version to activate the developer mode).
- Connect the phone to the PC, confirm the trusted device in the pop-up window.
Step 2: Download the Mi Unlock Tool from the official website (the version should match your firmware) and install the utility and run it on behalf of the administrator.
Step 3: Enter the Mi Account to which the phone is linked. The utility will show a wait timer (usually 168 hours for new accounts). Once the deadline expires, press Unlock and the phone will restart and the bootloader will be unlocked.
๐ก
If the Mi Unlock Tool gives you a "Couldn't unlock" error after waiting, try using the 5.5.224.24 version of the utility, which is often more stable than new releases.
โ ๏ธ Note: After unlocking the Redmi bootloader 7A It will automatically reset to factory settings. Don't try to interrupt the process, it can damage the persist partition, which will require flashing through the factory. EDL-regime.
Install custom recovery (TWRP) on Redmi 7A
Xiaomiโs standard recovery doesnโt allow you to flash files to get root, so the next step is to install the TWRP (Team Win Recovery Project), a modified recovery with support for root and backup.
Download the current version TWRP for Redmi 7A (codename pine) from the official website twrp.me. At the time of writing, stable version โ 3.7.0_9-0. The file must have the.img extension.
Installation instructions:
- Move the downloaded twrp-pine.img file to the folder with ADB/Fastboot (usually C:\platform-tools).
- Open the command prompt in this folder (Shift + right mouse button โ โOpen PowerShell window hereโ).
- Turn the phone into Fastboot mode: turn it off, then press Power + Volume Down.
- Connect your phone to your PC and execute the command: fastboot flash recovery twrp-pine.img
- After successful firmware, restart the TWRP command: fastboot boot twrp-pine.img
First launch. TWRP will offer to allow modification of the system partition โ swipe to the right, otherwise you will not be able to flash Magisk. If recovery requests a password (if there is encryption), enter PIN-code of your phone.
| Problem. | Reason. | Decision |
|---|---|---|
| TWRP doesn't start, Mi logo flashes | Incorrect recovery version or corrupted file | Reflash TWRP with another version (e.g. 3.6.2) |
| Error "Failed to mount /data" | Data Encryption (FBE) | Format /data in TWRP (Warning: Delete all data!) |
| Telphon stuck on the logo after firmware | Magisk incompatibility with firmware | Swipe Magisk to another slot or roll back the version |
Getting root rights through Magisk: the most reliable method
Magisk is a universal solution for obtaining root rights without violating the integrity of the system partition (due to systemless root technology).The method works on Redmi 7A with MIUI 10-14 firmware and allows you to hide the root from banking applications.
Step 1. Download the latest version of Magisk (at the time of writing - v26.4) from GitHub. The file should be called Magisk-v26.4.zip.
Step 2. Move the archive to your phone (you can use MTP to TWRP or ADB push):
adb push Magisk-v26.4.zip /sdcard/Step 3. In TWRP:
- Click Install โ select Magisk-v26.4.zip.
- Swipe to confirm the firmware.
- After completion, press Reboot System.
Step 4: Once you reboot, install Magisk Manager (download APK from GitHub) and check the root status in the app. If it goes well, you'll see a green tick and a version of Magisk.
What to do if Magisk is not installed?
โ ๏ธ Note: Some of the Redmi firmware 7A (for example, MIUI 12.5 Enhanced) Magisk may conflict with the dm-verity module, resulting in a cyclical reboot. Disable_Dm-Verity_ForceEncrypt.zip straight after Magisk.
Alternative root methods: SuperSU and LineageOS
If Magisk is not suitable for some reason (e.g., old Xposed modules need support), alternatives may be considered, but note that these methods are less reliable and can cause compatibility problems.
Method 1: SuperSU (Old but Working)
SuperSU is a classic root-right solution, but it modifies the system partition, which can lead to problems with OTA updates.
- Download SuperSU-v2.82.zip (last stable version).
- Sweat through TWRP (similar to Magisk).
- Install APK SuperSU from the Play Market.
Cons: no support for hiding the root, possible conflicts with SELinux.
Method 2: LineageOS with pre-built root
If youโre ready to change firmware completely, LineageOS offers pure Android with optional root access. For Redmi 7A, unofficial builds based on Android 11 are available:
- Download firmware and GApps (like OpenGapps pico).
- Sweat through TWRP (first firmware, then GApps).
- Include root in Settings โ System โ For developers.
Pros: stable operation, regular updates. Cons: loss of MIUI features (for example, built-in screenshot with scrolling).
Root rights verification and solving typical problems
Once you install the root, make sure everything is working correctly. Use the Root Checker app from the Play Market or run a command in the terminal:
suIf you get an input invitation (#), the root is installed successfully. If not, check:
- ๐ Check it out. Magisk/SuperSU (It's possible the file is corrupted).
- ๐ฑ Make sure that in TWRP There were no errors in the firmware.
- ๐ง Check the Magisk Manager settings (the "Superuser" tab").
Typical problems and solutions:
- ๐ซ Banking apps donโt work: Enable Magisk option and add the app to the Hiding List.
- ๐ The phone is cyclically rebooted: Disable_Dm-Verity_ForceEncrypt.zip Or go back to the older version of Magisk.
- ๐ต No network after firmware: check if the firmware version is compatible with your modem (sometimes you need to flash vendor and firmware separately).
If after receiving the root phone stopped booting, try:
- Download to TWRP and flash Magisk-uninstaller.zip.
- Restore backup boot and recovery (if done before firmware).
- Reflash the original firmware through the Mi Flash Tool in clean all mode.
๐ก
If the phone is stuck on the Redmi logo after Magisk firmware, the problem is probably incompatibility with the firmware core. Solution: Sweat Magisk to an inactive slot or use the Magisk Canary version.
How to remove root rights and return the phone to its original state
If you no longer need root rights (for example, to sell a phone or restore a warranty), they can be completely removed.The process depends on the method you used.
For Magisk:
- Download Magisk-uninstaller.zip from GitHub.
- Flow the file through TWRP.
- Reboot the phone.
For SuperSU:
- Open the SuperSU app.
- Go to Settings โ Complete removal of the root.
- Confirm the action and restart the phone.
To return the standard loader and recovery:
- Download the original firmware for Redmi 7A from Xiaomi.
- Unclick it and find the recovery.img file.
- Quickboot: fastboot flash recovery.img fastboot flash boot.img
- Block the bootloader with the command: fastboot oem lock Attention: this will delete all data!
โ ๏ธ Attention: After locking the bootloader, the phone will perform a complete reset. If you plan to sell the device, pre-check the health of all functions (camera, sensors, network) - sometimes after manipulation with the firmware, hardware problems arise that do not immediately appear.