Getting root rights to Xiaomi Redmi 8 opens up access to hidden Android features, from removing system applications to fine-tuning performance. However, the process requires care β a mistake at any stage can turn a smartphone into a brick. In this article, we will discuss three officially supported root rights methods (via Magisk, SuperSU and LineageOS), and also explain how to get around typical problems such as a locked bootloader or an anti-rollback error.
It is important to understand that Xiaomi actively blocks unauthorized changes to the firmware. The latest version of MIUI on Redmi 8 (codenamed olive) requires you to unlock the bootloader through the official Mi Unlock Tool, as well as a Mi Account account with a tied phone number. If you have never worked with fastboot or ADB, we recommend that you first read the Preparation section to avoid fatal errors.
According to statistics from XDA Developers, about 30% of Redmi 8 users are experiencing a problem of βunlocking the bootloaderβ due to an outdated version of the Mi Unlock Tool or an improperly linked account, and we will detail how to fix this, as well as provide current links to tools (updated in May 2026).
1.Preparation: What to do before unlocking
Before you start unlocking, make sure your Redmi 8 meets the key requirements. First, check out MIUI: root rights can only be obtained on firmware older than MIUI 12.0.3 (for olive). If you have a newer version, you will have to roll back - the instructions below.
Second, be sure to link your Mi Account to your device:
- Go to Settings β Xiaomi account.
- Sign in (if not authorized) and add a phone number.
- Activate the option βFind the deviceβ (Settings β Additional β Find the device).
Without this, the Mi Unlock Tool will not allow unlocking.
Also prepare:
- π Cable USB Type-C (original, undamaged).
- π» Windows computer 10/11 (For the Mi Unlock Tool).
- π± Battery charge of at least 60%.
- π Backup data (unlocking will reset the phone!).
β οΈ Note: If you have previously installed unofficial firmware or modified boot.img, Mi Unlock Tool can block unlocking on the 720 hours (30 Check the lock status with the command: fastboot oem device-info Look for the line Device unlocked: false - if it says true, the bootloader is already unlocked.
2 Unlock the bootloader through the Mi Unlock Tool
Xiaomiβs official tool is the only legal way to unlock the bootloader on Redmi 8. Download the latest version of the Mi Unlock Tool from the official website (as of May 2026, version 5.5.224.30 is current).
Step-by-step:
- Turn off the phone and press Volume Down + Power to log into Fastboot Mode.
- Connect Redmi 8 to your PC. Android Bootloader Interface should appear in the Device Manager.
- Launch the Mi Unlock Tool on behalf of the administrator and log in under the same account as you do on your phone.
- Press Unlock and wait until it is completed (usually 10-15 minutes).
If the program is unable to unlock or Current account is different from the account info on the device, do:
- π Restart your phone and PC, repeat authorization.
- π± Make sure that SIM-Card inserted and account linked to number.
- π Wait 72 hours if you have previously failed to unlock.
Linked to Mi Account with phone number|Developer mode is on|Debugging by USB permitted|Drivers installed ADB/Fastboot|Data backup made.-->
β οΈ Warning: Once the bootloader is unlocked, Redmi 8 will automatically reset to factory settings. All data (photos, contacts, messages) will be deleted! If you use Google Authenticator or other device-bound apps, transfer it to another phone in advance.
3. Installation of custom TWRP Recovery
Standard Recavery MIUI It does not allow you to install modified firmware or Magisk. Therefore, after unlocking the bootloader, you need to flash TWRP β It's a root-enabled custom Recovery. 8 (Olive) current version β TWRP 3.7.0_12-0 (mauronofrio).
Installation instructions:
- Download. twrp-3.7.0_12-0-olive.img official website TWRP.
- Move the file to a folder from fastboot (e.g., C:\platform-tools).
- Enter the command for firmware: fastboot flash recovery twrp-3.7.0_12-0-olive.img
- Immediately after the firmware reboot to the Recovery: fastboot boot twrp-3.7.0_12-0-olive.img
If after the reboot MIUI automatically replaces TWRP with stock Recovery, follow:
- π§ Install Magisk (instructions in the next section) β this will block the replacement of the Recovery.
- π΅ Turn off automatic updates MIUI In Settings β The phone.
| Problem. | Reason. | Decision |
|---|---|---|
| TWRP doesn't start | The Wrong Version for Olive | Download the build for Redmi 8 (not for Redmi 8A!) |
| Invalid sparse file format error | The.img file is damaged. | Download TWRP, check the checksum |
| Hanging on the MI logo | Conflict with FBE encryption | Format /data to TWRP (see spoiler) |
How to format /data in TWRP if the phone is getting stuck on the boot?
4. Getting root rights through Magisk
Magisk is the most popular root-rights tool for systemless rooting, which hides root from applications (like banking) and makes it easy to update firmware. The latest stable version for May 2026 is Magisk 26.4.
Installation of Magisk:
- Download Magisk-v26.4.zip from GitHub.
- Move the archive to your phone or flash drive.
- Download to TWRP and select Install β Select Magisk-v26.4.zip β Swipe to Confirm Flash.
- After installation, reboot to the system.
To check for root rights, install Magisk Manager (or Magisk Alpha for Android 13+) and run the check. If the status shows Root: Yes, it went well.
- π Reinstall Magisk through TWRP.
- π± Check if the antivirus is blocking (e.g. Google Play Protect).
- π§ Make sure that in the settings β Special facilities β Full access to Magisk switched on tumbler.
π‘
If the phone doesnβt boot after installing Magisk, try flashing Magisk-uninstaller.zip through TWRP and then repeat the installation with the encryption turned off (/data).
5. Alternative methods: SuperSU and LineageOS
If Magisk is not suitable for some reason, two alternatives can be considered:
1. SuperSU (Outdated Method)
- β Easy to install, but doesnβt support Android 10+.
- β Not updated since 2018, security issues are possible.
- π You can download it from XDA (version 2.82-SR5).
2. LineageOS with pre-built root
- β Fully custom firmware without bloatware from Xiaomi.
- β Regular security updates.
- β Requires full reflashing (loss of warranty).
- π Official assembly for olive: lineageos.org.
To install LineageOS, you will need:
- Swipe vendor.img and dtbo.img from stock firmware (otherwise the camera/network modules will not work).
- Install GApps (if you need Google services).
- Disable encryption in TWRP (otherwise the system will not boot).
π‘
LineageOS is the best choice for those who want to get rid of MIUI forever, but require more technical knowledge than Magisk.
Typical errors and their solutions
Even with the exact instructions, Redmi 8 users often face problems.
Error 1: Anti-rollback protection
If you're trying to flash a firmware older than the one already installed, Xiaomi blocks the process.
- π Reverse to stock firmware via Mi Flash Tool (select clean all).
- π₯ Download firmware with the same or newer anti-rollback number (e.g, MIUI 12.0.3 β 12.0.5, but not vice versa).
Error 2: Hanging on the MI logo after firmware
Reasons:
- π Conflict with encryption FBE (File-Based Encryption).
- π§ Incompatible version TWRP magisk.
Solution: boot into TWRP, execute Format Data (as in the spoiler above) and re-install.
Error 3: Mi Unlock Tool doesn't see the device
Check it out.
- π Cable and port USB (Try another port on the PC).
- π₯οΈ Drivers installed ADB/Fastboot (downloadable SDK Platform Tools).
- π Restart your PC and phone, re-sign in to Mi Account.
7. How to hide root from applications (MagiskHide)
Many apps (banking, gaming, Netflix) block access when root is detected. Magisk offers a built-in masking mechanism called MagiskHide, but in recent versions it is renamed DenyList.
How to set up DenyList:
- Open Magisk and go to Settings β Hide Magisk (DenyList).
- Add applications that donβt need to see root (like SberBank Online).
- Activate the Enforce DenyList option.
- Reboot the phone.
If the app still detects root,
- π Try to enable Zygisk in the Magisk settings.
- π± Install Universal SafetyNet Fix via Magisk.
- π§ Check if other modules conflicting with DenyList are installed.
π‘
To pass SafetyNet (for example, for Google Pay), additionally install the MagiskHide Props Config module and select the Pixel 5 certificate in the settings.