This detailed post will help you install Magisk Universal Systemless Interface and root your Android device. There are two different methods to install it – One, by flashing the latest Magisk installer zip using TWRP or two, by flashing the Magisk Patched Boot Image. Both methods have been listed below in a step-by-step manner. For your convenience, we have also listed the steps to uninstall Magisk, should you feel the need to do it.
The Android developer community is filled with a surfeit of options (Also commonly known as ‘mods’) to help you customize your Android phone or tablet. Many of these have gained immense popularity among the users due to their efficiency and ability to easily modify the phone’s software. These options can help you draw various features on your Android phone, that the OEM doesn’t normally allow you to. Today, we will be taking one such mod/tweak in consideration that is being widely used for the past year.
We’re here for Magisk, the ultimate interface to modify the Android software systemless-ly. So if you’re looking ahead to root your phone or add third-party features to it, you must consider using Magisk “The Universal Systemless Interface”. The detailed instructions in this guide will allow you to install Magisk on almost any device running Android 4.2 and above.
- 1 What is Magisk?
- 2 Prerequisites
- 3 Download Latest Magisk Installer Zip and Magisk Manager
- 4 How to Install Magisk Universal Systemless Interface
- 5 How to Completely Uninstall Magisk and Unroot your Android Device?
What is Magisk?
Magisk is a renowned root solution developed by topjohnwu that also allows a user to systemless-ly modify the software. It is also considered as a potential replacement to SuperSU, which was developed by Chainfire.
It was introduced back in 2016, when initially only the modules were supported to help a user add some extra features to the OS without modifying the /system partition. Progressing through the year, Magisk gained several new features like ‘MagiskSU‘, a part of the mod itself for effectively rooting Android phones and ‘Magisk Hide‘, that helps a user hide root from certain apps. Due to constant updates and support for most Android versions, it is now widely adopted by the community to not only add third-party features systemless-ly but also to root Android devices.
At the moment, the mod has the ability to root any Android device running Android Pie, Oreo, Nougat, Marshmallow, and Lollipop.
Benefits of using Magisk to Root your Android Device
Before you proceed, go through the following list of things that you can do with Magisk.
- Modify or alter the software without tampering the system (vendor) partitions
- Root any Android device with the open-source root solution
- Manage root permissions and use the fingerprint scanner to allow superuser requests
- Pass Google’s SafetyNet tests even when your phone is rooted
- Use banking and security applications on rooted devices
- Remove kernel features like DM-Verity and ForceEncrypt
- Add third-party features using Magisk Modules
- Easily install OTA updates on your rooted Android device.
In short, there’s a lot you can do after you install Magisk on your Android device.
- As always, we strongly suggest that you take a complete backup of all your personal data on the phone. You can follow our guide on how to backup Android devices.
- Your Android device’s bootloader must be unlocked. You can check for the instructions either on the official OEM portals or search for your device-specific tutorial from our archive.
- If you want to use method 2, then you must install ADB and Fastboot tools on your PC. During the instructions, we will refer to “C:\adb”. This is the directory on the PC where the ADB and fastboot binaries are installed if you have followed our tutorial. If the location of the directory is different in your case, then omit it accordingly.
- Download and install the latest USB drivers for your OEM Android device on the PC.
- Also, for method 2, you must have the stock boot image for the current firmware installed on your phone. You can get it either from firmware.mobi or visit your device-specific forum on XDA-Developers.
Download Latest Magisk Installer Zip and Magisk Manager
The download links have been gathered directly from the official XDA thread (See ‘Source’ link below). While we ensure to update this post with the latest links and instructions, you may also visit this post for cross-confirming.
- Magisk-v19.2.zip / MagiskManager-v7.2.0.apk
- Magisk-v19.1.zip / MagiskManager-v7.1.2.apk
- Magisk-v19.0.zip / MagiskManager-v7.1.0.apk
- Magisk-v18.1.zip / MagiskManager-v7.0.0.apk
- Magisk-v18.0.zip / MagiskManager-v6.1.0.apk
- Magisk-v17.3.zip / MagiskManager-v6.0.1.apk
- Magisk-v17.2.zip / MagiskManager-v6.0.0.apk
- Magisk-v17.1.zip / MagiskManager-v5.9.1.apk
- Magisk-v16.7.zip / MagiskManager-v5.8.3.apk
How to Install Magisk Universal Systemless Interface
Now, there are two different methods to install Magisk on your Android device. The first method below uses TWRP to flash the latest Magisk zip, which is also the easiest method. If TWRP is not yet available for your device or you don’t want to use it for any other reason, the second method will come into play. In this method, you will need to patch your phone’s stock boot image (kernel) and flash the modified boot on your device.
The second method is also the recommended method since it will allow you to easily install OTA updates on your rooted Android device.
Method 1: By Flashing Magisk Installer Zip using TWRP Recovery
- Download the latest stable/beta Magisk installer zip.
- Connect your phone to the PC and transfer the downloaded zip file to the internal storage or SD card.
- Boot your Android device into TWRP recovery using the special button combination.
- You can also use the following ADB command while your device is connected with USB debugging enabled:
adb reboot recovery
- In the TWRP main menu, tap on the “Install” button.
- Navigate to the phone’s internal/external storage and select the Magisk installer zip file (e.g. Magisk-v19.3.zip)
- Once selected, swipe the button on the screen to install Magisk on your Android device
- When the flashing process is complete, hit “Reboot System” button.
After your Android phone boots, you will see the latest Magisk Manager app present in the app drawer. Simply run it to ensure that Magisk has been correctly installed on your Android device.
Method 2: By Flashing Magisk Patched Boot Image
If your device doesn’t support TWRP recovery or you don’t want to install it for some reason, then follow the steps below to install Magisk by flashing the Magisk Patched Boot image. This method also allows you to easily take OTA updates on your rooted Android device.
- First, you must grab the stock boot image for the current firmware installed on your device
- Place the boot image on the phone’s internal storage or SD card
- Download the latest Magisk Manager APK (MagiskManager-v7.3.2.apk) and install it on your device
- Open “Magisk Manager”
- Tap on the “Install” button and choose “Install” again
- Select the “Select and Patch a File” option
- Navigate to the storage and select your phone’s stock boot image that you transferred earlier
- Magisk Manager will now patch your phone’s stock boot image with the latest version of Magisk
- Once patched, copy the “magisk_patched.img” file from ‘/sdcard/Download/’ on your phone to ‘C:\adb’ on your PC
- In the same folder, hold the SHIFT key and right-click on an empty space
- Select “Open PowerShell window here”
- Boot your Android device into Bootloader/Fastboot mode and connect it to the PC using the USB cable
- Enter the following command in the PowerShell window to ensure that your Android device is being detected properly by fastboot:|
- Flash the “patched_boot.img” to install Magisk and root your Android device:
fastboot flash boot magisk_patched.img
- Note: The Magisk Patched Boot image will be flashed to your phone’s current active slot.
- Once done, reboot your phone using:
When your phone boots, open the Magisk Manager and confirm that the installation was successful. You may further download various modules from the official repository or from here. The official documentation is a good way to start with the basics and also to know what Magisk is capable of.
How to Completely Uninstall Magisk and Unroot your Android Device?
Now, if you wish to uninstall Magisk for any reason, the steps below will assist you in doing so. The most certain way to do this is via the Magisk Manager app itself. Before you uninstall Magisk, make sure to disable and remove all the modules.
- Open “Magisk Manager” from the app drawer.
- Tap on the “Uninstall” option on the main screen.
- The Uninstall prompt should show up on the phone’s screen.
- Select “COMPLETE UNINSTALL” to uninstall Magisk and restore the stock boot image.
- When the restore process is complete, reboot your device.
- Finally, remove the Magisk Manager app as well.
An alternative to the above method is to flash the Magisk Uninstaller zip using TWRP Recovery or by restoring the stock boot image if you used Method 2.
Magisk gives you abilities to perform various tasks in order to customize the software. For starters, you can use any root-enabled app on your phone. “Magisk Hide” will allow you to hide root from apps like Pokemon Go and so on. You can even install modules to add third-party features to the software. The possibilities are endless, so don’t stop exploring. But be careful and know what you’re going to do before you actually do it.
So this was our guide on how to install Magisk and root any Android device. If you have any questions, kindly leave them in the comments.