From this guide, you will be able to patch the stock boot image of your device and root using Magisk Manager. A detailed tutorial is given below along with all the files that needed to perform the tutorial; continue reading without skipping a single paragraph!
After Chainfire left SuperSU, Koush moved away from CWM and other projects, Magisk has emerged as the only Android root and modification tool that is still active today. Xposed Framework also does not have an official version for Android 9.0 Pie or above.
Unlike other tools, that come and go with fewer features, Magisk comes with several qualities from systemless root to module support. Superuser permission control and installer in Magisk will always keep you up-to-date. If you have heard of Magisk but are not sure what it is or what it is for, here we will see its main functions and how it is installed using Patch boot image.
Magisk is the most superior tool today to modify an Android device.
Magisk gets its name from the combination of Magic and Mask, and its main advantage is that it “hides” its modification in the Android ecosystem.
In this way, a device, despite being modified and rooted, continues to pass integrity tests such as those of SafetyNet, the same test that prevents bank applications or Pokémon Go from working when they detect that the system has been rooted.
There is no magic behind, but almost. Instead of making changes to the system partition, the developer has found methods of making the changes to other partitions. Hence, it is considered the systemless root, or root without touching the system partition. This helps the mobile keep passing integrity tests like SafetyNet.
Magisk consists of one side of its core and on the other of a management application, Magisk Manager. This application is used to configure Magisk, install modules, check superuser permissions, and keep Magisk updated.
How to root Android using Patch Boot Image?
Generally, we root Android by flashing the Magisk using TWRP or any custom recovery. But when things don’t go well, you need to perform a different method; thanks to John Wu for providing alternative ways to install Magisk. This method is also for those devices that don’t have TWRP support but still want to root their devices. Read ahead!
Your Android device must have an Unlocked Bootloader!
Make sure your phone has at least 80 – 85% charge. If not, please do charge it before starting the experiment.
You need to enable the USB Debugging mode to connect your Android phone to the computer. (Settings > About Phone > Build number > Tap it 7 times to become developer; Settings > Developer Options > USB Debugging).
Get the STOCK Boot IMG
You can either get the boot image from Chainfire.mobi or extract the same from the stock ROM package. In the stock ROM ZIP package, you need to find a boot.img file. Extract the firmware and find it out. Once done, you can follow the further tutorial below!
Backup your device
Before starting the tutorial, we suggest you to backup your essential documents from the device and make a copy of it to your computer. On performing our experiment, your device may get wiped, and you may lose everything from the phone. We don’t want that. In that case, we have a list of applications that may help you in creating backups within the phone. Later on, you can copy the files to the computer for a safer side.
Once you are sure that you are done with the backup stuff, please proceed to the tutorial below on “How to Patch Stock Boot Image (IMG) using Magisk Manager.”
WARNING: All the custom ROMs, Official Firmware, How-to guides, tutorials, roots, hacks, and tricks mentioned on our site belong to the respective developers. We are not responsible if anything goes wrong with your device. Perform it at your own risk.
HOW-TO: Patch Stock Boot Image (IMG) using Magisk Manager
Step 1: Place the boot image on the phone’s internal storage or SD card.
Saeed Ashif Ahmed is the founder of SEOChasing Pvt. Ltd., who has a keen interest in how emerging technology can help the world become a more just, equitable, and kind place. He is a car enthusiast, civil engineer, cricket lover, and forever Navodayan (JNV is love ❤️).