The Custom Droid

Android Tutorials, Tips and Tricks

How to Root ASUS Zenfone 6 (ASUS 6z) using Magisk Patched Boot Image

How to Root ASUS Zenfone 6 (ASUS 6z) without TWRP Recovery

Although an unofficial build of TWRP recovery is available for the Zenfone 6, it doesn’t work well with the latest software currently. So, in this tutorial, we will show you how to root ASUS Zenfone 6 (ASUS 6Z) without TWRP, using Magisk.


Recently, we covered a detailed tutorial on how to install TWRP on Asus Zenfone 6 (ASUS 6z) and root it using Magisk. However, several of our readers and also users over at the XDA thread have reported that TWRP doesn’t work following the latest software update on the phone. As per the said users, using the ‘fastboot boot’ command to temporarily boot the TWRP recovery image fails. Once the command is executed, the phone reboots and enters the Bootloader Mode, instead of TWRP Recovery Mode.

XDA member mauronofrio, who compiled and built the unofficial TWRP for the Asus Zenfone 6 also responded to the reports. According to him, he doesn’t own the device himself, which makes debugging, fixing, and retesting the issue even harder. He also added that TWRP lead developer Dees_Troy and bigbiff have recently received the Zenfone 6 under the developer program. Which means that the device may gain official TWRP support in the near future. And so, he wouldn’t be releasing any updated for now.

Even if not for the given situation, rooting your Zenfone 6 without TWRP has its own advantages. For instance, you can easily install OTA updates on your rooted phone with the least amount of effort.

How to Root ASUS Zenfone 6 (ASUS 6z) without TWRP Recovery

So, irrespective of the reason you are here, the instructions below will guide you on how to root ASUS Zenfone 6 (ASUS 6z) without TWRP. This could be easily done by patching the stock boot image with Magisk and then flashing the patched boot image to the device using fastboot to root it. The process is pretty easy and same as we’d had detailed for the OnePlus 7/OnePlus 7 Pro and many more devices. So, just go ahead and follow the instructions below to root your Asus Zenfone 6 (ASUZ 6z).


  • Unlock your Zenfone 6’s bootloader first. For now, there’s only the official method available. Note that this method is irreversible and will void your phone’s warranty.
  • Like always, take a complete backup of all your data stored on your phone, including the internal storage. If your phone’s bootloader is already unlocked, then no data will be wiped. However, it is still a good practice to keep a backup.
  • Charge your Zenfone 6 to a sufficient battery level so that it doesn’t power off accidentally during the rooting process.
  • Install Asus USB Drivers on your PC.
  • Also, install Android SDK Platform-Tools on your PC. During this tutorial, we will refer to “C:\adb”. This would be the folder on your PC where the platform-tools have been installed.

How to Root ASUS Zenfone 6 (ASUS 6z) without TWRP?

For your convenience and better understanding, we have split the instructions into three major steps.

The first step involves downloading the official stock firmware and then extracting the payload.bin file found in it to get the stock boot image. The second step guides you to patch the stock boot image using Magisk Manager. And finally, the third step shows how to flash the patched boot image using fastboot to root your ASUS Zenfone 6 (ASUS 6Z).

Step 1: Get the Stock Boot Image

In order to get the stock boot image, you must download the official firmware update package corresponding to the software version installed on your Asus Zenfone 6/Aus 6Z. The firmware package could be downloaded from here. Once downloaded, you will need to extract the downloaded package for the Payload.bin file.

Once you have done that, you must extract the Payload.bin file to get the stock boot image. This could easily be done using the Payload Dumper Tool. Once you have got the stock boot image for the software version installed on your phone, head over to step #2 to patch it using Magisk.

Step 2: Patch the Stock Boot Image using Magisk Manager

  1. Connect your ASUS Zenfone 6 (ASUS 6z) to the PC using the USB cable.
  2. Copy the extracted stock boot image (boot.img) file to your phone’s internal storage.
  3. Once copied, disconnect the phone from the PC.
  4. Download the latest version of Magisk Manager on your phone and install it.
  5. Go to the app drawer and launch the ‘Magisk Manager’ app.
  6. Tap on the ‘Install’ button.
    Root ASUS Zenfone 6 (ASUS 6z) - Patch Stock Boot Image using Magisk Manager
  7. Next, tap on ‘Install’ and then on ‘Select and Patch a File’ option.
  8. Navigate to the phone’s internal storage and select the stock boot image (boot.img) transferred earlier.
  9. As soon as the file is selected, Magisk Manager will start patching it.
    Root ASUS Zenfone 6 (ASUS 6z) - Magisk Manager Patching Stock Boot Image

Once the process finishes, the patched boot image could be found in [internal storage]/Download as ‘magisk_patched.img‘ file.

Step 3: Flash the Patched Boot Image to root ASUS Zenfone 6 (ASUS 6z)

Now that you have the Magisk Patched Boot Image, follow the instructions below to flash it and root your ASUS Zenfone 6 (ASUS 6z).

  1. Connect your ASUS Zenfone 6 (ASUS 6z) to the PC using the USB cable.
  2. Go to [internal storage]/Download.
  3. Transfer the Patched Boot Image (magisk_patched.img) file to the folder on the PC where the Android SDK platform-tools are installed (e.g. C:\adb).
  4. Hold the SHIFT key and right-click on an empty space inside the folder.
  5. Select the ‘Open PowerShell window here‘ option.
    Flash Patched Boot Image on ASUS Zenfone 6 - Open PowerShell window here
  6. Power off your ASUS Zenfone 6 (ASUS 6z).
  7. Hold the Volume Up and Power buttons together to boot your phone into Fastboot Mode.
    Root ASUS Zenfone 6 (ASUS 6z) - Enter Fastboot Mode
  8. Once the phone is in Fastboot Mode, connect it to the PC using the USB cable.
  9. Enter the following command to ensure that your phone is successfully being detected by your PC over fastboot:
    fastboot devices
  10. The command should return a device ID. In case it doesn’t, make sure that you have installed the appropriate USB drivers on your PC.
  11. Finally, enter the following command to flash the patched boot image and root ASUS Zenfone 6 (ASUS 6z):
    fastboot flash boot magisk_patched.img

    Flash Magisk Patched Boot Image to Root ASUS Zenfone 6 (ASUS 6z)

  12. Reboot your phone by entering:
    fastboot reboot

Your phone should now be rooted using Magisk. Once it boots into the OS, go the app drawer and launch the Magisk Manager app to confirm.

The instructions above flash the patched boot image to the active slot on your ASUS Zenfone 6 (ASUS 6z), leaving the secondary/inactive slot untouched. This means you can easily install future OTA updates on your phone easily while still maintaining root. For a more detailed explanation of how to do it, follow this link.

Now that your phone is rooted, you can go ahead and install Magisk Modules for third-party features or install audio mods like ViPER4Android. You can also use the MagiskHide feature to hide root from certain apps.

There you go! This was out detailed tutorial on how to root ASUS Zenfone 6 (ASUS 6z) without TWRP recovery. If you have any questions regarding the procedure, do let using know by commenting below.

About the Author

Founder and Editor-in-Chief

Dhananjay has more than 11 years of experience in Android software customization and development, and has spent the past 10 years writing about it. He spends most of his prime time reading, learning and writing about Android and other open-source projects. He is also a community-taught web developer. Apart from that, he loves mountain biking and playing video games on his PlayStation.

Comments 9 Comments

  1. This was immensely helpful. I used more or less the same steps to root it after upgrading my Asus Zenfone 6 2019 to lineage OS. Extracted the payload files from the lineage .zip file and used Magisk to root it. I just checked the root status and it finally shows that it was rooted. Have been trying for the past 3 days to get this done, so I’m immensely happy.

    Since lineage took away the stock Asus Zenfone 6 2019 camera app, and since Gcam doesn’t have the auto swivel panorama mode (this phone swivels to make the back camera as the selfie camera), I was wondering if you could please help me get back the stock Asus Zenfone 6 2019 camera app.

    Thanks again for your help and time. I sincerely appreciate it.

  2. I don’t recommend this. It messed up my phone.. (can’t turn on wifi, can’t make calls etc.)
    Granted, I had root access, but without the ability to use wifi or make calls my phone is almost useless.

    1. Hi Sharon. Sorry that you had to go through such an ordeal. The issue that you have mentioned is caused due to an incompatible boot image.

      Could you please tell me which software build version is installed on your phone currently? And also, from where did you download the stock boot image?

    2. You don’t have to worry about it, it’s not your fault. I was probably not careful enough to do it properly.

      My Asus is currently running WW_17.1810.1911.110 (with root and corruptions).
      I downloaded it from here:

      I might have patched a different version, I’m not sure..
      Is there a way to reverse this? I thought about flashing the stock boot image again.

    3. No problem at all. I am more than happy to help.

      Did you download the file which is named this? –

      Or was it “”?

      Well, restoring is just easy. You patched the boot image via Magisk Manager, right? If so, then go to Magisk Manager, tap on ‘Uninstall’ and then press the ‘Complete Uninstall’ option.

      That should do the job and save you the trouble of flashing the stock boot image, not that it’s any difficult.

    4. I don’t remember exactly what I patched. All I can remember is downloading the one on top of the page (which was a couple of days ago) thinking “yeah I have the newest firmware, so the top one is probably right”.

      I just tried uninstalling through magisk as you said and now my phone is stuck at rebooting to recovery mode… weird.

    5. I flashed the stock boot image and patched the correct version now. Everything is working as intended. Thanks for your help!!

    6. I realize now that since you patched the mismatched stock boot, then Magisk Manager should have taken a backup of that and restored it. This means, even though the stock boot was restored, it was the wrong one. And thus, your phone bootlooped. The fix is to flash the matching stock boot for your installed software version, which is what you did.

      I am glad you were able to download the correct firmware and flash the corresponding patched boot.

Leave a Reply

Comments are moderated, and published only if they are relevant to the topic and add value in a constructive way. If you disagree with something, please be polite and respectful. We suggest you read our comment policy before commenting.