Download Magisk, the most compatible systemless root tool for all Xiaomi device from the links provided below. You can grab its latest version either to your MIUI phone directly or to your computer. The files available below are the main Magisk root package, uninstaller, and the standalone Magisk Manager app (.apk). All files are served from direct hotlinks hosted on multiple servers supporting resume-able multiple connections.
Magisk root is fully compatible to gain root access on many Xiaomi devices from Redmi, Redmi Note, and Mi variants. Thus, older devices like Redmi 3 and Redmi 4A are also supported. Owners of recent flagship devices also need no worries since the latest version of Magisk is also fully compatible. Flagship devices like Mi 8, Mi 6, Blackshark, Poco F1, Mi Mix, Mi Mix 2S, Mi Max, Redmi Note 7, Mi 9, Redmi K20 Pro, and Mi 9T are also root-able using this Topjohnwu‘s popular creation.
What is Magisk? It is a suite of open source tools for customizing Android, supporting devices. This including the compatibility on Xiaomi devices running Android version higher than 5.0 Lollipop (API 21). It is also capable to do many advanced yet fundamental parts for Android customization: root, boot scripts, SELinux patches, AVB2.0 / dm-verity / force-encrypt removals, etc.
Magisk is basically a Systemless Interface Hack to alter the system (or vendor) arbitrarily while the actual partitions stay completely intact. That is what so-called with systemless root. Therefore, Magisk can also hide the hack/modifications (read: root status) from any system integrity verifications used in banking apps, corporation monitoring apps, game cheat detections, and most importantly Google’s SafetyNet API mechanism.
Big Update Since Magisk v20.1 and Magisk Manager v7.4.0:
A new hiding mode is introduced for Android 9.0+. Magisk Manager will download and customize a heavily obfuscated stub APK and use it as a replacement, as long as the device supports.
The temporary stub app will then download the full app into its private internal data, then dynamically load and run the actual full Magisk Manager app.
In short, since Magisk v20.1:
- You can now customize the app name of the repackaged Magisk Manager
- Magisk Manager will generate new keys to sign the repackaged APK to prevent signature detection
Read more about it here.
Magisk main rooting package:
Use this to unroot then to fully remove Magisk from your device:
Magisk Manager app:
The Android app utilized to manage the root access (granting/revoking/hiding) on your phone. This app is basically bundled within the main suite package above. However, in some cases, you may need to install it independently. Hence, only use this in case you need it.
How to root with Magisk?
Magisk is a pack of third-party binaries that cannot be simply installed through stock Mi Recovery. You will need a custom recovery. Xiaomi devices generally employ either the official build of TWRP or any unofficial ones like RWRP (Red Wolf Recovery Project). Replacing stock with custom recovery needs an unlocked bootloader. Hence, you may have heard that rooting can only be done on an unlocked device.
The practical steps on how to root with Magisk can be vary depending on which device you wish to flash the package to. Generally, these steps can be followed with some adjustment:
- Install either Mi Flash Tool or ADB Fastboot Drivers.
- Unlock the MIUI bootloader.
- Flash TWRP custom recovery (depending on your device variant).
- Download Magisk zip file and transfer it to your phone.
- Reboot into recovery mode.
- Choose “Install” in TWRP menu and flash Magisk.
Prior to all these steps, creating a full data backup is strongly recommended.
How to upgrade?
The upgrading process has been made simple. If you have already had Magisk Manager installed, the update process to the latest version can be done through the app. There is no need to re-flash the full package.