Thanks to XDA developer TopJohnWu, he released Magisk V16.1 which is now fully compatible with the latest Android P (9.0) so you can easily root your Pixel phone on the most recent Android P Preview and will work. works well when Android P is officially available. Please request a way to root Android Pie (9.0) below:

IMPORTANT NOTE: These initial instructions assume that you only need to unlock your bootloader !!! If you’ve unlocked the bootloader, follow steps 1 through 13 in our original Pixel 2 root guide (works for both Pixel / Pixel 2).

This root method is for the following Pixel models:

  • Pixel
  • Pixel XL
  • Pixel 2
  • Pixel 2XL

How To Root Android 9.0 Pie! [Pixel/Pixel XL/Pixel 2/Pixel 2XL]

Step 1. Remove your security locks like fingerprint or PIN and set screen lock to “swipe” or “none”. You’ll be able to re-add these later after rooting. We do this so TWRP doesn’t must decrypt your phone.

Remove your security locks

Step 2. Connect your Pixel to your computer and set “File Transfer” ON so you’ll be ready to transfer files thereto from your computer.

file transfer
file transfer

Step 3. Download the newest TWRP from for YOUR model of Pixel.

Grab both the IMAGE(file ending in img) and therefore the INSTALLER(file ending in zip). Attempt to get the most recent version so you get the most recent version of TWRP.


Step 4. Also download Windows drivers(no drivers needed for Mac or Linux),, and Magisk.


Download Windows drivers for Pixel phones


Download Magisk(UPDATED: Use Magisk v16.7 for Android P 9.0 Official)


Unzip the Windows driver and fastboot zip files, you must get two new folders.

Step 5. Copy and paste the TWRP IMAGE file into the fastboot folder.

Step 6. Copy the Magisk and TWRP ZIP file over to your Pixel.

Step 7. Power off your Pixel, then hold down Volume Down and so the facility buttons together for about 5 seconds until you enter the bootloader mode.

Pie 9 Power off

The device state should read “unlocked”, which suggests you have got unlocked your bootloader.


Connect a USB cable from your Pixel to your computer.

Pie 9.0 connect usb

Step 8. If using Windows, install the drivers.

install the drivers-pie-9.0

Step 9. Next, open an electronic communication for Windows(or terminal for Mac/Linux) and type:

*Note: Replace “xxx” below with the particular filename as every Pixel model uses different file names together with different TWRP versions within the file name.

For Windows:

cd Downloads

cd fastboot

fastboot boot twrp-xxx.img

For Mac:

cd Downloads

cd fastboot

chmod 755 *

./fastboot-mac boot twrp-xxx.img

For Linux:

cd Downloads

cd fastboot

chmod 755 *
sudo ./fastboot-linux boot twrp-xxx.img

Since Pixel now not incorporates a separate recovery partition, doing above will boot you into TWRP temporarily.

TWRP temporarily.

Step 10. Once in TWRP recovery, install the TWRP ZIP file so you’ll install it permanently. Also, after you put in a different ROM or firmware, you’ll have to flash this TWRP ZIP file so keep it handy for the following time you place in an exceedingly different ROM.


install pie 9.0



You can use the reboot menu to reboot into recovery and check your TWRP is now permanent.

Step 11. Next, install the Magisk ZIP file.


Step 12. After reboot, you’ve got to seek out the Magisk application in your application drawer. Run it and if you see a green checkmark next to the installed version, you’re completely rooted!

Magisk application

Verify you’ve got full root by installing a free Titanium Backup app on the Play Store. If you see a Superuser request window like below, you’re GOOD TO GO! Pat yourself on the rear and swank to your friends as you’ve got the foremost recent Android software along with root!!!


Please enter your comment!
Please enter your name here