[Google Pixel 4 XL Guides, News, & Discussion] Homeboy76:
[Guide] Root Pixel 4 XL With Magisk Android 13

Android Security Bulletin—Feburary 2023

Pixel Update Bulletin—Feburary 2023​

Introduction

This Guide is for Pixel 4 XL owners that want to install a custom ROM and Root it. The Guide is divided into three parts:

Information

,

Instructions

, and

Other

.

~ ~ ~ Part I - INFORMATION ~ ~ ~

Disclaimer

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

Prerequisites

A Pixel 4 XL phone with an unlocked bootloader.

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.

Important Notes:

a. 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.​

b.

Update Platform Tools, regularly

, for optimal performance.​

c. Need Google's USB Drivers for your Pixel Phone?​

NEW

"...make a 100% clean install of ANY Magisk version or fork without PC or TWRP."

Magisk General Support / Discussion

This is the place for general support and discussion regarding "Public Releases", which includes both stable and beta releases. All information, including troubleshoot guides and notes, are in the Announcement Thread

xdaforums.com

Update(s)

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

SafetyNet - osm0sis Play Integrity Fork

Platform-tools - 34.0.4 Jul 2023

Custom ROMS and Kernels

Google Pixel 4 XL ROMs, Kernels, Recoveries, & Other

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

bradical711 - Instructions to Pass Safety Net

~ ~ ~ Part II - INSTRUCTIONS ~ ~ ~

(The Instructions listed below are not

steps

, they are

individual sets

of instructions for Pixel 4 XL.)

Open a Command Prompt/Boot Fastboot Mode/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 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.

Notes: After unlocking your bootloader, you'll see a warning: The bootloader is unlocked and...

You will see this warning until, you relock the bootloader

.

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

Return the phone to Stock before locking the bootloader,

failure to do so could brick your phone

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.

ADB Sideload

Stock Recovery

Full OTA Images for Nexus and Pixel Devices - Updating instructions

Custom Recovery TWRP

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

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.

Set Magisk App Update Channel/Update Magisk

Set Magisk App Update Channel

Open Magisk App > Tap Settings icon > 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/Download

Tap, Reboot

Done!

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

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 4 XL ROMs, Kernels, Recoveries, & Other

Themes, Apps, and Mods

Google Pixel 4 XL Themes, Apps, and Mods