
How to Root Google Pixel 9 Using Magisk – Step-by-Step Guide
Share
Rooting your Google Pixel 9 gives you full control over your device, allowing you to customize, install powerful Magisk modules, and remove unwanted system apps. This guide will show you how to root your Pixel 9 safely using Magisk without breaking important features like Google Pay and OTA updates.
Warning & Disclaimer
Before proceeding, keep in mind:
-
Rooting voids your warranty.
-
There is always a risk of bricking your device.
-
Some apps (like banking apps) may stop working due to SafetyNet detection.
-
Follow the steps carefully to avoid issues.
Prerequisites
Before you start, make sure you have:
-
A Google Pixel 9 with an unlocked bootloader (Steps included below).
-
A PC with ADB & Fastboot installed.
-
The latest factory image for your device from Google's website.
-
The latest Magisk APK (download from GitHub).
-
A USB-C cable to connect your phone to the PC.
-
A full backup of your important data (this process will erase everything).
Step 1: Unlock Bootloader
To root your device, you need to unlock the bootloader first.
1. Enable Developer Options & USB Debugging
-
Go to Settings > About Phone.
-
Tap Build Number 7 times until Developer Options are unlocked.
-
Go to Settings > System > Developer Options.
-
Enable OEM Unlocking and USB Debugging.
2. Unlock Bootloader via Fastboot
-
Connect your Pixel 9 to your PC and open a command prompt/terminal.
-
Type the following command to boot into Fastboot mode:
adb reboot bootloader
-
Check if the device is detected using:
fastboot devices
-
If your device is recognized, unlock the bootloader with:
fastboot flashing unlock
-
Use the volume keys to select "Yes" and confirm by pressing the power button.
-
Your phone will factory reset and reboot. Set it up again before continuing.
Step 2: Patch Boot Image with Magisk
-
Download the factory image for your Pixel 9 from Google's official site.
-
Extract the ZIP file and find the
boot.img
file inside. -
Transfer
boot.img
to your Pixel 9. -
Open Magisk Manager and tap Install.
-
Choose Select and Patch a File, then locate and select
boot.img
. -
Magisk will patch the image and save it as
magisk_patched.img
in theDownload
folder. -
Transfer
magisk_patched.img
back to your PC.
Step 3: Flash Patched Boot Image
-
Boot your phone into Fastboot mode again:
adb reboot bootloader
-
Flash the patched boot image using:
fastboot flash boot magisk_patched.img
-
Reboot your phone:
fastboot reboot
-
Once booted, install Magisk Manager APK if it's not already installed.
-
Open the app and follow any setup prompts.
Step 4: Verify Root & Pass SafetyNet
-
Open Magisk Manager and check if root access is granted.
-
Go to Settings > Enable Zygisk.
-
Install SafetyNet Fix Module from Magisk Modules.
-
Use Shamiko Module to hide root from banking apps.
-
Reboot your device.
Final Thoughts
Congratulations! 🎉 Your Google Pixel 9 is now successfully rooted with Magisk. You can now install powerful root apps, customize your device, and tweak performance settings. Be sure to regularly update Magisk to maintain compatibility with security updates.
If you have any questions or issues, drop them in the comments!