[Google Pixel 4 XL Guides, News, & Discussion] PetrichorXFi:
Anyone root the Pixel 4 XL from Google Play store yet?

Can the Pixel 3 XL Android 10 root method be used for Pixel 4 XL Android 10 root?

*Update2 (10/24/2019 6:00PM): Factory Images have been released! :)

They are available at below links. Multiple users say they have root working now.

*Note: Multiple images are listed. For my Pixel 4 XL 128GB purchased directly from Google Play store, the image is the first one "10.0.0 (QD1A.190821.007, Oct 2019)". You can verify in "Settings" >> "About Phone"... near bottom you will see "Build Number"

Factory: https://developers.google.com/android/images#coral

OTA: https://developers.google.com/android/ota#coral

According to [MENTION=5714730]Samg381[/MENTION] the method to gain root is to follow the guide outlined here: https://topjohnwu.github.io/Magisk/install.html#boot-image-patching

Below are steps I personally followed:

Download latest Magisk Manager - https://github.com/topjohnwu/Magisk/releases/download/manager-v7.3.5/MagiskManager-v7.3.5.apk

Install Magisk manager on my Pixel 4 XL

Download latest factory image with build number that matches my phone's version from this URL: https://developers.google.com/android/images#coral

Extract the zip file contents

You will see one more zip file, extract those contents

Copy the boot.img file to your phone (you can plugin USB to your PC and put it in your "Downloads" folder

Open Magisk Manager, click "Advanced" >> "Recovery Mode"

Click the top "Install" button

When prompted click Install again, then "Select and Patch a file" >> Select the boot.img file you copied to your pixel 4 xl earlier.

it will create a new file "/storage/emulated/0/Download/magisk_patched.img"

Plugin your phone to your PC again via USB, copy this new file in same folder as your adb sdk files.

open cmd prompt type:

adb devices

*Note: unlock your phone and approve ADB access if prompted

adb reboot bootloader

fastboot devices

fastboot flash boot magisk_patched.img

If it works you should get somthing like

fastboot flash boot magisk_patched.img

target reported max download size of 268435456 bytes

sending 'boot_a' (32092 KB)...

OKAY [ 1.167s]

writing 'boot_a'...

OKAY [ 0.325s]

finished. total time: 1.494s​

Reboot your phone, open Magisk manager again, and verify it shows you now have root! :)

I would recommend everyone who plans to root unlock their bootloader NOW as it does wipe your data just like other Pixel phones have when unlocking bootloader... I already unlocked my bootloader.

FYI, the process to unlock Pixel 4 XL bootloader is easy:

Boot Pixel 4 XL, go through initial setup guide (do not bother adding account as you will wipe data shortly)

"Settings" >> "About Phone" >> Tap "build number" about 10 times till "You are a developer"

"Settings" >> "System" >> "Advanced" >> "Developer Options"

Check "OEM unlocking"

If "OEM Unlocking" is greyed out, either "Bootloader is already unlocked", or you need to do factory reset, then go through steps 1-4 again. On my phone I had to wipe data once, then OEM Unlock

Check "USB Debugging"

Connect Pixel 4 XL to your PC with SDK tools installed

adb devices

unlock your Pixel 4 XL... you will see a prompt asking for ADB permissions, say yes

adb reboot bootloader

fastboot devices

fastboot flashing unlock

Pixel 4 XL will now ask if you want to unlock bootloader, press volume up or down once... then power button once to confirm. WARNING it will wipe all your data...