How to root a pixel device?

Become your Google Pixel super user

Jonathan Mercandalli
2 min readSep 22, 2023

This method only work for Google Pixel phones. Tested on Android 12 and Android 13.

Unspash image from Guido Coppa

Why to root a device?

  • To reproduce ANR by underclocking the CPU
  • To reduce the battery consuption by underclocking the CPU
  • To increase your device performances with a CPU overclock
  • To reduce your device RAM for debug reasons
  • To control the WIFI more precisely
  • Customize your system UI

Why not-to root a device?

  • For security reason: if you grant SuperUser right to an app, the app has full control to your device.

Root with Magisk

Step 1: Preparing the computer

  • Open the official tool from Google https://flash.android.com/
  • Go to the bottom of the page and click “troubleshooting tips”
  • Install Google USB driver, download the zip and install the driver

Step 2: Preparing the phone

  • Go to the settings > about and click the build number to be a developer
  • Click developer Option, unlock OEM unlock and enable USB debugging
  • Connect your phone to your computer and accept the popup

Step 3: Unlocking the bootloader

  • Go to https://flash.android.com/
  • Select select the last public release for your device
  • Uncheck the “Lock bootloader”, “Skip Secondary”, “Force debuggable”
  • Check “Wip Device”, “Force Flash all Partitions”, “Disable Verity”, “Disable Verification”
  • Click Install then use the the volume button to select “Unlock the bootloader” after the phone restart
  • Confirm with the power button
  • The process should continue on computer side
  • Resetup the device, Developer options, USB Debugging.

Step 4: Flash Magisk

  • Download the Android Platform-Tools to prepare fastboot via platform-tools
  • Download latest Magisk apk and install it
  • Download you phone rom image
  • Unzip the image, then unzip the zip inside to copy the boot.img into your device
  • Then, with Magisk, install the boot.img file.
  • A file should now exists on your phone Download folder magisk_<...>.img
  • Move the magisk_<...>.img into your computer
  • Then adb reboot bootloader
  • Then fastboot flash boot magisk_<...>.img

Source

Big thank you to akvaithi from YouTube: https://www.youtube.com/watch?v=TJBMmuMp9ZM

--

--