How to Root Google Pixel 6, 7, 8, or 9 Series (All Models) – Step-by-Step Tutorial
Supported Models:
Pixel 6, 6 Pro, 6a
Pixel 7, 7 Pro, 7a
Pixel 8, 8 Pro, 8a
Pixel 9, 9 Pro (and upcoming variants with similar bootloader structure)
DISCLAIMER
Rooting your device voids warranty and may break OTA updates. Proceed at your own risk. GSM6 or the author is not responsible for any damage or data loss.
REQUIREMENTS
Unlocked bootloader
ADB & Fastboot tools installed
Magisk ZIP / APK
Stock firmware (for boot.img extraction)
PC with USB cable
Basic terminal/command knowledge
STEP 1: Unlock Bootloader
Enable Developer Options:
Settings → About Phone → Tap Build Number 7 times
Enable OEM Unlocking and USB Debugging
Connect your device to PC via USB
Open terminal or CMD and type:
adb devices
adb reboot bootloader
Once in Fastboot mode:
fastboot flashing unlock
Confirm unlock on device screen
(⚠ This will factory reset your phone!)
STEP 2: Get Stock init_boot.img
You MUST patch the exact init_boot.img matching your device build number.
Download factory image for your Pixel from Google:
(
Extract the downloaded .zip → Find the init_boot.img inside image-xxxx.zip
STEP 3: Patch Boot.img using Magisk
Install Magisk APK on your Pixel:
Copy the init_boot.img to your phone
Open Magisk → Install → Select and Patch a File
Choose your init_boot.img → Magisk will output magisk_patched.img
Copy magisk_patched.img back to your PC
STEP 4: Flash Patched init_Boot Image
Reboot into Fastboot mode:
adb reboot bootloader
Flash the patched init_boot:
fastboot flash init_boot magisk_patched.img
Once done:
fastboot reboot
ROOT VERIFIED
Open Magisk app after reboot. If it shows installed, your Pixel is rooted successfully.
OPTIONAL: SafetyNet, Zygisk, Hide Root
Enable Zygisk inside Magisk settings
Use MagiskHide Props Config or LSPosed if apps detect root
Pass SafetyNet using Universal SafetyNet Fix or Play Integrity Fix
DOWNLOADS
ADB & Fastboot Drivers (
Recommended USB drivers (
Magisk Latest (GitHub) (
Google Pixel Factory Images (
SafetyNet Fix
NEED HELP?
Ask your questions below — mention your Pixel model, Android version, and exact issue. We'll help you step-by-step.