How to Root Google Pixel 4 and Pixel 4a 5g

Are you looking to root your Google Pixel device but aren’t sure where to start? You’ve come to the right place! In this blog post, we’ll guide you through the process of rooting your Google Pixel 4, Pixel 4 XL, Pixel 4a 5G, and other Pixel models using a powerful and user-friendly tool called PixelFlasher. Rooting your device allows you to unlock its full potential, enabling you to customize it to your liking and access powerful features not available to regular users.


Requirements: Before Rooting Pixel 4/ 4a/ 4a 5g

Before we dive into the rooting process, you’ll need to download the following files:

  1. Download the latest version from the official website.
  2. Download the latest factory image for your specific Pixel device from the Google Developers website.
  3. Your phone bootloader must be unlocked, follow this guide to unlock bootloader of your Pixel phone.
  4. Download Android Platform Tools version R34.0.4

Once you have these files downloaded and saved on your computer, you’re ready to start!

Step 1: Enable Developer Options and USB Debugging

First, you’ll need to enable Developer Options and USB Debugging on your Pixel device. To do this, follow these steps:

  1. Go to ‘Settings’ > ‘About phone.’
  2. Find ‘Build number’ and tap it 7 times to enable Developer Options.
  3. Go back to the main ‘Settings’ menu and tap on ‘System’ > ‘Developer options.’
  4. Scroll down and enable ‘USB debugging.

You can also follow this tutorial on how to enable Developer options on Android.

Step 2: Move Files to new Folder

Move all the downloaded files to a single folder. You need to unzip the Platform tools folder and rest keep the factory image file as it is.

Step 3: Run PixelFlasher.exe

Now run the PixelFlasher Tool and do the followings:

  1. Click on “Browse” button as shown below in the screenshot to select the unzip Android Platform tools folder.
  2. Connect your phone to PC and click on “Scan” to select your pixel phone.
  3. Now click on “Browse” to select Factory Image zip file.
  4. Next, click on “Rocket” icon to extract and process the boot.img file from the factory image zip.
  5. It will take a moment to process, then select the image as shown in the screenshot and click on “Patch” button, it will give you a warning and click ok to install Magisk Manager on your phone.

  6. Finally, click on “Flash Boot” button and it will boot your phone to fastboot mode and within seconds it will flash the boot.img or init_boot.img file on your phone.
  7. That’s it, you can click on “Scan” button to reselect your device and click on Reboot to System. You can also manually reboot your phone.
  8. After reboot, open Magisk Manager app, it will ask you to reboot your phone to complete the installation.
  9. Finally, install the root check from Play Store and run to verify root access.

Congratulations! Your Pixel 4/ 4a/ 4a 5G device is now successfully rooted.


Rooting your Google Pixel device using the PixelFlasher tool is a simple and straightforward process that allows you to unlock your device’s full potential. With root access, you can customize your phone by installing custom ROM, kernels, recovery, modify system files, get rid of system apps that were previously not possible. We hope this guide has been helpful in guiding you through the rooting process. If you have any questions or need further assistance, feel free to leave a comment below. Happy rooting!

Also read:

Share it with friends
Imran Aftab

Hello, I'm Imran Aftab, a tech enthusiast using Android, iOS, and Windows. Hardware expert for Gaming & Crypto mining rigs. I have been writing on tech since 2013, starting with ohguideme, then Androidcentral. I have written and published several guides and tutorials on how to root Android, flash custom ROM, recovery, and jailbreak iPhone, and have written several guides on how to bypass FRP. I also worked in a phone repair shop, so I have pretty good experience with mobile software and troubleshooting. So, all the guides you see here have been tested and confirmed to work.

Click Here to Leave a Comment Below 0 comments