In this tutorial, we will show you how to root Xiaomi Mi 10 or Mi 10 Pro via Magisk. For the unawares, rooting refers to getting administrative privileges that will then allow you to make the system-level modification. In simpler terms, you could then install tons of magisk modules, Xposed Frameworks, theme your device via Substratum, convert a user app to system app, and countless other things. In this regard, there are two ways through which root your device: with or without TWRP. Using TWRP is the most preferred method for many users. The reason is that it is quite easy to root your device via TWRP, just flash the Magisk ZIP file via recovery and you are good to go.
However, there are a few caveats as well. To begin with, not all devices have a working TWRP. Secondly, flashing TWRP is itself quite risky, just a slight mistake and you will end up in bootloop or with a bricked device. Moreover, flashing the custom recovery also replaces the stock recovery. Furthermore, changes to the ramdisk have made it quite difficult to port a working TWRP for devices launched with Android 10 out of the box. Keeping all this in mind, today we will show you how to root your Mi 10 or Mi 10 Pro using Magisk itself, without the need of a TWRP Recovery. So without further ado, let’s check out the steps.
Root Xiaomi Mi 10 or Mi 10 Pro using Magisk
Before we list out the steps to root your Mi 10 or Mi 10 Pro, we would like to discuss some pretty important points. Although rooting gives you tons of goodies, but it is extremely dangerous and might brick your device as well. Moreover, some apps like Google Pay and Pokemon Go might not function as expected (in which case you could hide root).
Likewise supported for other apps might be depreciated as well (you could no longer watch HD videos on Netflix). So proceed ahead only if you are aware of the consequences. With that said, here are the requirements that you need to qualify before you start with the root process on your Xiaomi Mi 10 or Mi 10 Pro.
- First of all, create a complete backup of your Xiaomi device. Although rooting doesn’t require a data wipe, but still it is good to be on a safer side.
- Next, your device’s bootloader should be unlocked as well. Refer to our detailed guide on how to unlock bootloader on Mi 10 and 10 Pro (steps are the same for both).
- Furthermore, you will also need to install the Android SDK and Platform Tools on your PC.
- Download the Stock ROM corresponding to the one that is currently installed on your device.
- On the other hand, Chinese variants ROM could be downloaded from here.
- Finally, download the latest Magisk file, just the APK file will do.
That’s it. This is all that you will be needing. Now proceed with the below steps to unlock the bootloader on your Xiaomi Mi 10 or 10 Pro.
STEP 1: Get the Stock Boot File
Extract the downloaded stock firmware on your PC. Within that, you should see a boot.img file. Transfer it to our device.
STEP 2: Patch the Boot File via Magisk
We will now be patching the stock boot.img file via Magisk. This is how it could be done:
- Download and install the Magisk Manager APK on your device.
- Launch it and tap on Install next to the Magisk is not installed keyword.
- Again tap on Install in the next pop up that appears.
- Finally, click on Select and patch a file option.
- Browse through the boot.img file and select it.
- Magisk will now begin the patching of the file, which should take a few seconds.
- When the process is completed, you should see the magisk_patch.img file in the Downloads folder of your device. Copy this file and transfer it to your PC.
STEP 3: Flash the Patched Boot file
Now that we have got the patched boot.img file from Magisk, it is time to flash it onto your device. Follow the below steps carefully:
- Connect your device to PC via USB Cable. Make sure USB Debugging is enabled.
- Then move the magisk_patch.img file to the platform-tools folder.
- Inside the same folder (platform-tools), type in cmd to launch Command Prompt.
- Now once cmd opens, type in the below command and hit Enter. This will boot your device to Fastboot mode.
adb reboot bootloader
- If you see the bunny as well as the Android logo with Fastboot keyword, then you have successfully booted to Fastboot mode.
- It’s now time to flash the patched boot image file. For that, type in the below code in the Command Prompt window and hit Enter:
fastboot flash boot magisk_patch.img
- The flashing will take only a few seconds. Once that is done, issue the below command to boot your device to System
That’s it. Your device will now reboot to the rooted system. If you wish to check the same, you could use third-party apps like Root Checker as well.
So this was all from this guide on how to root Xiaomi Mi 10 or 10 Pro via Magisk. As already discussed we did the entire process without involving TWRP. If you have any queries concerning the above-mentioned steps, do let us know the same in the comments section. Furthermore, now that you have a rooted device, here are some of the best Magisk Modules of 2020 that you should try. Likewise, you could theme your rooted device via Substratum Theme Engine as well. Rounding off, here are some iPhone Tips and Tricks, PC tips and tricks, and Android Tips and Trick that you should check out.