How to root Google Pixel 6, 6 Pro, and Pixel 6a
It is a step-by-step guide on how to safely root your Google Pixel 6, 6 Pro, and Pixel 6a using Magisk v25.2. First, we’ll unlock the bootloader using adb commands and then install the Magisk apk and patch init_boot.img file and copy to your device and flash it.
Rooting your Android device allows you to take full control of your device and unlock its hidden capabilities. If you’re looking to root their Google Pixel 6 or 6 Pro running Android 13, the process has never been easier thanks to the latest version of Magisk, version 25.2. Magisk is a popular rooting solution that offers a simple and straightforward way to root your device without compromising its stability or security.
Whether you’re a seasoned Android enthusiast or a newbie just starting out, this post is the perfect starting point for unlocking the full potential of your Google Pixel 6, 6 Pro, and 6a.
Also read: How to install LineageOS 20 on Pixel 6 Series
Requirements:
Before rooting your Google Pixel there are some requirements you need to fulfill,
- A factory unlocked Google Pixel 6, 6 Pro or 6a
- A USB cable
- ADB and Fastboot installed on your PC
- Bootloader Unlocked (Follow this guide to unlock bootloader first)
Download Files:
Download the following files and keep them in a separate folder on your PC;
- Google Pixel 6 Factory Image file (Download the specific build already installed on your phone, you can confirm from phone settings > about device)
- Magisk v25.2 apk
- Pixel USB drivers
- Android Platform tools (ADB and Fastboot drivers)
Instructions to Root Google Pixel 6, 6 Pro, and Pixel 6a with Magisk
Before you follow the instructions, it is really important to unlock the bootloader. If your device is carrier-locked, you won’t be able to enable OEM unlock from Developer options and therefore you cannot root your device.
Disclaimer: Unlocking the bootloader will void the warranty and wipe all data of your device so it is recommended to backup your important data before unlocking the bootloader.
To root a Google Pixel device using Magisk, you’ll need to follow these steps:
Step 1: Unlock the bootloader
I hope you’ve already unlocked the bootloader, you can follow our step-by-step guide on how to unlock bootloader on a Google Pixel.
Step 2: Download Factory Image File
You’ll need to download the factory image file for your device. All pixel devices have their respective code names, bluejay for Pixel 6a, Oriole for Pixel 6 and raven for Pixel 6 Pro so download the factory image build that is already installed on your device. You can confirm this from phone Settings > About device > Build Number. On the Google official website you’ll also find the factory images with build number mentioned.
Download link is given in the above download section.
Step 2: Download and Install Magisk apk
Download the latest version of Magisk from the official website and transfer it to your Google Pixel device. Link is given in the above download section, download the latest apk file and install it on your device, it will prompt you to enable install from unknown sources, accept it.
Step 3: Unzip the factory image file
Unzip the factory image file you have downloaded for your phone. In the same folder you’ll get another zip file, unzip it too to get the init_boot.img file and copy it to your Pixel device.
Step 4: Patch init_boot.img file
Open Magisk app on your device, tap on install and tap again on “Select and Patch a file” and browse the init_boot.img file you’ve just copied. It will patch the file and save it in the same folder. Now you’ve to transfer patched init_boot.img file to your PC to flash it using an adb command.
Step 5: Reboot the device in Fastboot
After Magisk is installed, Power off your phone and Press the Power + Volume Down keys together to boot into fastboot mode.
Step 6: Open Command Prompt
On your PC, open the plaform tools folder, hold the Windows button and right click in the folder and select open command here. Type the following commands to flash the patch boot file;
fastboot devices fastboot flash init_boot C:\Users\Imran\Desktop\Pixel 6 Root\platform-tools_r33.0.3-windows\platform-tools\magisk_patched-25200_xgjAS.img
(fastboot flash init_boot is the command and rest is the boot file location, you can drag the file after entering the command or paste the location directory)
Step 7: Verify root access
You can verify root access by downloading the root checker app from the Google Play Store.
Congratulations! You’ve successfully rooted Google Pixel 6, Pixel 6 Pro or Pixel 6a. Let me know in the comment section about your feedback, also make sure to check our Pixel 7 rooting guide, Google Pixel Android 13 Google Account Bypass, and how to factory reset Pixel 7 Pro and subscribe to our YouTube channel for guides and tutorials.