body

Friday, 6 April 2018

How to Root Android Device using Magisk Manager



Have you ever heard of Magisk manager before?

Yes, or probaly NO, either way Magisk Manager is an android tool that allow android user to root their devices esppecially those that are proving hard to root.

Magisk can ROOT your device, along with standard common patches. It packs with a super powerful Universal Systemless Interface, allowing unlimited potential!. Magisk Manager is the companion application for Magisk.


This tutorial is dedicated to show you how can to your android device by patching the stock boot.img using Magisk Manager.

This comes in particularly good for those on Lollipop and above where one-click-root apks hardly work and would therefore require a custom recovery to root.

One great advantage of Magisk manager root is that you won't be needing custom recovery  (e.g Philz, CWM, TWRP etc) to root your device.



Basic Requirements to use Magisk Manager

  • You will need to get your Stock boot.img for your phone model and ensure you get the  Build Number / Variant ) or extract from the stock rom / firmware of your device backup from your device using a box e.g Miracle box, CM2, etc
  • Download Latest - Magisk Manager 5.6.1 apk @ 
       MagiskManager-v5.6.1.apk  and MagiskManager-v5.6.1.apk(Size: 1.86 MB / Downloads: 249)
  • Active internet connection on your Android device
Go to Magisk Manager developer page https://labs.xda-developers.com/store/app/com.topjohnwu.magisk

Features of Magisk Manager
  • 100% fully open source and easy to build!
  • Magic Mount: 
    Allow you to do any system (vendor) modification without actually tampering the partitions.
    Anything can be loaded with Magisk systemless-ly!
  • MagiskSU: Open Source Root Solution
    Root your device with MagiskSU, based on phh's Superuser, which is based on CM Superuser.
  • Magisk Manager: 
    MagiskSU Root Management, Upgrade Magisk, Manage MagiskHide lists
    Manage, Upgrade, Download, Install Magisk Modules from the community driven online Magisk Module Repo.
  • MagiskHide: 
    Hide Magisk from detections: Google SafetyNet, enterprise / bank system integrity checks, game tamper checks etc.
  • Resetprop: 
    Allow you to do any modifications to system properties, including read-only props.
    This is also used along with magiskhide to trick various device status sent from the bootloader
  • Miscellaneous: 
    (Optional) Remove AVB 2.0, dm-verity, forceencrypt.
    Unlock partitions blocks to support remount to rw


Steps on how to root an Android device using Magisk Manager and patched boot.img

Patching the stock boot.img


  1. Install MagiskManager apk on your android device
  2. Copy the stock boot.img of your device to your phone's internal storage or SD card
  3. Launch Magisk Manager app
  4. If prompted to install Magisk, select NO THANKS
  5. If you are using a samsung device and wish to flash using Odin, then select Options > Settings > Update Settings > Patched Boot Output Format > img.tar )
  6. Select Install > Install > Patch Boot Image File >
  7. Navigate to the location of the stock boot.img you copied earlier on, then Select it
  8. Magisk Manager should begin downloading the magisk zip file used for patching
  9. Once download is complete, MagiskManager will automatically patch the boot file and store it under SDcard/MagiskManager/patched_boot.img[.tar]

Flashing the patched boot.img


This will largely depend of the chipset that your phone operate (e.g Mediatek MTK, Spreadtrum SPD, Qualcomm QLM etc )You have a variety of options to flash the patched boot.img.
  1. For those using SPD devices and have the PAC file for their device, you can flash the patched boot.img using Research download tool by replacing the stock boot.img with your patched boot.img
  2. For those using Samsung devices and wish to flash patched boot.img.tar using Odin; see
  3. Generally speaking, you could also use Fastboot  to flash the patched_boot.img or boot.img (if you've renamed then the command must reflect the file name) as outlined below

How to Flash patched_boot.img using Fastboot


  1. Setup adb and fastboot on your PC using the guide @ https://forum.hovatek.com/thread-588.html
  2. Unlock the phone's Bootloader (if its not unlocked) using Here
  3. Re-enable USB debugging on the phone using
  4. Connect the phone to the PC via USB cord
  5. Boot into fastboot mode using the guide
  6. Flash the patched_boot and reboot by typing in the commands below into adb CMD prompt window and hitting Enter after each line
adb
adb devices
adb reboot bootloader
fastboot
fastboot devices
fastboot getvar unlock
fastboot flash boot patched_boot.img
fastboot reboot


Credits goes to topjohnwu of XDA for Magisk
Post a Comment
Related Posts Plugin for WordPress, Blogger...