Rooting Android device latest method using Magisk Manager:
- fastboot installed on your desktop.
- Magisk Manager installed on your mobile device.
- Firmware of the Device.
Disclaimer: Your device might get bricked in the process and the author doesn’t take any responsibility for any losses to the reader.
Step 1: Download the firmware from official website of your mobile corresponding to your device model.
Step 2: Go to folder “image” and copy the “boot.img” file to the “internal Storage” of the device
Step 3: Install latest “Magisk Manager” Application in the phone.
Step 4: Update the application to install latest version.
Step 5: Tap on “Install” option.
Step 6: Select “Select and Patch a file” option and select the “boot.img” file.
Step 7: Now it will Patch the file and keep a new one in the “internal Storage”
Step 8: Copy the patched “Magisk_Patched.img” file to the system where “fastboot” is installed
Step 9: Now go to settings -> Developer Options -> Enable OEM Unlock
Step 10: Now Enter the command in laptop to check for the connected device
Step 11: Now enter below command to get into “fast mode”
adb reboot bootloader
Step 12: Connect the Mediatek devise from devices->usb in kali and then run the below command to check the device is detected in “fastboot”
Step 13: Enter the below command to unlock the bootloader
fastboot flashing unlock_critical
Step 14: Now Press “Volume Up” on the phone to confirm “bootloader unlock”
Step 15: Now Enter the following command to flash the patched file on the device
fastboot flash boot magisk_patched.img
Step 16: Note that the flashing process is completed, enter the following command to reboot
That’s all Folks, Rooting is done, Enjoy the Super User Privileges on your phone.