Android is an Open Source operating system which means the source code is available for everyone to tweak and modify. So, there are a lot of eyes looking to modify, exploit and root Android ecosystem for achieving something bigger.
Google is making Android more secure every iteration making it difficult for the developers to gain root access on Android devices and alter system partitions. Systemless root is the latest thing in custom Android development which allows users to gain root access without altering system partition. So, you can enjoy OTA updates and other root-restricted apps even on rooted Android devices.
Magisk is the new face of Systemless interface on Android which is aimed to make custom mods go systemless. It’s the brainchild of the XDA developer topjohnwu and is the short name for “Magic Mask” which aims to overcome the difficulties with Systemless mods.  Once you install Magisk on your device, you can choose from many modules to go entirely systemless.

Here’s the entire feature list of Magisk:

  • Magic Mount: This feature will not only allow you to replace existing file and directories but also support adding new files and directories into the system. This means all existing mods should be possible to work systemless.
  • Multiple Entry Points: If “Magic Mount” itself is still not powerful enough to accomplish your goal, Magisk provides several entry points for developers to run scripts at different boot times, making developers do whatever they want at any time. It reliably blocks the boot process to continue before your scripts are done.
  • Magisk Manager: This app helps you manage your root status, and manage all your installed Magisk Mods (mod management is still WIP), just like Xposed Modules.
  • Remove verity / force encrypt (both are configurable through .magisk file, same as SuperSU), patches SE policy (to run scripts and support multiple root methods). This means developers won’t need to worry about boot image modifications in the future!
  • Important mods like Root, Xposed etc. can all depend on the Magisk interface.
  • magisk.img (the place to store all your systemless mods) will resize automatically to support large mods, and reclaim the space after removing contents.

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.
With the Magisk systemless interface for Android devices, installing systemless root on Android devices has gotten easier than ever. And to top that, installing systemless root via Magisk also allows you to use Android Pay with root. To get started, you need to install Magisk systemless interface first on your Android device and then we’ll install the phh’s SuperUser systemless root for Magisk which works with Android Pay.

Magisk requires boot image modifications, so unlocked bootloader is required to install Magisk. It is recommended to restore your device to the stock system and boot before installing Magisk.
If you can’t do that, you must completely remove everything related to root (/system/xbin/su, /data/su.img, /sbin/su) and Xposed on your device. A custom recovery is needed to install Magisk on your Android device. Download the Magisk from below links and install it on your device using the below guide.

Downloads 





How to Install Magisk from TWRP Recovery

  1. Download and transfer the Magisk file from the above link and transfer it to your device’s storage.
  2. Boot your device into TWRP recovery. If you’re not sure about the process, just google how to boot into your device’s recovery mode.
  3. As you’re in the TWRP recovery, make a complete nandroid backup of your device. You can follow our definitive guide for nandroid backup from here.
  4. Tap on Install button and select the Magisk file. Swipe to confirm the flash.
  5. Once Magisk is flashed, reboot the device from the Reboot menu in TWRP.
Also Read: How To Port Google Pixel Icon To Your android Device(100% Working)

    How to Uninstall Magisk on your Device

    1. Download the Magisk uninstaller from the downloads section and flash it from TWRP. This will remove Magisk from your device.
    2. If your custom recovery cannot access data, the uninstaller will still work but you need to remove few modules manually.
    3. To completely remove Magisk, you need to restore stock boot image and manually remove /data/magisk.img, /cache/magisk, /data/busybox from your device.
    Must Read: List of All Google Pixel Archives For Any Android Devices
    That's it. Once you’ve installed Magisk, you can use several mods to go completely systemless. We will cover more Magisk mods soon. So, stay tuned to Droidadda.
    Sunmughan Swamy

    Sunmughan Swamy

    I am a Pro Blogger cum Android Developer. I am desperately passionate about developing Android Apps and Roms for Android Devices. I used to listen music during my work, meanwhile play video games,outdoor sports and much more. I have only 4 passion :-
    Design | Code | Compile | Debug

    Post A Comment:

    0 comments: