yashsingh1/xdaforums huggingface dataset:
[Google Pixel 4 XL Guides, News, & Discussion] aNYthing24:
It tells me to change the target host file, which I've done, but then it says "sysmlink missing" and then it fails to create one. When I check the available storage is says 0B available, even if I delete an app or something. Not sure why this is happening.

Was anyone else able to install AdAway on their phones?
[Google Pixel 4 XL Guides, News, & Discussion] ifly4vamerica:
Thanks!!
[Google Pixel 4 XL Guides, News, & Discussion] Samg381:
Same issue.. any help would be appreciated.
[Google Pixel 4 XL Guides, News, & Discussion] Aferso:
Hey, so should we wait for OTA images to release so we don't have to wipe? Or just bite the bullet and try it with a factory image.
[Google Pixel 4 XL Guides, News, & Discussion] PetrichorXFi:
is Canary required? I was sure there is an official stable Magisk for Android 10 now
[Google Pixel 4 XL Guides, News, & Discussion] Tulsadiver:
Since Android 10, I've always used Canary channel.
[Google Pixel 4 XL Guides, News, & Discussion] aNYthing24:
Glad to know I'm not alone. I actually can't get any of my root apps to work at all. I think Google may have changed the way system/root is allowed to be modified on the Pixel 4 – hopefully there's a solution...
[Google Pixel 4 XL Guides, News, & Discussion] Samg381:
Potential fix for people with AdAway troubles, here's what got mine to work:

1) Kill AdAway, clear cache + wipe data.

2) Uninstall AdAway.

3) In Magisk, enable systemless hosts

4) Install (or reinstall) busybox

5) reboot phone

6) Re-install and open AdAway, enable adblocking. (you won't have any hosts, this is fine)

7) add one of your hosts, and then apply.

Fixed it for me. You should now be able to add the rest of your hosts.

[MENTION=4110923]aNYthing24[/MENTION]
[Google Pixel 4 XL Guides, News, & Discussion] Tulsadiver:
I've also put this in the theming section but here is a patched magisk_patched.img that should boot you into magisk-core only mode should you flash a module and you bootloop. You'll boot with root but modules disabled.

fastboot boot image-newpixel4xl.img

https://mega.nz/#!5VhnFAaD!fsmHQjfpyFASGsgYAqLQwB8rFXxkCH2xQBNQT_sy5C0
[Google Pixel 4 XL Guides, News, & Discussion] aNYthing24:
Thanks, will try it out.
[Google Pixel 4 XL Guides, News, & Discussion] Misterxtc:
Thanks it worked for me.
[Google Pixel 4 XL Guides, News, & Discussion] aNYthing24:
This worked. Thanks so much man!
[Google Pixel 4 XL Guides, News, & Discussion] rester555:
So magisk installed and you are able to load modules? EDIT: Sorry, I was on a previous page thinking it was the latest post...
[Google Pixel 4 XL Guides, News, & Discussion] ifly4vamerica:
Enable systemless hosts in Magisk settings, then reboot, then reapply adaway hosts.
[Google Pixel 4 XL Guides, News, & Discussion] igknight:
Magisk is installed and working, but the one module I tried doesn't seem to have taken.
[Google Pixel 4 XL Guides, News, & Discussion] MicroMod777:
For root, you don't need system image, just boot.img. It won't wipe anything.

Here's rooted boot.img only for build: QD1A.190821.007

Download:

190821.007__ROOT_BOOT_magisk_patched.zip

Unzip, then in bootloader mode, do:

fastboot flash boot magisk_patched.img

fastboot reboot
[Google Pixel 4 XL Guides, News, & Discussion] rester555:
Can anyone try the Gpay_fix magisk module to get gpay to work? Also, can someone try using VPN tethering to see if it works?
[Google Pixel 4 XL Guides, News, & Discussion] elreydenj:
Google Pay working for me.
[Google Pixel 4 XL Guides, News, & Discussion] TheUndertaker21:
Sadly I still need to unlock bootloader so I'd lose everything anyway lol but thanks for this
[Google Pixel 4 XL Guides, News, & Discussion] MicroMod777:
Yea, I setup my Pixel 4 XL all the way and forgot to unlock it after I was all finished. Had to do Google Backup, unlock, then Google Restore. Took like 40 minutes to restore.
[Google Pixel 4 XL Guides, News, & Discussion] gettinwicked:
What all did you do? I hid Magisk, went to Magisk hide and hid from every Google app I thought might catch it (including system), and it won't finish setup for use in stores because it says my device has been tampered with.
[Google Pixel 4 XL Guides, News, & Discussion] elreydenj:
You have to change a database and permissions with a SQlite editor. There are 2 threads on this about magisk/gpay . Search for those threads and read up.
[Google Pixel 4 XL Guides, News, & Discussion] Samg381:
Following the instructions in the OP of this post worked for me in getting Google Pay working.
[Google Pixel 4 XL Guides, News, & Discussion] CraigUK87:
Can anyone make a patched image for 011? I'm having difficulties figuring out how to patch my version. It keeps failing on following magisk instructions...unless I'm doing it wrong..
[Google Pixel 4 XL Guides, News, & Discussion] niko26:
Original boot.img, boot_image-coral-qd1a.190821.011.img:

https://drive.google.com/open?id=1WsT-CRruWBOXf47phIH-MbpsUGx6DivC

Magisk 20000 patched boot.img, magisk_patched_image-coral-qd1a.190821.011.img:

https://drive.google.com/open?id=1ZRPw2hQ43WaRj_vBgCaGqW7PEAV4k-Sy
[Google Pixel 4 XL Guides, News, & Discussion] NelsonTheMoron:
This is the patched boot img for 011. Can't upload file for some reason, so I'll just give you the link to download off my Google drive.

https://drive.google.com/file/d/11lc9DR_8nHBaz0uY3Y099PjUtcUpph68/view?usp=drivesdk
[Google Pixel 4 XL Guides, News, & Discussion] TheUndertaker21:
Yeah I just backed up to swift backup

I'm excited to head home lol
[Google Pixel 4 XL Guides, News, & Discussion] CraigUK87:
My hero!!! Thank you mate, much much appreciated.

Also, I don't suppose anyone could quickly jot down the steps for doing this, for some reason I just can't get it to work... I swear I had this on my pixel 3xl but can't find the guide I had used..

Sorry, I know I'm asking a lot this evening.
[Google Pixel 4 XL Guides, News, & Discussion] DemonicMurderer:
Can someone please make a write up on how to root. I have already followed the details on how to unlock the bootloader and have that done. Just dont know exactly what to do to root the phone.
[Google Pixel 4 XL Guides, News, & Discussion] PetrichorXFi:
oh?

Looks like Magisk v20 is the stable one with full Android 10 support.

Source: https://www.xda-developers.com/magisk-v20-stable-release-android-10-support/
[Google Pixel 4 XL Guides, News, & Discussion] MicroMod777:
Sweet. Now looking for some good Magisk modules to try. Anybody know of a good sound EQ?
[Google Pixel 4 XL Guides, News, & Discussion] TheUndertaker21:
viper4android of course

i'm in process of rooting now lol
[Google Pixel 4 XL Guides, News, & Discussion] CraigUK87:
I followed these steps below...renamed the patched file to that of magisk_patched restarted phone, held down vol down and then opened up a terminal within the google platform tool folder and put the patched file there, did the commands and boom...working magisk and passed cTS true.

Unzip, then in bootloader mode, do:

fastboot flash boot magisk_patched.img

fastboot reboot

[/QUOTE]
[Google Pixel 4 XL Guides, News, & Discussion] GohanBurner:
[/QUOTE]

That's wrong, you should use:

./fastboot flash boot --slot=all patched_boot.img

Do the--slot=all to make sure both slots are patched.
[Google Pixel 4 XL Guides, News, & Discussion] Samg381:
Read the OP..
[Google Pixel 4 XL Guides, News, & Discussion] TheUndertaker21:
Rooted installed edxposed viper4android , gravitybox,YouTube vanced

And everything is working as intended.
[Google Pixel 4 XL Guides, News, & Discussion] CraigUK87:
How did you get Viper working?

---------- Post added at 02:04 AM ---------- Previous post was at 02:03 AM ----------

That's wrong, you should use:

./fastboot flash boot --slot=all patched_boot.img

Do the--slot=all to make sure both slots are patched.[/QUOTE]

Sorry I should have said, yes you need to put .\ no space \ well, at least I had too...

Just remove the no space part...wouldn't allow me to put them together. That's the way it worked for me.
[Google Pixel 4 XL Guides, News, & Discussion] TheUndertaker21:
Install viper from xda labs

And install aml from magisk.

Run viper it will install driver and rebooted.

Done working.
[Google Pixel 4 XL Guides, News, & Discussion] CraigUK87:
Hmm, followed steps..just reboots and restarts the driver install again
[Google Pixel 4 XL Guides, News, & Discussion] Aferso:
I've run it the way you've purported is wrong. Should I reflash with your flags on my syntax or am I okay?
[Google Pixel 4 XL Guides, News, & Discussion] GohanBurner:
I've run it the way you've purported is wrong. Should I reflash with your flags on my syntax or am I okay?[/QUOTE]

I would just to be safe, you never know.

---------- Post added at 08:42 PM ---------- Previous post was at 08:39 PM ----------

Just do this and it'll work.

Uninstall Android modification library (if installed)

Make sure that Viper4Android asks to install driver

Go back to Magisk and install Android Modification library

Go back to Viper4Android and install the driver and let it reboot. Should work after that.

If you want Viper4Android to equalize everything...

Start from scratch (neither android modification library or Viper4Android are installed)

Install Android Compatibility Patch and patch audio policy with new logic (first option)

reboot

Repeat steps above and it should equalize everything.
[Google Pixel 4 XL Guides, News, & Discussion] Aferso:
Hey, I'm root man, thanks for the help. I need to figure out what to do now, as this is my first rooted device! 128GB Pixel 4 XL. Super stoked.
[Google Pixel 4 XL Guides, News, & Discussion] RulingCzar:
Anyone else get the error when attempting to flash the boot image? I know the image file is good because I can fastboot boot into the patched file just not flash it to the boot partition.
[Google Pixel 4 XL Guides, News, & Discussion] tumbleweed65:
will this work with build .11.c4 or only build .11?
[Google Pixel 4 XL Guides, News, & Discussion] RulingCzar:
Only for .11
[Google Pixel 4 XL Guides, News, & Discussion] Aferso:
So, I'm a total nooby. Familiar with systems hierarchies, and found my way to root with only minor hiccups.

I've gone and tried the method you've outlined above, with Viper from XDA and AML from Magisk, in the order that you've listed, and when I boot Viper it still asks for a driver.

Is this not what I should be doing on a fresh root w/ Magisk installed?
[Google Pixel 4 XL Guides, News, & Discussion] MicroMod777:
It took me a few reboots till the driver install worked. Make sure Viper has superuser permissions in Magisk.
[Google Pixel 4 XL Guides, News, & Discussion] dtr145r:
This works! Im rooted!
[Google Pixel 4 XL Guides, News, & Discussion] Aferso:
I will try this!

Any first time tips for must haves on a rooted device with these specs?

Edit: many reboots after installing driver on viper did the trick.

So far I had trouble getting AdAway installed due to S-ON preventing NAND from being written which is needed to create a symlink. Im willing to set that aside until someone smarter than me figures it out, but I've successfully installed Viper so I've got that going for me which is nice.
[Google Pixel 4 XL Guides, News, & Discussion] qman66:
ok since there is no custom recovery how are y'all installing magisk manager since this is a zip file
[Google Pixel 4 XL Guides, News, & Discussion] fKm:
Use Magisk Manager APK from here: https://github.com/topjohnwu/Magisk/releases/download/manager-v7.3.5/MagiskManager-v7.3.5.apk
[Google Pixel 4 XL Guides, News, & Discussion] revisioncuda:
yes the op post should be updated with that link
[Google Pixel 4 XL Guides, News, & Discussion] bestgio:
I was also able to get viper installed by just downloading the apk from xda, and installed the driver a couple times and kept rebooting until it appeared installed. (No Audio Modification Library or Audio Compatibility Patch used initially)

Compared to my OG Pixel XL, this installed on my 4 XL "works" for the most part. Just limited testing so far but the only weird quirk I'm running into is that while I'm listening to music (master limiter is already on, EQ working), when I flip the master limiter switch off/on, while I'm playing music, the EQ respectively turns off when I first switch the master to off, but when I flip the master limiter back on, the EQ remains OFF. The EQ doesn't kick back in until after I pause my music, and hit play again. Does this happen to any one else's viper installation? I might've messed something up.

This same exact quirk also happened on my OG Pixel XL running Android 10 but the fix for that device was just installing Audio Compatibility Patch to patch audio policy using the old logic. I tried this method on the 4 XL and it just breaks viper completely with "processing: no."

I know this is a minor issue, but I have a habit of switching the master limiter switch off/on a lot when I'm switching profiles (yes I know clicking on the load option of a specific profile loads it), or even just checking if viper really works but quickly flipping the on/off switch to make sure i can hear the transition from original audio to then viper EQ'ed audio.

EDIT: Fixed, this is how I installed Viper and now it's working like it used to for me!

-Install Viper from XDA (don't launch Viper just yet)

-Install Audio Modification Library from Magisk Manager (don't reboot!)

-NOW, launch the Viper apk you just installed, grant Viper superuser access, and then your device should automatically reboot

-Once rebooted, open up Viper again, it may ask you to install the driver again, go ahead and install (This took me 3 reboots until Viper finally kicked in)

-You will know viper is up and running right after reboot when you see a viper logo in your notification!

-Enjoy

EDIT 2: The method of installation above doesn't quite work well when a notification rings in, or when using google maps navigation and whenever google starts talking, the Viper effects stop processing and remains stopped until I manually restart the phone :/
[Google Pixel 4 XL Guides, News, & Discussion] rayzerblayde:
Uh oh.... Freaking out here.

Wont boot properly. Followed all instructions on the first post, takes me back to fastboot mode repeatedly, with the error underneath "Boot slot: a", saying "Enter reason: error booting boot.img". I unlocked the bootloader before doing anything. Tried going into rescue mode, but it just takes me back to fastboot mode.

What do? How fix?

Halp! :crying::crying::crying:

NEVER MIND! Worked it out. On my initial flash of the patched file, I mistyped 'patched' as 'patchad'. Idiot mistake. Works perfectly! :victory:
[Google Pixel 4 XL Guides, News, & Discussion] superchilpil:
Great rom you have here, where's the download link?
[Google Pixel 4 XL Guides, News, & Discussion] malybru:
Mod Edit

Thread moved to Guides, News, & Discussion , and stickied .

:)

malybru

Senior Moderator
[Google Pixel 4 XL Guides, News, & Discussion] TheUndertaker21:
Guys

Gravitybox seems to be buggy as hell lol

Got some media closing and random reboot.

I'm fairly sad lol
[Google Pixel 4 XL Guides, News, & Discussion] madscribblerz:
Do you, or anyone for that matter, know if viper installed this way affects the usb port when running android auto?

If I disable audio routing in developer options I believe it would force AA to use bluetooth, but have no verification of that. If so could this be a workaround?
[Google Pixel 4 XL Guides, News, & Discussion] CraigUK87:
Yeah, same thing...I didn't reboot upon AML installation, opened viper straight after, allowed the driver install again

rebooted, opened viper..did the driver yet again, then upon final reboot...it worked. All working fine now.

Been using Viper for god knows how many years now. Only reason for me to root.
[Google Pixel 4 XL Guides, News, & Discussion] qman66:
yea i got that too. just install systemless hosts on magisk and that will fix it

---------- Post added at 10:52 AM ---------- Previous post was at 10:43 AM ----------

yes i got that. i had the old platform tools. had to download the newest ones from the developers site. then it worked
[Google Pixel 4 XL Guides, News, & Discussion] RulingCzar:
You are a saint, thank you!
[Google Pixel 4 XL Guides, News, & Discussion] Goofy19882:
Thak you very much. With this steps i was also able to get root on my Pixel 4 XL
[Google Pixel 4 XL Guides, News, & Discussion] tumbleweed65:
So i followed the steps everything seemed to go smoothly 2 questions

1) How do i verify root with magisk?

2) how/or would I re lock my boot-loader now that I'm rooted

I know nooby questions but the last 4 Verizon phones were locked when i got them
[Google Pixel 4 XL Guides, News, & Discussion] ilal2ielli:
Magisk Manager will say Magisk is installed. If it's installed, then you have root.

You do not relock your bootloader unless you've uninstalled Magisk and are completely stock. The safest way to he completely stock is to flash the factory images to both slots after uninstalling Magisk.
[Google Pixel 4 XL Guides, News, & Discussion] rester555:
Does flash-all.bat flash the factory images to both slots?
[Google Pixel 4 XL Guides, News, & Discussion] JakeDHS07:
Yes it does
[Google Pixel 4 XL Guides, News, & Discussion] ilal2ielli:
The factory image flashes a minimal image to the other slot. In order to make sure that the phone is completely stock, it's safest to run flash all and then switch slots and flash all again.
[Google Pixel 4 XL Guides, News, & Discussion] likepeas:
Hi,

If I were to root, would I be able to receive OTP updates as per normal? Or would it require flashing and losing apps and data? Thanks in advance.
[Google Pixel 4 XL Guides, News, & Discussion] malybru:
https://topjohnwu.github.io/Magisk/tutorials.html#ota-installation

:)
[Google Pixel 4 XL Guides, News, & Discussion] eg1122:
On Pixel 3 and other A/B devices it's possible to take ota and keep root. I don't think it's any different on this device. When phone detects an ota, go to magisk, press uninstall and then press restore images. When it is done DON'T REBOOT. Go to system update, take update. When prompt to reboot, DON'T REBOOT. Go to magisk, press install, then press Install to inactive slot. Then reboot. Once you reboot you will be updated and have root.
[Google Pixel 4 XL Guides, News, & Discussion] PetrichorXFi:
Thanks for updated link, my mistake, you are correct on that link
[Google Pixel 4 XL Guides, News, & Discussion] alsip1023:
**UPDATE

I had to install the magisk hide props config module. Then install busybox and terminal emulator. Tested and working now.

So, everything seemed to go fine on my root process. Magisk shows installed now. However I went to Root Explorer and granted superuser permissions. Then I tried to edit the buildprop file to enable tethering. It doesn't save the buildprop file after I modify it. I'm not sure if it's something to do with root or if something has changed with editing the buildprop.

Anyone had any luck with this?
[Google Pixel 4 XL Guides, News, & Discussion] rester555:
You bought your phone from the google store?

EDIT: I thought phones bought from the google store had tethering natively supported?
[Google Pixel 4 XL Guides, News, & Discussion] alsip1023:
Nope. When you pop the sim card in, it kills tethering.
[Google Pixel 4 XL Guides, News, & Discussion] CyberpodS2:
It's the same with 10 on the pixel 2xl. You need to make the changes systemlessly with a magisk module.
[Google Pixel 4 XL Guides, News, & Discussion] jasonlee0315:
OTA update after Magisk Root

Completely noob with Pixel here. I switched from HTC U11.

How do I apply further OTA updates after I magisk root my Pixel?

Should I completely wipe my device again to apply the OTA?

Are there any articles for reference?

Edit:

I saw the comment above...

"You would have to download the Google factory image and flash the flash-all.bat after removing the -w from the script.

This would keep all apps and data.

You would then only need to re-root."

I'll check factory image first, thanks.
[Google Pixel 4 XL Guides, News, & Discussion] zenxaero:
So I just rooted my Pixel 4 XL and tried opening up Pokemon Go to play it but within ~10 seconds this comes up. It is checked in Magisk hide but does this happen to anyone else?

Edit: Using Magisk Stable 20
[Google Pixel 4 XL Guides, News, & Discussion] sphinxy:
Won't need to wipe each OTA, follow this guide: https://topjohnwu.github.io/Magisk/tutorials.html#ota-installation
[Google Pixel 4 XL Guides, News, & Discussion] oreice:
fastboot flash boot magisk_patched.img

error: cannot load 'magisk_patched.img'

what does this mean?
[Google Pixel 4 XL Guides, News, & Discussion] 12Fully:
Hide Magisk Manager in the settings
[Google Pixel 4 XL Guides, News, & Discussion] oreice:
fastboot flash boot boot.img target reported max download size of 268435456 bytes

sending 'boot' (65536 KB)...

OKAY [ 1.519s]

writing 'boot'...

FAILED (remote: Failed to write to partition Not Found)

finished. total time: 1.681s

now im getting this, any help please?
[Google Pixel 4 XL Guides, News, & Discussion] MicroMod777:
Did you oem unlock your phone?
[Google Pixel 4 XL Guides, News, & Discussion] xdeslitx:
Been away from the game for a while. I'm now unlocked and wanting to root. This whole magisk thing is confusing me. Will it wipe my device again if I install magisk?

Edit: rooted now and trying to intall xposed...installed it from magisk module and rebooted but now Im stuck on the boot screen

Edit: well never doing that again till I get custom recovery....dont even know how i fixed it but its fixed and reflashed stock rom
[Google Pixel 4 XL Guides, News, & Discussion] oreice:
I got it figured out just silly mistakes
[Google Pixel 4 XL Guides, News, & Discussion] Geekser:
I followed the instructions in the OP - downloaded the latest firmware, extracted the boot image - ran it thru magisk and copied the Patched Image file to my PC.

When I attempted to flash it via ADB, I got an error message saying .

FAILED (remote: Failed to write to partition Not Found)

I did everything I was supposed to do - bootloader is unlocked -

Any suggestions?

Bootloader is Unlocked - OEM Unlock is turned on

Fastboot Fl Devices gets the necessary results - but attempting to flash gets partition not found. ???

Oh, one more thing, I have the latest version of platform tools

---------- Post added at 08:12 PM ---------- Previous post was at 07:59 PM ----------

What did you do ???
[Google Pixel 4 XL Guides, News, & Discussion] malybru:
Just as a matter of interest , did you reboot to boot loader , and then you run a fastboot command?

Number 17 in the OP

:)
[Google Pixel 4 XL Guides, News, & Discussion] Geekser:
Yes. I turned off phone, booted into bootloader (Power/vol down) and then ran 'fastboot devices" and got the response to show the hpone was connected.

Is that what you are asking
[Google Pixel 4 XL Guides, News, & Discussion] malybru:
Yes.

You said you tried it in ADB

The command :

adb reboot bootloader

should take you to bootloader without the need to turn it off and on.

Once in the bootloader , it becomes "fastboot" commands.

So , I thought that you had missed a part of the command sequence.

:)
[Google Pixel 4 XL Guides, News, & Discussion] Geekser:
Thanks - no I just messed up my description - I am somewhat of a noob when it comes to flashing this way. I have owned mostly samsung phones - I have owned a few pixels but that was a long time and each time I buy a pixel, it's like starting all over again and I have to relearn the processes. I am really not sure what I am doing wrong. Seems like i have done everything right - and I know the phone is unlocked - (it says so on the Bootloader screen) Hoping someone can help.

Earlier, someone was having the same issue I had - they said thei figured it out but didn't say what they did to fix it - wonder what they did ? Hopefully they will respond to my question ....
[Google Pixel 4 XL Guides, News, & Discussion] DemonicMurderer:
I seem to be getting this after following the op instructions. Im sort of noob to all this.

Unknown partition 'magisk_patched.img'

error: cannot determine image filename for 'magisk_patched.img'