How to get a root rights on Xiaomi Redmi 8 Pro: a complete guide with unlocking the bootloader

Getting root rights to the Xiaomi Redmi 8 Pro opens up access to hidden Android features, from removing system applications to fine-tuning performance. However, the process requires carefulness โ€“ a mistake at any stage can turn a smartphone into a โ€œbrick.โ€ In this article, we will discuss three officially supported root methods relevant for 2026, taking into account the features of the MIUI 12-14 firmware.

It is important to understand that Xiaomi actively blocks unauthorized firmware manipulation. The latest version of the bootloader on the Redmi 8 Pro (codenamed olivelite) requires mandatory unlocking through the Mi Unlock Tool, as well as installing a custom TWRP recoverer. We will describe each step in detail, including driver preparation, data backup and bypassing typical errors like the Fastboot Error 0x80004005.

Preparing for root rights: what to do in advance

Before you start unlocking, make sure your Redmi 8 Pro meets the key requirements:

  • ๐Ÿ“ฑ Version. MIUI: The firmware should not be lower. MIUI 12 (Android 10). Check in Settings โ†’ Older versions may not support up-to-date tools.
  • ๐Ÿ”‹ Battery charge: At least 70% Unlocking process of bootloader and firmware TWRP It takes 30 to 60 minutes, and a sudden power outage will result in an inability to recover using standard methods.
  • ๐Ÿ’ป Computer: You will need a Windows PC 10/11 (64-bit) MacOS is not supported by the official Mi Unlock Tool.
  • ๐Ÿ”Œ Cable: Original USB-Type-C cable. Cheap analogues can cause data transmission errors.

Back up all important data through Settings โ†’ Additional โ†’ Backup and Reset. Once the bootloader is unlocked, the phone will be reset to factory settings!

  • ๐Ÿ“ Mi Unlock Tool (Last version).
  • ๐Ÿ“ TWRP Redmi 8 Pro (Select the Olivelite version).
  • ๐Ÿ“ Magisk (to manage root rights).

โš ๏ธ Note: If your Redmi 8 Pro is purchased in China (the domestic version), unlocking the bootloader may not be possible without a Chinese Mi Account. โ†’ The phone. โ†’ Version. MIUI โ€” If there are characters, use alternative methods (described in the section on circumvention of restrictions).

๐Ÿ“Š You already got the root rights to Xiaomi?
Yeah, more than once.
Yeah, but long ago.
No, it's my first experience.
I tried it, but it didn't work.

Unlock the bootloader with the Mi Unlock Tool

The first and mandatory step is unlocking the bootloader. Xiaomi requires you to link the device to your Mi Account and wait 168 hours (7 days) for new devices.

Instructions:

  1. Enable Developer Mode: Go to Settings โ†’ About the phone and 7 times click on the version MIUI. Back to Settings โ†’ Additionally. โ†’ For developers and activate: ๐Ÿ”“ Unlocking OEM (may require input PIN-code). ๐Ÿ”Œ Debugging by USB.

Link the device to your Mi Account: in the same Developer Menu, find Mi Unlock Status and click Add Account. Use the same account as you do on your PC.

Turn off the phone and press Power + Volume down to go to Fastboot. Connect to the PC.

Run the Mi Unlock Tool on your computer, log in to your Mi Account and follow the instructions. If you see a message saying you're waiting 168 hours, wait until the timer ends.

โš ๏ธ Note: If the Mi Unlock Tool is an error, it canโ€™t unlock or 0x80004005, check: ๐Ÿ”น Is the phone connected to the original? USB-port (not via hub). ๐Ÿ”น Are Xiaomi drivers installed (download Mi) PC Suite). ๐Ÿ”น Is it not being used? VPN Proxies (they block access to Xiaomi servers).

Developer mode enabled |OEM |Device tied to Mi Account |Install Xiaomi drivers on PC|Phone in Fastboot-->

Installation of custom TWRP Recovery

Once the bootloader is unlocked, you need to flash TWRP, an alternative backup that allows you to install informal firmware and get root. For Redmi 8 Pro (olivelite), use TWRP version 3.7.0 or later.

Step-by-step:

  1. Download the TWRP image for your model (a file with the.img extension) and save it to the folder with fastboot (from the Mi Unlock Tool).
  2. Open the command line (Win + R โ†’ cmd) and go to the folder from fastboot: cd C:\path\k\folder\c\fastboot
  3. Please. TWRP Team: Fastboot Flash Recovery twrp-3.7.0-olivelite.img fastboot boot twrp-3.7.0-olivelite.img The phone will automatically reboot to TWRP.
  4. In TWRP, reset Dalvik/ART Cache (wipe โ†’ Advanced Wipe), otherwise the system may get stuck on boot.

If the phone does not boot into the system after TWRP firmware, try:

  • ๐Ÿ”„ Repeat the command fastboot boot twrp.img (time-load).
  • ๐Ÿ“ฅ Stock recovery with fastboot flash recovery stock_recovery.img, repeat.

๐Ÿ’ก

If TWRP Requests a password when mounting the partition /data, enter a pattern lock or PIN-the code you used in MIUI.

Install Magisk for root rights

Magisk is a universal root access management tool that does not break SafetyNet (necessary for banking applications) and once you install TWRP, you just need to flash Magisk.

Action:

  1. Download the latest Magisk-v26.4.zip (or newer) and save it to your phone or microSD.
  2. In TWRP, select Install, specify the path to the Magisk archive, and swipe for confirmation.
  3. After installation, restart to the system (Reboot โ†’ System).
  4. Install. APK-Magisk file (for module management).

Check for root rights:

  1. Open Magisk and make sure that the status is written Installed.
  2. Install the Root Checker app and run the check.

โš ๏ธ Note: If banking applications (e.g. Sberbank Online) stop working after installing Magisk, activate the MagiskHide option in Magisk settings and add the application to the hidden list. โ†’ Modules.

๐Ÿ’ก

Magisk allows you to hide root access from apps, but some banks (like Tinkoff) can block access even from MagiskHide.

Alternative methods of obtaining root rights

If the standard method didnโ€™t work, consider alternatives:

MethodAdvantagesDeficienciesDifficulty
Patched BootDoes not require TWRP, works on a blocked bootloaderYou need to patch boot.img for each firmwareโญโญโญ
Fastboot + MagiskFaster than TWRP.Requires an unlocked bootloaderโญโญ
Castom firmware (LineageOS)Clean Android without MIUI, longer updatesLoss of MIUI functions (e.g. IR port)โญโญโญโญ

For the Patched Boot method:

  1. Download stock boot.img for your version of MIUI (can be retrieved from payload.bin via Payload Dumper).
  2. Move boot.img to your phone and open it in Magisk (Install โ†’ Select and patch file).
  3. Sweep the patchy magisk_patched.img fastboot:
fastboot flash boot magisk_patched.img


fastboot reboot

What to do if the phone does not turn on after the firmware?
If, after the manipulation, boot.img or TWRP The phone hangs on the Redmi logo or goes to the bootloop, try it: 1. Re-sweeten stock ROM via fastboot flash system system.img. 2. Perform a full reset in TWRP (Wipe โ†’ Format Data, then reflash the firmware). 3. If nothing helps, use the Mi Flash Tool to recover from the EDL-Regime (Authorized Account Required).

Typical errors and their solutions

Even with the exact following of the instructions, there can be problems.

  • ๐Ÿšซ Mistake. 0x80004005 In the Mi Unlock Tool: Make sure you: ๐Ÿ”น Phone linked to Mi Account in Settings โ†’ Additionally. โ†’ For developers โ†’ Unlocking status of Mi. ๐Ÿ”น You use the original cable and port. USB 2.0 (USB 3.0 can cause malfunctions). ๐Ÿ”น Antiviruses are disabled on PC (they can block Mi Unlock Tool).
  • ๐Ÿšซ TWRP mount /data: ๐Ÿ”น Enter your password/pattern lock in TWRP upon request. ๐Ÿ”น If it doesnโ€™t work, run Format Data (all data will be deleted!).
  • ๐Ÿšซ Magisk is not stitched: ๐Ÿ”น Check the version. TWRP โ€” Redmi 8 Pro needs 3.7.0+. ๐Ÿ”น Download Magisk from the official repository (not from third-party sites).

If the phone does not turn on after all manipulations, try to return stock recovery:

fastboot flash recovery stock_recovery.img


fastboot reboot

What to do after obtaining root rights

Now that you have root, you can optimize the Redmi 8 Pro:

  • ๐Ÿงน Remove Bloat: Use Universal Android Debloater to securely remove system applications MIUI (e.g. com.miui.analytics).
  • โšก Performance optimization: Install Kernel Adiutor to customize the kernel (e.g., limit background processes).
  • ๐Ÿ”’ Security: Disable unnecessary permissions for apps via App Ops (hidden menu, available via Magisk).
  • ๐ŸŽฎ Game Chips: Activate Force GPU Rendering in the developer settings to speed up graphics.

However, keep in mind the risks:

  • ๐Ÿ”ด Security: Root opens up system files for malware. Install antivirus with root-checking support.
  • ๐Ÿ”ด Updates: After receiving root OTA-update MIUI They'll stop working. They'll have to manually update through TWRP.
  • ๐Ÿ”ด Guarantee: Xiaomiโ€™s official service may refuse warranty repairs if root is detected.

FAQ: Frequent questions about root on Redmi 8 Pro

Can I get root without unlocking the bootloader?
No, on the Redmi 8 Pro, unlocking the bootloader is mandatory. The only exception is temporary root through exploits (like DirtyCOW), but it works unstable and requires a reboot after each reboot.
How to get it back (remove root and block the bootloader)
To return the phone to its original state: Squeeze stock ROM Use the Mi Flash Tool (select clean all). Lock the bootloader with fastboot oem lock. Make factory reset. โš ๏ธ Once the bootloader is locked, custom firmware installation will be impossible without re-unlocking (and waiting 168 hours).
Will Google Pay work after you get root?
No, Google Pay is blocking your devices from working on the root because of SafetyNet requirements. However, you can get around this: Install MagiskHide Props Config. In Magisk settings, activate MagiskHide and add Google Pay to the list of hidden apps. Restart your phone and check SafetyNet status through the SafetyNet Test app. If it doesn't, use alternatives like Samsung Pay or virtual cards.
Can I update my MIUI after I get root?
Yes, but only manually: Download the full firmware package (.zip) for your model with Xiaomi Firmware Updater. TWRP (No Wipes!! After updating, re-sweep Magisk (root flies when updating). โš ๏ธ Don't use it. OTA-Updates โ€“ they will result in the loss of root or bootloop!
How to check if the bootloader is unlocked?
Two ways: Turn off your phone and press Power + Volume down. If you see a rabbit in a hat and say FASTBOOT, the bootloader is unlocked. Turn on your phone and check the status in Settings โ†’ About Phone โ†’ MIUI version. If there is an inscription Unlocked, the bootloader is unlocked.