How to Root the Google Pixel & Pixel XL (Video)

The Pixel and Pixel XL are not the easiest to root. Google has added a lot of security to the system files and, long story short, developers have had to cleverly come up with a systemless root method (which is way harder than it sounds). On top of this, Google removed the recovery partition which was used heavily in most rooting methods as well as being used for flashing custom ROMs etc. Chainfire, recognized master of all things root (might be his official title?), though has developed a version of SuperSU (the program used to control what apps get root permissions etc.) that works with this new partition/security structure. For those that want a more detailed explanation of the situation, this post on XDA does a good job of explaining it.

Regardless of how they managed to do it, it works! I managed to do it relatively easily (but not without some hiccups that I explain further below) and put together this tutorial and video for you. Let me know how it goes for you in the comments below.

Here’s how to root the Pixel or Pixel XL.

Before You Begin

  1. This could void the warranty of your device. We won’t be held responsible for anything that happens from doing this tutorial so please proceed at your own risk.
  2. This procedure has been written keeping the Windows version of ADB in mind. If you use a Mac or a Linux computer, the steps will slightly vary.
  3. Please head over to our how to set up ADB procedure to install the ADB suite on your PC.
  4. This should erase all the data stored on your device. So please backup everything that you don’t want to lose.
  5. This should also flash a custom recovery on your device.
  6. You should only do this procedure on a Google Pixel or a Google Pixel XL device.
  7. You will also need a USB drive and the USB OTG to USB-C adapter that came with your Pixel. This is because of how the phone is encrypted, we need to load the files from a different storage device. If you don’t have either you can get a great, very inexpensive USB 3.0 Drive here and an inexpensive OTG Adapter here.

How to Root the Google Pixel & Pixel XL

Root Google Pixel & Pixel XL

To root the device, you’ll first unlock the bootloader, boot into a custom recovery to actually install the custom recovery, use the custom recovery to flash SuperSu to then finally gain root. Here’s how to do that all.

Downloading Required Files

Regardless of having a Verizon or non-Verizon model, download all of these:

download-files

  1. Download SuperSU and save it to your desktop.
    SuperSU (Download link’s given in the first post)
  2. Download TWRP Recovery in both .img and .zip formats and save to your desktop.
    TWRP .zip and .img for Pixel
    TWRP .zip and .img for Pixel XL

Only if you have Verizon do you need to download these:

download-depixel

  1. Download dePixel8 and save it to your desktop.
    dePixel8

Regardless of whether you have Verizon or another version, enable USB debugging on the phone and plug it in using the steps below.

  1. Head to Menu > Settings > About phone on your device and tap on Build number for 7 times and it’ll say you’re a developer.
    build-number
  2. Head to Menu > Settings > Developer options and turn on USB debugging.
    usb-debugging
  3. Plug in your device to your PC using a USB cable.
    plug-in

If you’re on Verizon, please use the below section to unlock the bootloader on your device. Otherwise, skip to the next section.

Unlocking the Bootloader on the Verizon Google Pixel & Pixel XL (Only for Verizon Users)

  1. Copy dePixel 8 from your desktop over to the ADB folder located in the C:/ drive of your PC.
    depixel
  2. Open the ADB folder and hold down Shift on your keyboard and right-click anywhere on the screen and select Open command window here.
    cmd
  3. When the command prompt window opens, type in the following commands hitting Enter after each:
    adb push dePixel8 /data/local/tmp
    adb shell chmod 755 /data/local/tmp/dePixel8
    adb shell /data/local/tmp/dePixel8
    verizon-commands
  4. Your device should reboot into the bootloader mode.
    bootloader-mode
  5. Once your device enters the bootloader mode, type in the following command into the command prompt window and hit Enter:
    fastboot oem unlock
    oem-unlock
  6. Follow the on-screen instructions for unlocking the bootloader on your Verizon Google Pixel or Pixel XL.
    IMAGE

So, that was how you could unlock the bootloader on a Verizon Google Pixel or Pixel XL phone.

If you have a variant of Pixel or Pixel XL other than Verizon, then please use the following section to unlock the bootloader on your device:

Pages: 1 2

Related Items: , , , ,

80 responses to “How to Root the Google Pixel & Pixel XL (Video)”

  1. Austin Baker says:

    for some reason the dePixel8 file will not download it redirects me to a weird ass encryption page. is this file still downloadable
    please help

  2. Peyton whtford says:

    at the last step when i pressed reboot it doesn’t reboot normally

  3. Michael Young says:

    Does this work with 7.1.1?

  4. Josemi says:

    So this is the systemless method or the normal one?

  5. Dino Zambaftis says:

    I followed all the steps, which were really easy to follow by the way, thank you, and when the phone rebooted supersu was not in my app drawer. The version I used was the newest one they had which is SuperSU-v2.79-201612051815. Does that one not work properly with this phone for some reason or did I do something else wrong? Thanks again for the tutorial and the help.

  6. Stovall says:

    This information is outof date for Verizon Pixel phones as of Nougat 7.1.1

  7. Piyush Hansda says:

    i got root access successfully. Running android 7.1.1 with 5th march security patch update. Though unlocking the bootloader factory resetted the device. everything else worked out fine.

  8. Keegan Kuhn says:

    Is it possible to “un-root” this to “un-void” your warranty?

  9. JDredd says:

    The process says all of my data will erased. Will I still be able to recover it via backups once the process is over?

    • David Cogen says:

      So long as you save things OFF of the phone you can put those things back. Anything on the phone will be erased.

      • JDredd says:

        Thanks! I feel so stupid asking this but…how do I save data off the phone I guess, “properly”? I know it’s a n00b question but I don’t want to screw anything up.

  10. uvdevnull says:

    This does not works with 7.1.1 or newer. Apparently it was patched and dePixel8 doesn’t support it.

  11. I’m getting a black screen after running ‘fastboot boot twrp.img’. ADB is still active so I can run ‘adb reboot bootloader’ to get back to the regular bootloader. But I can’t seem to get into TWRP. Any thoughts? Regular Pixel with unlocked bootloader.

    • David Cogen says:

      Check the twrp.img file (redownload it as well in case it was corrupt), make sure it’s also in the correct folder with adb in it and try again.

      • Thanks for your fast reply! I followed the whole tutorial, but didn’t set up the phone again after unlocking the bootloader. I already enabled USB debugging before unlocking the bootloader, so I thought I could skip step 5-8 of the Flashing section. However, unlocking the bootloader wiped everything, so I had to start it normally and enable USB debugging again. Successfully rooted now! 🙂

        Maybe you can update the text before the Flashing section to something like the following so users don’t forget to reboot.

        • David Cogen says:

          Ha, well that’s what you get for skipping my steps ;P
          Going to feature your comment instead of changing the tutorial as I think that’ll help people, too.

          Thanks for responding with the solution and glad it all worked out!

          • Christopher Thomas says:

            @TheUnlockr:disqus i ran into the same issue as @Flitskikker:disqus but i followed all your steps exactly. i just keep getting a blank screen after the fastboot boot twrp.img command. I even redownloaded the img file twice but still no difference. usb debugging is enabled as well. Thanks in advance.

  12. William Fugere says:

    doesn’t work. when i do fastboot oem unlock, it fails. does android 7.1.2 work?

  13. Luke Priddle says:

    Hey i’m not sure what im doing wrong, but as soon as I installed the first zip file and rebooted the phone in recovery it wont boot back up. Theres no way for me to reboot my phone right now. I can pull up the bootloader and run twrp again but my phone still wont boot into its normal state.

  14. Ayomiposi says:

    Hey i’m not sure what im doing wrong, but as soon as I installed the first zip file and rebooted the phone in recovery it wont boot back up. Theres no way for me to reboot my phone right now. I can pull up the bootloader and run twrp again but my phone still wont boot into its normal state.

      • Luke Priddle says:

        Hey man, thanks for the reply, I got it back to stock and it works fine. I do still want to root it, however im not sure why the root went sideways, I am on the Bell network in Canada, would that have something to do with it?

        • David Cogen says:

          No problem! And that shouldn’t matter but I don’t have a version to test with so just check online for rooting the Bell Pixel and see if anything comes up that might be different. Also check the featured comment above in case that’s part of your issue. Good luck!

          • Luke Priddle says:

            Yeah I followed all the steps the same and as soon as I complete step 19 it just gets stuck on an endless boot cycle, it wont load into twrp recovery. It just brings you to the please lock bootloader screen then flashes the google start screen then repeats itself.

          • David Cogen says:

            Well at least the urnooting tutorial is working to get you back to stock. You’ll have to look online and see if there is maybe a different version of recovery for your specific model. Good luck

  15. SuperGoldGamer says:

    Hey dude, I am getting stuck on the most likely obvious part, I can’t seem to find out how to download the dePixel8 file! I hope you can respond!

  16. Lily Gee says:

    stuck at bootloop when i reboot recovery! please help!

  17. Vernon Lumpkin Jr. says:

    1st off thanks for this tutorial, worked great for me.
    Until 3 hrs ago when twrp, super super, and a few meaningless apps… Facebook Google drive, keyboard, etc.updated. Now I have lost root. Not sure if it was the actual updates or it said it had to update binary. So to get root back I’m guessing I have to delete twrp and super su, and redo tutorial? What about a few root app? Titanium, a disabler to stop updates etc. I’m still on April 7.1.2 verified n settings. Thanks

    • David Cogen says:

      That’s odd. Did you update the OS or just apps in the play store?

      • Vernon Lumpkin Jr. says:

        Lol just the playstore updates

        • Vernon Lumpkin Jr. says:

          Now root checker root not properly installed

          • Vernon Lumpkin Jr. says:

            Root has been functioning great for 4-6 weeks since install and system update freeze. Oh no. Hope system update don’t re awake

      • Vernon Lumpkin Jr. says:

        Ok. Turn off fone and held power+ vol down, twrp is intact and fictional. Some how it’s just the root part of super su and SuperSU pro + binary code update. Guess I’ll get hold of them and should just HV to rework root part of tutorial. Thanks

      • Vernon Lumpkin Jr. says:

        Ok. According to SuperSU forum, they screwed up an update 2.8, newest. Don’t take it! All who did lost root. I’m rolling back to previous. And make sure if I take next it’s 2.81

        • David Cogen says:

          Ha, OK well hopefully that’s all you need to do and they’ll patch the next version of SuperSU. Thanks for reporting back what happened to help others out!

  18. Jesus Lango Jr. says:

    Will this work on Verizon 7.1.2?

    • David Cogen says:

      I don’t have a Verizon phone anymore so I can’t test but you can try and worse case it’ll just fail. Also maybe check with the DePixel site linked above as it’s needed for Verizon and if he didn’t update it, none of this will work.

  19. John Augustus Folger says:

    anyword if it works with 7.1.2? Verizon?

    • David Cogen says:

      So it works with 7.1.2 not Verizon version for sure, but the Verizon version no one has reported back. You’ll have to check with the DePixel creators over on XDA. Good luck.

  20. Jakke Hamm says:

    This will be my first time ever trying to root a phone so I am certainly nervous about doing so. My question is what are the direct links to all the downloads that I need because I am getting confused on the correct versions. The phone I am getting is a Pixel XL direct from Google and it will be used on the Verizon network. So a follow up question is should I activate the phone before I root it or after? Any other advice for a first time rooter would be greatly appreciated as well. Thank you for your assistance.
    UPDATE: Got stuck in a boot loop after trying to flash the TWRP.ZIP file. and adb isn’t recognizing my phone. Any suggesting? It’ll loop a few times then stop, I’ll then hold the power button and i get a message at first
    “[Ramdump] Writing to EXT4 file…
    Please press VolUP+ VolDown to stop”
    Then i’ll get the “Please lock the bootloader” message.
    Then the Google logo will flash and it’ll restart into the “Please lock bootloader” a few times and then nothing.
    Please help.

  21. Aamir Ashraf says:

    I have a huge problem. After rooting I tired factory resetting to restore my data.
    Now, its pretty much stuck on a bootloop.
    Something like “writing to ext4 file” comes up

    Can someone help me fix this?

  22. Sean G says:

    i have a pixel and i was attempting to flash this…and once i fastboot boot twrp.img it reboots and it hangs on the “teamwin” screen right before the screen where the option to “swipe for modifications” anybody experience this and if so …how did you fix this? also i was on DP3 O i unenrolled and then reflashed all the way stock….

  23. Sam says:

    Just wondering what updates there would be to doing this on Android 8.0. I like the detail of this tutorial, but the others I’ve looked at involve installing SUhide. Any tips or information would be much appreciated!

  24. plinkster68 says:

    SO, Is this still a valid tutorial on rooting the Pixel?? was reading replies and was wondering why so many people having trouble with the tutorial, boot loops and such????

  25. Ben Doughver says:

    Hi, Ive tried on several attempts to do this and I receive “[+] getting there, about 20 more seconds please [-] it didnt work out this time 🙁 [-] after your device reboots, please try again.” I’ve follow the tutorials backwards and forwards ensure that everything is correct up to this point. What am I doing wrong? Please help, Thanks

  26. Barry Smyth says:

    Such a shame all the links are outdated, I was going to try this to root my pixel XL but don’t want to risk downloading wrong versions and bricking my phone.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.