[Google Pixel 3 XL Guides, News, & Discussion] Homeboy76:
[Guide] Root Pixel 3 XL Android 11 (R) Unlock/Lock Bootloader + Install Stock Images/Systemless Root2021

Android Security Bulletin—June 2021

Pixel Update Bulletin—June 2021​

Introduction

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

Pixel 3 files

.

New

Android 12 Developer Preview - Beta 2

Factory Images: Downloads for Google Pixel 06/09

OTA Images: Apply a device OTA image 06/09

CalyxOS

GrapheneOS

Update(s)

Factory/OTA Images - 06/07

Magisk Stable - Magisk-23.0 05/12

Magisk Beta - Magisk-23.0 05/12

Magisk Canary - Magisk-23xxx

TWRP - Waiting for Android 11 (Q) TWRP

SafetyNet - SafetyNetFix v1.1.1 01/16

SDK Platform-tools - r31.0.2 April

Custom Kernels

ElementalX (Check his Kernel Manager for latest update.)

Kirisakura v3.0.8_R 06/11

Custom ROMs

[ROM][11][OFFICIAL] lineage-18.1 for Pixel 3/XL (blueline/crosshatch) - Nightly by razorloves

[OFFICIAL][11]ScorpionROM v4.x 05/04

Disclaimer

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 Pixel 3 XL phone with an unlocked bootloader.

The latest Android 11 (R) Factory or OTA Image:

"crosshatch" for Pixel 3 XL

Factory Image

11.0.0 (RQ3A.210605.005, Jun 2021)

Which one should I use?

OTA Image

11.0.0 (RQ3A.210605.005, Jun 2021)

Which one should I use?

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

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

Other Pixel XL Guides

[Guide] Pixel 4 XL Android 11 (R)

Credits/Thanks/Recognitions

@topjohnwu - Magisk Canary

@sliding_billy - His help editing this thread.

Those I may have, inadvertently, forgotten.

Index

(NOTE: Numbers 1-11

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.

Notes:

If your computer only has

'open powershell here'

in the

context menu.

Use option 2.

If you do not want to open a Command Prompt every time you want to use fastboot, Add the path to the Platform-tools folder to Windows environment variables.

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 or 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

This will erase all user data from the device!

Backup your data

Activate Developer Options: Tap Settings > About Phone > Tap

Build Number 7 times

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

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.

After unlocking your bootloader, every time you reboot 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

Do not

lock the bootloader

until you have returned the phone to stock. Failure to do so causes

bricked phones

.

This will erase all user data from the device!

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 or until you see 'you are a developer'.

Tap Back > Developer options and toggle

OEM Unlock

off.

Install/Update Factory Image

keep

or

wipe

data

Important Note(s)

:

When doing a major upgrade i.e., Android 10 (Q) to Android 11 (R): I recommend doing a clean install. What is a clean install?:

Doing a Factory reset prior to installing, major, update.

Using flash-all.bat file with the -w (

Wipe Data)

.

Always verify you have the latest version of SDK Platform-Tools installed on your computer before installing the Factory Image:

Pixel 3 XL - crosshatch

.

If your

phone was rooted, and you want

to 'Keep Data'. Do this first unhide Magisk App (if you hid it) then Uninstall Magisk - Restore Images prior flashing the Factory image. Why? The changes in the Factory image may cause Magisk modules to fail. This will cause

boot loops

.

If you get an

error:

when flashing, try one of these options:

Change the USB port to a non charging USB port.

Change the USB cord.

Change Computers.

Backup your data

Download the latest Factory Image: Pixel 3 XL - crosshatch to your Computer.

Extract the factory Image to a folder.

Flash Factory Image Keep Data

Open the folder with the extracted the Factory Image and

Edit the flash-all.bat file with a file editor i.e., Notepad. Remove -wfrom this command: fastboot -w update image-crosshatch-aa9a.999999.999.zip

Note: If you do not remove the

-w

your Internal Storage will be wiped.

Copy/Move these files to the Platform-tools folder:

bootloader-crosshatch-....img

flash-all.bat

image-crosshatch-....zip

radio-crosshatch-....img

At the Command Promp type: flash-all and press enter.

System will reboot when flashing is complete.

Do #7 to root/reroot.

Flash Factory Image Wipe Data

This will wipe your

Internal Storage

.

Open the folder with the extracted the Factory Image.

Copy/Move these files to the Platform-tools folder:

bootloader-crosshatch-....img

flash-all.bat

image-crosshatch-....zip

radio-crosshatch-....img

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

At the Command Prompt type: flash-all and press enter.

System will reboot when flashing is complete.

Do #7 to root/reroot.

ADB Sideload

Stock Recovery

Full OTA Images for Nexus and Pixel Devices - Updating instructions

Custom Recovery - TWRP

Important notes:

Charge your device.

Enable USB Debugging on your phone.

Install the latest version of SDK Platform-tools on your computer.

Open a command prompt in the computer's ADB folder: the folder with ADB.exe in it.

Put the (flashable zip) file you want to sideload in the computer's ADB folder.Copy the Zip file you want to install on your device to the ADB folder.

Connect your device to your computer using a USB cable.

Boot T.W.R.P.

T.W.R.P installed: Boot fastboot mode ==> use volume buttons up/down until you see Recovery mode ==> press power botton.

T.W.R.P. not installed: Boot T.W.R.P: Put twrp.img file in the computer's ADB folder ==> open a command prompt in ADB folder ==> at the prompt type fastboot flash boot "Name of twrp file.img" without the quotation marks.

When T.W.R.P boots tap Advanced ==> ADB Sideload.

✓ the wipe Dalvik cache box

Swipe to start

On your Computer: Enter the following command at the command prompt. adb sideload <filename.Zip> i.e., adb sideload myfile.zip

You will see the progress of the sideloaded file.

When the file finishes sidloading, reboot your device.

Done!

Extract/Flash

boot.img

Extract boot.img

Download the latest Factory image to your phone.

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

At the Command Prompt type: fastboot flash boot --slot all boot.img

Reboot

Root/Reroot with

Magisk

and

Pass SafetyNet.

Important Notes:

When doing a major upgrade i.e., Android 10 (Q) to Android 11 (R). I recommend doing a clean install. What is a clean install?

Doing a Factory reset prior to installing, major, update.

Using flash-all.bat file without removing the -w.

If your

phone was rooted

. Do this first unhide Magisk App (if you hid it) then Uninstall Magisk - Restore Images. Why? The changes in the Factory image may cause Magisk modules to fail. This will cause

boot loops

.

Download files:

Magisk App -

Download to your phone

Magisk Beta/Stable App

Magisk Canary App

Custom Kernels -

Download to your phone - install with Kernel Manager

Important: Unless otherwise directed by Kernel Developer,

Flash the Kernel after Magisk

.

[Kernel][11.06.2021][4.9.272] Kirisakura_R 3.0.8 for Pixel 3/XL aka Bluecross by Freak07

Kernel Manager -

Download to your phone

EX Kernel Manager

Patch the boot.img

Do #6 - Extract boot.img

Install Magisk (Beta, Canary or Stable) App

Open Magisk App

Depending on the version of Magisk App installed: Set the Update Channel to Beta, Canary or Stable.

Tap Install (next to Magisk)

Tap, Select and Patch a File

Select the boot.img file you extracted from the latest factory image.

Tap the ✓

Tap Let's Go

When you see done, the boot.img has been patched (magisk_patched_xxxxx.img), and stored in the download folder.

Reboot

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

Boot fastboot mode (#1)

Connect the phone to the Computer with USB cord.

Open a Command Prompt (#1) in the folder you copied the patched boot.img to.

Type fastboot flash boot "name of patched boot".img without the quote marks at the Prompt and press enter.

Type fastboot reboot at the Prompt and press enter.

Important:If your phone boot loops try one of the following options.

Flash the stock boot.img to both slots. fastboot flash boot boot.img --slot all

Boot Safe Mode - Press Power Off button ==> Press Power Off until you see boot Safe Mode ==> Press Ok == > wait for it to boot ==> Reboot.

Pass SafetyNet:

MAGISK MODULE ❯ Universal SafetyNet Fix 1.1.0

Download SafetyNetFix from the link above.

Open Magisk Canary App

Tap Modules icon.

Tap Install from storage

navigate to the SafetyNetFix file

Hightlight the file (tap it)

Tap the check mark (✓) to start the installation.

After it installs tap the Save icon to save the log

Tap Reboot.

Open Magisk Canary App

Tap the Setup icon.

Scroll down to Magisk - MagiskHide and enable it.

Tap back arrow => tap Superuser icon => tap MagiskHide => Scroll to the bottom of the page => Tap Search icon => Tap Show system apps (Under Filters) => check (✓): Google play services (com.google.android.gms).

Close Magisk Manager.

Open Settings

Tap Apps & notifications

Tap see all 999 apps

Tap the three dot menu

Tap Show system

Scroll down to Google Play Store

Tap it

Tap Storage & cache

Tap Clear cache

Tap Clear storage

Exit settings

reboot

Open Google Play Store app

Tap Menu

Tap Settings

Scroll down to Play protect certification

check for Device certification.

Set Magisk App Update Channel/Update Magisk

Set Magisk App Update Channel

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

Stable

,

Beta

Canary

or

Custom

.

Update Magisk

When Magisk App notifies you of an update:

Tap install.

Select, Direct Install (Recommended)

When it finishes installing

Tap, Save Log

Log location: /storage/emulated/0/MagiskManager/logs/install_log_

Tap, Reboot

Done

Custom ROMs

Need help with a Custom ROM?

Read and follow the Installation Instructions. The installation instructions are in the OP.

If you have a problem Installing the ROM, Search the thread of the

Custom ROM

you are trying to install for a solution to problem: If you don't find a solution post your request for help on the thread.

ROMs

Alpha/Beta

None

Official

[ROM][OFFICIAL][Android 11]ScorpionROM v4.x[Google Pixel 3/XL][Blueline/Crosshatch] by NepoRood

ROM][11][OFFICIAL] lineage-18.0 for Pixel 3/XL (blueline/crosshatch) by razorloves

Unofficial

None

Mods/Scripts/Themes

Tulsadiver's Mods

Android 10 ADB Installer-Zip Installer, creates magisk module by Tulsadiver

Android 10 Accents Mod by Tulsadiver

Others

[MODULE] MagiskHide Props Config - SafetyNet, prop edits, and more - v5.3.6 by Didgeridoohan

[Substratum][Magisk]Pixel Launcher Editor for P3XL by eg1122

[MOD][MAGISK][ANDROID 11] Addon Features for Pixel Devices - Pixel 3 XL Thread

T.W.R.P. Backup/T.W.R.P Update

Waiting for Android 11 (R) T.W.R.P.