Google Pixel Root Guide
Root any Google Pixel device with the easiest rooting process in Android. Clean bootloader unlock, official factory images, and Magisk support.
QUICK START
For experienced users: Jump to Pixel Flasher (GUI Tool) for the easiest one-click rooting method.
Quick Navigation
- Prerequisites
- Device Compatibility
- Bootloader Unlock
- Root Methods
- Post-Root Setup
- OTA Updates
- Troubleshooting
Related Guides:
- Main Rooting Guide - Universal rooting concepts
- Bootloader Unlocking - Detailed unlock guide
- Magisk Guide - Complete Magisk documentation
- KernelSU Guide - Alternative root method
Prerequisites
DATA WIPE WARNING
Unlocking bootloader erases everything on your device. Backup all data first!
Quick Checklist
Hardware:
- ✅ Google Pixel device (any model)
- ✅ USB-C cable (quality matters)
- ✅ Computer (Windows/macOS/Linux)
- ✅ 50%+ battery charge
Software Downloads:
- Android Platform Tools - ADB/Fastboot
- Google USB Drivers - Windows only
- Magisk APK - Latest stable
- Google Pixel / Pixel XL (1st gen): use Magisk v30.6 until issue #9808 is resolved.
- Pixel Flasher - GUI tool (optional)
Enable Developer Options
- Settings → About phone → Tap Build number 7 times
- Settings → Developer options → Enable:
- ✅ OEM unlocking (critical)
- ✅ USB debugging
Test ADB Connection
# Connect device via USB, accept debugging prompt
adb devices
# Should show device serial numberDevice Compatibility
Google Pixel devices are the most root-friendly Android phones. All Pixel models (1 through current generation) support bootloader unlocking and rooting.
Incompatible Devices
CARRIER LOCKS
Verizon and some carrier-locked models may have OEM unlocking permanently disabled. Always verify "OEM unlocking" is available in Developer Options before purchasing a device for rooting.
💡 Rather not unlock at all?
Root My Pixel uses the GhostLock kernel bug (CVE-2026-43499) to give supported Pixel devices temporary, session-only root without unlocking the bootloader - staged on-device via Shizuku, cleared by rebooting. See Root Without Unlocking the Bootloader.
Image Type Quick Reference
| Device Generation | Image to Patch |
|---|---|
| Pixel 7 and newer | init_boot.img |
| Pixel 6 (Android 13+) | init_boot.img |
| Pixel 6 (Android 12) | boot.img |
| Pixel 5 and older | boot.img |
QUICK CHECK
Open Magisk app → Check "Ramdisk" field:
- Yes = Use
boot.img - No = Use
init_boot.img
Unlock Bootloader
Step 1: Enter Fastboot
adb reboot bootloader
# OR manually: Power off → Hold Volume Down + PowerStep 2: Unlock
fastboot flashing unlock- Use Volume keys to select "UNLOCK THE BOOTLOADER"
- Press Power to confirm
- Device wipes and reboots automatically
UNLOCK TIME
Process takes 30-60 seconds. Device will show unlocked bootloader warning on every boot (normal).
Step 3: Re-enable USB Debugging
After setup, re-enable Developer Options and USB Debugging
Root Installation Methods
Know Your Image Type
| Device | Android Version | Image to Patch |
|---|---|---|
| Pixel 7/8/9/10 | All versions | init_boot.img |
| Pixel 6 | Android 13+ | init_boot.img |
| Pixel 6 | Android 12 | boot.img |
| Pixel 5 and older | All versions | boot.img |
QUICK CHECK
Open Magisk app → Check "Ramdisk" field:
- Yes = Use boot.img
- No = Use init_boot.img
Method 0: Pixel Flasher (GUI Tool) - EASIEST
Perfect for beginners - One-click rooting with GUI interface
Pixel Flasher automates the entire rooting process:
Features:
- ✅ Automatic boot image extraction
- ✅ Automatic Magisk patching
- ✅ OTA installation with root preservation
- ✅ Module management
- ✅ Backup/restore functionality
- ✅ Works on Windows, macOS, Linux
Quick Steps:
Download and Install
- Get latest release from GitHub
- Run installer for your OS
Connect Device
- Enable USB debugging
- Connect via USB
- Pixel Flasher auto-detects device
Root Device
- Click "Process Firmware"
- Select factory image or let tool download
- Choose "Patch boot with Magisk"
- Click "Flash"
- Tool handles everything automatically
Verify Root
- Device reboots rooted
- Open Magisk to verify
PIXEL FLASHER ADVANTAGES
- No command line needed
- Automatic version detection
- Built-in safety checks
- OTA update support
- Batch operations support
Method 1: Manual Boot Image Patching
For users who prefer manual control
Step 1: Get Factory Image
- Visit Google Factory Images
- Find your exact device and build number
- Download matching factory image
Step 2: Extract Boot Image
# Extract factory ZIP
unzip pixel-factory-image.zip
cd extracted-folder/
unzip image-pixel-*.zip
# You now have boot.img or init_boot.imgStep 3: Patch with Magisk
# Transfer to device
adb push init_boot.img /sdcard/Download/ # Or boot.img
# Install Magisk APK on device
# Open Magisk → Install → Select and Patch a File
# Select the transferred image
# Result: magisk_patched_*.imgStep 4: Flash Patched Image
# Pull patched image
adb pull /sdcard/Download/magisk_patched_*.img
# Flash it
adb reboot bootloader
fastboot flash init_boot magisk_patched_*.img # Or "boot" for older devices
fastboot rebootMethod 2: Temporary Root Test
Test root without permanent changes
adb reboot bootloader
fastboot boot magisk_patched_*.img # Temporary boot
# Device boots with temporary root
# If satisfied, use Method 1 to flash permanentlyPost-Root Setup
Essential Magisk Configuration
Settings:
- ✅ Hide Magisk app - For banking apps
- ✅ Zygisk - Enable for modules
- ✅ Enforce DenyList - Root hiding
DenyList Apps:
- Google Play Services
- Banking apps
- Payment apps (Google Pay)
- Streaming apps (Netflix)
Recommended Modules
If a banking app still detects root
Pixels usually support KernelSU in LKM mode, which keeps the stock kernel and hides su and mounts per app. See the KernelSU Guide before switching from Magisk.
OTA Updates with Root
Automatic Method (Pixel Flasher)
- Open Pixel Flasher
- Select "Process OTA"
- Tool preserves root automatically
Manual Method (Magisk)
- Download OTA in Settings (don't reboot)
- Open Magisk → Install → Install to Inactive Slot
- Reboot when prompted
- Root preserved through update
Troubleshooting
🔧 Common Issues & Fixes
OEM Unlocking Greyed Out
- Remove all Google accounts
- Wait 7 days after reset
- Check carrier lock status
Bootloop After Root
# Flash stock image
fastboot flash boot stock_boot.img # Or init_boot
fastboot rebootPlay Integrity Fails
Follow the module stack and configuration order in Play Integrity and Banking Apps.
Lost Root After OTA
- Extract new boot image
- Patch with Magisk
- Flash patched image
Unroot / Factory Reset
Remove Root Only
adb reboot bootloader
fastboot flash init_boot stock_init_boot.img # Or boot.img
fastboot rebootComplete Stock Restore
Option 1: Pixel Flash Tool (Web)
- Visit flash.android.com
- Connect device → Select build → Install
Option 2: Flash-all Script
# Extract factory image
./flash-all.sh # Linux/Mac
flash-all.bat # WindowsRelock Bootloader
DANGER
Only relock when COMPLETELY stock!
fastboot flashing lockQuick Reference
Essential Links
Official Google:
Tools:
- Pixel Flasher - GUI rooting tool
- Platform Tools - ADB/Fastboot
- Magisk - Root solution
Community:
- XDA Pixel Forums
- r/GooglePixel
- GrapheneOS - Privacy ROM
- CalyxOS - Privacy ROM
Command Cheat Sheet
# Bootloader
adb reboot bootloader # Enter fastboot
fastboot flashing unlock # Unlock bootloader
fastboot flashing lock # Lock bootloader
# Flashing
fastboot flash boot image.img # Flash boot (old Pixels)
fastboot flash init_boot image.img # Flash init_boot (new Pixels)
fastboot boot image.img # Temporary boot
# Verification
adb shell su -c id # Check root accessNext Steps
- Root setup: Post-root configuration
- Tools: Apps and modules
- Common tasks: Debloating · Ad blocking
- Optional extensions: LSPosed · Custom ROM installation
WARNING
For Pixel 1 (first-generation Pixel) devices, stay on Magisk v30.6 until the upstream issue is resolved.