If you want to Root your Google Pixel 2 or Pixel 2 XL, the first thing you have to do is to Unlock the Bootloader of your smartphone. Somehow it is very difficult to unlock the Bootloader in Android phones, but the Google Pixel 2 and Pixel 2 XL are developer friendly and you can easily Unlock the Bootloader on it. Basically, Bootloader is a piece of software on your phone that loads up the core OS.
In this article, I will explain you the steps you have to follow for Unlocking the Bootloader on your Google Pixel 2 and Pixel 2 XL phones. You can achieve this by simply sending a single fastboot command.
Note: Unlocking the bootloader on your Google Pixel 2 device will void its warranty completely and delete/wipe all data on the device. Before doing it, make sure to backup your important data like Contacts, Photos, Videos, Music and other files on the device to a safe place.
Steps to Unlock Bootloader on Pixel 2 and Pixel 2 XL
To Unlock the Bootloader on your Google Pixel 2 and Pixel 2 XL, follow these steps.
Step 1: Enable the Developers Option in your Phone
The initial step to Unlock the Bootloader on your Google Pixel 2 is to Enabling the Developers Option. This is the hidden option and you have to enable it to allows bootloader unlocking. For this, go to the “Settings” and then head towards “About Phone” at the end of the settings menu.
Now scroll down and tap the “Build number” entry seven times rapidly. After this, you will see a message “Congratulations, you are now a developer!”.
Step 2: Enable OEM Unlocking
After enabling the Developers Mode, now go back to Settings. There you will see the Developers Option is now available. Now, tap on the “Developer Option” and enable the switch next to the “OEM unlocking” setting. See the image below for your reference.
After this, you will be asked to enter your Device Pin or Password to continue. After entering the PIN or Password, a confirmation popup will appear. After enabling this, your phone will be will now be able to accept the Fastboot command that unlocks the bootloader.
Step 3: Enter into Bootloader Mode & Connect to Your Computer
After enabling the OEM Unlocking, now its time to put your phone into bootloader mode. To enter this mode, you can do this with an ADB command. But, if you want an easy method, follow this method: Restart your phone, and when the screen goes black, press and hold the volume down button. Within a few seconds, you will see the bootloader menu.
After entering the Bootloader Menu, now leave your phone as it is and connect it to your computer system via USB cable.
Step 4: Install Fastboot on Your PC
After connecting your phone to the computer system, now install the ADB and Fastboot. You can install the latest version of these from Google. Installing latest version is recommended because older version does not support all the commands.
Step 5: Open Command Prompt in Windows
This is the most important and toughest part as most of the user struggle with ADB and Fastboot. For doing it properly, locate the platform-tools folder inside of your ADB and Fastboot installation directory. If you are Windows user, you can find this at C:\Program Files (x86)\Android\android-sdk\platform-tools.
For Linux and Mac users, the folder’s location will vary, so use your computer’s search function to find the platform-tools folder. After finding the platform-tools folder, copy the location from the address bar at the top of your file browser.
Now, open the command prompt or terminal window and then change directories to the platform-tools folder before you can send the Fastboot command to unlock your bootloader. For doing this, type “cd” (without the quotes) followed by a space, then paste in the file location for your platform-tools folder. See the image below for your reference.
Step 6: Unlock the Bootloader
To unlock the Bootloader, now you have to open the right folder on Command Prompt, for Google Pixel 2 users it is very easy. Type in the following command, then press enter:
fastboot flashing unlock
If you are Google Pixel 2 XL user, there is a different command for doing this. If you write the above command with Pixel 2 XL, it will only allow you to flash custom images like TWRP, but you won’t be able to flash a new bootloader image unless you use a new command. So enter the following text into the command prompt, then press enter:
fastboot flashing unlock_critical
Look at the image below for your reference.
After writing the above command, your phone should pop up with a new menu. Use the volume keys to highlight the “Unlock the bootloader” option on this menu, then press the power button to select it.
If you are a Google Pixel 2 XL user, then you have to send the regular bootloader unlock command in addition to the “unlock_critical” command. For this, type the following command to finish the bootloader unlocking process, then hit enter:
fastboot flashing unlock
After giving the above command, whether you are Pixel 2 or Pixel 2 XL user, the “OKAY” message will be displayed on the screen. Now, you have to select the “Start” option in the bootloader menu and then press the power button for selecting it.
After giving the Start command, your phone will automatically wipe itself and your bootloader will be unlocked. You can disconnect your phone from your computer now, but note that the first time your device boots after unlocking the bootloader will take longer than usual. Now, restart your phone and run through initial setup again. You are done now.
So, this is all for this article. Hope you have successfully Unlocked the Bootloader on your Google Pixel 2 or Pixel 2 XL phones. The above-mentioned steps are tested and accurate. If you do it properly, then you will achieve the success fastly.
If you find this article resourceful, then please share it on your Social Media and also with your friends. If you have any question regarding any of the above-mentioned steps you can comment below. We would definitely look after your problem and try to give you the best possible answer as soon as possible.
For more productive articles on Android and Google Pixel 2, stay tuned with us. Thanks for reading this article.