Question Rooting Zenfone 8

Search This thread

dohanin

Senior Member
Mar 26, 2011
244
134
Sony Xperia X Compact
Xiaomi Mi Pad 4
I understand there is no TWRP recovery for Zenfone 8 yet, but according to other posts, their are other ways to root the phone, e.g. using Magisk boot image patch method.

I tried, but I'm not able to flash the boot image in fastboot. I'm able to boot to fastboot mode, but it's showing no device when I use "fastboot devices" with USB connection. If I enter recovery mode, "adb devices" is showing unauthorized.

I don't know how to proceed. Appreciate your help!
 

banannerz

Member
Jan 14, 2011
25
5
Sony Xperia XZ2 Compact
Good to hear it worked out. I was going to suggest installing a driver when in fastboot mode.

How did you get the boot image btw? I've never tried for anything other than a Lineage OS device, for which all the files are easily accesible.
 

dohanin

Senior Member
Mar 26, 2011
244
134
Sony Xperia X Compact
Xiaomi Mi Pad 4
To get the boot image:
1. Get the full firmware form Asus official site: (must get the same version as your current phone)
https://www.asus.com/UK/supportonly/ZenFone 8 (ZS590KS)/HelpDesk_BIOS/
2. Extract payload.bin from the zip file
3. Use Payload Dumper to extract the img files, and you'll find boot.img
note. their are some versions requiring to install Python on your PC. I found this one with executable:
https://ava4.androidfilehost.com/dl...18474/2188818919693785372/Payload_Dumper.zip?
4. Use Magisk to patch boot.img.

Hope this helps.

Please note after flashing the patched boot.img, your phone will be rooted but it fails safetynet. Have to install the module "safetynet-fix-v1.1.0.zip", then everything is fine.
 

dohanin

Senior Member
Mar 26, 2011
244
134
Sony Xperia X Compact
Xiaomi Mi Pad 4
After opening the bootloader and rooting the phone, are there any disadvantages you discovered? Warning screen on boot, (banking) apps not working, etc.?
Yes, there is a warning screen on boot. And yes, some banking apps I use can't be cheated by Magisk Hide, but I use Work profile (via Island) to work around it. So far so good.
 

yunyou

Member
Oct 29, 2017
11
5
OnePlus 6
Google Pixel 3
To get the boot image:
1. Get the full firmware form Asus official site: (must get the same version as your current phone)
https://www.asus.com/UK/supportonly/ZenFone 8 (ZS590KS)/HelpDesk_BIOS/
2. Extract payload.bin from the zip file
3. Use Payload Dumper to extract the img files, and you'll find boot.img
note. their are some versions requiring to install Python on your PC. I found this one with executable:
https://ava4.androidfilehost.com/dl...18474/2188818919693785372/Payload_Dumper.zip?
4. Use Magisk to patch boot.img.

Hope this helps.

Please note after flashing the patched boot.img, your phone will be rooted but it fails safetynet. Have to install the module "safetynet-fix-v1.1.0.zip", then everything is fine.
After rooting, it seems that the official ota update cannot be detected, and it cannot be seamlessly achieved by using the Magisk to install to the unused slot. Is there any other way to achieve the update? For example, OnePlus can choose to install the full ota downloaded from the official website locally.
 

banannerz

Member
Jan 14, 2011
25
5
Sony Xperia XZ2 Compact
To get the boot image:
1. Get the full firmware form Asus official site: (must get the same version as your current phone)
https://www.asus.com/UK/supportonly/ZenFone 8 (ZS590KS)/HelpDesk_BIOS/
2. Extract payload.bin from the zip file
3. Use Payload Dumper to extract the img files, and you'll find boot.img
note. their are some versions requiring to install Python on your PC. I found this one with executable:
https://ava4.androidfilehost.com/dl...18474/2188818919693785372/Payload_Dumper.zip?
4. Use Magisk to patch boot.img.

Hope this helps.

Please note after flashing the patched boot.img, your phone will be rooted but it fails safetynet. Have to install the module "safetynet-fix-v1.1.0.zip", then everything is fine.
Ah, thanks that did help. I didn't know the full firmware was available from the site.
 

dohanin

Senior Member
Mar 26, 2011
244
134
Sony Xperia X Compact
Xiaomi Mi Pad 4
After rooting, it seems that the official ota update cannot be detected, and it cannot be seamlessly achieved by using the Magisk to install to the unused slot. Is there any other way to achieve the update? For example, OnePlus can choose to install the full ota downloaded from the official website locally.
Do you mean you already tried this with Zenfone 8 OTA update after rooting? I did it with firmware "WW-30.11.51.67" and it's still the current one, so I don't know whether it would work or not.
 

yunyou

Member
Oct 29, 2017
11
5
OnePlus 6
Google Pixel 3
Do you mean you already tried this with Zenfone 8 OTA update after rooting? I did it with firmware "WW-30.11.51.67" and it's still the current one, so I don't know whether it would work or not.
I found ota's solution. Download the "WW-30.11.51.67" firmware from the official website and move it to the main storage directory of the phone. Then the phone should detect the update file, but if the phone does not prompt, then try to restart the device. When the phone restarts and enters the system again, the system will detect the update, and there will be an update launcher notification in the notification bar!
When the system update interface is over, when prompted to restart, install to an unused slot through the Magisk option. Select the installation to keep ROOT to achieve seamless ota.
 

grootzy

New member
Jul 27, 2021
4
7
Yes, there is a warning screen on boot. And yes, some banking apps I use can't be cheated by Magisk Hide, but I use Work profile (via Island) to work around it. So far so good.
If you use DRM Info app do you still have Widevine L1 security level? (needed for netflix hd playback) thanks.
 

grootzy

New member
Jul 27, 2021
4
7
yes, it's showing L1 in Widevine CDM
Thanks, great news that ASUS are not being dicks with the bootloader unlocking.

For anyone else who isn't too clear on the steps (like me!) - After patching the boot image with magisk you then can use adb to pull that image to a PC and then use adb reboot bootloader and then fastboot boot patched-image.img to check the rooting works without flashing anything and then use adb reboot bootloader again and then fastboot flash boot patched-image.img to write it to the flash memory if everything went smoothly. This worked for me and everything seems great. Obviously you need adb and fastboot set up on your PC for this to work. I'm not sure if this was the intended method but it is what I did.
 

fatjoez

Senior Member
Feb 25, 2011
644
145
Yes, there is a warning screen on boot. And yes, some banking apps I use can't be cheated by Magisk Hide, but I use Work profile (via Island) to work around it. So far so good.
did you try hiding magisk manager by changing the magisk manager package name? (it's an option in magisk manager).
some apps detect the magisk manager app to guess rooting.

If you hide magisk app + use magiskhide on the bank app it should be working.
please check let me know
 

dohanin

Senior Member
Mar 26, 2011
244
134
Sony Xperia X Compact
Xiaomi Mi Pad 4
did you try hiding magisk manager by changing the magisk manager package name? (it's an option in magisk manager).
some apps detect the magisk manager app to guess rooting.

If you hide magisk app + use magiskhide on the bank app it should be working.
please check let me know
hi, yes i tried but while most apps are working fine, some banking apps can still detect root. however, for those apps, if i disable the magisk app beforehand, then it can be passed. i could not figure why since the magisk app is already with a random package name. i posted my query in the magisk forum too.

anyway, with this method, i don't need to use work profile now.
 

ku232

Member
Jul 1, 2018
14
1
Hi everbody.

I hope someone can help me out.
I unlocked my Zenfone 8 with the official unlock tool and i want to relock the bootloader back.
I was using commands like fastboot oem asus-lock, fastboot flashing lock, but nothing works.
Did Asus changed something in Android 11?
In Android 10 the first command was working without problems.

Thanks
 

Top Liked Posts

  • There are no posts matching your filters.
  • 10
    To get the boot image:
    1. Get the full firmware form Asus official site: (must get the same version as your current phone)
    https://www.asus.com/UK/supportonly/ZenFone 8 (ZS590KS)/HelpDesk_BIOS/
    2. Extract payload.bin from the zip file
    3. Use Payload Dumper to extract the img files, and you'll find boot.img
    note. their are some versions requiring to install Python on your PC. I found this one with executable:
    https://ava4.androidfilehost.com/dl...18474/2188818919693785372/Payload_Dumper.zip?
    4. Use Magisk to patch boot.img.

    Hope this helps.

    Please note after flashing the patched boot.img, your phone will be rooted but it fails safetynet. Have to install the module "safetynet-fix-v1.1.0.zip", then everything is fine.
    4
    Do you mean you already tried this with Zenfone 8 OTA update after rooting? I did it with firmware "WW-30.11.51.67" and it's still the current one, so I don't know whether it would work or not.
    I found ota's solution. Download the "WW-30.11.51.67" firmware from the official website and move it to the main storage directory of the phone. Then the phone should detect the update file, but if the phone does not prompt, then try to restart the device. When the phone restarts and enters the system again, the system will detect the update, and there will be an update launcher notification in the notification bar!
    When the system update interface is over, when prompted to restart, install to an unused slot through the Magisk option. Select the installation to keep ROOT to achieve seamless ota.
    3
    After opening the bootloader and rooting the phone, are there any disadvantages you discovered? Warning screen on boot, (banking) apps not working, etc.?
    Yes, there is a warning screen on boot. And yes, some banking apps I use can't be cheated by Magisk Hide, but I use Work profile (via Island) to work around it. So far so good.
    2
    yes, it's showing L1 in Widevine CDM
    Thanks, great news that ASUS are not being dicks with the bootloader unlocking.

    For anyone else who isn't too clear on the steps (like me!) - After patching the boot image with magisk you then can use adb to pull that image to a PC and then use adb reboot bootloader and then fastboot boot patched-image.img to check the rooting works without flashing anything and then use adb reboot bootloader again and then fastboot flash boot patched-image.img to write it to the flash memory if everything went smoothly. This worked for me and everything seems great. Obviously you need adb and fastboot set up on your PC for this to work. I'm not sure if this was the intended method but it is what I did.
    2
    Ok, now that I finally got the patched boot flashed. Have root and added the safetynet-fix-v1.2.0-MOD.zip so I pass Safetynet....

    I start up Netflix: "Please update to the latest version of Netflix app to proceed."
    Press: OK
    Opens up Play Store.... lo and behold: "This app is no longer compatible with your device. Contact the developers for more info."


    FFS!!!! This is exactly what I didn't want!!!!

    Help me. If this is working for you, tell me how I'm being stupid. Please!



    EDIT: I'll answer my own question here.

    Go to Settings, Apps & Notifications, See all apps.
    Netflix, Storage & Cache.
    Clear storage, clear cache.
    Go back.
    Disable Netflix
    Go back.
    Google Play Store, Storage & Cache
    Clear storage, clear cache.
    Go back.
    Enable Netflix

    In Magisk, go to Superuser (the sheild icon), MagiskHide, press Search icon, enable "Show System apps" and Show OS apps"
    Find Netflix, hide Magisk for Netflix,


    Now you can open Netflix app and follow the prompt to update the app in Google Play Store, and this time it will update and work,