Google has released two much-awaited smartphones in mid-October named Pixel 4 & Pixel 4 XL. Pixel 4 phones have unique and futuristic features like hand gestures where you have to wave your hand and control your phone. But this is not available in all the counties. You can also improve and manage your Pixel 4 like the way you want. Here you will know how to root Pixel 4 & Pixel 4 XL.
We will be using only Magisk to root Google Pixel 4 & Pixel 4 XL. Recently Google released the kernel source of both the phones, which means development must have already started. And many of the developers are already working on it. But as of now, you can root your Pixel 4 without any problem.
Rooting will open several customizing options that users don’t get by default. You can set custom Fonts, custom boot Animation, and much more. Rooting also allows taking full system backup of your phone to restore data if anything goes wrong. Other than that, you can also install various modules to get extra features on your Pixel 4 or Pixel 4 XL. Let’s now begin the Pixel 4 rooting guide.
Root Google Pixel 4 and Pixel 4 XL
In this guide, we will only use the Magisk to root Pixel 4. It is the best method for users who don’t have a custom recovery. But if you have a custom recovery like TWRP, then you can directly flash Magisk zip to root Pixel 4. I have divided the long guide into a few short guides for your convenience. But before you start following the steps, first make sure to collect all the tools in prerequisites.
Prerequisites
- Take a full backup of your phone
- Download Canary Magisk Manager APK (Latest)
- Install ADB & Fastboot drivers on your PC
- Download Firmware of your phone (Skip if you have boot image)
- Bootloader must be unlocked on your phone (Follow this guide)
Patch Boot Image with Magisk
To root Pixel 4 or Pixel 4 XL, you need first to patch the boot image which comes in the firmware. To patch the boot image, we will use the Magisk Manager App (developed by John Wu).
- Transfer the downloaded Firmware file to your computer.
- Extract the Firmware zip file and extract the boot.img.
- Copy the boot.img to your phone storage.
- Install the latest Magisk Manager on your Pixel 4/4 XL. After installing if it shows to update then update it.
- Open the Magisk Manager App and click Install > Install (First one).
- Now choose the option ‘Select and Patch a File’.
- Browse and select the boot.img file and the Magisk Manager will start patching the file.
- After patching the file, it will save the patched file (magisk_patched.img) in the Download folder.
This is how you can patch any boot image using Magisk Manager. After patching, you need to install the patch file on your Phone to root your Pixel 4.
Steps to Root Pixel 4 & Pixel 4 XL
Follow the below steps to root Pixel 4 by installing the patched image.
- Copy the magisk_patched.img file to your computer in C:\adb location.
- Rename the magisk_patched to boot.img.
- Power off your phone and boot your phone into Bootloader Mode.
- Then connect your phone to PC using a USB cable.
- In C:\adb location press Shift + Right click on an empty area and select ‘Open PowerShell window here’ or ‘Open Command window here’.
- In the Command/PowerShell window, enter the below command to check if the device is connected or not. Given command should return some id.
-
fastboot devices
-
- Now enter the below command to flash the boot.img to root Pixel 4 & Pixel 4 XL.
-
fastboot flash boot boot.img
-
- After entering the above command, your Pixel 4 will be rooted.
- Now restart the device and install the Magisk Manager, only if not installed.
- Open the Magisk Manager and follow the in-app instructions.
- Then the device will auto reboot, and that’s all.
Now your Pixel 4 is successfully rooted. Now you will be able to take full advantage of root like taking a full backup, setting custom fonts, and more. Magisk is the best option to root because even after rooting the phone will pass SafetyNet. Also, you can hide the root access from any particular app from the Magisk Hide feature.
So there you have it the complete guide on how to root Google Pixel 4 & Pixel 4 XL. If you have any queries, let us know in the comment section.
Also Read: