How to Patch a File With Magisk Manager (Guide)

Magisk is undoubtedly the best and reliable source to root any Android phone. There are many methods to root an Android phone using Magisk. One of the methods is the flashing patched boot image. But many users don’t know about the patched boot image and how to get it. Here you will know how to patch a file in Magisk Manager. how to patch a file with magisk

You can patch files like boot image, recovery file, and many zip files. Flashing magisk patched files will root your phone. If you use the magisk patched file to root your phone, then you don’t have to install a custom recovery on your phone. This can be an advantage for those who don’t want a custom recovery but want to root their phone. I will also share the installation guide of the patch boot file created with Magisk Manager.

You may have a question in your mind that why you need a magisk patched file. We will clear out your doubts.

Why You Need Magisk Patched File?

Magisk patched files are used for rooting any Android phone without breaking the SafetyNet. It also gives you an advantage, which is you can root your phone without any custom recovery. Moreover, it also supports multiple file formats like image and tar format files. You can patch boot image or patch custom recovery and install to root your Android Phone.

Now let’s get you the method to create a Magisk image or tar patched file.

Must Read | How to Root Google Pixel 4 & Pixel 4 XL with Magisk (Guide)

How to Patch a File with Magisk Manager

  1. Download Magisk Manager APK on your phone. Samsung users should download the Canary Build.
  2. Transfer the file that you want to patch on your phone.
  3. Install the Magisk Manager on your phone with the APK.
  4. Now open the Magisk Manager App and follow the further instructions.
  5. In Magisk Manager, click on the above Install option and then click again on the Install in the pop-up. how to patch a file with magisk
  6. Now choose the ‘Select and Patch a File’ option. how to patch a file with magisk
  7. Locate the file that you want to patch and wait for the patch completion.
  8. After the successful patch the file will be saved in the download folder with name magisk_patched or similar.
  9. That’s it; you have created the patch file from Magisk Manager.

After patching the boot image or twrp file, you have to install the magisk patched boot image. If you want to install the file, then follow the below method. If you have a Samsung phone, then check the last method.

Note: Always take a full backup of your phone, if you want to flash any file on your phone.

How to Install Magisk Patched File on Android Phone

In most of the phones, patched boot images are used to root. So here i will explain how to install Magisk patched boot image. You should know that installing the patched file requires an unlocked bootloader.

  1. First, install the ADB & Fastboot driver on your computer.
  2. Transfer the magisk_patched file on your computer (In C:\adb folder). Rename it boot.img if it is a boot image and recovery.img if it is a recovery image.
  3. Go to C:\adb location and press Shift + Right click on an empty area and select ‘Open PowerShell window here’ or ‘Open Command window here.’
  4. Now boot your phone into the Fastboot Mode and connect to your computer.
  5. In Command window enter the below command (if you have boot image)
    • fastboot flash boot boot.img
  6. Enter the below command in the command window (if you have recovery image)
    • fastboot flash recovery recovery.img
  7. After installing the magisk patched file, reboot your phone into the system.
  8. Open Magisk Manager and follow the in-app instructions.

This applies to Android phones except for Samsung phones. To install Magisk patched file on Samsung phones, you need Odin tool.

You May Also Like | Download Samsung USB Drivers for Mobile Phones [Latest]

How to Install Magisk Patched File on Samsung Phones

Samsung phones also require the bootloader to be unlocked to install the patched file. Follow the below instructions.

  1. Download Odin flash tool on your computer. Also, download the firmware of your phone and extract the firmware.
  2. Transfer the magisk patched file on your computer.
  3. Now boot your Samsung phone into Download Mode and connect to your computer.
  4. Run the Odin tool and see if your device is connected (it will see COM and blue color if connected).
  5. Switch to the Options tab and uncheck Auto Reboot.
  6. Click on the AP tab and locate the magisk patched file (boot image or recovery tar).
  7. Also, load the other three section BL, CP, and CSC (you can find these files on the extracted firmware folder). how to patch a file with magisk
  8. Then click on Start to flash the magisk patched file.
  9. It will give a success message after completion.
  10. To reboot your Samsung phones with root access, the correct key combination should be used. For this check particular root guide.
  11. Then open the Magisk Manager and follow the in-app instructions.

That’s all, now you know how to patch a file with Magisk Manager and how to install the patched file. Also, your phone is rooted if you have installed it on your phone. If you have any queries, do let us know in the comment section.

Also Read:

Explore Stories

AUTHOR.

Photo of author

Ashutosh singh

Computer Science graduate and tech enthusiast. Love testing new tech gadgets ever since my first windows phone from Samsung. Working as a technical writer for more than five years, and I believe I have also developed good SEO skills. In my spare time, I like watching movies, and playing games.

Leave a Comment