Home > Root

How to Root Asus Zenfone 9 via Magisk Patched Boot

In this guide, we will show you the steps to root your Asus Zenfone 9 via Magisk patched boot.img. One of the biggest complaints that users had for ages was there was no compact device that could offer flagship-level specs sheets. If you are opting for a small screen device, then you had no choice but to sacrifice on the features. However, thanks to Asus, that notion has finally been broken.

In its latest offering, you get a 5.9-inch screen which is coupled with the latest Snapdragon 8+ Gen 1 chipset, up to 16GB RAM and a 120hz refresh rate. Then if we shift our attention towards custom development, then the Zenfone series has always been quite an active player. Be it for flashing custom ROMs, installing custom recoveries, flashing binaries, or gaining administrative access, there’s a lot to look forward to.

In this regard, it goes without saying that gaining admin-level privilege has always been the go-to choice for the tech enthusiast, owing to the plethora of benefits that it has to offer. So in this guide, we will show you the steps to root your Asus Zenfone 9 via Magisk patched boot.img. Follow along.

Benefits and Risks of Rooting Asus Zenfone 9

root Asus Zenfone 9

Once you root your device by flashing the Magisk patched boot.img via Fastboot Commands, you will be in a position to try out a plethora of customizations on your device. These include the likes of flashing custom ROMs, installing a custom recovery like TWRP, or flashing a custom kernel. Along the same lines, you could also flash Magisk Modules, Xposed Framework, Substratum Themes, Viper4Android, and the likes. However, this is just one side of the story.

Carrying out this process also has its downsides. First off, the process requires an unlocked bootloader. Doing so will wipe off all the data and could nullify the device’s warranty as well. Likewise, WideVine L1 will be degraded to L3, resulting in the inability to stream Netflix in HD [FIXED]. Then the SafetyNet will be triggered [FIXED], which might cause issues with banking apps [FIXED]. So if all that’s well and good, then let’s get started with the steps to root Asus Zenfone 9.

How to Root Asus Zenfone 9 via Magisk Patched Boot

The below instructions are listed under separate sections for ease of understanding. Make sure to follow the same sequence as mentioned. Droidwin and its members wouldn’t be held responsible in case of a thermonuclear war, your alarm doesn’t wake you up, or if anything happens to your device and data by performing the below steps.

Install Android SDK

install adb platform tools windows

To begin with, install the Android SDK Platform Tools on your PC. This is the official ADB and Fastboot binary provided by Google and is the only recommended one. So download it and then extract it to any convenient location on your PC. Doing so will give you the platform-tools folder, which will be used throughout this guide.

Enable USB Debugging and OEM Unlocking

Next up, you will have to enable USB Debugging and OEM Unlocking on your device. The former will make your device recognizable by the PC in ADB mode. This will then allow you to boot your device to Fastboot Mode. On the other hand, OEM Unlocking is required to carry out the bootloader unlocking process. So head over to Settings > About Phone > Tap on Build Number 7 times > Go back to Settings > System > Developer Options > Enable USB Debugging and OEM Unlocking.

Unlock Bootloader on Asus Zenfone 9

You will also have to unlock the bootloader on your Asus Zenfone 9 if you wish to root it via Magisk. Do keep in mind that doing so will wipe off all the data and might make the device’s warranty null and void as well. So if that’s well and good, then refer to our guide to How to Unlock Bootloader on Asus Zenfone 9.

root asus Zenfone 9

Extract Asus Zenfone 9 Stock Boot.img

  1. To begin with, download the stock firmware for your device from below:
    Asus Zenfone 9 Stock Firmware: Download Link
  2. Make sure to download the same version that is currently installed on your device.
  3. Once downloaded, extract it to any convenient location on your PC.root asus Zenfone 9
  4. You will get a couple of files, including the payload.bin, which you will have to extract in order to get the boot.img file.
  5. So refer to our guide on How to Extract payload.bin and get the stock boot image file.root asus Zenfone 9
  6. Once done, copy the boot.img file from there and transfer it to your device.root asus Zenfone 9

Patch Asus Zenfone 9 Stock Boot.img via Magisk

  1. Download and install the latest version of the Magisk App.
  2. Then launch it and tap on the Install button next to Magisk.
  3. After that, choose ‘Select and Patch a File’, navigate to the stock boot.img file, and select it.
    root asus Zenfone 9
  4. Then tap on the Let’s Go button situated at the top right.
    root asus Zenfone 9
  5. The boot.img file will now be patched and placed under the Downloads folder on your device.
  6. You should transfer this file to the platform-tools folder on your PC. We will now be using this file to root your Asus Zenfone 9.
    root asus Zenfone 9

Boot Asus Zenfone 9 to Fastboot Mode

  1. Connect your device to the PC via USB cable. Make sure USB Debugging is enabled.
  2. Then head over to the platform-tools folder, type in CMD in the address bar, and hit Enter. This will launch the Command Prompt.
    command-prompt-inside-adb
  3. Type in the following command in the CMD window to boot your device to Fastboot Mode
    adb reboot bootloader

    root asus Zenfone 9

Flash Magisk Patched Boot.img and Root Asus Zenfone 9

  1. To begin with, make sure that you have transferred the magisk_patched.img file to the platform-tools folder.
  2. Now type in the below command in the CMD window (that is opened inside the platform-tools folder) to flash the Magisk Patched file:
    fastboot flash boot magisk_patched.img

    root asus Zenfone 9

  3. Once that is done, reboot your device to the OS via the following command:
    fastboot reboot

That’s it. These were the steps to root the Asus Zenfone 9 via Magisk patched boot.img. If you have any queries concerning the aforementioned steps, do let us know in the comments. We will get back to you with a solution at the earliest.


Share: