In this article, we will be showing you how to gain root access to this smartphone as well as its Pro model.
To get the root access on this device we need the canary build of Magisk manager, as currently we are running android 12 on our device.
Before installing Magisk Manager we need to have some things set up ahead of time. The two main requirements of this step-by-step guide are that we need to have an unlocked bootloader and we will need to disable both verity and verification of the device.
We have already done tutorials showing how to do these two tasks. We have done a bootloader unlock tutorial as well as we have shown how to disable verity and verification. You need to do these two steps before the start of gaining root access.
We have already completed these two requirements so we can go ahead and install the Magisk manager canary build. You can install the Magisk Canary build from its GitHub page. If you already have Magisk installed on your device then you can go into the application itself and update to the canary build via the update channel option.
After that, we then need to download the factory images file or the firmware file of the December security update for the Google Pixel 6 or the Pixel 6 Pro if you have the Pro model. The firmware file which you download needs to match the exact same version that you are currently on your device. You can check the firmware version of your device under the build number on the about phone page.
You need to download the firmware file on your PC and then extract it so that you can get the boot image file.
When you extract the contents of the firmware file, you will get a folder with a number of files and then we need to extract another compressed file that is present in that folder.
We extract the contents of that file which gives us another folder that contains the number of files including the “boot.img” file.
The “boot.img” is the file that we need to copy to our Google Pixel and patch it with the Magisk that we installed earlier.
Once you copy that “boot.image” file on your device, open up the Magisk app.
Tap on the install option at the top section next to Magisk.
Then tap on “select and patch a file” at the top section. Once you tap on that option, a file explorer will open from where you need to the browse and select that “boot.image” file which you just copied from your PC.
After selecting the file, tap on the “let’s go” option again in the same top section.
The Canary build of the Magisk app will start patching that file and you need to wait a little bit for the patching to complete.
If everything’s gone correctly then you will get a newly patched file with the name “Magisk_patched” saved in the download folder on your device.
Copy this file onto your PC so that we can flash it via the fastboot command.
Once you have copied that file to the PC, the next step is to boot your device into Fastboot Mode.
To do that power off your device completely, press and hold the volume down and power the button at the same time to enter into the Fastboot Mode.
You can also use the command “adb reboot bootloader” in the ADB and Fastboot Mode tool while your device is connected to the PC to enter into the Fastboot Mode.
You need to make sure to copy the “Magisk_patched” file in the same folder where ADB and Fastboot tools are installed.
With that, do open up a Windows PowerShell or a command prompt or a terminal in the same adb and Fastboot tools folder. That is important as the file needs to be in the same adb and Fastboot tool folder and the command prompt also needs to be opened up within that folder.
Remember your device is in Fastboot Mode and it should be plugged into the PC with a USB cable.
Next, type out the command in the Windows PowerShell “Fastboot flash boot and the name of that Magisk file that you just copied from your phone.
With that all done we simply just need to press enter on the keyboard. You should see a couple of things happen. You should see Fastboot sending that patched image to a boot partition, this could be “boot a” or “boot b” depending on how your device is set up.
There must be an “Okay” sign while it reads and write that file to the boot partition.
Now with that done the process is complete. Just make sure that the start option is highlighted on your device at the top next to the power button. If there is something else highlighted then you need to press the volume button to change the option to “Start” but by default the start option should be highlighted.
So, with that option highlighted just press the power button to select that option and now we’re going to wait for the boot cycle to complete.
Your Google Pixel 6 will boot like normal and fast as you didn’t do a factory reset.
Open The Play Store on your device once it boots up and download the Root checker app.
Open the Root checker app, give all permissions and tap on verify root. You will be notified whether you have gained root access or not.
Experiencing difficulties with your Device, check out our “How To” page on how to resolve some of these issues.