To Root your Pixel device make sure you have updated your Pixel device first with Android 7.1.2 N2G47E Nougat. Your basic root status will be lost which mean you cannot run your any root app. After updating Android 7.1.2 official firmware you will able to see your root N2G47E Android on Pixel & Pixel XL.
How to Root Google Pixel and Pixel XL to Android 7.1.2 N2G47E:
Following are the some steps which are mention as below.
You may also like: How to enable USB debugging mode on Android with these simple steps
Download Required Files:
Android SDK – (after downloading set it up with platform-tools and USB drivers package in SDK)
SuperSU v2.78 SR5 (Download it for Pixel device on your PC)
TWRP recovery tool (zip) (Download it for both Pixel and Pixel XL and store the zip files in the root directory of your phone.
Fastboot -(Download and extract it to android-sdk-windows\platform-tools directory or Create the directory if not already there)
You can download Fastboot from following links depending on your Operating system.
Step 1: Connect your Pixel device to your computer via USB.
Step2: Copy SuperSU zip files and past it in your device storage’s root folder
Step 3: Download TWRP img file (for Pixel and Pixel XL) and save it into the same directory you had already extracted Fastboot/ADB files.
Step 4: Turn off your Google Pixel
Step 5: Reboot in the Bootloader mode:
Step 6: Go to the android-sdk-windows\platform-tools directory.
Open Command Prompt (Shift + Right-click > Open Command Prompt).
Type the following command:
For Pixel: fastboot boot twrp-3.0.2-0-RC1-fastboot-sailfish.img – replace twrp-3.0.2-0 if you are using newer versions.
For Pixel XL: fastboot boot twrp-3.0.2-0-RC1-fastboot-marlin.img
You may also like: Download & Install all the Android USB drivers for Window PC and Mac’s
Step 7: After finishing this, your Pixel will enter in TWRP Recovery.
Step 8: Install TWRP installer zip file.Then, Swipe to Confirm Flash at the bottom of the screen to start the installation process. This step will ensure your TWRP doesn’t get reset to stock on reboot.
Step 9: Reboot Your Google Pixel into recovery mode
Step 10: In the recovery mode, tap on Install and select the SuperSU zip file downloaded earlier. Swipe to confirm flashing.
Step 11: Once SuperSU is flashed, you’ll get Reboot System option to reboot your device.
After finishing the above mention steps your Google Pixel is now rooted on the latest official Android 7.1.2.