[Google Pixel 3 XL Guides, News, & Discussion] Homeboy76:
[Guide] Pixel 3 XL Android 10 (Q) Unlock/Lock Bootloader + Install Stock Images/Custom kernels/TWRP Recovery/Systemless ROOT + September 2019 Security Patch​

Intro

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'.

This Guide also works for Pixel 3 owners: If, they download the

correct files

for their phone.

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):

Factory/OTA Images - 09/00

Magisk Canary - Magisk-19.4

TWRP - Waiting for Android 10 T.W.R.P[/B]

SDK Platform-tools - r29.0.2 07/01

Custom Kernels

Waiting for Android 10 Custom Kernels

Custom ROMs

Waiting for Android 10 Custom ROMs

Disclaimers:

I assume no responsibility for the malfunctioning/bricking of your phone.

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

A Google Pixel 3 XL phone

The latest Android 10 (Q) Factory or OTA Image:

"crosshatch" for Pixel 3 XL

Factory Image

10.0.0 (PQ3A.190801.002, Sep 2019)

OTA Image

10.0.0 (PQ3A.190801.002, Sep 2019)

Computer - With the latest SDK Platform-Tools: r29.0.2 installed.

Important: Update Platform Tools, regularly, for optimal performance.

Credits/Thanks/Recognitions

@topjohnwu - Magisk Canary

Those I may have, inadvertently, forgotten.

Index

(NOTE: Numbers 1-13 are not steps, they are individual sets of instructions).

Open a Command Prompt/Boot Fastboot Mode/Boot Recovery

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.

Boot fastboot mode:

Power off phone, press and hold the power and volume down buttons until you see Start.

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.

Test fastboot

Enable Developer Options - Tap Settings > About phone > Build number 7 times. Until you should see 'you are a Developer'.

Enable USB Debugging - Tap Settings > System > Advanced > Developer options >

Enable USB Debugging.

Open a Command Prompt on your computer in the Platform-tools folder.

Boot fastboot mode on your phone (#1)

Connect the phone to the Computer.

At the prompt type:

fastboot devices

to verify communication with phone. It should return your phone's serial number.

Unlock Bootloader/Return Phone to Stock/Lock Bootloader

Unlock Bootloader (Google Pixel 3 XL)

Backup your data

Activate Developer Options: Tap Settings > About Phone > Tap

Build Number

until you see you are a Developer. Tap back > System > Advanced > Developer Options. Enable OEM Unlock and, USB Debugging.

Boot fastboot mode

Connect the phone to the Computer with USB cord.

Open a Command Prompt on your computer and type

fastboot flashing unlock

and press enter.

This will erase all user data from the device!

You should see a request for confirmation on your phone, use the volume keys to scroll and the power key to select.

Allow the process to complete and then type

fastboot reboot

at the Command Prompt and press enter.

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.

.

Return Phone to Stock

Backup your data/Internal storage

Settings > System > Advanced > Reset Options > Erase all data (factory reset)

Log in

Set up phone

Lock Bootloader (Google Pixel 3 XL)

Note: 'B'

must

be completed before performing this step!

Boot fastboot mode

Open a Command Prompt and type this at the Prompt:

fastboot flashing lock

You should see a request for confirmation on your phone, use the volume keys to scroll and the power key to select.

Allow the process to complete, then type this at the Command Prompt:

fastboot reboot

Enable Developer Options: Settings > About phone > Tap

Build number

7 times. Until you see 'you are a developer'.

Tap Back > Developer options and toggle

OEM Unlock

off.

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.

When doing a major upgrade, Android 9.0.0 (Pie) to Android 10.0.0 (Q).

I suggest wiping data/Clean Install.

Backup your data

Download the appropriate Factory Image: "crosshatch" for Pixel 3 XL to your Computer.

Extract the factory Image to the platform-tools folder or the folder that has

fastboot

in it.

Keep

Data

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.

Boot fastboot mode

Connect the phone to the Computer with USB cord.

Open a Command Prompt on your computer.:

Type

flash-all

at the Command Prompt and press enter.

Reboot

Do #9 to root.

Wipe

Data

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.

Boot fastboot mode

Connect the phone to the Computer with USB cord.

Open a Command Prompt on your computer.:

Type

flash-all

at the Command Prompt and press enter.

Reboot

Do #9 to root.

ADB Sideload

Stock Recovery

Full OTA Images for Nexus and Pixel Devices - Updating instructions

Custom Recovery TWRP

[*]Waiting for Android 10 T.W.R.P

Extract/Flash

boot.img

Extract boot.img

Use a File Explorer to extract the boot.img from the Factory Image.

Extract the Factory Image file (crosshatch-pda1a.999999.999-factory-99a9a99a.zip) to a folder.

Open the folder and, extract the Image file (image-crosshatch-aa9a.999999.999.zip).

Flash boot.img

Note: Flashing this file removes root.

Open the folder you extracted the 'image file' to and copy the boot.img file to your computer's platform-tools folder or to the folder that has

fastboot.exe

in it.

Boot fastboot mode

Connect the phone to the Computer

Open a Command Prompt and type the following command at the prompt:

fastboot flash boot --slot all boot.img

Reboot

Install T.W.R.P.

/Root/Reroot with Magisk and Pass SafetyNet.

Waiting for Android 10 T.W.R.P

Boot T.W.R.P.

/Root/Reroot with Magisk and Pass SafetyNet.

Waiting for Android 10 T.W.R.P)l

Root/Reroot with Magisk and Pass SafetyNet.

Do #6A 'Extract boot.img"

Quote:

Download and install the latest Magisk Manager (app-release.apk)from [DEV] Magisk Canary Channel - Bleeding Edge Builds by topjohnwu].

Open Magisk Manager and Press Install ==> Press Install again ==> Select Patch a File ==> Select the boot.img file you extracted from the latest factory image

Magisk Manager will patch the boot.img and store the patched boot.img in the download folder.

Copy the magisk_patched.img file to your computer's Platform-tools folder or the folder that has fastboot.exe in it.

Boot fastboot mode (See #1B)

Connect the phone to the Computer with USB cord.

Open a Command Prompt (See #1A):

Type

fastboot flash boot magisk_patched.img

at the Prompt and press enter.

Reboot System

[*]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 [MENTION=3306843]kantjer[/MENTION]'s build installed and want to try [MENTION=7187684]ianmacd[/MENTION]'s builds". See kantjer and martyfender post: [UNOFFICIAL] next version Magisk and MagiskManager snapshots by stangri

Set Update Channel (Stable/Beta)

Open Magisk Manager > Tap menu icon > Settings > Update Channel > Select

Stable

or

Beta

When Magisk Manager notifies you of update availibility.

Tap install.

Select, Direct Install (Recommended)

When it finishes installing

Tap, Save Log

Tap, Reboot

Done!

Log location:

Set Update Channel (Custom)

Open Magisk Manager > Tap menu icon > Settings > Update Channel > Select

Custom

: To set the

Magisk Update Channel

for

Unofficial/Testing Magisk Builds

[COLOR].

[*]Copy the

URL

of the Unofficial/Testing Magisk version you want

below

and paste it on the

Insert a Custom URL

line.

ianmacd

https://goo.gl/yZpnrf

topjohnwu -

Canary

Debug Channel:

https://bit.ly/2MPKGY5

or

Release Channel:

https://bit.ly/2N8UVlq

or

Download the files from here.

[*]When Magisk Manager notifies you of an update:

[*]Tap install.

[*]Select, Direct Install (Recommended)

[*]When it finishes installing

[*]Tap, Save Log

[*]Tap, Reboot

[*]Done!

[*]Custom ROMs for Pixel 3 XL

Waiting for Android 10 Custom Roms

[*]]Mods]

[*]

Tulsadiver's

Working 3Minit Battery for Android 10 by Tulsadiver

[*]Other: TWRP Backup/TWRP Update

TWRP

backup[/B]

To Internal Storage

Waiting for Android 10 T.W.R.P

[*]To OTG-USB Storage

Waiting for Android 10 T.W.R.P

[*]UpdateTWRP

Waiting for Android 10 T.W.R.P

[/LIST]