How to Root on Xiaomi Redmi 8 Pro: A Complete Guide from Unlocking to Magisk

Why you need a root on the Redmi 8 Pro and what risks it carries

Getting root rights to Xiaomi Redmi 8 Pro (codenamed olivelite) opens up hidden Android features, but requires careful attention. With root access, you can uninstall system applications, configure the kernel, install custom firmware, and use powerful utilities like Titanium Backup or Greenify. However, the process comes with risks ranging from loss of warranty to device blink if partition manipulation errors occur.

The main difficulty for owners of Redmi 8 Pro is the need to pre-unlock the bootloader through the official Mi Unlock Tool. Xiaomi has tightened security policy, and now requires binding the Mi Account to the device with a wait of 168 hours (7 days) before unlocking. This step cannot be missed: without unlocked bootloader, installing custom recovery (TWRP) and Magisk is impossible.

In this guide, we will discuss the current method for obtaining root rights for 2026, taking into account all the nuances of the Redmi 8 Pro (including the problems with data encryption on MIUI 14), you will learn how to bypass typical errors like Fastboot OEM unlock with code 86006, which versions of TWRP work consistently with this model, and how to properly patch boot.img through Magisk to avoid getting stuck with the Xiaomi logo.

Preparation of the device: what to do before unlocking

Before starting the process, make sure your Redmi 8 Pro meets the following requirements:

  • πŸ“± Version. MIUI: Global stable or European (Chinese firmware can block unlock). β†’ The phone. β†’ Version. MIUI.
  • πŸ”‹ Battery charge: at least 60% Recommended 80% to avoid sudden shutdown.
  • πŸ” Mi Account: Linked to a device with a confirmed phone number and email.
  • πŸ’» PC: Windows 7/10/11 (64-bit) with the antivirus disabled (it can block) ADB-driver).

Download and install the necessary tools:

Tool.Download linkNote
Mi Unlock ToolOfficial Xiaomi websiteVersion 5.5.224.30 or later
ADB & FastbootAndroid DevelopersUnpack in C:\platform-tools
TWRP for oliveliteOfficial website of TWRPVersion. 3.7.0_9-0 (tested MIUI 14)
MagiskGitHub TopjohnwuThe latest stable version (26.4+)

Turn it on on your phone:

  1. Developer Mode: Go to Settings β†’ About Phone and 7 times click on the MIUI version.
  2. USB Debugging: in Settings β†’ Additional β†’ For developers, activate USB Debugging and OEM Unlock.
  3. Mi Account Link: In Settings β†’ Xiaomi Account β†’ Mi Cloud Make sure the device is tied.
πŸ“Š What experience do you have with working with ADB/Fastboot?
Never used it.
I tried to unlock the loader.
Installed TWRP/Root previously
I've been stitching custom ROMs.

Unlocking the bootloader: bypassing the 168-hour timer

The process of unlocking the bootloader on the Redmi 8 Pro is divided into two stages: linking the account to the device and actually unlocking through the Mi Unlock Tool. Xiaomi has introduced a mandatory wait of 168 hours (7 days) between these stages to combat device theft.

Step 1: Linking your Mi Account to your device:

  1. Connect your phone to your PC through the original USB-cable.
  2. Launch the Mi Unlock Tool on behalf of the administrator.
  3. Sign in with the same Mi Account as you do on your phone.
  4. Click Bind account and device. If the message Added successfully.Wait for 168 hours appears, the link is successful.

Step 2: Accelerate unlocking (unofficial method):

How to reduce the waiting time to 72 hours?
This method does not work on all devices, but can reduce the wait from 168 to 72 hours: 1. Once you have your account tied, go to Settings β†’ Xiaomi Account β†’ Mi Cloud β†’ Find the device. 2. Activate Find the device and wait for synchronization (5-10 minutes). 3. Return to Mi Unlock Tool and try to unlock the bootloader - sometimes the timer is shortened to 3 days. Attention: the method does not guarantee the result and can only work on older versions of MIUI (up to 13.0.6).

Step 3: Unlock the bootloader after waiting:

  1. Turn off your phone and press Power + Vol Down to log in to Fastboot.
  2. Connect the device to your PC and start the Mi Unlock Tool.
  3. Press Unlock. If you see a Couldn't unlock 86006 error, try again in 24 hours.
  4. After successful unlocking, the phone will automatically reset to factory settings.

⚠️ Note: Once the bootloader is unlocked, all data on the phone will be deleted, including photos in internal memory. Backup via Mi Cloud may not restore some settings due to changes in system partitions. ADB Backup: Saving applications and their data: adb backup -apk -obb -shared -all -f C:\backup.ab Installation TWRP and obtaining temporary root access After unlocking the loader, the next step is to install a custom recavery TWRP, It's a system that allows you to stitch in patched images and get root rights. 8 Pro critically use the correct version TWRP, as new assemblies MIUI (13+) They may be in conflict with old recyclers. Download the current one. twrp-3.7.0_9-0-olivelite.img From the official website and run the following commands in Fastboot: fastboot flash recovery twrp-3.7.0_9-0-olivelite.img fastboot boot twrp-3.7.0_9-0-olivelite.img If, after rebooting, the TWRP system offers to enter a password (due to data encryption), follow the following steps: Make a swipe to allow modifications (if requested) Go to Wipe β†’ Format Data (this will delete all data!) Enter yes to confirm Reboot to Reboot (Reboot) β†’ Recovery) --> To check the temporary root access in TWRP: Connect your phone to your PC and open the terminal. ADB. Enter the command adb shell su If the # symbol appears instead of the $ β€” The time root is active, so you can flash Magisk in the next step. ⚠️ Attention: On some firmware MIUI 14+ post-installation TWRP The system can automatically restore the stock recaveries when it first loads. TWRP file disable_force_encrypt_treble.zip (download XDA This will disable the forced encryption that interferes with Magisk's operation.Magisk Installation: patch boot.img and get a permanent root Magisk is a universal system for root rights management, which allows you to hide the root from applications (for example, banking) and update OTA without losing a root. 8 Pro critically use the right patching method boot.img, Because doing the wrong thing will lead to a looped bootloop. 1: Extracting the original boot.img: Download the firmware for your model from the Xiaomi Firmware Updater website (choose Fastboot) ROM). Unpack the archive and find the file. boot.img picture-folder. Copy it onto your phone in the Download folder. 2: Patching via Magisk: Install APK-Magisk file on your phone (don't run!) TWRP Go to Advanced. β†’ File Manager and find it boot.img. Select and Patch a File in Magisk and point the way to the boot.img. After patching the file magisk_patched.img It'll appear in the Download folder. 3: Patch-plated firmware boot.img: fastboot flash boot magisk_patched.img fastboot reboot After the reboot, check for root rights through the Magisk app.If the phone is fixated on the Xiaomi logo: πŸ’‘To get out of the bootloops on Redmi 8 Pro, hold the Power. + Vol Up on the 10 If that doesn't work, then you can run the original. boot.img back through Fastboot and repeat the patching with the encryption disabled (see previous section). Solving Typical Problems After Getting a Root Even With a Successful Magisk Installation, Redmi Owners 8 Pro may face a number of problems related to features MIUI Here are the most common ones and how to solve them: Problem Cause Solution Phone is not booting (bootloop) Wrong patched boot.img or conflict of Magisk modules Ask for original boot.img and repeat patching with disabled modules Not working NFC Damage to the seller section when firmware Swipe stock vendor.img Fastboot is not defined SIM-Cards missing IMEI after discharge Restore IMEI through QCN maui META Magisk does not hide root from banking apps Inactive MagiskHide or outdated version Update Magisk, activate MagiskHide and add apps to the list To Restore IMEI on the Redmi 8 Pro: Download Maui META and Qualcomm drivers. Put the phone in mode. EDL (clamp down + Vol Down and connect to the PC. In Maui META Choose a port and restore it. IMEI If after receiving the root, gestures or sensor stop working: Sensor recovery after root This problem is associated with file damage in the section /persist. Decision: 1. Download the stock firmware for your model. 2. Extract the file. persist.img archived. 3. Fastboot: Fastboot Flash Continue persist.img 4. Reboot the device. How to hide the root from the apps and update MIUI One of the key features of Magisk is the ability to hide root rights from applications that block them (banks, games, payment systems). 8 Pro is implemented through the MagiskHide function, but with the output MIUI 14+ Its effectiveness has decreased due to tighter security checks. To activate MagiskHide: Open the Magisk app. Go to Settings β†’ MagiskHide and activate the function. Add problematic apps to the list (e.g. Sberbank Online, Google Pay). Reboot the device. If the application still detects root: πŸ”„ Try changing the name of the Magisk package through the MagiskHide Props Config module. πŸ“± Install Universal SafetyNet Fix to pass SafetyNet. πŸ”’ Disable all other Magisk modules - they may conflict. MIUI without losing the root: Download OTA-Update through Settings β†’ Software Update. Don't install it directly! Instead: Copy the update file to the Download folder. In Magisk, select Install β†’ Select a file and specify OTA-After installing Magisk, the new patchnet is automatically installed. boot.img. ⚠️ Attention: On Redmi 8 Pro updates through MIUI Updater with root rights can lead to data loss in the section /data. Always make a backup copy through TWRP before updating, using the adb backup command or the built-in backup function in the Recovery. FAQ: Answers to Frequent Questions about Root on Redmi 8 Can I get a rout on Redmi? 8 Pro without unlocking the bootloader? No, it's impossible. Xiaomi blocks modification of system partitions without unlocking the bootloader. All "methods without unlocking" (for example, through exploits) either do not work on the system partitions. MIUI 12+, The only legal way to do this is to officially unlock it through the Mi Unlock Tool. Why doesn't the phone pass SafetyNet after you install Magisk? MIUI Modifies system files that are checked by SafetyNet. Solutions: Install Universal SafetyNet Fix module in Magisk. Activate MagiskHide and add Google Play Services to the list of hidden apps. check status through the app YASNAC (Yet Another SafetyNet Attestation Checker? If it doesn't work, try flashing a custom core with SafetyNet (like Perseus for Qualcomm devices). How do you get your warranty back after you get the root? Officially, no way. Xiaomi will void the warranty when you unlock the bootloader. However, you can: Swipe stock firmware through the Mi Flash Tool (choose the clean all option); Close the bootloader with fastboot oem lock (this will delete all data!); Delete the Mi Account associated with the device (via Settings). β†’ Attention: Xiaomi service centers check the status of the bootloader through the diagnostic menu (#4636##), so a complete root cover is unlikely? For Redmi. 8 Pro (olivelite) is recommended the following firmware: πŸ“± Pixel Experience – pure Android with Google Camera support. πŸ”„ LineageOS 20 β€” stable firmware with long support life. 🎯 crdroid – Balance between customization and productivity. πŸ”‹ DerpFest is a firmware with a focus on performance and battery life. Check compatibility with your version before installing. MIUI (Some of the firmware requires firmware fw_vendor stock-flow MIUI 13+). What if the camera stopped working after the root? /vendor. Solutions: Stripe the stock vendor.img from your version MIUI. Install the Magisk module MIUI Camera Patch (available on the XDA). Check the camera settings in /vendor/build.prop β€” Sometimes you need to manually edit the parameters persist.camera. If the camera still doesn’t work, try flashing an alternative GCam port (such as from BSG or Wichaya).