Finally after rolling the stable Magisk v15.0, the developer behind the Magisk, started rolling a new update with version 15.2. Now you can install the latest updated Magisk v15.2 on your phone. In this latest version, XDA developer topjohnwu has fixed the boot loop issue which caused on some devices like OnePlus 5 or 5T.  Magisk v15.2 also included the new SELinux policy rules which improve the MagiskHide support on Samsung devices.

Magisk is one such tool which will provide multiple solutions in one go. It is one of the biggest replacement for SuperSU rooting app which is developed by Chainfire. Magisk is not the only solution to rooting, it has more feature than SuperSU.

Magisk v15.2 is one such version which is stable enough to use on a daily driver phone. With Magisk tool, you can also add modules to customize the inner Android experience just like Xposed Framework did. After a lot of hard work from the developer community, it introduced many new features along with root. Now Magisk 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.

Magisk also allows you to get root access without modifying the system partition just like Systemless root by Chainfire. You will get OTA update even after the device is rooted. With Magisk, you get more control, you can use Android Pay with root. In this guide, you can follow the method to install Magisk 15.2 on any smartphone running Android Oreo or older version.

Changelog for latest Magisk v15.2:

  • v15.2
  • – [MagiskBoot] Fix dtb verity patches, should fix dm-verity bootloops on newer devices placing fstabs in dtb
  • – [MagiskPolicy] Add new rules for proper Samsung support, should fix MagiskHide
  • – [MagiskInit] Support non skip_initramfs devices using split sepolicies (e.g. Zenfone 4 Oreo)
  • – [Daemon] Use specific logcat buffers, some devices do not support all log buffers
  • – [scripts] Update scripts to double check whether boot slot is available, some devices set a boot slot without A/B partitions
  • v15.1
  • – [MagiskBoot] Fix faulty code in ramdisk patches which causes bootloops in some config and fstab format combos
  • v15.0
  • – [Daemon] Fix the bug that Magisk cannot properly detect /data encryption state
  • – [Daemon] Add merging /cache/magisk.img and /data/adb/magisk_merge.img support
  • – [Daemon] Update to upstream libsepol to support cutting-edge split policy custom ROM cil compilations

Read the below instructions carefully to install Magisk v15.2 on your phone.

Prerequisites

  • Before flashing the mods or recovery, even Magisk zip file, you need to first Unlock Bootloader.
  • Before proceeding, you need to take a full backup of your Android Phone.
  • For Method 2, You must download ADB and Fastboot tools and install on your PC. (For MAC)

How to Root Android using Magisk 15.0 Update

In this guide, we covered the full guide to root your Android phone using Magisk 15.2 Update. In this method, we used TWRP Recovery to install Magisk 15.2.

Install Magisk 15.2 Using TWRP Recovery

  • First of all, install latest TWRP recovery on your Android device.
  • Next, download Magisk 15.2 Update zip: Magisk-v15.2.zip
  • Connect your phone to PC using USB Cable and enable ‘Transfer files’ mode.
  • Now move the downloaded file to the internal storage of your device.
  • Once you have moved, you can disconnect the phone from PC.
  • Now enter into TWRP Recovery mode by following the method to boot into recovery.
  • In TWRP Recovery menu, hit INSTALL button to flash the Magisk v15.2.zip file. Browse for the file that you moved to internal storage in step 4.
  • Once you selected the file, swipe the button on the screen to root your phone using Magisk 15.2 update.
  • Finally, hit the ‘Reboot system’ button.

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

I hope this guide was helpful to install Magisk 15.2 Using TWRP Recovery. Enjoy!

Source: XDA-Developers