How to Systemless Root Xiaomi Devices with Magisk

This tutorial will guide you on how to install and to setup Magisk mod to systemless root any Xiaomi device running MIUI 7 / MIUI 8. This was successfully tried on Redmi Note 3 but it should also work on Redmi 3, Redmi 4, Redmi Note 4, Mi 5, Mi Max, or Mi Mix. Please share your experience if this also works on any other variant of MIUI devices.

It is always a good start to understand the reasons behind system-less root. We have been familiar enough with Chainfire’s SuperSU and flashing it through TWRP is the easiest method to gain root access on most of MIUI devices. Conventional root allows almost anything you want to do with your Android device. However, that’s not the case with certain apps. Some apps just do not want to be installed or to run on a rooted device due to some reasons. Let’s take Pokemon Go and Android Pay as examples. The services of those apps won’t start on an altered system. Such apps will firstly attempt to detect whether the system of the phone has been altered (due to root) or not. Many users who have unleashed the beasts (read: rooted their phones) usually also install tweaks to enhance the way use other apps like modifying game’s score or faking GPS position, etc.

On the other hand, instead of directly root an Android system, Magisk allows a user to root without having to alter the actual system. This also known as systemless root. In fact, Magisk tweak can do more than just rooting an Android device. The tweak is actually a Universal Systemless Interface that any developers (or advanced users) can use to buuild custom Mods without actually altering and modifying the system itself. Consequently, while many root-detection apps see for any altered parts of the system, they won’t be able to detect those rooted via systemless interface. Magisk allows SELinux to run securely under enforcing mode and hence it also allows installation of OTA updates without any issues. On top of that, a user can also install and use Xposed Framework without having to literally modify the system.

Sounds cool already? Wait until you’ve seen the steps of how to get it installed on your device.


  1. A Xiaomi device running any version of MIUI based on Android 5.0 Lollipop (SDK 21) or newer like Android 5.0.1, Android 6.0 Marshmallow – Not tested in Android 7.0 Nougat yet but it should work fine.
  2. Make sure the phone’s bootloader has been officially unlocked. You can request for unlocking permission here. This is required to be able to install and use TWRP.
  3. TWRP Custom recovery must have been installed. TWRP is really dependent to the type / variant of the phone. Try looking for TWRP here or use Google to search more.
  4. A Windows-based computer either PC or laptop. You’ll need this especially for TWRP flashing.
  5. A USB cable. Just use the one came with your phone.
  6. Download all necessary packages: Magisk v9 (.zip), MagiskManager v2.5 (.apk), phh-superuser-magisk-r266 (.zip).

Also read: How to Root Redmi Note 3 Snapdragon.

UPDATE: Magisk v14.0 and Magisk Manager v5.3.0.

Steps to Root

Before you proceed, please do understand that either us or the developer of Magisk, topjohnwu, will responsible of any damage that might happen to your phone. Proceed with care and make sure you have read all the steps thoroughly before actually try them.

Step 0 – Make sure your phone is not in rooted steps. You may firstly need to unroot it if your phone happens to be rooted already either using SuperSU or any other kind of root app. Some custom ROMs usually include native root (pre-root) and therefore you may need to disable it.

Step 1 – Install TWRP Recovery on your phone. Again, since TWRP is really a device-dependent so you have to use Google to search for the way you can install it. You may also find it in our Tips and Tricks category if your are lucky.

Step 1.a. – Create a Nandroid backup of your phone via TWRP. This is optional but it is actually a good practice to have backup before flashing anything through recovery.

Step 2 – Transfer all of downloaded files above into your phone external storage (Micro SD Card).

Step 3 – Reboot your phone into TWRP Recovery mode. Turn your phone off and reboot it by pressing Volume Up and Power button together. Alternatively, you can open Updater app (usually in Tools folder) and tap on the three dots (…) then select “Reboot to Recovery Mode”.

Step 4 – Select “Install” from TWRP’s main menu.

Step 5 – Locate and select the “” and “” files.

Step 6 – Finally do “Swipe to install” action to start flashing both files.

Step 7 – Just wait till the process done and then choose “Reboot System” to turn off your phone into normal mode.

Step 8 – Open up File Explorer and locate the Magisk Manager .apk file. Double-tap on it and install it as usual. You may need to firstly enable installation from unknown sources option before doing this.

Step 9 – Next, you have to also download phh’s Superuser from Play Store and install it. The app serves as root access manager for your phone. It’s just like SuperSU app.

Step 10 – Now launch Magisk Manager app you have installed in Step 8. You should now see that all basic requirements have green check-marks on it indicating you have successfully installed Magisk tweak and rooted using PHH’s SuperUser.

That’s it and congratulation.

Optional: Magisk Manager is also equipped with installable compatible modules to be installed systemless under Magisk manager task. Simply tap on the top left fold-able menu and choose “Downloads“. From there you can browse all available Systemless Modules like Xposed Framework.

via feds64 of MIUI community.

Liked it? Have you tried it and been successful? Do not forget to share your experience with us and any other readers in the comment section below.

You can get faster updated information on new post via our social media account. Like us on Facebook or subscribe your email to our news letter. Please do not hesitate to send us any query or write a message in the comment section below this article. Share us your opinion or your experience! Thanks..

Liked this post? Use the buttons below to share it with your friends..

No Responses

Write a response

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

Get more stuff like this
faster in your inbox

New tips, tricks, interesting apps and tools. No spammy messages. Give it a try, you can unsubscribe anytime.

Thank you for subscribing.

Something went wrong.