yashsingh1/xdaforums huggingface dataset:
[Asus ROG Phone Guides, News, & Discussion] zegoo:
Yes. Thanks I did that you wrote using the side port and it worked for flashing the latest firmware .46 but when i tried to flash Magisk by the same way, i got Signature verification failed Error 21 ...

I made adb reboot recovery and the phone restarted in recovery mode and i only have 3 lines, i choose Apply update from adb and i wrote:

C:\Pour Asus Rog Phone\Minimal ADB and Fastboot>adb sideload Magisk-v18.0.zip
Total xfer: 1.02x

C:\Pour Asus Rog Phone\Minimal ADB and Fastboot>

and got the error.
[Asus ROG Phone Guides, News, & Discussion] Tesla74:
[MENTION=9350973]All[/MENTION]

I've written a script to automate the python method of payload_dumper. It is attached to the OP. Just put the firmware in the firmware folder, run the script, and boot.img will appear in the boot_image folder.

Please let me know if it works for you.
[Asus ROG Phone Guides, News, & Discussion] Tesla74:
You can't sideload Magisk without twrp and we don't have twrp.

To root follow the guide in the OP. Start at step 6.

https://xdaforums.com/rog-phone/how-to/guide-root-t3865490
[Asus ROG Phone Guides, News, & Discussion] zegoo:
[MENTION=3342391]Tesla74[/MENTION]

I did the trick !!! ;)

Humm, would you like to know why it did not work ?.... WiFi !!! :rolleyes: :eek:

WiFi was disabled when i launched Magisk Manager so it never saw 'install' option !!!

When i saw more deeply the screenshots on the latest link you gave me, i saw the 'install' option i never had before and i saw wifi enabled. I enabled the WiFi and Magisk Manager requested if i would install Magisk !!! It was done !

Maybe i'm novice but i think you should precise that important condition on your OP.

So thanks a lot and long life to our Rog Phone. :cool:
[Asus ROG Phone Guides, News, & Discussion] zegoo:
[MENTION=3342391]Tesla74[/MENTION]

I have another trouble. WiFi is not working... SSID networks are seen but i wrote working passwords, it tells me unable to reach network. Is there issue(s) with WiFi when Rog Phone is rooted ? Is there existing fix ?
[Asus ROG Phone Guides, News, & Discussion] Tesla74:
I'm rooted and have no issues with wifi. I don't have the latest firmware 1811.46 installed yet, I'll let you know when I update my phone if I have any wifi issues.

Do you have data (Internet) access via your cell network provider?

Edit: Updated OP on Magisk Manager needing Internet access - Thank you!
[Asus ROG Phone Guides, News, & Discussion] zegoo:
I think i found what was wrong ... I have WiFi when I installed Magisk so it worked fine. After, i made a restore by Titanium Backup of many apps an data and WiFi issues came after that's why i flashed the firmware again from scratch, rooted the Rog with the patched_boot.img and Magisk and restore apps and data with Titanium Backup taking care about wht i decided to restore and for now, all is working fine. But i have to reboot ... I will see if WiFi issues will come back :rolleyes:

Edit: Finally, all is working fine after many reboot. :D Just dm verity which not staying unchecked under Magisk Manager. Don't know why ?! :rolleyes:
[Asus ROG Phone Guides, News, & Discussion] coltendark:
Invisible Use Google account to set up phone text after bootloader unlock

I don't believe this issue was ever fixed, so I made a video of this, here:https://youtu.be/aPKAEGptfas.
[Asus ROG Phone Guides, News, & Discussion] Mcfeels_Guy:
---------- Post added at 05:51 PM ---------- Previous post was at 05:47 PM ----------

I had the same problem myself. There is a module in the magisk module Downloader section that will fix this. Once downloaded and reboot your phone, it will pass and stay checked.
[Asus ROG Phone Guides, News, & Discussion] avri.altman:
Hi,

I follow the procedure in the OP - everything works fine.

However, post flashing patched_boot.img - the phone does not boot.

It is stuck in the "republic of games" logo with the line bar keep running.

Repeated with boot.img - same effect.

I would appreciate if someone can attach the boot.img/patched_boot.img so I can compare them to what I've got.

I used fw Version CN-15.1630.1811.46. The phone model is ASSUS_Z01QD.

Thanks a lot,

Avri

---------- Post added at 03:49 PM ---------- Previous post was at 03:06 PM ----------

Sorry - Just noticed that flashing firmware.zip is failing.

Error applying update: 54 (ErrorCode:KAsusDeviceError)

E:Error in /sideload/package.zip (status 1).

Any ideas?

Thanks, Avri
[Asus ROG Phone Guides, News, & Discussion] Mcfeels_Guy:
Under settings and under about phone, do you have the CN version or WW version? CN firmware won't work on WW.
[Asus ROG Phone Guides, News, & Discussion] Tesla74:
The reason it is stuck is because you now have a mismatched boot image.

Are you using the side port on your phone? I think it only works on the side port. I also had to update the drivers on my pc to get it to work.

If you can't get it working again, use a raw firmware to restore your phone. If you had CN (China) firmware use a CN raw firmware. Put your phone into fastboot mode: Turn phone off and then push volume up and the power buttons at the same time. Next connect phone to the PC using the phone's side port. Use ASUS Flash Tool to flash a raw firmware. I can't find a CN raw firmware, but I'm sure they're out there.
[Asus ROG Phone Guides, News, & Discussion] avri.altman:
OK. Its WW :(.

Thanks a lot.
[Asus ROG Phone Guides, News, & Discussion] Tesla74:
If you bought the phone with WW firmware, use the raw firmware linked in this post:

https://xdaforums.com/showpost.php?p=78160485&postcount=24

You'll need to put your phone into fastboot mode and connected to the pc via the side port on your phone.

Once you've got your phone working, update your firmware and double check that it is updated before flashing patched_boot.img
[Asus ROG Phone Guides, News, & Discussion] Mcfeels_Guy:
Yeah just do what tesla74 said. Flash the raw and update. CN version is the Chinese ROG. For future updates you will see CN and WW firmware on the Asus page. Download the WW firmware and adb sideload that, then extract the boot.img and run it through magisk for the patched_boot, then fastboot flash that and all will be well. Tesla74 put together a very nice OP, just download the WW firmware and you shouldn't run into any trouble. I've been manually updating since the beginning with no problems. Good luck! ?
[Asus ROG Phone Guides, News, & Discussion] Esja:
I'm about to purchase the ROG phone, but the rooting process seems particularly complicated compared to what I'm used to... Have I understood the guide correctly, if I sum it up in this way:

1. Update your phone OTA to the latest available firmware version.

2. Download the same firmware version from the Asus website.

3. Install the Unlock Tool apk on the phone, and run it to unlock the bootloader.

4. Put the firmware that you downloaded from the Asus website in the ADB/Fastboot folder and rename it firmware.zip.

5. Enable USB debugging, connect the phone to the PC and run the ADB commands to sideload the firmware.

6. Extract the boot.img file from the firmware that you downloaded from the Asus website, using Payload Dumper.

7. Install Magisk Manager on the phone and use it to patch the boot.img using "Method 2" found on this link: https://www.the***********.com/install-magisk-root-android-devices/.

8. Put the patched_boot.img file into the ADB/Fastboot folder.

9. Put phone into Fastboot mode and flash the patched_boot.img using the commands.

Is this accurate? I guess my other question would be why it's necessary to sideload the firmware at all, since it's still the same version as the one installed on the phone? Shouldn't it be possible to simply unlock the bootloader and patch the boot.img from the downloaded firmware immediately?

[MENTION=3342391]Tesla74[/MENTION] [MENTION=5586074]Marco589[/MENTION]
[Asus ROG Phone Guides, News, & Discussion] Mcfeels_Guy:
Yes these are the correct steps to take. It's really not hard at all. And you can skip step 4 you listed if you have the latest firmware. Just do step 4 when you want to update, as OTA will be disabled. If you follow the steps accordingly you will have no issues. To update future firmware, download the latest from Asus website and name it firmware.zip and adb sideload it. Then extract the boot.img and run it through magisk, and flash the patched. Not hard at all and doesn't take long to do. Good luck, it's a great phone too.
[Asus ROG Phone Guides, News, & Discussion] Tesla74:
If you update via OTA you risk getting an update that hasn't been released yet on the website. Usually, it is about a week difference. The updates are released via OTA first and then about a week or two later they are released on the website. Also once you unlock the bootloader OTA updates are disabled and all future updates have to be sideloaded. So I don't recommend doing OTA updates if you're going to root.
[Asus ROG Phone Guides, News, & Discussion] Esja:
So I could just download the relevant firmware from the website and immediately use the payload dumper to get the boot.img from that, patch it in Magisk Manager and then flash it? I just have to make sure what I'm downloading from Asus matches with what's already on the phone?

Thanks for the help by the way, glad there's someone out there willing to support the community. Surprisingly there is virtually nothing on YouTube or elsewhere about rom'ing or rooting the ROG phone.
[Asus ROG Phone Guides, News, & Discussion] Tesla74:
Correct. The important thing is that patched_boot.img comes from the same firmware that is on the phone. If there is a mismatch the phone will freeze on bootup. But we do have a raw WW firmware install if something goes wrong. I have updated the OP to clarify the OTA updates. I keep updating it as issues come up, so it is very detailed, but once you have done it once, it is easier the next time.
[Asus ROG Phone Guides, News, & Discussion] Tesla74:
[MENTION=5382841]Esja[/MENTION]

When you get your phone, if you would like to make a youtube on rooting, I would be happy to link to OP.
[Asus ROG Phone Guides, News, & Discussion] Tesla74:
Thank you for your video. I've updated the OP and added a link to your youtube video.
[Asus ROG Phone Guides, News, & Discussion] Esja:
I'll see if I can make a video on it! Will receive the phone next week, so I'll post here when/if a video is made.
[Asus ROG Phone Guides, News, & Discussion] avri.altman:
Hi,

I've got a WW kernel from Assus support, and the procedure works like a charm!!!

Thanks a lot.

Assus shares some kernel sources as well. I looked around but couldn't find a procedure to compile and flash a custom kernel.

Is there any tested procedure somewhere?

Thanks a lot,

Avri
[Asus ROG Phone Guides, News, & Discussion] Esja:
I'm about to flash the patched_boot.img but the phone refuses to show up when I type "fastboot devices" in the command prompt while the phone is in fastboot mode. I tried using the install version of ADB but it still wouldn't show up. It does not show up when I type "adb devices" either. Phone turned up fine under "This PC" when I previously copied the boot.img file over. Any ideas? I couldn't find any ASUS drivers on the website for this phone either. Is it accurate that USB debugging should be turned off when entering fastboot mode on the phone?

[MENTION=3342391]Tesla74[/MENTION]
[Asus ROG Phone Guides, News, & Discussion] Tesla74:
Fastboot will work with USB debugging turned on or off. This may be a USB driver problem. I use a software program called DriverMax to update my drivers, but it is paid software. There are other free software programs that you can use to update the drivers. Also, make sure you are connected to the side USB port on your phone.

You might want to also update your Serial IO drivers on your PC.
[Asus ROG Phone Guides, News, & Discussion] Esja:
When I connect the phone while in fastboot mode, the computer recognizes it as "Android", filed under "Other devices" in the Device Manager. Is there any point in right clicking it and doing "Update Driver Software" from the Device Manager?

Edit: didn't work. Windows could not find any drivers for the device. Either way, I agree that it definitely seems like a USB driver problem. I'll try some things and see if it works.

Edit again: I went through ASUS's website and downloaded the USB drivers for the ZenFone 3 (ZE552KL). This was the latest ASUS device that had explicit USB drivers for Windows on the download page. These drivers apparently worked and fastboot was able to detect the device. I flashed the patched_boot.img and it worked like a charm.

In hindsight this method was much easier than previous roots I've done...

Thanks again for the support!
[Asus ROG Phone Guides, News, & Discussion] Tesla74:
Great! I'm glad you found a driver and got it to flash.
[Asus ROG Phone Guides, News, & Discussion] Duncan1982:
Was debating on whether to root or not to root, after 3wks, got bored and decided to give it a try, a bit of jumping through hoops, but not overly complicated......:good:
[Asus ROG Phone Guides, News, & Discussion] Rashad83:
For me it's not worth it just because of OTA updates, it used to be worth it long ago but now almost everything you need can be achieved without root. I will probably root when the warranty is already over.
[Asus ROG Phone Guides, News, & Discussion] Duncan1982:
I was feeling the same way however, was bored and needed something to do, as for updates, Asus publishes them on site, so just flash twrp, flash the System and vendor, and there you go....:p

As yet this is the only way to flash with the twrp we currently have...:good:
[Asus ROG Phone Guides, News, & Discussion] 1nv1n:
Is it correct to assume that I would fail the Safety Net check after installing Xposed. Even through it's installed through the Magisk Manager?
[Asus ROG Phone Guides, News, & Discussion] miman04:
im trying to lock my network band without root but as of now but its is not possible.. and im still unroot rite now.. no pc
[Asus ROG Phone Guides, News, & Discussion] Tesla74:
I believe the only way to root at the moment is with a PC.
[Asus ROG Phone Guides, News, & Discussion] Esja:
Did anyone try running the "firmware update for hardware" that pops up when you plug in the fan? It completely blocks the screen and it's impossible to proceed without running the hardware update. Says phone will be "unusable" while the update is running, so seems to be system related somehow. Since OTA is disabled I'm wondering if this update for the peripheral will brick the phone or something.
[Asus ROG Phone Guides, News, & Discussion] Tesla74:
Good question! I've never used the fan. It is still sitting in the box. I don't think it will brick the phone.
[Asus ROG Phone Guides, News, & Discussion] Esja:
Same for me. :o Took the fan out for fun to try it out, but not really interested in using it "for real", so not even sure if I care that much about running the update. The fan was running while connected, but the update message completely disabled the rest of the phone, not even the navigation buttons or notification were available. Only a large "UPDATE" button. Only way to remove it was unplugging the fan. Definitely gave me OTA update vibes. :silly:
[Asus ROG Phone Guides, News, & Discussion] miman04:
yeah.. I know.. I have a mac actually run with parallel windows 10.. but one step stop me from rooting is extracting the boot.img.. I cant extract it.. mac and win10 parallel..
[Asus ROG Phone Guides, News, & Discussion] flummi3000:
Anyone tried magisk 18.1?

Gesendet von meinem ASUS_Z01QD mit Tapatalk
[Asus ROG Phone Guides, News, & Discussion] Duncan1982:
Yea I'm running 18.2 without any problems.....:good:
[Asus ROG Phone Guides, News, & Discussion] Esja:
In case anyone was wondering, the firmware update for the AeroActive Cooler doesn't brick the phone if it's rooted. It just asks you to keep the fan connected while it downloads a 10 kb update, then asks you to unplug and reconnect the fan. No patch notes were available and I noticed no difference.
[Asus ROG Phone Guides, News, & Discussion] X_R3FL3X:
Hello everyone,, I'm stuck on the step which requires to extract the boot.img..It says put the firmware.zip on the firmware folder and run the image extractor.cmd.. There are 2 firmware folders one the root of the Image _extractor folder and the other on payload dumper folder. Which one do I place it in ?? When do I use the Python 3.7 exe ??

---------- Post added at 09:41 AM ---------- Previous post was at 09:00 AM ----------

Disregard I found the issue, I have Magisk running. Thank you.
[Asus ROG Phone Guides, News, & Discussion] Tesla74:
I'm glad you got it working. Good point. I'll rename the folder in the payload dumper folder. It is the folder where the firmware is unzipped to. The instructions for the Python install is in the readme.txt

Edit: All fixed. I've updated the script and renamed the folder payload. Now there is only one folder called firmware. Thank you for pointing this out.
[Asus ROG Phone Guides, News, & Discussion] X_R3FL3X:
Can you help me get my IMS registered ?? It says Not registered, VOLTE / WIFI Calling not working cause of this.. Thank you
[Asus ROG Phone Guides, News, & Discussion] 1nv1n:
Does anyone have Xposed installed without tripping SafetyNet?
[Asus ROG Phone Guides, News, & Discussion] Tesla74:
You'll have to contact your wireless provider. So far no one that I know of has gotten volte/wifi working. We are able to turn on, but the wireless providers don't have our phone provisioned.
[Asus ROG Phone Guides, News, & Discussion] X_R3FL3X:
Is there a way to relock bootloader ?? Than you.
[Asus ROG Phone Guides, News, & Discussion] Tesla74:
I sent you a PM
[Asus ROG Phone Guides, News, & Discussion] Marco589:
Just downloaded last fw .68 and rooted ?
[Asus ROG Phone Guides, News, & Discussion] Mcfeels_Guy:
I have xposed installed, but you have to download the module in magisk that keeps safetynet from tripping. I believe there was 2 modules that I downloaded for safetynet. Scroll all the way through the module list, they're in there. Did it when I first rooted the phone many updates ago, they will stay on and active through future reboots and updates.

By the way, flashed newest update with magisk 18.1. Everything seems legit.
[Asus ROG Phone Guides, News, & Discussion] acetrainerjason:
I'm also interested in relocking the bootloader, can you send me that contents of that pm as well?
[Asus ROG Phone Guides, News, & Discussion] Tesla74:
Sent
[Asus ROG Phone Guides, News, & Discussion] Mcfeels_Guy:
I'm curious as to why so many people are trying to relock the bootloader. Don't like the phone? Trying to sell it/send it back? Just the need for Ota? Problems with it, and need warranty? Root just not working for you, or not worth it? Noticed quite a few people on this thread and other places online trying to unroot and relock. Just wondering if folks like the phone or not. I think it's a beast, especially with root. I might switch to the one plus 7 this year if it has snapdragon 855 a headphone jack SD card slot and no notch though.
[Asus ROG Phone Guides, News, & Discussion] Tesla74:
Next year's Samsung S11 will be amazing! The front camera will be under the screen and not a cutout or notch. While the front camera is in use, the phone will turn off the pixels in front of the camera and that area will be transparent. Also, next year's S11 may have under the screen speakers. This year's S10 has a cutout for the front facing camera, but they did get the under the screen fingerprint scanner and 5G. The S11 is what is exciting to me for my next phone at the moment. We'll see what the others do.

I'm going to enjoy my ROG for a couple of years. Awesome phone!
[Asus ROG Phone Guides, News, & Discussion] Einheit-101:
What can i do when bootloader unlock Tool Shows unknown network Error all the time?? :/
[Asus ROG Phone Guides, News, & Discussion] Tesla74:
Does your phone have Internet access via your wireless provider or wifi? I think the app requires Internet access.
[Asus ROG Phone Guides, News, & Discussion] Einheit-101:
Yes, i am writing Here with fine WiFi.
[Asus ROG Phone Guides, News, & Discussion] Tesla74:
I'm not sure why it didn't work. You can try posting the issue on the ROG Phone support forum.

https://www.asus.com/zentalk/forum.php?mod=forumdisplay&fid=433
[Asus ROG Phone Guides, News, & Discussion] Einheit-101:
Nevermind, it got fixed randomly, i simply spammed the unlock button and it worked at some point...

But the patched_boot.img is only 24mb in size, people in here claim that my phone will bootloop after flashing this... Instructions are unclear about that part.... How do i get a boot.img that works? I have magisk manager 7.0.0 which is the latest... i will try some older versions...

€DIT:: Why doesnt someone upload these boot images for everyone?? I would do that, if i would have a working one that wont guarantee a bootloop because of whatever reason...

€DIT 2:::

C:\fastboot>fastboot flash boot patched_boot.img

target reported max download size of 536870912 bytes

sending 'boota' (23340 KB)...

OKAY [ 0.500s]

writing 'boota'...

FAILED (remote: (boota_a) No such partition)

finished. total time: 0.500s

--> What is this? Another case of "Instructions unclear" ? I just tried flashing the 24mb boot.img for fun (I could simply flash the stock one for repair), but not even this seems to work. I am using minimal ADB and fastboot.
[Asus ROG Phone Guides, News, & Discussion] Tesla74:
I don't recommend using an older version of Magisk Manager. Older versions may cause bootloop. It is normal for the patched_boot.img to be around 24mb.

If ASUS only updated the firmware once a year I would upload the patched_boot.img, but they update the firmware frequently.

About your error you got when flashing. I have no idea why. I would start over and make sure to check the connection first before flashing. Also updating your drivers may help.
[Asus ROG Phone Guides, News, & Discussion] eecoog06:
I updated my firmware to the latest version 1812.68 and now every time I swipe away a card in my recent apps it kills the app. This even happens with apps that are supposed to run in the background. Is anyone else having this problem?
[Asus ROG Phone Guides, News, & Discussion] Esja:
Isn't that the purpose of swiping away the "cards" in recent apps... to kill the app?

---------- Post added at 02:57 PM ---------- Previous post was at 02:48 PM ----------

Did you notice any other improvements apart from the ones specified by Asus? I'm very happy with the phone currently, but one thing I've noticed is that the accelerometer will get "locked" in landscape mode if you're running an app in landscape mode for an extended period of time (for example, watching a Twitch stream or YouTube for 2+ hours). If you close the app after this period and try to turn the phone into portrait again, it will take 20+ seconds for the screen to finally rotate back into portrait. If you close the screen and start it again, it will correctly rotate immediately.

I'm assuming this is a bug, but nothing has been addressed by Asus directly. Anyone else experiencing this?
[Asus ROG Phone Guides, News, & Discussion] Marco589:
It doesnt happen to me,but never "tested" over 30min (on Netflix not YouTube)

The only issue Is still with WhatsApp, but I wrote to them on Asus talk forum, sending 2 videos too
[Asus ROG Phone Guides, News, & Discussion] eecoog06:
I agree that the app should end all foreground processes when you swipe away in recent, but it should not kill all background processes also. For example, swiping away an email app and the background process associated with retrieving email stops. This is just one example but it happens with every single app and that had never happened before the latest update.
[Asus ROG Phone Guides, News, & Discussion] miman04:
yep.. it kill all app supposed to run background.. i thought im the only one having that. the only short term solution is to push the small lock icon on the top right of the card.. that save the app from being killed. if anyone got idea to overcome this i like to know.
[Asus ROG Phone Guides, News, & Discussion] Marco589:
You got to disable the device manager