How to Root Your Device with Magisk Manager and Boot.img



Rooting your device can give you more control over its performance, customization, and security. However, rooting can also void your warranty, brick your device, or expose it to malware. Therefore, you should always backup your data and follow the instructions carefully before attempting to root your device.

One of the easiest and safest ways to root your device is by using Magisk Manager and boot.img. Magisk Manager is an app that allows you to manage root access and install modules that enhance your device’s functionality. Boot.img is a file that contains the kernel and ramdisk of your device’s operating system. By patching the boot.img file with Magisk Manager, you can root your device without modifying the system partition

To root your device with Magisk Manager and boot.img, you will need the following:


  • A compatible Android device with an unlocked bootloader
  • A USB cable to connect your device to your computer
  • A computer with ADB and Fastboot installed
  • The latest version of Magisk Manager app
  • The boot.img file for your device’s firmware
You can find the boot.img file for your device’s firmware from various sources, such as the official website of your device’s manufacturer, a custom ROM website, or a forum thread. Make sure you download the correct boot.img file for your device’s model and firmware version.

Once you have everything ready, follow these steps to root your device with Magisk Manager and boot.img:

  • Copy the boot.img file to your computer and rename it to something easy to remember, such as magisk_boot.img.
  • Connect your device to your computer with a USB cable and enable USB debugging in the developer options.
  • Open a command prompt or terminal window on your computer and navigate to the folder where you saved the magisk_boot.img file.
  • Type the following command to reboot your device into fastboot mode:
''adb reboot bootloader''
Type the following command to check if your device is recognized by fastboot:
fastboot devices
If you see your device’s serial number in the output, proceed to the next step. If not, make sure you have installed the correct drivers for your device and try again.
Type the following command to temporarily boot your device with the magisk_boot.img file:
''fastboot boot magisk_boot.img''
Your device will reboot and show a screen with a red Android logo and some text. This means that your device is booted with Magisk.
  • Disconnect your device from your computer and open the Magisk Manager app on your device.
  • Tap on Install and select Install again.
  • Tap on Select and Patch a File and locate the magisk_boot.img file on your device’s storage.
  • Magisk Manager will patch the file and save it as magisk_patched.img in the Download folder of your device’s storage.
  • Connect your device to your computer again and copy the magisk_patched.img file to your computer.
  • Reboot your device into fastboot mode again by typing:
''adb reboot bootloader''
Type the following command to flash the magisk_patched.img file to your device’s boot partition:
''fastboot flash boot magisk_patched.img''

Type the following command to reboot your device normally:

''fastboot reboot''

Your device is now rooted with Magisk! You can open the Magisk Manager app again and check the root status and SafetyNet status.

You can also install various modules from the Magisk Manager app or download them from https://magiskmodules.com/ to enhance your device’s functionality.

Congratulations! You have successfully rooted your device with Magisk Manager and boot.img. Enjoy!

Comments