How to Root Android using Magisk 15.0 Update

Root Android using Magisk 15.0 Update

The latest stable version of Magisk is now available for download. Here’s how to root Android using Magisk 15.0 update.

Android developers community is no short of amazing custom ROMs, mods, and kernels. But there’s a list of few utilities and apps that stand out above others. Magisk is one such mod available for the community, that provides multiple solutions. Magisk is now backed by enough users to make it a potential replacement for SuperSU. The latter is best known for its simplicity and efficiency to perform one job only – to root Android devices. However, it’s the total opposite when it comes to Magisk.

Root Android using Magisk 15.0 Update

Table of Contents

Magisk 15.0 Update – Changes and New Features

Magisk initially came out as a way to add more features to the operating system, without altering the system partition. Just like the infamous Xposed Framework, Magisk also makes use of modules to achieve the desired features.

With time, it became more functional when MagiskSU was released, which is a complete root solution for Android devices. The mod also introduced a rather nifty feature, that proved to be a bliss for rooted users. It allows you to hide root and root-enabled apps from Android’s SafetyNet API, bank apps, and various other security apps. After enormous updates, Magisk is now widely-used among the users, not just to root the device, but also for several other purposes.

Developer topjohnwu recently announced the Magisk 15.0 update. The new build carries over all the changes from Magisk 14.0 and all the Beta versions released in between. Of which, Magisk 14.6 Beta is the latest.

The purpose of the stable release is to provide support for the Android 8.1 Oreo and compatibility with A/B partition devices like Google Pixel 2 and Xiaomi Mi A1. There have also been major changes to the Magisk modules repo. To know more about the changes, refer to the release notes.

Magisk 15.0 Update - Screenshots

The changelog as mentioned on the official XDA thread is as follows:

  • Fixed the bug that Magisk cannot properly detect /data encryption state.
  • Add merging /cache/magisk.img and /data/adb/magisk_merge.img support.
  • Update to upstream libsepol to support cutting-edge split policy custom ROM CIL compilations.

Now head down to the instructions to root Android using Magisk 15.0 update.

Prerequisites

How to Root Android using Magisk 15.0 Update

We have covered two different methods below. The first one involves directly flashing the latest Magisk zip using TWRP recovery. If you want to do it without TWRP, you can hop on to Method 2.

Method 1: Using TWRP Recovery

  1. First, you will need to install latest TWRP recovery on your Android device.
  2. Next, download Magisk 15.0 Flashable zip: Magisk-v15.0.zip
  3. Connect your Android phone to the PC and enable ‘Transfer files’ mode.
  4. Copy the downloaded file to the internal/external storage of the device.
  5. Once the file is transferred, disconnect the phone and power it off.
  6. Use the special button combination to boot into TWRP recovery. Alternatively, you can also use the following ADB command:
    adb reboot recovery
  7. When your phone is in TWRP recovery mode, press the ‘Install’ button.
    Flash Magisk 15.0 Update using TWRP
  8. Browse the internal storage and select the ‘Magisk-v15.0.zip‘ file.
  9. After the file is selected, swipe the button on the screen to root your Android using Magisk 15.0 update.
  10. Finally, hit the ‘Reboot system’ button.

Your device shall now be rooted and you can start using modules to enjoy additional features.

Method 2: Patching Stock Boot Image

This method doesn’t require you to have TWRP in order to install Magisk 15.0 update.

  1. Download the latest Magisk Manager APK: MagiskManager-v5.5.1.apk
  2. Use a file manager to install the downloaded app on your device.
  3. Grab the stock boot image (kernel) and it should be corresponding to the firmware installed on your device.
    • For Nexus and Pixel devices, you can extract it from the factory image. For other OEM devices, you might need to check it with your manufacturer’s support.
  4. Copy the downloaded “boot.img” to the internal storage of your Android device.
  5. Open the Magisk Manager app and tap on the ‘Install’ button.Patch Stock Boot Image to install Magisk 15.0 update
  6. Again, choose ‘Install’ and then ‘Patch Boot Image File’.
  7. Navigate to the storage and select the ‘boot.img’ file you just transferred.
  8. The Magisk Manager app will patch the stock boot image and place the resultant ‘patched_boot.img’ in the ‘MagiskManager’ folder.
  9. Transfer the file from your phone to C:\adb folder on your PC.
  10. Hold the SHIFT key on your PC and right-click on an empty space inside the folder. Then select ‘Open PowerShell window here’ from the menu.
  11. Boot your Android into Fastboot mode and connect it to the PC.
  12. Enter the following command to root your Android phone using Magisk 15.0 update:
    fastboot flash boot patched_boot.img
  13. Finally, reboot your device.
    fastboot reboot

You can use Magisk Manager app to manage root permissions or hide root from certain apps like Pokemon Go. You can also install various modules to add certain features to your device systemless-ly.

So you have just been able to root your Android phone using Magisk 15.0 update. If you have any questions, leave them in the comments section below.

Source: XDA-Developers

Comments

  1. Hey Dhananjay, it’s nice to see that you give a quick reply to our questions. I just have one more question. Say suppose, I don’t want to install any custom recovery like TWRP, and rather get the root access by patching boot.img, will it work on Mi A1? Because Mi A1 has A/B partitions and I am not sure if Magisk supports A/B partitions. I rooted my device once by patching boot.img and Magisk Manager showed me that root was successful. But when I installed Adaway, the application downloaded some files and asked me to restart the device. When I did that, my device stuck in bootloop and never came back until I sent the device to the service centre. I really don’t know if it was Adaway that caused my device to stuck in bootloop or whether it was Magisk. I really want to root my device, but don’t really want TWRP. Is there any way I can root my Mi A1 systemless?

    1. Hi, of course, you can use Magisk to root systemlessly. I am quite sure that the bootloop was due to Adaway. I personally don’t use it. But from what you mentioned, it is kind of easy to conclude that the root process went just fine and the app was the culprit.

      BTW, use Magisk 15.3 now. 15.0-15.2 had some serious issues with MagiskBoot.

  2. Hi, I have Xiaomi Mi A1 7.1.2 with December security update. Will Method 1 work on my device? And will the TWRp and Magisk given on this site work on my device or is there any other version of these two apps that I have to use?

  3. Does this work with Mate 10 pro if I use method 2 as there is no TWRP out for Mate 10 pro.

    If so, how do i get the boot.img ?

  4. Could u tell me How to get boot.img of j7 2016 without pc!and flsh it i want to install
    Magisk!thank you

    1. Hi Dhruv, you will need to download the corresponding firmware (HOME.tar.md5) file sites like Sammobile or Samsung-updates.

      Then, you will have to extract that file to get the boot.img. Once you have boot.img, you will need to patch it using Magisk manager app and flash the resultant ‘patched_boot.img’ using the PC.

      If you follow my advise, it is better to flash TWRP and use it to install Magisk (Method 1) in your case.

Leave a Reply

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