How to Install Magisk on Android

What is Magisk?

Magisk nowadays is one of the best alternative to SuperSU. Magisk was Developed by a XDA developer namely topjohnwu, Magisk is in facto far better than SuperSU in some features. As all of us know SuperSU which only grants or denies root permissions for specific application of an Android device, Magisk have the potential to hide root from a specific app completely that means we can completely access the features of banking apps, Google Tez and some other Applications that we couldn’t be able to use on our rooted device will work if you’re rooted your Android device with Magisk. That’s all about what is Magisk.

Advantages and Disadvantages of Magisk

Advantages

The main advantage of Magisk or Systemless root is that it receives over-the-air (OTA) updates very easily. It has the ability to receive OTA updates because it modifies your system partition in such a way that it is directly connected with your Original device manufacturer software setup. As the manufactures prevents the installation of OTA update when they detects that device is rooted. So this is the main advantage to install Magisk is that it receives OTA updates.

If you root your device the usual way, you need to re-flash the stock system partition before you install an OTA update. But if you root your devices with systemless root or with the help of magisk, you only need to re-flash the boot image which is significantly much easier than re-flashing the whole system partition.

The systemless root(Magisk) also prevents the “soft-bricking” of your device which was not in case when using the previous method(Supersu) to root Android. If your kernel is not supported, your device won’t be rooted and prevent your device from soft brick.

If you root you device with Systemless root method, you can easily unroot your device. An easy factory reset would do the work for you.

Disadvantages

The main disadvantage of rooting your device is that some services like Google’s Android Pay will not work because it detects your device is rooted even if you root with Systemless root method and doesn’t allow you to access those services. It is because the app has now been patched to detect rooted devices with systemless root.But you don’t need to worry, there are a lot of developers here who would find the solution very soon.

Another disadvantage of the systemless root method is that it will not be beneficial if your device has a locked bootloader. In that case, you would need to find another way to root your device, but that’s not the thing you worried about. Simply you can unlock the bootloader by searching Google and enter your phone’s model. After unlock the bootloader, you can root your device with Systemless root method.

How to Install Magisk on Android

There are many ways to install Magisk (Systemless root method) on Android . If you want to use SafetyNet on a rooted Android device, you can switch from SuperSU to Magisk(Systemless root method. Infact, the best way is to start installing Magisk on a non-rooted phone with the help of TWRP recovery. The common reason to use this method is because it’s the cleanest method to root your Android device. You just need flash the Magisk ZIP and install the Magisk manager.

Step 1

Install TWRP Recovery

First you need to install the custom recovery( Twrp recovery) before you install Magisk. There are many ways to install TWRP recovery. The easiest way is to download twrp recovery .img file of your phone from this link and follow the instructions below:

1. After downloading the Twrp recovery file from the Official Twrp site. You will need to intall via adb through computer or laptop. Don’t forget to enable usb debugging on your phone by going to settings under Developer options. If you don’t see the Developer options under settings you need to tap on the build number under settings > about phone >build number by clicking 7 times. After you will see the Developer options under setting and then you can enable usb debugging option. Download adb and fastboot for your pc.

2. Save the TWRP Recovery .img file on your pc or laptop and open the location where you saved it.

3. Then open a CMD command prompt in that folder. Simply just hit Shift + Right click on any empty white space inside the folder and then select Open command window here. If you don’t see the option ‘Open command window here’, then you can simply type cmd at the top of the folder location option. You just click on the full folder location at the top and type cmd instead of the full location. That will open the command prompt for you. You can also open like this

4. Connect your Android device to the PC or computer. Type the following command in the command window to boot your device into bootloader/fastboot mode:

adb reboot bootloader

5. Once your device boots into bootloader mode, type the command line.

fastboot flash recovery twrp-2.8.x.x-xxx.img

└ Here modify twrp-2.8.x.x-xxx.img with the name of your TWRP recovery .img file.

It will take a bit of time to flash the Twrp recovery. Once TWRP is successfully flashed on your device, type this final command to reboot your device.

fastboot reboot

If you have a rooted Android device, you can install Twrp recovery through Twrp Manager. TWRP Manager is a root application that will allow you to backup, restore and install Twrp recovery. It will be a little bit easier than the previous method but it requires root permissions to install recovery through Twrp Manager.

Note:- If you have a locked bootloader device then you need to unlock it before installing Twrp recovery. Click here to know how to unlock bootloader.

Step 2

Download the Magisk ZIP

After installing TWRP recovery, the next step is to download the Magisk ZIP. It is a flashable file that will install the Magisk framework on your Android device, and it will also give you systemless root permissions. Download the Magisk ZIP from the following link.

Magisk zip

Download the latest version of Magisk

Step 3

Flash Magisk in TWRP

Next step is to boot your phone into recovery mode, by holding power button + Volume down button and home key in some cases together. Hit the “Install Zip” button in TWRP menu and go to your device’s Download folder, then select the Magisk .ZIP file that you have downloaded before. After that, just swipe the slider at the bottom of the screen to install Magisk, it will take some time to install Magisk framework and then Reboot your device.

Flash magisk in Twrp

Note:- In some cases if you get any error while installing Magisk then you need to flash the original boot.img for your phone. If you are unable to flash the single boot.img on your phone then you need to flash the full old stock rom on your Android device. I was facing this error while installing Magisk and it was resolved by installing the old stock rom in my phone (One plus two).

Step 4

Install Magisk Manager

When you have installed the magisk framework,you still need the Magisk Manager app to manage and verify root access. This app is no longer available on the Play Store, so you’ll need to enable “Unknown Sources” on your Android device from settings. Download the latest version from the link below, tap the Download to launch the APK. Finally, press “Install” when prompted.

install magisk manager

Download Magisk Manager from APKMirror (.apk)

Step 5

Verify Root & SafetyNet Status

Next, go ahead and open the Magisk Manager app. You’ll see “MAGISKSU (topjohnwu)” with a green tick next to it and That means your phone is now officially rooted, and finally it was done with Magisk, we can call its a systemless root.

verify root and safety net magisk

To verify that your phone still passes Google’s SafetyNet check, press the corresponding button towards the top of the screen. If you see two extra green ticks, you’re all set to go! AND THAT’S HOW TO INSTALL MAGISK AND ROOT YOUR ANDROID PHONE.

Leave a Reply