Android Tips & Tricks How To

How to Root Android Devices with Magisk v16.4 – Systemless Root

How to Root Android Devices with Magisk v16.4 – Systemless Root: In this detailed guide, we’ll let you know that how Magisk Universal Systemless Interface to root your Android device. The latest Magisk v16.4 Beta has been released with several bug fixes and performance improvements. We have recently shared the direct links to download Magisk v16.4 and Magisk Manager 5.7.0 APK with installation instructions. After installing Magisk v16.4, you can easily Root Android Devices with Magisk. Android users mostly use two methods to root their devices, one by using Chainfire’s SuperSU and the other by flashing Magisk. But due to various features and more controls, Magisk has quickly become one of the top choices among Android community.

Magisk, the ultimate interface to modify the Android software systemless-ly. You may know that Magisk also brings many amazing functionalities like hiding root from apps which are not working on rooted Android devices and various Magisk Modules as well. Systemless root on Android devices allows 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. By following the given guide, you can download Magisk v16.4 and root Android devices with latest Magisk 16.4 Update. The detailed instructions in this guide will allow you to Root Android Devices with Magisk.

How to Root Android Devices with Magisk - Systemless Root

The XDA developer topjohnwu developed and released Magisk in 2016 when only the modules were supported. And after his efforts and the ability to perform various jobs related to root, now you can consider it as a potential replacement to SuperSU. Magisk is getting much popularity globally and widely adopted by the community due to constant updates and support for most Android OS versions. The big reason of its popularity, it does not only add third-party features systemless-ly but also to root Android devices. Also, Magisk brings some options that enable you to draw various features on your Android device, that the OEM doesn’t allow you to do normally. Go ahead and Root Android Devices with Magisk.

Note: You must have a custom recovery like TWRP installed on your device to be able to flash the Magisk installer zip.

Magisk 16.4 Beta & Magisk Manager 5.7.0 – Changelog

Thanks to Topjohnwu and we highly appreciate all of his hard work to develop this unique ‘Universal Systemless Interface’. The latest Magisk Manager comes with a few new changes and fixes. Check out some of the highlighted features of Magisk 16.4 Beta and Magisk Manager 5.7.0:

What's New in Magisk v16.4:
  • [Daemon] Directly check logcat command instead of detecting logd, should fix logging and MagiskHide on several Samsung devices
  • [Daemon] Fix startup Magisk Manager APK installation on Android P
  • [MagiskPolicy] Switch from AOSP u:r:su:s0 to u:r:magisk:s0 to prevent conflicts
  • [MagiskPolicy] Remove unnecessary sepolicy rules to reduce security penalty
  • [Daemon] Massive re-design /sbin tmpfs overlay and daemon startup
  • [MagiskInit] Remove magiskinit_daemon, the actual magisk daemon (magiskd) shall handle everything itself
  • [Daemon] Remove post-fs stage as it is very limited and also will not work on A/B devices; replaced with a simple mount in post-fs-data, which will run even before the daemon is started
  • [General] Remove all 64-bit binaries as there is no point in using them; all binaries are now 32-bit only.
  • [resetprop] Add Protobuf encode/decode to support manipulating persist properties on Android P
  • [MagiskHide] Include app sub-services as hiding targets. This might significantly increase the number of apps that could be properly hidden.

Magisk Manager v5.7.0

  • Add app shortcuts for Android 7.1+
  • Bump minimal module minMagisk requirement to 1500
  • Adjustments for new SELinux policies on v16.4+
  • Fix crashes when refreshing the online repo

Guide to Root Android Devices with Magisk

Please follow the given pre-requirements all steps carefully. CultOfDroid.com will not responsible for any kind of damage occurred to your Android device during or after the installation process. Proceed at your own risk.

Pre-Requirements:

Download Magisk 16.4 Beta (Magisk Manager 5.7.0)

Steps to Install Magisk Universal Systemless Interface

Here, we have given two methods to flash latest Magisk v15.2 Beta update on Android devices.

  1. Install Magisk 15.2 Beta Update with TWRP Recovery (Recommended)
  2. Install Magisk v15.1 Beta Update without TWRP Recovery

This method will allow you to patch your device’s stock boot image (kernel) and flash the modified boot on it.

Method 1: Install/Flash Magisk with TWRP Recovery

  1. First, download the latest stable/beta Magisk v16.4 and Magisk Manager from the above given link on your PC.
  2. Now, connect your device to the PC and copy/paste the downloaded zip file to the internal storage of your device or SD card (root folder).
  3. Boot your device into TWRP recovery using the special button combination.
  4. You can also use the following given ADB command while your device is connected to boot into recovery:
    adb reboot recovery
  5. While your device is now in TWRP recovery, tap on the “Install” button.
  6. Navigate to the internal storage and select the Magisk zip file that you transferred to your device in Step 1.
  7. After selecting the .zip file, do Swipe to Confirm Flash on the bottom of the screen to begin the flashing process.
  8. When the flashing process is complete, hit “Reboot System” button.
  9. Once your device reboots, open a file manager app » navigate to the folder where transferred the Magisk Manager apk file, and install it.
  10. Finally, open the Magisk Manager app and check for your device’s root status.

Done! You have successfully rooted your Android device with Magisk (systemless root).

Method 2: Patch Stock Boot Image

  1. First of all, go to the Chainfire Firmware Mobi website to download the stock boot image for the current firmware installed on your Android device.
  2. Transfer the boot image to the internal phone memory or SD card (root folder).
  3. Download the Magisk Manager APK from the download section above and install it on your device.
  4. Open “Magisk Manager”.
  5. Tap on the “Install” button and select “Install” again.
  6. Select “Patch Boot Image File”.
    Install Magisk Universal Systemless Interface – Patch Boot Image
  7. Go to the storage and select your phone’s boot image which you have already transferred.
  8. Magisk will start the process to patch the boot image.
  9. After the patching process completes, copy the “patched_boot.img” file from /sdcard/MagiskManager/ to C:\adb on your PC.
  10. Within that folder, hold the SHIFT key and right-click on an empty space and select “Open PowerShell window here”.
  11. Now, boot your device into Bootloader/Fastboot mode.
  12. Connect your device to the PC.
  13. Flash the “patched_boot.img” to install Magisk and root your device by issuing the following command.
    fastboot flash boot patched_boot.img
  14. Once the rooting process completes, reboot your device using this command:
    fastboot reboot

Open the Magisk Manager and confirm that the installation was successful after boot.

These were the methods on how to Root Android Devices with Magisk. Let us know in the comments area below if you have any issues or question related to this guide.