To flash the patched image, reboot your phone into Fastboot Mode again and connect it to your PC. Use the command prompt to navigate to the folder containing the patched image and run:
Copy Code
fastboot flash boot path/to/magisk_patched.img
After flashing, reboot your device with:
Copy Code
fastboot reboot
Once your phone reboots, Magisk should be installed, granting root access. If Magisk does not appear, reinstall the Magisk APK manually.