Flashing Instructions for Pixel 7/7PRO
Anthony PyrtlePrerequisites
Images | IMG Install Instructions | Magisk | Unlock Bootloader
Install Instruction
- Be on latest firmware
- download zip
- fastboot -w update .zip (clean)
- fastboot update .zip (dirty)
How to get Root
Step 1: Download and Install Magisk apk
Download the latest version of Magisk from the official website and transfer it to your Google Pixel device.
Step 2: 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 3: 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 4: 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 5: 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, below is an example;
fastboot devices fastboot flash init_boot C:\Users\Imran\Desktop\Pixel 7 Root\platform-tools_r33.0.3-windows\platform-tools\magisk_patched-25200_xgjAS.img
Step 6: Verify root access
You can verify root access by downloading the root checker app from the Google Play Store.