The Google Pixel 3 and the Pixel 3 XL can now be rooted using Magisk. If you’re one of those users who like to mod their smartphones, then having root can give you access to several cool and useful features.
To root the new Pixel phone, you will first need to unlock the bootloader. Unlocking the bootloader on the new Pixel smartphone is pretty easy and if you know what you’re doing, it’ll take only a few minutes or you can checkout our guide on how to unlock Bootloader on Google Pixel 3 and Pixel 3 XL.
Generally, rooting an Android device requires TWRP recovery. But with a modified boot image, you can root your Pixel 3 by flashing the Magisk patched modified boot directly from Fastboot to your device. This way you can root your Pixel 3/3 XL without installing TWRP recovery.
First and foremost, Google provides factory images for all of its devices. It’s not difficult to brick your device when trying to root it, so having a solid way to get your phone working again is important. Second, unlocking your bootloader and rooting your device will not void the warranty on your Pixel phone. Finally, there is a vibrant modding community on XDA, providing tweaks and custom operating systems for Google’s phones
How to root Pixel 3 and Pixel 3 XL with Magisk
Note: Make sure you take a complete backup of all important files on your Pixel 3 or Pixel 3 XL before attempting to root your device. Unlocking the bootloader will completely wipe all data on your Pixel phone, so a backup will come in handy.
Caution or warning: We do not recommend users to root their smartphones until and unless they completely understand the consequences of rooting a smartphone. Do note that, rooting a device will cause a lot of problems, where users will not be able to use some of the apps and other services.
Things you need to do first :
You’ll also need to complete the initial setup for your phone, including setting a PIN or password to unlock your lock screen. Once that’s complete, open your settings application.
- Scroll down to the bottom, then tap System.
- Tap About Phone.
- At the very bottom of the next screen, tap Build numberseven times. Enter your lock screen PIN or password. You’ve now unlocked developer options.
- Go back to the System
- Tap Developer options.
- Near the top of the page, you’ll see an option titled OEM unlocking.Tap the slider to enable this, then enter your lock screen password or PIN.
- Scroll down a bit, and you’ll see the Debugging
- Tap the slider next to USB debugging.
- Click OK.
Enable USB Debugging on Pixel 3 and pixel 3 XL
- Get the correct boot image for your :
- Download the factory image for your Pixel phone variant from this page.
- Extract the factory image zip file on your PC. You’ll get a few files along with another .zip file inside. Extract/unzip the second .zip file and you’ll get a boot.img file.
- Transfer the boot.img file to your Pixel 3 or Pixel 3 XL.
- Patch boot.img with Magisk Manager app:
- Download the Magisk Manager APK, and install it on your Pixel phone.
- Open Magisk Manager app on your phone and change the update channel to Beta and
tap on Install » select “Patch boot image file”» select the img file you transferred to your device in Step 1.3 above to patch it with Magisk..
- Once Magisk successfully patches the boot.img file, it’ll export it to your phone’s internal storage inside the MagiskManager directory as imgfile.
- Flash patched_boot.img to your Pixel 3 or Pixel 3 XL:
- Copy the imgfrom your phone to a separate folder on your PC.
- Connect your Pixel 3 phone to the PC.
└ Make sure USB debugging is enabled on the phone.
- Now open a command window inside the folder where you saved the patched_boot.img file on your PC. To do that, “Shift + Right click”on any empty white space inside the folder and then select “Open command window here” from the context menu.
- Once command window is open, issue the following command to boot into bootloader mode:
adb reboot bootloader
- When your device boots into bootloader mode, issue the following command to install/flash the patched_boot.img file to your Pixel 3 or Pixel 3 XL:
fastboot flash boot patched_boot.img
- Once the file is flashed, issue the following command to reboot your phone:
Once your Pixel phone boots, download/install any root checker app from the Play Store to verify root access. Cheers!