Skip to content

InstallMagisk

bangkkuser edited this page Apr 14, 2026 · 1 revision

Magisk Installation Guide

🧠 What is Magisk?

Magisk

Magisk is a systemless root solution for Android that allows modification of the system without directly altering system partitions. It also supports modules, root management, and advanced system customization.


⚠️ Requirements

Before installing Magisk, make sure you have:

  • Bootloader unlocked
  • Compatible firmware/ROM installed
  • ADB & Fastboot installed on your PC (or equivalent tools)
  • Correct boot image for your device
  • Backup of your data (IMPORTANT)

📦 Method 1: Patch boot.img (Recommended)

Step 1 - Get boot image

Extract boot.img from your device firmware or ROM package.


Step 2 - Install Magisk app

Install the official Magisk app on your Android device.


Step 3 - Patch boot image

  1. Open Magisk app
  2. Tap Install
  3. Choose Select and Patch a File
  4. Select boot.img
  5. Wait for patching process to finish

Output file will be saved as:

Download/magisk_patched.img

Step 4 - Flash patched boot image

Connect device to PC and reboot to fastboot:

adb reboot bootloader

Flash patched image:

fastboot flash boot magisk_patched.img

Then reboot:

fastboot reboot

📦 Method 2: Recovery (if supported)

Some devices support installing Magisk via custom recovery:

  1. Boot into custom recovery (TWRP or similar)
  2. Flash Magisk ZIP file
  3. Reboot system

🧯 Verification

After reboot:

  1. Open Magisk app
  2. Check if:
    • Magisk status is installed
    • Root access is working

Optional test:

su

If prompt appears, root is active.


⚠️ Troubleshooting

Bootloop after flashing

  • Flash stock boot image back via fastboot:
fastboot flash boot boot.img

Magisk not detected

  • Ensure correct boot image was patched
  • Make sure device is not using AVB/verity incorrectly configured

🧠 Notes

  • Always use the correct boot image for your exact firmware version
  • Do NOT patch random boot images
  • Keep backups before modifying partitions
  • Some devices require additional steps (vbmeta, dtbo, etc.)

🤝 Credits

Magisk is developed as a systemless rooting solution for Android devices, enabling advanced customization while preserving system integrity where possible.