FORUMS
Remove All Ads from XDA

[Guide] Pixel 3 XL Android 9.0 (Pie) Unlock/Root/Install Images/Kernels/Recovery +

1,475 posts
Thanks Meter: 706
 
By Homeboy76, Senior Member on 22nd October 2018, 11:20 AM
Post Reply Email Thread
[Guide] Pixel 3 XL Android 9.0.0 (Pie) Unlock/Lock Bootloader + Install Stock Images/Custom kernels/TWRP Recovery/Systemless ROOT + May 2019 Security Patch

Intro
  1. This Guide is for Pixel 3 XL owners that want to Root their phone, and enjoy the benefits of rooting it without installing a Custom ROM. However, for those that just can't live without a Custom ROM, take a look at 'Custom ROMs for Pixel 3 XL'.
  2. This Guide also works for Pixel 3 owners: If, they download the correct files for their phone.
  3. This Guide is not for use with the Pixel, Pixel XL, Pixel 2, Pixel 2 XL, Pixel 3a, or Pixel 3a XL phones.

Update(s):
  1. Factory/OTA Images - May 2019
  2. Q Beta 3 Images - May 2019
  3. Magisk - Magisk-19.1 Stable or Beta 05/01
  4. Custom Kernels
    1. ElementalX vP3-1.09 05/07
    2. Despair v10R 05/08
    3. Proton v18 05/13
    4. Kirisakura v3.0.0 05/15
    5. HTML5 v128 05/17
  5. Custom Kernels that work with Android Q Beta 3
    1. Despair v1Q
    2. ElementalX - install via EXKM
    3. Kirisakura v3.0.0 05/15
  6. Custom ROMs
    1. Scorpion v2.5 05/10
    2. Dirty Unicorns v13.2 Official 05/10
    3. AquariOS 05/12
    4. AOSiP 05/14
    5. Bootleggers v4.1 04/07
    6. AospExtended v6.4 04/09
    7. dotOS v3.0 04/10
  7. TWRP - 3.3.0-1.img/zip
  8. SDK Platform-tools - r28.0.3
  9. Install Custom Kernel: - See #7, or #8

Disclaimers:
  1. I assume no responsibility for the malfunctioning/bricking of your phone.
  2. The order of listed items i.e., Custom Kernels, Custom ROMS, etc. Does not indicate my preference for them. It is your responsibility to do the research before selecting an item.

Prerequisites
  1. A Google Pixel 3 XL phone
  2. The latest Android 9.0.0 (Pie) Factory or OTA Image: "crosshatch" for Pixel 3 XL
  3. Computer - With the latest SDK Platform-Tools: r38.0.3 installed.
    • Important: Update Platform Tools, regularly, for optimal performance.

Credits/Thanks/Recognitions
  1. Heisenberg RETIRED FORUM MODERATOR - He set the standard for creating, detailed, Guides.
  2. Those I may have, inadvertently, forgotten.

Index
(NOTE: These are not steps 1-12, they are individual sets of information/instructions).
  1. Open a Command Prompt/Boot Fastboot Mode/Boot Recovery
    1. Open Command Prompt on Computer
      • Option 1 - Open File Explorer, click the platform-tools folder, press shift, right click, and select open command prompt here.
      • Option 2 - Open File Explorer, click the platform-tools folder, highlight the directory information in the address bar or click the folder (left side of address bar) to highlight it type cmd and press enter.
      • Note: If your computer only has 'open powershell here' in the context menu. Use option 2.
    2. Boot fastboot mode:
      • Power off phone, press and hold the power and volume down buttons until you see Start.
    3. Boot Recovery
      • Power off phone, press and hold the power and volume down buttons until you see Start. Use volume up/down button until you see Recovery mode. Press power button.
  2. Test fastboot
    1. Enable USB Debugging - Tap Settings > System > About Phone > Developer Options. Enable USB Debugging.
    2. Open a Command Prompt on your computer in the Platform-tools folder.
    3. Boot fastboot mode on your phone (#1)
    4. Connect the phone to the Computer.
    5. Type this at the prompt:
      Code:
      fastboot devices
      to verify communication with phone. It should return your phone serial number.
  3. Unlock Bootloader/Return Phone to Stock/Lock Bootloader
    1. Unlock Bootloader (Google Pixel 3 XL)
      1. Backup your data
      2. Activate Developer Options: Tap Settings > System > About Phone > Tap Build Number until you see you're a Developer. Tap back > Developer Options. Enable OEM Unlock and, USB Debugging.
      3. Boot fastboot mode
      4. Connect the phone to the Computer with USB cord.
      5. Open a Command Prompt on your computer and type
        Code:
        fastboot flashing unlock
        and press enter.
        This will erase all user data from the device!
      6. You should see a request for confirmation on your phone, use the volume keys to scroll and the power key to select.
      7. Allow the process to complete and then type
        Code:
        fastboot reboot
        at the Command Prompt and press enter.
      8. When your phone reboots disconnect your usb cable.
        Note: After unlocking your bootloader, you'll see a warning: You will see this warning until, you relock the bootloader.

        Important: Do not relock your bootloader until you have returned the device to Stock..
    2. Return Phone to Stock
      1. Backup your data
      2. Backup your data/Internal storage
      3. Settings > System > Advanced > Reset Options > Erase all data (factory reset)
      4. Log in
      5. Set up phone
    3. Lock Bootloader (Google Pixel 3 XL)
      • Note: 'B' must be completed before performing this step!
      1. Boot fastboot mode
      2. Open a Command Prompt and type this at the Prompt:
        Code:
        fastboot flashing lock
      3. You should see a request for confirmation on your phone, use the volume keys to scroll and the power key to select.
      4. Allow the process to complete, then type this at the Command Prompt:
        Code:
        fastboot reboot
      5. Enable Developer Options: Settings > System > Abo
        t phone > Tap Build number 7 times.
      6. Tap Back > Developer options and toggle OEM Unlock off.

  4. Install Factory Image keep or wipe data
    • IMPORTANT: Install the latest version of SDK Platform-Tools on your computer before you start installing the factory image.
    1. Backup your data
    2. Download the appropriate Factory Image: "crosshatch" for Pixel 3 XL to your Computer.
    3. Extract the factory Image to the platform-tools folder or the folder that has fastboot in it.
      1. Keep Data
        1. Open the folder you extracted the Factory Image to and Edit the flash-all.bat file to remove -w from this command: fastboot -w update image-crosshatch-aa9a.999999.999.zip
          Note: If you do not remove the -w not only will your data be erased but also your internal storage will be erased.
        2. Boot fastboot mode
        3. Connect the phone to the Computer with USB cord.
        4. Open a Command Prompt on your computer.:
        5. Type
          Code:
          flash-all
          at the Command Prompt and press enter.
        6. Reboot
        7. Do #7 or #8 to root.
      2. Wipe Data
        1. Open the folder you extracted the Factory Image to and Verify the flash-all.bat file has the -w in this command: fastboot -w update image-crosshatch-aa9a.999999.999.zip
          Note: This will erase your data and internal storage.
        2. Boot fastboot mode
        3. Connect the phone to the Computer with USB cord.
        4. Open a Command Prompt on your computer.:
        5. Type
          Code:
          flash-all
          at the Command Prompt and press enter.
        6. Reboot
        7. Do #7 or #8 to root.
  5. ADB Sideload
    1. Stock Recovery
    2. Custom Recovery TWRP
      1. Setup
        1. -- On Your Phone
          1. The latest T.W.R.P. Custom Recovery
          2. Enable USB debugging
        2. -- On Your Computer
          1. Install the latest SDK Platform-tool
          2. Put the file you want to sideload in the Platform-tools folder.
      2. Sideload
        1. -- On Your Phone
          1. Boot fastboot mode
          2. Use Volume Up/Down until you see Recovery mode
          3. When twrp boots, tap Advanced
          4. Tap ADB Sideload.
        2. -- On Your Computer
          1. At the Command Prompt type:
            Code:
            adb sideload <filename>.zip
          2. Ex., adb sideload example.zip
      3. When the install is finished, reboot system.
  6. Extract/Flash boot.img
    1. Extract boot.img
      1. Use a File Explorer to extract the boot.img from the Factory Image.
      2. Extract the Factory Image file (crosshatch-pda1a.999999.999-factory-99a9a99a.zip) to a folder.
      3. Open the folder and, extract the Image file (image-crosshatch-aa9a.999999.999.zip).
    2. Flash boot.img

      Note: Flashing this file removes root.
      1. Open the folder you extracted the 'image file' to and copy the boot.img file to the platform-tools or to the folder that has fastboot in it.
      2. Boot fastboot mode
      3. Connect the phone to the Computer
      4. Open a Command Prompt and type the following command at the prompt:
        Code:
        fastboot flash boot --slot all boot.img
      5. Reboot
  7. Install T.W.R.P./Root/Reroot with Magisk and Pass SafetyNet.
    • Important Note(s):
      • Important: Set Pin before installing TWRP:
        Settings > Security & location >Screen lock > Pin
    1. Backup your data
    2. Download files:
      • The files listed below are used with #7, #8, and #9.
      1. TWRP
        1. TWRP 3.3.0-1 for Google Pixel 3 XL
          1. twrp-3.3.0-1-crosshatch.img - Download to your computer
          2. twrp-pixel3-installer-crosshatch-3.3.0-1.zip - Download to your phone
      2. Magisk - Download to your phone
        1. [2019.5.1] Magisk v19.1 - Root & Universal Systemless Interface [Android 4.2+] by topjohnwu
        2. The latest.Magisk Uninstaller
        3. [DEV] Magisk Canary Channel - Bleeding Edge Builds by topjohnwu
      3. Custom kernels - Download to your phone
        1. [KERNEL]Despair Kernel by DespairFactor
        2. [Kernel][15.05.2019][4.9.176] Kirisakura 3.0.0 for Pixel 3/XL aka Bluecross by Freak07
        3. [KERNEL] [May 7] Pixel 3 XL ElementalX 1.09 by flar2
        4. [MAY 17][Kernel] HTML5 Kernel by _LLJY
        5. KERNEL ❯ PIXEL 3 XL ❯❯ Proton Kernel • v18 • May 13 by kdrag0n
      4. Kernel Managers - Download to your phone
        1. EX Kernel Manager
        2. FK Kernel Manager
    3. Boot fastboot mode
    4. Connect the phone to the Computer with USB cord.
    5. Copy twrp-3.3.0-1-crosshatch.img to the platform-tools folder or folder that has fastboot in it and rename it twrp.img.
    6. Open a Command Prompt on your computer.
    7. At the Command Prompt type:
      Code:
       fastboot boot twrp.img
      and press enter.
      1. When TWRP boots, disconnect the phone from computer.
      2. If requested, swipe to allow modifications.
    8. Tap Install select twrp-pixel-installer-marlin-3.3.0-1.zip, Swipe Slider to install
    9. Reboot Recovery
    10. If you are rerooting, tap Install, select Magisk's uninstaller.zip, Swipe the slider to install.
      Note: If you have Modules installed, please read these posts by @jcmm11 'RC' before flashing/installing Magisk's Uninstaller.zip: Post 329 and Post 333
    11. Root/Reroot
      Note(s):
      • Some Custom Kernels can be updated by flashing via twrp or Kernel Manager without losing root. Check the Custom Kernel thread (OP - Installation/Instructions) to find out which Custom Kernels.
      • If you want to update the Custom Kernels just flashed it via twrp or Kernel Manager.
      • If you want to flash the kernel via the Kernel Manager instead of twrp skip #7 K1 do #7 K2 then install kernel via Kernel Manager.
      1. With Custom Kernel (Optional)
        1. Despair
          1. Tap Install, select Despair V10R.zip
          2. Tap Add more Zips, select Magisk-19.1.zip - Stable or Magisk-19.1.zip - Beta
          3. Swipe Slider to Install
          4. Reboot System
        2. Kirisakura_Bluecross
          1. Tap Install, select Magisk-19.1.zip - Stable or Magisk-19.1.zip - Beta
          2. Tap Add more Zips, select Kirisakura_Bluecross_3.0.0_Release.zip
          3. Swipe Slider to Install
          4. Reboot System
        3. ElementalX
          1. Tap Install, select ElementalX-P3-1.09.zip
          2. Tap Add more Zips, select Magisk-19.1.zip - Stable or Magisk-19.1.zip - Beta
          3. Swipe Slider to Install
          4. Reboot System
        4. HTML5
          1. Tap Install, select HTML5_128_2^7_Edition.zip
          2. Tap Add more Zips, select Magisk-19.1.zip - Stable or Magisk-19.1.zip - Beta
          3. Swipe Slider to Install
          4. Reboot System
        5. Proton
          1. Tap Install, select ProtonKernel-pixel3-v18.zip
          2. Tap Add more Zips, select Magisk-19.1.zip - Stable or Magisk-19.1.zip - Beta
          3. Swipe Slider to Install
          4. Reboot System

      2. Without Custom Kernel
        1. Tap Install, select Magisk-19.1.zip - Stable or Magisk-19.1.zip - Beta
        2. Swipe Slider to Install
        3. Reboot System
    12. Install Modules - BusyBox, etc. (Optional)
      • Open Magisk Manager, tap Menu, tap downloads.
  8. Boot T.W.R.P./Root/Reroot with Magisk and Pass SafetyNet.
    1. Backup your data
    2. Download files:
      • See #7 - Skip the twrp-pixel3-installer...
    3. Boot fastboot mode
    4. Connect the phone to the Computer with USB cord.
    5. Copy twrp-3.3.0-1-crosshatch.img to the platform-tools folder or folder that has fastboot in it and rename it twrp.img.
    6. Open a Command Prompt on your computer.
    7. At the Command Prompt type:
      Code:
       fastboot boot twrp.img
      and press enter.
      1. When TWRP boots, disconnect the phone from computer.
      2. If requested, swipe to allow modifications.
    8. If you are rerooting, tap Install, select the latest Magisk's uninstaller.zip, Swipe the slider to install.
      Note: If you have Modules installed, please read these posts by @jcmm11 'RC' before flashing/installing Magisk's Uninstaller.zip: Post 329 and Post 333
    9. Root/Reroot
      B]Note(s):[/B]
      • Some Custom Kernels can be updated by flashing via twrp or Kernel Manager without losing root. Check the Custom Kernel thread (OP - Installation/Instructions) to find out which Custom Kernels.
      • If you want to update the Custom Kernels just flashed it via twrp or Kernel Manager.
      • If you want to flash the kernel via the Kernel Manager instead of twrp skip #8 I1 do #8 I2 then install kernel via Kernel Manager.
      1. With Custom Kernel (Optional)
        1. Despair
          1. Tap Install, select Despair V10R.zip
          2. Tap Add more Zips, select Magisk-19.1.zip - Stable or Magisk-19.1.zip - Beta
          3. Swipe Slider to Install
          4. Reboot System
        2. Kirisakura_Bluecross
          1. Tap Install, select Magisk-19.1.zip - Stable or Magisk-19.1.zip - Beta
          2. Tap Add more Zips, select Kirisakura_Bluecross_3.0.0_Release.zip
          3. Swipe Slider to Install
          4. Reboot System
        3. ElementalX
          1. Tap Install, select ElementalX-P3-1.09.zip
          2. Tap Add more Zips, select Magisk-19.1.zip - Stable or Magisk-19.1.zip - Beta
          3. Swipe Slider to Install
          4. Reboot System
        4. HTML5
          1. Tap Install, select HTML5_128_2^7_Edition.zip
          2. Tap Add more Zips, select Magisk-19.1.zip - Stable or Magisk-19.1.zip - Beta
          3. Swipe Slider to Install
          4. Reboot System
        5. Proton
          1. Tap Install, select ProtonKernel-pixel3-v18.zip
          2. Tap Add more Zips, select Magisk-19.1.zip - Stable or Magisk-19.1.zip - Beta
          3. Swipe Slider to Install
          4. Reboot System

      2. Without Custom Kernel
        1. Tap Install, select Magisk-19.1.zip - Stable or Magisk-19.1.zip - Beta
        2. Swipe Slider to Install
        3. Reboot System
    10. Install Modules - BusyBox, etc. (Optional)
      • Open Magisk Manager, tap Menu, tap downloads.
  9. Update Magisk
    • Important: "If you had the stable version or the official beta installed, you must first un-install the Magisk Manager (only) before you can install the unofficial version, because they are signed with different keys".
      "The same is true if, for example, you have @kantjer's build installed and want to try @ianmacd's builds".
      See kantjer and martyfender post: [UNOFFICIAL] next version Magisk and MagiskManager snapshots by stangri
    1. Set Update Channel (Stable/Beta)
      1. Open Magisk Manager > Tap menu icon > Settings > Update Channel > Select Stable or Beta
      2. When Magisk Manager notifies you of update availibility.
      3. Tap install.
      4. Select, Direct Install (Recommended)
      5. When it finishes installing
      6. Tap, Save Log
      7. Tap, Reboot
      8. Done!
      9. Log location:
    2. Set Update Channel (Custom)
      1. [COLOR="green"]Open Magisk Manager > Tap menu icon > Settings > Update Channel > Select Custom: To set the Magisk Update Channel for Unofficial/Testing Magisk Builds[COLOR].
      2. Copy the URL of the Unofficial/Testing Magisk version you want below and paste it on the Insert a Custom URL line.
        1. ianmacd
          Code:
          https://goo.gl/yZpnrf
        2. kantjer
          Code:
          https://goo.gl/3ws6NC
        3. topjohnwu - Canary
          Debug Channel:
          Code:
          https://bit.ly/2MPKGY5
          or
          Release Channel:
          Code:
          https://bit.ly/2N8UVlq
          or
          Download the files from here.
      3. When Magisk Manager notifies you of an update:
      4. Tap install.
      5. Select, Direct Install (Recommended)
      6. When it finishes installing
      7. Tap, Save Log
      8. Tap, Reboot
      9. Done!

  10. Custom ROMs for Pixel 3 XL
    • Need help with a Custom ROM?
      1. First, follow the Installation Instructions in the OP of the Custom ROM you are trying to install.
      2. Second, if you have a problem Installing it, Search the thread of the Custom ROM you want to install for solutions to problem before posting a request for help on their thread.
    1. Official
      1. [ROM][9.x]ScorpionROM v2.5[Google Pixel 3/XL][crosshatch/blueline] by NepoRood
        • Scorpion-v2.5-crosshatch-20190510-0206.zip
      2. [ROM][9.x][OFFICIAL] BootleggersROM 4.1 Shishufied [Google Pixel 3XL - crosshatch] by squid7331
        • BootleggersROM-Pie4crosshatch.4.1-Stable-Shishufied-20190407-140716.zip
      3. AOSiP 9.0 [Official][Crosshatch/Blueline] by xlxfoxxlx
        • AOSiP-9.0-Official-crosshatch-20190514.zip
      4. [ROM][OFFICIAL] AquariOS 9 || Live Support || VoLTE/WFC* || Theming || May 12 by MikereDD
        • AquariOS_crosshatch-9_OFFICIAL_05.11.2019-2126.zip
      5. Dirty Unicorns Crosshatch
        • du_crosshatch-v13.2-20190510-1609-OFFICIAL.zip
    2. Unofficial
      1. [ROM][9.0][09.04.19]AOSP Extended 6.4 [BLUELINE/CROSSHATCH][UNOFFICIAL] by CodeFox
        • AospExtended-v6.4-crosshatch-20190409-1615-UNOFFICIAL.zip
      2. [ROM][9.0][10.04.2019][UNOFFICIAL]dotOS 3.0[BLUELINE/CROSSHATCH] by CodeFox
        • dotOS-P-v3.0-crosshatch-UNOFFICIAL-20190410-1728.zip
  11. Mods
    1. Magisk Audio Downloads
      1. Audio_Compatibility_Patch...
      2. Audio_Modification_Library...
      3. ViPER4Android_FX...
    2. Tulsadiver's
  12. Other: TWRP Backup/TWRP Update
    1. TWRP Backup
      1. To Internal Storage
        1. Boot Recovery
        2. When twrp-3.3.0-1 boots, tap Backup and select Partitions to backup
          1. Boot
          2. System Image
          3. Data
        3. Tap Select Storage ==> internal storage
        4. Tap ok
        5. Swipe Slider to backup
        6. Your backup will be stored in /Storage/TWRP/...
      2. To OTG-USB Storage
        1. Boot Recovery
        2. When twrp-3.3.0-1 boots, tap Backup and select Partitions to backup
          1. Boot
          2. System Image
          3. Data
        3. Insert USB-OTG
        4. Tap Select Storage ==> OTG-USB
        5. Tap ok
        6. Swipe Slider to backup
        7. Your backup will be stored in /Storage/TWRP/...
    2. UpdateTWRP
      • "If you already have TWRP installed: Download the latest zip and install the zip using TWRP".
The Following 40 Users Say Thank You to Homeboy76 For This Useful Post: [ View ] Gift Homeboy76 Ad-Free
 
 
22nd October 2018, 11:21 AM |#2  
OP Senior Member
Thanks Meter: 706
 
More
Reserved 1
The Following 4 Users Say Thank You to Homeboy76 For This Useful Post: [ View ] Gift Homeboy76 Ad-Free
22nd October 2018, 11:24 AM |#3  
OP Senior Member
Thanks Meter: 706
 
More
Reserved 2
The Following 2 Users Say Thank You to Homeboy76 For This Useful Post: [ View ] Gift Homeboy76 Ad-Free
22nd October 2018, 11:24 AM |#4  
OP Senior Member
Thanks Meter: 706
 
More
Reserved 3
The Following 2 Users Say Thank You to Homeboy76 For This Useful Post: [ View ] Gift Homeboy76 Ad-Free
22nd October 2018, 01:35 PM |#5  
Senior Member
Thanks Meter: 54
 
More
Nice guide. It will be very resourceful. I am going to wait to root my 3XL. I tried to follow a couple of guides, but I end up in a boot loop.
22nd October 2018, 02:45 PM |#6  
Junior Member
Thanks Meter: 8
 
More
Worked great and thanks for the detailed guide

Sent from my [device_name] using XDA-Developers Legacy app
22nd October 2018, 03:36 PM |#7  
jaxenroth's Avatar
Senior Member
Flag Langhorne, PA
Thanks Meter: 151
 
More
Nice. Root up and running w/o issues. Even got rid of the gesture navigation. Click image for larger version

Name:	1540218974314.jpg
Views:	1412
Size:	17.1 KB
ID:	4624655
22nd October 2018, 03:37 PM |#8  
Maty360414's Avatar
Junior Member
Thanks Meter: 1
 
More
can you update the OS via OTA with once you root the phone?
22nd October 2018, 03:45 PM |#9  
Senior Member
Thanks Meter: 54
 
More
Quote:
Originally Posted by jaxenroth

Nice. Root up and running w/o issues. Even got rid of the gesture navigation. Attachment 4624655

How do you get past "No Valid Slot To Boot"
22nd October 2018, 05:10 PM |#10  
JeromeLeung's Avatar
Senior Member
Thanks Meter: 166
 
More
Quote:
Originally Posted by State.of.mind

How do you get past "No Valid Slot To Boot"

Read Section 9.A.3. Need to switch your Magisk Manager over to Canary in order to install Magisk 17.4. Stable channel is v17.2 which is what is causing you to see that error.
22nd October 2018, 05:13 PM |#11  
Senior Member
Thanks Meter: 54
 
More
Quote:
Originally Posted by JeromeLeung

Read Section 9.A.3. Need to switch your Magisk Manager over to Canary in order to install Magisk 17.4. Stable channel is v17.2 which is what is causing you to see that error.

Thanks. I tried that method. I'm not sure what's causing it. Could it be that I am not typing "fastboot reboot" at the end of the flash? I normally just press start.
The Following User Says Thank You to State.of.mind For This Useful Post: [ View ] Gift State.of.mind Ad-Free
Post Reply Subscribe to Thread

Tags
factory image, ota, pixel 3 xl, root, unlock

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes