Are you looking for a step-by-step guide to installing Magisk without TWRP (Custom Recovery) in Xiaomi devices? Then you are at the right place. It works on any Mi or Xiaomi devices.
Table of contents
As we know that Android is a linux based operating system which has a wide variety of customizations available for regular as well as advanced users. Regular users only enjoy the limited features because they depend on Google Play Store while advanced users have no restrictions regarding the usage of their Android device.
After rooting an Android device, advanced users enjoy incredible features such as Xposed modules, Busy box, linux Terminal, Tasker automation, Greenify advanced battery saver, etc.
Rooting a device is cumbersome sometimes because there are many problems you might face such as bootloop issues.
So here in this tutorial, I am going to show you a simple and exact blueprint to root your xiaomi device without TWRP recovery and a computer.
Before diving into the rooting process, You have to understand ‘What is Magisk?.”
What is Magisk?
Magisk manager has been considered as the best alternative to SuperSu (by Chainfire) for rooting an Android device without modifying the system files. If you are a SuperSu user then you definitely know that most of the applications like Banking apps, pokemon game, and other apps do not work due to the security issues.
Magisk manager has been developed to overcome these issues. Magisk is a systemless root manager which tricks your device that the device is not rooted. You will not only save your device from warranty void but can also enhance the functionality with installing Busy box, terminal, and my favorite Greenify.
How to Root Xiaomi (Mi) device without TWRP using Magisk
TWRP recovery is one of the best solutions for unlocking the bootloader of any device with a simple to use User Friendly UI. However, you can also unlock the bootloader of your android phone by using ADB and Fastboot method which does not require TWRP manager.
Let’s see the step by step guide:
- First of all, You have to download the boot.img file which supports the current firmware of your device. You can make a google search for it. Every device has its own boot.img file. [Mention your device name in the comment box, I would try to find a compatible version of the boot file for your device.]
- And then download the latest version of Magisk Manager, click here. And install the app as usual.
- And then, open the ‘Magisk Manager’ app and then tap the ‘Install’ option and then tap ‘Install again’. And then you have to select ‘Patch boot image file’. You can see the below screenshot.
- Afterwards, you will be automatically navigated to the internal storage of your xiaomi device and then you need to select ‘boot image file’ [Which you have downloaded at the first step].
- Now you have to wait until Magisk patches the boot image file into your device. You can see the below screenshot.
- Once the process of patching is completed, you have to copy and paste the "patched_boot.img” file from your ‘/sdcard/MagiskManager/‘ location to your computer’s ‘C:\adb‘ location.
- Now in the same folder (i.e. C:\adb), you have to hold the Shift key and then right click anywhere on the empty screen. And then you need to select “Open PowerShell window here“. An option menu will appear. You can see the below screenshot.
- Now boot your Xiaomi device into the fastboot/bootloader mode. [press volume key + power button to get into the bootloader mode. Every device has its own method to get into the bootloader mode, so make a google search with your device name.]
- Now connect your device to the computer.
- Now type “fastboot flash boot patched_boot.img” without quotes and then hit enter. It will flash ‘patched_boot.img’ file to your device automatically.
- Once the flashing is completed. You have to reboot your device. Just type “fastboot reboot” without quotes.
- That’s it. You have now successfully installed Magisk manager on your Xiaomi device using ADB fastboot method without the custom recovery.
How to root test a Xiaomi device?
Once you have followed the above step by step guide for rooting a device with Magisk manager without TWRP recovery, you can then root test your device in order to verify whether your device is successfully rooted or not.Step by step guide to root test:
- First of all, download the ‘Root checker’ app. Click here.
- And then open the Root check app.
- And then tap on the “verify root access” button.
- Wait until the app checks for root access. If the app prompts you to grant root access. Then tap on “Grant” option.
- If the root is successful, you will get a greeting message telling that ‘Congratulations, This device has root access.’ You can see the below screenshot.
If the root checker app does not prompt you for granting permission regarding root access, that means your device is not rooted yet. Then you have to use custom recovery for installing the magisk manager.
As there are many ways to root an Android device such as SuperSu, Kingroot, Towelroot, oneclickroot but no one can be compared with Magisk manager. Magisk manager provides a systemless root that does not modify the system files of your device.
Systemless root is currently trending at many technology forums like XDA developers and the developers are building more and more compatible add ons for magisk. The most popular add ons are hide root status, bypass safetynet, update Operating system via OTA, etc.
And so, I would suggest you migrate your device from SuperSu or Kingroot to Magisk manager for more updates, advanced functionality, and a lot more.
Thanks. I hope that the step by step guide has helped you to root your device using Magisk manager without TWRP manager (or Custom recovery)