How to Root and Flash Custom Recovery on Your Google Pixel and Pixel XL
Introduction
------------
Welcome back to Unlocker, where we explore the world of customizing your Android device. Today, we're going to take our Google Pixel and Pixel XL to the next level by rooting and flashing a custom recovery, allowing us to install custom ROMs on these devices.
Warranty Disclaimer
-------------------
Before we begin, it's essential to note that rooting your device will void its warranty. You should be aware of this before proceeding with the process.
Setting Up ADB
----------------
To follow along with this tutorial, you'll need to have Windows version of ADB installed on your computer. If you're using a Mac or Linux, the steps may vary slightly. To set up ADB, please head over to our how-to setup ADB procedure and follow the instructions.
Required Tools and Software
-----------------------------
Before we start, make sure you have the following tools and software:
* Super SU: Download this from our website.
* TWRP recovery (.img and .zip formats): Save these files to your desktop.
* USB drive: You can purchase an inexpensive one or use the one that came with your Pixel.
* USB OTG to USB-C adapter: This is optional but recommended. If you've lost it, please refer to our link for a replacement.
Enabling USB Debugging
-------------------------
To enable USB debugging on your device:
1. Go to settings on your phone.
2. Tap "About Phone."
3. Tap "Build Number" until it says "You are a developer."
4. Go back and tap "Developer Options."
5. Turn on USB Debugging.
Plugging in Your Device
------------------------
Once you've enabled USB debugging, plug your device into your computer via the USB cable.
Preparing for Rooting (Verizon Users Only)
------------------------------------------
If you're using a Verizon version of your Pixel or Pixel XL, you'll need to download and install the dePixel8 program. This will help unlock the boot loader on your device. Please note that this is only required if you have a Verizon device.
Downloading Required Files
---------------------------
While the above steps are being completed, please ensure that all necessary files are downloaded and saved to your desktop:
* Super SU
* TWRP recovery (.img and .zip formats)
* dePixel8 program (if applicable)
Unlocking Boot Loader (Verizon Users Only)
------------------------------------------
For Verizon users only, please copy the dePixel8 program from your desktop into the ADB folder that was installed during our how-to ADB tutorial.
Running Commands
-----------------
After completing the above steps, open the command prompt by right-clicking on an empty space in the ADB folder and selecting "Open Command Window Here." Then, type the following commands:
* fastboot oem unlock (for non-Verizon users)
* dePixel8 program is not required for this step
Once you've completed these commands, your device should reboot into boot loader mode.
Flashing Custom Recovery
-------------------------
Now that we're in boot loader mode, we can proceed with flashing our custom recovery. To do so:
1. Type the following command: `fastboot flash recovery
2. Replace `
Reboots and Installing Custom ROMs
-------------------------------------
After flashing your custom recovery, your device will reboot. You can now install custom ROMs on your device by following our guide on installing custom ROMs.
Conclusion
----------
Congratulations! You've successfully rooted and flashed a custom recovery on your Google Pixel and Pixel XL. With this custom recovery in place, you can now explore the world of custom ROMs and take your device to the next level.