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

Search This thread

Top Liked Posts

  • There are no posts matching your filters.
  • 40
    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...
    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

    Be humble.
    Yeah, I saw that also. So we should wait to sideload OTA? I'm less familiar with the scene and how fast these things develop.

    Keep checking the Google Factory Images page. The Pixel 4 should be listed in a day or so.
    When Pixel 4 images become available, check John Wu's Twitter and the Magisk forum.
    When John or a trusted user confirms Magisk as working for the Pixel 4, you can follow the Magisk boot image Installation Method.
    In the meantime, make sure your bootloader is unlocked, and you have a PC with ADB/Fastboot prepared once Magisk is ready.
    No luck unlocking my Verizon XL. With a quick glance at the VZ 3 XL posts - I'm assuming I shouldn't hold my breath?

    People on the Verizon pixel 2 and P2XL are still holding their breath....so yeah! :(
    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.