Comprehensive Guide to Unlock Bootloader and Root Google Pixel 5

In this guide, we will show you how to root Google Pixel 5 based on Android 11 or higher. The Pixel series from Google has always been the fan favorite, and there are many reasons for the same. To begin with, the cleanest stock Android experience. Along the same lines, you are guaranteed the fastest OS upgrades and security patches. Then it beholds probably the best smartphone camera that one could think of. But that’s not it.

Once you step into the custom development, you will able to explore the device’s full potential. Pixel devices have are always the most active devices in this domain, and its fifth iteration is no different either. Many custom binaries, tweaks, and modifications are already available for this device. And this guide will make use of one of the most important ones. Today, we will show you the steps to root the Google Pixel 5 based on Android 11 or higher.

root pixel 5 android 11

Benefits and Risks of a Rooted Device

There is a plentitude of advantages that a rooted device could make full use of. These include the ability to gain access to the system partition, flash tons of mods, Magisk Modules, Xposed Frameworks, etc. Furthermore, if you root the device via TWRP, then the latter has a plethora of associated benefits as well. For example, you could install ZIP and IMG files, take Nandroid backups, and use other advanced recovery functionalities.

However, rooting might lead to a few issues as well. Since the process requires unlocking the bootloader, it will make your device warranty null and void. Along the same lines, apps such as Pokemon Go, Netflix, and Google Pay might not function as expected. The entire process is quite risky and might result in a boot loop or bricked device if not done correctly. So with that said, if you are ready to proceed ahead, then here are the steps to root Google Pixel 5 based on Android 11 or higher version.

How to Root Google Pixel 5

Before we list out the instructions, there are a few prerequisites that you need to go through. So head over to the below and make sure to check-mark all the mentioned requirements.


That’s it. These were the required files. You may now proceed with the steps to root Google Pixel 5 based on Android 11 R.

STEP 1: Unlock Bootloader

To begin with, you will have to unlock the bootloader on your device. Make sure you have enabled OEM Unlocking and USB Debugging and then follow the below steps.

  1. Connect your device to the PC via USB Cable.
  2. Head over to the platform-tools folder, type in CMD in the address bar, and hit Enter. This will launch the Command Prompt.
    cmd platform-tools
  3. Type in the following command in the CMD window to boot your device to Fastboot Mode:
    adb reboot bootloader
  4. Now execute the following command to unlock the device’s bootloader
    fastboot flashing unlock
  5. You will now get a prompt on your device. Use the Volume keys to select Yes and then hit the Power key to confirm the decision.

That’s it. The device should now boot to the OS. The first boot will take some time, this is completely normal. Once booted up, sign in with your Google ID and set it up. Then proceed with the below steps to root your Pixel 5.

STEP 2: Extract Stock Boot Image

The factory image that you have downloaded for your device will be in ZIP format. Extract it and then you should see another folder by the name (where version will be the current firmware build number). Now extract this ZIP file and you should see various partition files. Copy the boot.img file from there and transfer it to your device.

STEP 3: Patch Stock Boot Image via Magisk

  1. Launch the Magisk Manager on your device.
  2. Depending on whether you have installed the Beta or Canary version, set the Update Channel accordingly.
  3. This could be done by going to Settings > Update Channel > Select Beta or Canary.
    magisk update channel pixel 5 root
  4. Once that is done, tap on Install next to Magisk.
  5. Then choose Select and Patch a File.
    magisk patch boot.img
  6. Browse to the extracted stock boot.img file and select it.
  7. Finally, hit the Let’s Go button situated at the top right.

The patching process will now begin and should only take a couple of seconds. Once done the magisk_patched.img file be stored under the Downloads folder. It’s now time to flash this file and gain root access on your Pixel 5 running Android 11.

STEP 4: Flash Patched Boot Image

  1. Connect your device to the PC via USB cable. Make sure that USB Debugging is enabled.
  2. Now transfer the magisk_patched.img file from your device to the platform-tools folder on your PC.
  3. Inside the same folder, type in CMD in the address bar, and hit Enter to launch the CMD window.
  4. Then type in the following command to boot your device to Fastboot Mode:
    adb reboot bootloader
  5. Once that is done, execute the following command to flash the patched boot.img file:
    fastboot flash boot magisk_patched.img
  6. You may now reboot the device to the OS using the below command:
    fastboot reboot

That’s it. These were the steps to root your Pixel 5 running the Android 11 or higher version. If you have any queries concerning the steps above, do let us know in the comments section below. Rounding off, here are some iPhone Tips and TricksPC tips and tricks, and Android Tips and Tricks you should also check out.


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.