[Google Pixel XL Guides, News, & Discussion] Homeboy76:
[Guide] Root Pixel XL Android 11 (R) + Unlock/Lock Bootloader + Install Custom ROMS + Update Magisk/Systemless Root​

Introduction

This Guide is for Google Pixel XL owners that want to Install/Flash Custom ROMs, and enjoy the benefits of rooting it. The Guide is divided into three parts:

Information

,

Instructions

, and

Other

.

~ ~ ~ Part I - INFORMATION ~ ~ ~

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 Pixel XL phone with an

unlocked bootloader.

A Custom ROM (

Update(s) 10.

below).

A Computer with a working version of

Platform-tools installed:

Platform-tools 33.0.3

Platform-tools 34.0.4 - Is Ok for sideloading OTA images.

Before installing SDK Platform-tools, check for older versions of fastboot on your computer: Open a Command prompt and type fastboot --version at the prompt. If a adb/fastboot is found delete the folder containing them. Also, check the

path environment

for paths to them and remove it.

Update Platform Tools, regularly

, for optimal performance.

Need Google's USB Drivers for your Pixel Phone?

NEW

Install any Magisk version or TWRP without PC."

https://forum.xda-developers.com/t/magisk-general-support-discussion.3432382/post-88301465

Displax's latest SafetyNet Fix

Updates

Magisk Beta - Magisk v26.4.apk 4 Sep

Magisk Canary - app-release (d7750b72) (26403).apk 13 Dec

Magisk Stable - Magisk v26.4.apk 4 Sep

TWRP -

TWRP Android 9 for marlin

SafetyNet - osm0sis Play Integrity Fork

SDK Platform-tools - r34.0.4 Jul 2023

Custom ROMS, Kernels and Kernel Manager

Google Pixel XL ROMs, Kernels, Recoveries, & Other

ElementalX Kernel Manager

My Other Guides

Pixel 8 Pro

Pixel 7 Pro

Pixel 6

Pixel 5

Pixel 4a (5G)

Pixel 4 XL

Pixel 3 XL

Pixel XL

Credits/Thanks/Recognitions

@topjohnwu - Magisk

~ ~ ~ Part II - INSTRUCTIONS ~ ~ ~

(The Instructions listed below are not

steps

, they are

individual sets

of instructions.)

Open a Command Prompt/Boot Bootloader/Boot Recovery

Open a Command Prompt on Computer

Open File Explorer, click the platform-tools folder ==> click the folder icon (left side of address bar) to highlight it type cmd and press enter.

Open a Powershell Command Prompt on Computer: Open File Explorer, click the platform-tools folder ==> click the folder icon (left side of address bar) to highlight it type powershell and press enter.

Notes:

Enable USB Debugging, on your phone: Settings ==> System ==> Advanced ==> Developer options ==> Scroll down to USB debugging and enable it.

When using the

Powershell Command Prompt

Commands must be preceeded with ./: i.e, ./fastboot devices

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

Boot fastboot mode (bootloader)

:

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 ADB (Android Debug Bridge)/fastboot

ADB

Enable USB Debugging - Tap Settings > System > About Phone > Developer Options. Enable USB Debugging.

Open a Command Prompt on your computer.

Type this at the prompt to test

ADB

.

adb version

It should return a version number for ADB.

fastboot

Enable USB Debugging - Tap Settings > System > About Phone > Developer Options. Enable USB Debugging.

Open a Command Prompt on your computer.

Boot Bootloader

Connect the phone to the Computer with USB cord.

Type this at the prompt and press enter to test

fastboot

.

fastboot devices

It should return your device serial number.

Unlock Bootloader/Return Phone to Stock/Lock Bootloader

Unlock Bootloader

Backup your data/Internal storage

Activate Developer Options: Tap Settings > System > About Phone > Tap

Build Number 7 times or until you see you're a Developer

.

Tap back > Developer Options and toogle OEM Unlock on and, toggle USB Debugging on.

Boot Bootloader

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:

Your device software can't be checked for corruption. Please lock the bootloader.

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

Important:

Do not relock your bootloader until you have returned the device to Stock.

.

Boot bootloader

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

Set up your phone.

Enable Developer Options: Settings > System > About phone > Tap

Build number 7 times or until you see

'You are a Developer. Tap Back > Developer options and toggle

OEM Unlock

off.

Pass Safety Net with

Magisk module - Play Integrity Fork

Download File(s)

Play Integrity Fork

Magisk Module repositories:

Androidacy Module Manager

Androidacy Module Manager - Releases

Androidacy Download Center

Install osm0sis PlayIntegrityFork

Open Magisk

Tap Modules icon

Tap Install from storage

Navigate to the osm0sis PlayIntegrityFork file you downloaded.

Tap the osm0sis PlayIntegrityFork file.

When you see the confirmation screen, tap Ok.

After it installs tap the Disc icon to save the log

Tap Reboot

Settings for Magisk Canary

Open Magisk App

Tap the Setup icon.

Scroll down to App and set the

Update Channel

to Canary.

Scroll down to Check Updates and

enable

it.

Scroll down to Magisk and enable

Zygisk

.

Enable Denylist

Tap

Configure DenyList

=> Tap 3 Dot Menu => Check ✓

Show system apps

=> Check ✓ Google Play Store, Google Pay, Google Wallet etc.

(Optional) Scroll down to Superuser and enable

Enable Biometric Authentication

.

Get Device Certified

Flash the osm0sis PlayIntegrityFork module in Magisk

Turn Airplane mode on

Open Settings

Tap Apps & notifications

Tap see all...

Tap three dot menu

Tap Show system

Scroll to

Google Wallet/Play Store/Play Services

Clear Google Wallet cache (if you have it)

Clear Google Play Store cache and data

Clear Google Play Services (com.google.android.gms) cache and data (Optionally skip clearing data and wait some time, ~24h, for it to resolve on its own)

Turn Airplane mode Off

Reboot

Check Device Certification

Note: If after completeting Get Device Certified your device is

not

certifed or your device

is

certified but

certain apps (Google Pay, NetFliks, etc.)

are not working. Do this to verify you are passing Play Integrity.

Open Google Play Store app

Tap your profile icon (top right corner)

Tap Settings.

Open the About menu

Tap the row labeled Play Store version seven times to unlock developer mode.

Tap the back arrow (upper left corner)

Tap your profile icon (top right corner)

Tap Settings.

Open the General menu

Tap Developer options

Tap Check integrity

If you see Basic Integrity and Device Integrity, you're passing Play integrity.

Install/Update Magisk Modules

Download Modules

All Magisk-Modules-Repos

All Magisk-Modules-Alt-Repos

You can also download Modules from XDA

Androidacy Module Manager

Androidacy Module Manager - Releases

Androidacy Download Center

LSposed Releases

Shamiko Releases

Install Modules from Storage

Open Magisk

Tap the Modules icon

Tap Install from storage

Navigate to the folder with the Module you want to install.

Tap the Module to

highlite

it and tap

Select

.

After it installs, tap the Disc Icon to save the install log.

Tap Reboot

Install Modules from Androidacy Module Manager

Open Androidacy Module Manager

Tap the Modules icon

Locate the Module you want to install

Tap Install

After it installs, tap the Disc Icon to save the install log.

Tap Reboot

Update Modules

Open Androidacy Module Manager

You, will see the Modules that have Updates.

Tap the Module you want to update.

Tap install.

After it installs, tap the Disc Icon to save the install log.

Tap Reboot

~ ~ ~ Part III - OTHER ~ ~ ~

Custom ROMs for Pixel XL

Need help with a Custom ROM?

If you are trying to install a Custom ROM, read and follow the Installation Instructions in the OP of the Custom ROM thread.

If you have questions, search the thread of the

Custom ROM

you are trying to install for answer(s)/solution(s) to your question(s)/problem(s)[/B]: If you don't find a answer(s)/solution(s) to your question(s)/problem(s). Post your question(s)/request(s) for help in the

Custom ROM thread

you are trying to install.

Try installing it with 📳🔥 PixelFlasher, a GUI tool for flashing / updating / rooting / managing Pixel phones..

If you are trying to install a Addon(s) {Custom Kernel, Magisk, etc.} to the

Custom ROM

you installed: Search the thread of the

Custom Kernel, Magisk, etc.

you want to install for installation instructions, and answer(s)/solution(s) to your question(s)/problem(s) about the Custom Kernel, Magisk, etc. If you don't find an answer(s)/solution(s) to your question(s)/problem(s). Post your question(s)/request(s) for help in the

Custom Kernel, Magisk, etc.) thread

.

ROMS

Google Pixel XL ROMs, Kernels, Recoveries, & Other

Themes, Apps, and Mods

Google Pixel XL Themes, Apps, and Mods