[Guide] Pixel 4 XL (Unlocked from Google Store) - Root and Bootloader Unlocking

PetrichorXFi

Senior Member
Dec 20, 2011
92
58
0
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"
  1. Factory: https://developers.google.com/android/images#coral
  2. OTA: https://developers.google.com/android/ota#coral

According to @Samg381 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:
  1. Download latest Magisk Manager - https://github.com/topjohnwu/Magisk/releases/download/manager-v7.3.5/MagiskManager-v7.3.5.apk
  2. Install Magisk manager on my Pixel 4 XL
  3. Download latest factory image with build number that matches my phone's version from this URL: https://developers.google.com/android/images#coral
  4. Extract the zip file contents
  5. You will see one more zip file, extract those contents
  6. Copy the boot.img file to your phone (you can plugin USB to your PC and put it in your "Downloads" folder
  7. Open Magisk Manager, click "Advanced" >> "Recovery Mode"
  8. Click the top "Install" button
  9. When prompted click Install again, then "Select and Patch a file" >> Select the boot.img file you copied to your pixel 4 xl earlier.
  10. it will create a new file "/storage/emulated/0/Download/magisk_patched.img"
  11. Plugin your phone to your PC again via USB, copy this new file in same folder as your adb sdk files.
  12. open cmd prompt type:
  13. adb devices
  14. *Note: unlock your phone and approve ADB access if prompted
  15. adb reboot bootloader
  16. fastboot devices
  17. fastboot flash boot magisk_patched.img
  18. 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
  19. 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:
  1. Boot Pixel 4 XL, go through initial setup guide (do not bother adding account as you will wipe data shortly)
  2. "Settings" >> "About Phone" >> Tap "build number" about 10 times till "You are a developer"
  3. "Settings" >> "System" >> "Advanced" >> "Developer Options"
  4. Check "OEM unlocking"
  5. 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
  6. Check "USB Debugging"
  7. Connect Pixel 4 XL to your PC with SDK tools installed
  8. adb devices
  9. unlock your Pixel 4 XL... you will see a prompt asking for ADB permissions, say yes
  10. adb reboot bootloader
  11. fastboot devices
  12. fastboot flashing unlock
  13. 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...
 
Last edited by a moderator:

jruizdesign

Member
Jun 15, 2012
11
1
0
whittier
And if we bought through carrier will there be any way to root? I've always bought from Google, but I couldn't afford it this time, so I went with the T-Mobile jump plan. Then went to unlock the bootloader on it today and says not available for carrier devices. Feel like I'm dying a bit on the inside
 

ZeroKool76

Senior Member
Oct 21, 2014
708
420
63
And if we bought through carrier will there be any way to root? I've always bought from Google, but I couldn't afford it this time, so I went with the T-Mobile jump plan. Then went to unlock the bootloader on it today and says not available for carrier devices. Feel like I'm dying a bit on the inside
Verizon is a different animal, they apparently won't allow you to unlock it at all. But the other companies, I don't see why, after you pay it off, that you couldn't unlock it. Carrier locked = sim locked. You pay off a device, you get the sim unlocked. I'm actually rather surprised that there are that many people out there that would expect carriers to allow their devices to be unlocked, even if they're not paid for. You may have to wait a bit, but I see no reason why they won't let you unlock after it's paid off.
 

ZeroKool76

Senior Member
Oct 21, 2014
708
420
63
That only enabled your ability to unlock. You still have to do it through fastboot and wipe your data.
Lol, must be a noob ?

---------- Post added at 02:09 AM ---------- Previous post was at 02:08 AM ----------

Looks like the process is fairly straightforward for this device as well. about as easy as any other unlocked device, I would say
 
  • Like
Reactions: vurt.runner

PetrichorXFi

Senior Member
Dec 20, 2011
92
58
0
It's not possible to root without the factory image. We probably won't see the factory image until the 24th.
Oh? I was not aware that was required. Thanks for the information.

Looking forward to root so I can re-enable Google's Daydream View app. Dumb Google, why would you bother to set the phone as not supported? If Google does not support Daydream View, why not "let it free" for anyone to use, especially phones like Pixel 4 XL with 90Hz display!

I did manually install the APK and while it does the prompt saying not supported, it does still render smoothly (did not try forcing 90hz, feel like it should have been smoother... it rendered without any issues, but not sure if it was 90hz smooth or not).

Anyone try any of the other VR apps like VR Ridge? I had tried that with my original Pixel XL but the framerate was never very good, I wonder if Pixel 4 XL is good enough to make the purchase worth it (of VR Ridge that is)
 

Samg381

Senior Member
Feb 8, 2014
91
38
0
Please heed my warning, I have spent months of my life waiting on XDA for root methods on Verizon phones.
Don't expect root anytime soon (if at all) if you have the Verizon version. I hate to be defeatist, but I don't want others to suffer as I have in the past.
Your best bet is to return, or sell your verizon phone and purchase a google version.
 
  • Like
Reactions: WolfKingDice

krabman

Senior Member
Sep 22, 2008
2,982
926
183
None of you guys tried pulling your boot.img and patching it in magisk?

---------- Post added at 12:09 AM ---------- Previous post was at 12:08 AM ----------

What about other carriers? T-Mobile shows OEM unlocking is not available for carrier devices :(
On similar devices such as OnePlus you have to get it carrier unlocked and then you can unlock the bootloader afterwards, this one is likely going to be the same.
 

BadBoyNDSU

Senior Member
Jun 30, 2007
75
6
0
Fargo
None of you guys tried pulling your boot.img and patching it in magisk?

---------- Post added at 12:09 AM ---------- Previous post was at 12:08 AM ----------



On similar devices such as OnePlus you have to get it carrier unlocked and then you can unlock the bootloader afterwards, this one is likely going to be the same.
As far as I can tell we need factory images or a working custom recovery to grab it from the phone and we have neither at the moment.
 

mimart7

Senior Member
Nov 30, 2011
566
129
73
NYC
In order to allay concerns about security, the major carriers don't want their phones to have an unlocked bootloader. This is an effort to be more enterprise user friendly.