Rooting Method
Baap.You will need a laptop/PC for this. Bootloader must be unlocked for this.
You can skip straight to step 6 if you have already patched a boot image. You can find a patched boot image in your device group's respective notes or channels, wherever they may be.
- Download and Install the Magisk apk on your phone.
2. Download and copy the respective boot image on your phone. Can be found in your respective device's group or in fastbootable ROM/ images folder. Or you can use payload dumper to pull boot images. Refer to this note for that guide.
3. Open Magisk App, and go to install option, choose, "select and patch a file", select the boot image that you copied onto the phone before. Patching process will start.
4. A new patched Magisk boot image should be saved in downloads folder.
Download Platform tools on your PC/ Laptop from here https://developer.android.com/studio/releases/platform-tools
Install universal ADB Drivers as well from, here https://adb.clockworkmod.com/
6. Copy that patched Magisk boot image to platform tools folder in your laptop or PC. You can rename the patched image for your own convenience.
7. Open a Command Window from inside platform tools folder. As follows: -
9. Reboot device in fastboot mode by pressing and holding volume down and power button.
10. Type the following commands in CMD window.
fastboot devices. Your device should be detected in CMD.
fastboot flash boot <patched magisk boot.img>
Patched Magisk Boot.img = Your respective patched image.
Command window should show a finished indication.
From here, you can go ahead and restart using the command: 'fastboot reboot'.