- Patching the Stock Boot Image:
- You don’t need root or custom recovery for this method.
- Requirements:
- ADB and Fastboot on your PC (e.g., Tiny ADB & Fastboot).
- Stock boot.img of your device (extract it from the factory image).
- Magisk Manager installed.
- Internet connection.
- Bootloader unlocked.
- Developer Options > USB Debugging enabled.
- Steps:
- Copy the stock boot.img to your phone’s internal storage.
- Install Magisk Manager.
- Launch Magisk Manager and select “Install > Patch Boot Image File.”
- Choose your stock boot.img.
- Magisk Manager will download the Magisk.zip file for patching.
- Once downloaded, it will automatically patch the boot file.
- Flashing the Patched Boot Image:
- Install Tiny ADB & Fastboot on your PC.
- Connect your phone to the PC via USB.
- Copy the patched_boot.img to
C:\Program Files (x86)\Tiny ADB and Fastboot\
. - Unlock the bootloader and enable USB debugging.
- Open Tiny ADB and Fastboot.
adb reboot bootloader fastboot devices fastboot flash boot patched_boot.img
- Reboot your device.
Remember to replace patched_boot.img
with the actual filename. This method allows you to use Magisk modules without root or custom recovery⁴. If you have any more questions, feel free to ask!