The Android operating system has always had the root user account tucked away ever since the dawn of the operating system. Rooting was more popular in years past because there were more applications out there for rooted users that stock Android didn’t have features that it could match. Now stock Android has more features and has taken many of the useful features that were once restricted to those only with root access.

On top of Android using many of the root features, it also tightened the security of the operating system a lot, making it much more difficult for third-party devs to create rooting tools. All through the years up until now, Chainfire’s SuperSU was able to get root access to all devices that had a custom recovery like TWRP available. All you need to do was unlock the bootloader, flash the custom recovery image and then upload the SuperSU and it was done.

Then came the part when Android changed the game by putting the “su” daemon into the system partition and running it at startup. The result was the old version of SuperSU no longer worked, and Chainfire needed to come up with a new idea. He eventually developed a version of SuperSU called the systemless root, and it got its name because it no longer went through the system partition. The results were good for being able to install most root apps out there, but it wasn’t perfect.

Google developed something called SafetyNet which was a new feature that meant if you got root access from then on—even with the systemless version of the SuperSU—it would be tripped and stop things like Android Pay working. That meant rooted users had no choice but to unroot their devices if they wanted to be able to use Android Pay from there on out. The same deal was with Netflix also.

There were still hundreds of useful root applications out there that people could run, but not having access to Android Pay and Netflix meant that many people had unhappily had to stop using rooted Android operating systems, even though they would have loved not to. Chainfire never came up with a solution to this with his SuperSU.

Now there is a new tool called Magisk. It comes with a unique version of SuperSU and its own Manager application as well. The Magisk SuperSU and Magisk Manager can run a full systemless root, allow root access to all applications and still do it all without tripping SafetyNet. That means it’s possible to have root access and use services like Android Pay. Netflix will work too.

How to Install Magisk Root Tool on Android 5.0.1 Lollipop

Download the Magisk installer from the Downloads section of the XDA-Developers thread.

If you already have rooted your device, you’ll need to unroot it now before going ahead with the installation of Magisk. If you have used TWRP and then flashed Chainfire’s SuperSU, you can just remove the SuperSU by opening it up and then choosing to uninstall it from the menu. For everyone else, you might be interested in installing the unSU script instead.

You can only use Magisk if there is a custom recovery image available for you to install. You can look for a custom recovery image made for your device from the TWRP website. Remember that before you can install a custom recovery image, you need to have the bootloader unlocked first. The way you unlock the bootloader changes depending on your smartphone manufacturer. If you find a guide made for your manufacturer, then chances are you can follow it because it’s the same for all devices from the one manufacturer.

Find out the steps required to boot your smartphone into the custom recovery. The way manufacturers choose to enter recovery mode changes depending on who it is, but the good news is that booting into custom recovery is always the same steps as booting into the stock recovery for your phone because it just replaces it. SO, all you really need to do is find out what steps you need to boot your device into the standard recovery mode that all devices come with and then you’ll be able to boot to the custom recovery as well.

Once you are in the custom recovery, tap on the “Install” button and then tap on the Magisk SuperSU zip file. Then to install the zip file you have selected, tap on the “Install Image” button (if you are using TWRP Recovery.) You’ll also need to swipe at the bottom of the phone’s display to confirm the installation of the zip file if it is TWRP Recovery.

After the Magisk SuperSU is installed, you then need to reboot the phone from the TWRP Recovery menu. Once your phone boots back up again, it’s time to install the Magisk Manager application directly on the phone. Before you can install it, though, you first need to enable the Unknown Sources option from the Android Settings. To do that, swipe down from the top of the Android homecreen to pull down the notification shade, and then tap on the “Settings gear icon” at the top.

Tap on the “Security” link from the Settings.

Inside the settings is the “Unknown Sources” option that you now need to tap on.

You’ll get a message letting you know about the risks of enabling the Unknown Sources before it turns on for you. Tap on the “OK” button to continue.

The Unknown Sources toggle is now turned on.

Next, you need to get the Magisk Manager application from the XDA-Developers thread under the same Downloads section that you got the Magisk SuperSU earlier. Download it like you would any other app and then tap on the ‘Install” button to install it on your device.

The Magisk Manager sends a superuser request to your device. Tap on the “Grant” button to continue.

You’ll need to allow Magisk Manager permissions to access your files from the device if you want to get the best experience. Tap on the “Allow” button here.

It lets you know that Magisk Manager is not yet installed. Tap on the “Go to Install” section” to continue.

At the bottom of the next screen is the “Download and Install” button that you need to tap on now.

You can choose to view the release notes if you want before installing. When you are done, just tap on the “Install” button, and then the Magisk manager is finally installed.

Wait until you get the “Installation succeeded!” message on the phone’s display and then tap on the “Reboot” button.

Once the reboot is complete and the phone starts up again, you can start using Magik on your device to have root access as well as Android Pay and Netflix working again.