A Guide to Successfully Rooting Your Android Device Using Magisk for Restoring Android Pay and Netflix Functionality

Utilizing Magisk
Magisk serves as a comprehensive solution for managing root access, installing root applications, and more. One of its features, Magisk Hide, enables the concealment of Magisk from detection methods employed by specific apps to restrict access due to root privileges.

Android users have been engaging in phone rooting ever since the inception of the operating system. However, in recent times, the process has become increasingly intricate. A more recent development in root management has emerged, known as Magisk.

What Is Magisk?

In the past, the process of rooting an Android phone typically involved unlocking the bootloader or exploiting it, then installing a custom recovery and SuperSU. This method had been effective for many years.

Discover the advantages of “Systemless Root” on Android and its significance.

From Marshmallow onwards, Google implemented measures to prevent the commonly used root methods employed in earlier versions. These methods involved placing the “su” daemon in the /system partition and enabling it with necessary privileges during startup. Consequently, a new form of root access emerged, referred to as “systemless” root, as it does not make any modifications to the /system partition.

To enhance security, measures such as Google SafetyNet have been implemented to safeguard services like
Android Pay
, resulting in users having to make a choice between root access and essential services. It’s unfortunate.

Discover an alternative to flashing ROMs with the Xposed Framework, allowing you to customize your Android device.

Magisk is the solution that bridges the gap. It represents the advancement of root access and management for Android devices. By keeping SafetyNet intact, users can still enjoy Android Pay and Netflix while benefiting from the functionality of powerful root tools like xposed. It truly offers the best of both worlds.


Advertisement

It is an open-source solution that is continuously developed and improving daily. If you are worried about losing features such as Android Pay, now might be the opportune moment to transition to this new root solution.

How to Get Started with Magisk

To begin, ensure that you have the
Magisk file
tool. Detailed information on the advantages of Magisk and the link to download it can be found in this XDA thread. Additionally, don’t forget to acquire the Magisk Manager for future use. Save both files in either your phone’s internal storage or SD card.

Please be aware that if you have previously used a different root method, it will be necessary to completely unroot your device before utilizing Magisk. We suggest utilizing the unSU Script for this purpose.

In order to flash Magisk on your phone, you will require a custom recovery such as TWRP. Keep in mind that the process I am following is on a Nexus 5 with a stock configuration and an unlocked bootloader, so your experience may differ.

Begin the process by entering your custom recovery. The method for doing this varies slightly depending on the phone you have. For instance, you may need to simultaneously hold down the Power and Volume Down buttons, and then use the volume keys to access “Recovery Mode”. Consult the instructions provided by Google for your particular model to learn the exact steps.

Access your custom recovery and install the previously transferred Magisk ZIP file. In TWRP, this entails tapping on “Install,” locating the Magisk file, and selecting “Install Image.”
“””.



Advertisement

Verify all the information provided here, then swipe to confirm the flash.

After flashing, wait a few seconds for the file to complete. Then, simply press the “Reboot System” button to finish.

After the phone has restarted, you must install the Magisk Manager that you have already downloaded from the XDA thread mentioned above. Before installing this app, make sure to enable Unknown Sources by going to Settings > Security > Unknown Sources, toggle the switch, and accept the warning.


Following that, you can install the Magisk Manager either directly on your phone from the downloads folder or via a file explorer if you transferred it from your computer.

After installation, launch the application. It will open on the status page, displaying that you are using the latest version and it is correctly rooted. If desired, you can also conduct a SafetyNet check at this point, which I highly recommend.

Please be aware that if your bootloader is unlocked, your device will not pass the SafetyNet check, unless you utilize Magisk Hide, which will be discussed in detail later on.

With that, you’re now prepared to begin utilizing Magisk.

Using Magisk

Magisk functions as a comprehensive solution for managing root access, installing root applications, and more. It can be described as a combination of SuperSU and Xposed, packaged neatly and efficiently. It is highly commendable.


Advertisement

The app is highly intuitive and user-friendly, particularly for individuals with previous experience using a rooted phone. Below is a brief overview of the menu, conveniently accessible by swiping from the app’s left-hand side.

  • The status section displays the currently installed version, along with the root and SafetyNet status.
  • To install Magisk directly from the app, use this method after completing the initial setup to ensure that you have the latest version of Magisk.
  • This section of Magisk is essentially the SuperSU for SuperUser.
  • Installed Magisk modules are currently available in the system.
  • Download Magisk modules from this section.
  • Root request log recorded in the log.

Upon accessing the Settings menu, you will discover additional, sophisticated options that are quite impressive. Once again, here is a detailed explanation of their functionalities.

  • Dark Theme alters the application’s visual appearance.
  • Receive a push notification whenever a new version of Magisk is released.
  • Performing a clear repo cache action will refresh the app repository.
  • Activate the Magisk Core Only Mode for a simplified version of Magisk that includes superuser, hide, systemless hosts, and busybox. Use this option if your device fails the SafetyNet check.
  • Enable Busybox by mounting it.
  • Magisk Hide enables the concealment of Magisk from recognized detections employed by specific apps to restrict access due to root privileges.
  • Systemless Hosts: Ideal for applications that utilize Adblock.
  • Enable SuperUser access and specify which services can request it, such as apps, ADB, both, or disable SuperUser completely.
  • Automatically respond to superuser requests by promptly approving or denying them.
  • The length of time that Magisk waits before automatically denying a request is referred to as the Request Timeout, measured in seconds.
  • A notification is shown when an app is given superuser permissions, either as a toast or without any display.
  • Enabled advanced debug logging. This may not be necessary for the majority of users.
  • To enable debug logging of shell commands, you can activate the feature that logs both the commands and their output. However, it is important to note that this feature may not be necessary for the majority of users.

The majority of these functions operate passively in the background, except for Magisk Hide. After activation, a new menu option called Magisk Hide becomes visible. This is where you can specify which applications Magisk should conceal its existence and status from. By default, Android Pay is chosen, but you can also select other applications that are incompatible with rooted devices, such as Netflix and Pokémon Go.


If SafetyNet check fails on your device (like it did on mine initially), apps such as Android Pay will remain non-functional until you resolve this, regardless of Magisk Hide status. For devices with June security patches, you must activate Magisk Core Only mode in Settings (and subsequently reboot) in order to pass SafetyNet. Although this will disable all Magisk Modules, root functionality and BusyBox will still be operational. If the problem persists, refer to this thread for troubleshooting.


In general, Magisk addresses various concerns regarding root access that have arisen since Marshmallow. It serves as a remedy for most (if not all) problems faced by rooted users when using modern devices and services. Once properly configured, Magisk ensures the ideal harmony between utilizing Android with your favorite services while retaining the familiar root tools you’ve grown accustomed to.

Frequently Asked Questions