Installing Magisk will grant you ROOT, an extremely robust Systemless Interface, Magisk Modules support and protect you from numerous integrity tests such as SafetyNet!
Features Of Magisk – Root & Universal Systemless Interface :
100% open source and simple to build!
Let you make any modifications to your system (vendor) modifications without altering the partitions.
Any thing can be loaded using Magisk system-free!
MagiskSU: Open Source Root Solution
The device can be rooted using MagiskSU which is based on the Superuser of phh that is based on the CM Superuser.
MagiskSU Root Management, Upgrade Magisk, Manage MagiskHide lists
Manage the download, upgrade, and upgrade process. install Magisk Modules using the online community-driven Magisk Module Repo.
Hide Magisk from detections: Google SafetyNet, enterprise / bank integrity checks for systems Game tamper check, etc.
You can make any modifications to the system’s properties that you wish to modify, such as props with read-only access.
It can also be used with magiskhide to alter devices by sending them status information by the bootloader
(Optional) (Optional) AVB 2.0 and dm-verity. to forceencrypt.
Unlock partition blocks in order to support Remount to RW
If you have Magisk installed It is highly advised to upgrade directly through Magisk Manager
Instructions on how to install for the very first time is provided below:
If you plan to flash a custom kernel, flash it AFTER installing Magisk
Make sure to remove any other root, your best bet would be restoring your boot image back to stock
Via custom recovery:
Download the latest Magisk zip file
Reboot to a custom recovery and flash the flashable zip
Reboot to system, and check whether Magisk Manager is installed and the version matches the latest one in the OP
If for some reason Magisk Manager isn’t installed/upgraded automatically, please install/upgrade it manually!
Via Magisk Manager (Only support v14.0+):
This method does not need root, and also does not require a custom recovery.
However, you MUST have a stock boot image dump beforehand, and you also have to be able to flash the patched boot image, either through fastboot/download mode or ODIN
Install the latest Magisk Manager
If you’re planning to flash the patched boot image through ODIN, go to Settings > Update Settings > Patched Boot Output Format, and select .img.tar. For normal users leave it as the default .img
Press Install > Install > Patch Boot Image File, and select your stock boot image file
Magisk Manager will now patch your boot image, and store it in [Internal Storage]/MagiskManager/patched_boot.img[.tar]
Copy the patched boot image to your PC. If you can’t find it via MTP, you can pull the file with ADB:
adb pull /sdcard/MagiskManager/patched_boot.img[.tar]
Flash the patched boot image to your device and reboot. Here is the command if using fastboot:
fastboot flash boot /path/to/patched_boot.img