Root Xiaomi Mi 8/SE/Lite Pie 9.0 using TWRP and Install Magisk

Xiaomi Mi 8 mobile has a lot of variants like Lite, SE and Explorer Edition. Considering hardware, It is a great device. Based on the options, RAM may vary. In Lite version instead of Snapdragon 845, they used Snapdragon 660. Beyond hardware, If you hate MIUI, you can Install Custom ROM like Pixel Experience, You can expect some Performance improvement in UI. If you are a regular user, and you don’t have any uncomfortable with MIUI, You don’t need root to disable the Ads. At the end of this tutorial, I attached a link to Disable Ads without Root. If you are a developer and have some experience with the Rooting, you can follow below guide to achieve root on your mobile.
Xiaomi Mi 8

Why should you Root Xiaomi Mi 8/SE/Lite?

You should have a proper reason, and you know what you are doing. Yes, with a Minimum of 6/8 GB RAM and Snapdragon 660 processor (Lite Version) and Snapdragon 845 processor, You can use this mobile without root for 2-3 Years If you use correctly. Don’t root because everybody is saying when root your mobile it can become the fastest car in the world. No. Rooting is to extract some performance from the device. But, you already have Powerful specs and software. So, If you are addicted to some root apps, you can root. But, if you want to test, I won’t recommend it.

How to Root Xiaomi Mi 8/SE/Lite Pie 9.0

Xiaomi Mi 8 International Variants comes with a flexible bootloader other than some locked devices. Example- In Samsung, Verizon mobiles come with locked Bootloader. This means that different smartphone variants can be easily rooted. Also, the device can accept to install TWRP recovery or any other custom recovery file/app alike.

TWRP recovery is a custom recovery file which must be installed on your devices because you can root them successfully. In this article, we explained the easiest method to follow and install TWRP recovery on Xiaomi Mi 8. However, the tool required for rooting this device is the Magisk App.

With the help of TWRP Recovery, you can quickly flash the latest version of Magisk into your Xiaomi Mi 8 to gain root access. Before sharing the tutorial, you may want to know that, with the TWRP recovery present on your device, you can easily install any custom ROM or firmware. Does it seem complicated? Relax, everything will be explained succinctly in bullets.

Things to check out for;

  • Make sure your device battery is charged above 50%

  • Backup your current files and data, full data loss process (save them on external storage).

Pre-Requirement Steps

OnePlus 6T OEM Unlock and USB Debugging


  • Enable USB Debugging Mode and OEM Unlock in your mobile. To do this; go to settings >>> about >>> Tap on the “Build Number” 7-10 times consistently to enable “Developer Options,” then go to the “Developer Options” and enable USB Debugging Mode, OEM Unlock, and Enable the ‘Advanced Reboot.’ There is no complicated process in Xiaomi Mi 8.

  • Also, download the ADB drivers. Install It on your PC.

  • Download Magisk.Zip (Latest Version) and Copy it to Your Phone Memory.
  • Download and save the TWRP File in your Internal Memory and rename it to recovery.img.

  • twrp-3.3.1-0-dipper.img (Xiaomi Mi 8)

Unlock Bootloader using ADB and Fastboot

  • Enter your Mobile details like phone number, IMEI, reason. You will get the confirmation code on your mobile. Enter the confirmation code on the Mi website and request for unlocking. You will receive a confirmation mail after the approval in 2-10 Days.
Also Read-  The upcoming Redmi Note 10 series will come with an AMOLED screen

Mi Flashtool Installation


  • Install the Mi Flash Tool in the received mail. Log in with your Same Mi Account, which used to get the Software.

Mi Flash Tool Unlock

  • Switch off your device. Connect your mobile to PC. Then, enter into Fastboot mode. To do this; Press and hold down the Volume Down + Power buttons at the same time for some time. It will boot your mobile into Fastboot mode.
  • After you successfully boot into Fastboot mode, Select Unlock. It will take 2-3 minutes to finish the process. After the successful process completion, Reboot your mobile.Xiaomi Redmi Note 7 Fastboot

  • Check again enable “Developer Options,” then go to the “Developer Options” and enable USB Debugging Mode, OEM Unlock and Enable the “Advanced Reboot.” Sometimes they disabled them self after the boot.

Flash TWRP

  • Switch off your device. Connect your mobile to PC. Then, enter into Fastboot mode. To do this; Press and hold down the Volume Down + Power buttons at the same time for some time. It will boot your mobile into Fastboot mode.
  • Now, connect the Xiaomi Mi 8 mobile to the computer via USB cable.

  • Launch the fastboot on your computer. Open a Command prompt on your PC and type below command.

  • fastboot flash recovery recovery.img
  • Don’t boot into Normal OS. Type the below command to Boot into TWRP.

  • fastboot boot recovery.img
  • After the process complete, It will boot into the temporary TWRP. Don’t Boot into standard OS until we flash magisk.

Install Magisk and Disable Force Encryption Treble in your Xiaomi Mi 8 using TWRP

Xiaomi Mi 8 TWRP

  • Select Wipe->Advance Wipe->Select Cache Data.
  • Return to Home of TWRP select Install.
  • Select Disable Force Encryption Treble.Zip.
  • After the Installation Again navigates to Home and Select Install.
  • Select Magisk.Zip. After the successful installation, Reboot your mobile.
  • You can also install Magisk Manager in your Mobile Applications. Install Root checker to verify your Root Status.

What More?

Xiaomi Mi 8 Lite version has a minimum of 6 GB RAM and Regular version has 8 GB of RAM, and it is a Good High-End phone; There are Major regular updates and monthly updates, from Xiaomi for a long duration. If you compare it with Old devices, they still receiving updates. So, you know what you are doing and the real purpose, you can root your device. If you want to disable Ads, you can use other methods, which doesn’t require root. Xiaomi promised to optimize these Ads in the upcoming versions.

Also Read-  Install TWRP on Samsung Galaxy A80 SM-A8050/F/N Android 10


Share This Post:

18 thoughts on “Root Xiaomi Mi 8/SE/Lite Pie 9.0 using TWRP and Install Magisk

  1. after trying many times tutorials on other websites and soft brick several times, only this website is successful, thank you

  2. Hi, sir, I have a problem please how to fix Xiaomi Mi 8 SE not connected to laptop only charging I also open USB debugging, but still, that problem persists. Wants how to fix this. This problem happened after the MIUI 11 OTA update.

    • Install Any File Explorer app from Play Store. Enable Show hidden files. Go to Device Storage> Storage> build. prop file and replace the existing code with the following line.

  3. Hi Selva
    I have done your tutorial, and everything works until the last step with an MI 8. after installing Magisk, I have rebooted the system, but it does not start. It keeps on the screen with the logo MI. could you help me with this? Thanks in advance for your help.

    • Did you clear the user data cache before installing Magisk? Sometimes It may take too long to load in the first boot. If you can’t boot to your mobile, Flash the ROM and Do the root steps again.

  4. hi Selva
    I have reinstalled the ROM, and then I have begun the procedure again. I have done this: Select Wipe-> Advance Wipe-> Select Cache Data with the same result. Do you know what is happening? thanks


    • Does your mobile boot into TWRP Correctly? You should flash the Magisk after the Disable Force Encryption Treble flash. IF you Prefer Custom ROM, Do the Root process again. This Time Clear System Data also. And Flash your ROM. Don’t forget to take a backup.

  5. Tinha root funcionando no mi 8 lite com o android 9, atualizei pro 10, ta funcionando normal, mas não consigo instalar o twrp, sabe solucionar?

    • Este método funciona até a versão Pie. Atualizaremos o TWRP assim que tivermos uma versão estável.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.