This Is the Best Way to Root Your Android Device

Andy Betts 12-07-2017

Rooting — a process that grants system-level access to certain apps and utilities — has long been a part of the Android experience among enthusiasts and power users.


But it’s under threat from a feature built into the operating system itself. It’s called SafetyNet, and it enables apps to check whether a device is unlocked or rooted — and then block them.

android pay blocked

Android Pay uses it, Pokemon Go uses it, and Netflix uses it Netflix Is No Longer Available on Rooted Androids If you own an Android device that has been rooted or unlocked, you may no longer be able to download the Netflix app from the Google Play Store. Thankfully, there is a workaround. Read More . Pretty much any app that requires a certain level of security, especially those that use DRM or process payments, will likely end up using SafetyNet.

Fortunately, you don’t have to choose between rooting and using Netflix. A tool called Magisk allows you to root your phone without triggering SafetyNet. You should use it to root your phone.

What Is Magisk?

Magisk is a systemless root utility. This means that it roots your phone Do You Still Need to Root Your Android Phone? Rooting used to be a necessity for many, but as the years have gone by, is it still as useful? Read More without modifying the system partition in the way that older root methods do.


Systemless brings several advantages. It doesn’t trip SafetyNet, and so it enables you to hide root more easily. It’s potentially safer. It’s easier to unroot. And it doesn’t prevent you from installing over-the-air updates to your phone.

Magisk is also open source Is Security Through Obscurity Safer Than Open Source Software? Open source software comes with clear security benefits. The opposite approach is security through obscurity. Is one approach actually safer than the other or is it possible that there's truth to both? Read More , which is very important when dealing with root apps.

How to Root With Magisk

Magisk works on most devices running Android 5.0 and above. The main exceptions are Google’s Pixel phones, and a few Sony devices. You can see a full list of compatibility issues on the official XDA Developers thread.

xda forum magisk


While Magisk should work on almost everything else, the SafetyNet protection feature won’t work on any device that has been modified. This means other root hacks that have modified the system, as well as custom ROMs.

Before you get started you need to unroot and remove all traces of previous root mods and/or flash a stock ROM 3 Ways to Get Your Rooted Android Phone Back to Stock This is the easiest way to get your rooted phone back to stock. Read More . It’s a good idea to get as close to stock as you possibly can.

What You Need

To root with Magisk, you need:

Install Magisk

Install Magisk Manager. You will need to allow your phone to install apps from unknown sources Is It Safe to Install Android Apps from Unknown Sources? The Google Play Store isn't your only source of apps, but is it safe to search elsewhere? Read More , if you haven’t already.


Now launch the Magisk Manager app. Notice how the three large indicators on the main screen are all red. These will turn green if the Magisk installation is successful.

install magisk

Swipe open the navigation drawer from the left edge of the screen, select Install, then hit the Download button.

The latest stable version of will now download to your phone. (You can also download it directly from here.) It needs to be flashed through TWRP, so turn off your phone and boot into recovery.


twrp magisk

Now flash the ZIP in the normal way. You should ideally make a Nandroid backup first (choose the Backup option for the TWRP home screen). Then go to Install and navigate your way to where you saved the Magisk file.

Select the file and swipe the bar at the bottom of the screen to install it. Once everything is done, restart your phone.

Hide Root With Magisk Manager

With your phone up and running again, launch the Magisk Manager app. The top two indicators should now have turned from red to green, showing that your device is rooted and Magisk is installed. Tap the SafetyNet check option at the bottom and it will still be red — SafetyNet is still being triggered.

To complete the setup process, slide open the navigation drawer and go to Settings.

set up magisk

In the Magisk section toggle-on the Enable Busybox and Magisk Hide options. Now repeat the SafetyNet test and it should turn green. (If it doesn’t, and your phone has previously been rooted, you might need to re-flash a factory image How to Unbrick Your Android Phone: 4 Methods for Recovery Is your Android phone bricked? Follow these tips to unbrick Android and get your phone back to working order. Read More to ensure that any system changes made by your root apps have been undone.)

The final step is to clear your Play Store cache. Go to Settings > Apps > Show system, then locate the Play Store from the list. Tap it and go to Storage, then select Clear Cache. This should ensure that Netflix and other blocked apps should become available to download once more.

Unblock Apps With Magisk

In the future, you may encounter other apps that don’t work because your device is rooted. To get around this, open Magisk Manager and in the navigation drawer, select Magisk Hide.

magisk hide

Now check the box next to your malfunctioning app and it should work again. If you have any problems, reboot or clear the app’s cache.

Manage Root Access

While the main selling point of Magisk is the way it unblocks root-averse apps, it also serves as a straight replacement for the SuperSU tool that you’d normally use when rooted.

root permissions

Whenever you install a root app, you’ll be prompted to grant it root access. The Superuser section of Magisk Manager is where you can manage those apps you’ve accepted. You can revoke permissions there too.

Some root apps make changes to the system partition, which can in turn cause the SafetyNet check to fail. To get around this, always try and use Magisk-compatible versions of your favorite root tools. These include a Magisk version of the Xposed Framework The 13 Best Xposed Modules for Customizing Your Android Device The Xposed Framework is one of the best reasons to root Android, and these Xposed modules add awesome functionality. Read More .

Keep Magisk Updated

Magisk is involved in a game of cat and mouse between the developer and our Android overlords.

Until very recently Magisk Manager was available through the Play Store, but has now been removed for violating the Store’s policies. SafetyNet also often gets updated and blocks Magisk, leading to Magisk being updated to bypass it once more.

As a result you will need to keep Magisk updated more than you would a regular root tool. Notifications in the app will alert you to when these updates are available.

And either way, these changes only affect the apps that are blocked when SafetyNet is triggered. It will continue to give root access to any other apps that need it.

Have you tried Magisk? Or did the blocking of Netflix and Android Pay cause you to unroot altogether? Share your experiences with us in the comments.

Related topics: Android, Android Rooting.

Affiliate Disclosure: By buying the products we recommend, you help keep the site alive. Read more.

Whatsapp Pinterest

Leave a Reply

Your email address will not be published. Required fields are marked *

  1. CE
    October 24, 2018 at 6:18 pm

    Magisk works great on my Pixel 2

  2. Matt
    September 14, 2017 at 3:12 am

    Updqting my Note 5 to a Note 8 soon. Can't stand not having an ad blocker but I'd like to be able to use Android Pay and Netflix. Hopefully this'll get updated to.cover the Note 8 soon, sounds like the best of both worlds. Anyone know how it copes with Samsung's Knox notification thing?

  3. Krist
    July 14, 2017 at 4:01 pm

    Only problem for me is the ZTE Zmax-Pro doesn't have TWRP for it. Still no root for me. And I was really hoping. This is really an awesome phone for the price.

  4. Dave Frandin
    July 13, 2017 at 3:58 pm

    I won't have an Android phone that isnt rooted. Rooting allows me to actually have effective adblocking and the use of Titanium Backup. Since I don't (and won't) use apps like Android Pay or Netflix on the phone, not gonna waste my time with this workaround.. YMMV