This post was edited by feds64 at 00:03, Aug-25-2017
What is Magisk?
Android is getting more secured with each new release and is increasingly posing a challenge for developers to gain root access on Android devices and alter system files. Magisk released by topjohwu is a systemless interface that developers can use to build custom MODs for Android devices without altering the system files.
Systemless root on Android devices allow SELinux to run securely under enforcing mode, and allow installation of OTA updates without any issues. This is because systemless root doesn’t modify the system files on the device. Which deal with the use of Android Pay and playing Pokemon GO or using Xposed Framework over rooted devices bypassing the SafetyNet API software validation.
To get started, you need to install Magisk systemless interface first on your Android device and then install phh’s SuperUser systemless root for Magisk which works with Android Pay.
Updated: July 9th, 2017
Allow you to do any system (vendor) modification without actually tampering the partitions.
MagiskSU: Open Source Root Solution
Root your device with MagiskSU, based on phh’s Superuser, which is based on CM Superuser.
MagiskSU Root Management, Install / Upgrade Magisk in-app,
Manage, Upgrade, Download, Install Magisk Modules within a few taps.
Hide Magisk from detection, including SafetyNet, which is used in Android Pay, Pokemon GO, Mario Run etc.
Allow you to do any modifications to system props (build.prop), including read-only props.
It is also used for tricking the bootloader state, and (for Samsung) the KNOX state
Multiple Entry Points:
Provide several entry points to developers, reliably pausing the boot process before everything is done.
Include post-fs (cache) mode, which happens even earlier than data is mounted (used to replace Boot Animation etc.)
Remove dm-verity, forceencrypt, unlock partitions blocks to support remount to rw
– [API Change] Remove the interface for post-fs modules
– [resetprop] New tool “resetprop” is added to Magisk to replace most post-fs modules’ functionality
– [resetprop] Magisk will now patch “ro.boot.verifiedbootstate”, “ro.boot.flash.locked”, “ro.boot.veritymode” to bypass Safety Net
– [Magic Mount] Move dummy skeleton / mirror / mountinfo filesystem tree to tmpfs
– [Magic Mount] Rewritten dummy cloning mechanism from scratch, will result in minimal bind mounts, minimal file traversal, eliminate all possible issues that might happen in extreme cases
– [Magic Mount] Adding new items to /systen/bin, /system/vendor, /system/lib(64) is properly supported (devices with seperate vendor partition is not supported yet)
– [Magisk Hide] Rewritten from scratch, now run in daemon mode, proper list monitoring, proper mount detection, and maybe more…..
– [Boot Image] Add support for Motorola boot image dtb, it shall now unpack correctly
– [Uninstaller] Add removal of SuperSU custom patch script
– Add Magisk Hide to bypass SafetyNet
– Improve SuperSU integration: no longer changes the SuperSU PATH
– Support rc script entry points not located in init.rc
Note: Magisk uninstaller, you can download an alternative Superuser, if the phone is not supported by the firmware, enter Recovery to Uninstall.
Note: Magisk v12 does not require phh’s SuperUserMagisk v9 + phh’s SuperUser r266-2
- Download Magisk-v9 and phh-superuser-magisk-r266-2.
- Enter TWRP Recovery / Install to install.
- When the installation is complete, click Reboot System.
- Install MagiskManager-v2.5.apk.
- Once installed, download phh’s SuperUser from Google Play and install it.
- For either phh’s Superuser or Chainfire SuperSU, run the installation process after the implementation of Magisk Manager, browse the self-examination.
- Click on the top left of the operation menu, to check whether the Systemless module has been installed, goto Download, to check which modules are currently available.
- Users who need to use the Xposed Framework can install the SDK21 (Android 5.0 Lollipop), SDK22 (Android 5.1 Lollipop) and SDK23 (Android 6.0 Marshmallow) according to the operating system version and download the corresponding module.
- However, it needs Material Design Xposed Installer to manage Xposed module, since the official version can not detect the Systemless Xposed Framework.
DISCLAIMER: DO ON YOUR OWN RISK. Flashing can potentially bricked or bootloop your device.
“Solving with simplicity”