How to Unlock Bootloader and Root Pixel 2/Pixel 2 XL

While there other brands when it comes to choosing the smartphones, the reason for those who go for Google’s Pixel devices is the software. Last month Google added two new devices, Pixel 2 and Pixel 2 XL in its pixel lineup and made quite an entry in the last quarter of the year. Since most of the leading smartphones manufacturers run Android OS, it is no surprise that Google’s own devices run the latest version of OS. Aside from the latest version of the Android and little tweaks, Google makes the OS of its Pixel device enjoyable. There is no doubt on the great official OS support on both devices, however, it is inevitable for Android enthusiasts to get more access. Thanks to XDA member, nathanchance you can now unlock Bootloader and Root Pixel 2/Pixel 2 XL.

Having a root access on Pixel 2 and Pixel 2 XL devices will open doors for ROMs and MODs. In order to root the two devices, first, you will have to unlock the bootloader. For newbies, a bootloader is a layer between hardware and the OS. Almost every manufacturer locks the bootloader for various reasons and recommends not to unlock it. Since its the Android under discussion, there is nothing that can stop the enthusiasts from experimenting and creating amazing things.

Do Read;

When it comes to unlocking the bootloader, on most Android devices, you can unlock it using a couple of commands. Though the commands are different from that of what you use on other manufacturers, the process is same. Don’t fret, here’s how you can unlock Bootloader and Root Pixel 2/Pixel 2 XL.

NOTE

ROOTING a DEVICE IS NOT RECOMMENDED BY THE MANUFACTURER AND A SLIGHT MISTAKE COULD BRICK YOUR DEVICE.

IN CASE OF ANY MISHAP, ANDROIDODEX OR THE DEVELOPER WILL NOT BE HELD RESPONSIBLE. PROCEED AT YOUR OWN RISK.

Early Preparations

  • Download and Install latest Android USB drivers on your computer.→ Download
  • Use the link to setup ADB and Fastboot tool on your PC.→ Link
  • Make sure to charge your device to at least 60%.
  • Enable OEM Unlocking and USB Debugging. To do so;
    • Navigate to Settings > About Device.
    • Tap the number 7 times. It will enable developer options.
    • Head back to Settings > Developer Options.
    • Tap on OEM Unlocking and USB Debugging to enable.

How to Unlock Bootloader on Google Pixel 2/Pixel 2 XL

  • Connect your Android device to a computer via a USB cable.
  • On your computer, navigate to ADB and Fastboot folder and right click in the empty space.
  • From the options, click on “Open command window here”. For Mac and Linux users, simply launch the terminal.
  • Now reboot your Pixel device into fastboot mode.
    1. Turn Off your Pixel device.
    2. Press & hold Power + Volume down keys for a few seconds.
    3. In bootloader, use the Volume Up & Down keys to navigate between options and Power button to select the fastboot mode.
  • In the command window type either of the following commands;

fastboot flashing unlock

OR

fastboot flashing unlock_critical

  • Even though the first commands works, in some case, especially in Pixel 2 XL’s it doesn’t. In that case, use the second one.
  • If you have used the second command, you will have to execute this command to unlock the bootloader.

fastboot flashing unlock

On your device, use the Volume keys and select Start, that’s it.

How to Root Google Pixel 2 and Pixel 2 XL

  1. The first thing you will need is to enable the Unknown sources. Navigate to Settings > Security and enable.
  2. Install the Magisk Manager v5.4.1 on your Pixel device. Use this link to download the apk.→ Download Link
  3. Next, download the boot image file for your Pixel device and copy it to the download folder on device’s internal storage.
  4. Now open Magisk Manager and wait while it checks the root. A pop will ask you to install the root.
  5. Select Patch Boot Image File and proceed.
  6. Here, navigate to the image file that you transferred in step-3 and select it.
  7. Reboot the device into fastboot mode. You can use the following command;

adb reboot bootloader

  • Now flash the patch boot image using;

fastboot flash boot patched_boot.img

  • When the flash process completes, reboot your device. That’s it.

You can check if the device is rooted or not using the Magisk Manager. If you have any query, let us in the comments.

Leave a Comment