How to unlock the bootloader on a Google Pixel smartphone
Download and extract google-platform-tools-zip on your PC
Open a command prompt in the extracted folder
Power off your device
Hold the Power + Vol down button for about 5 seconds. Your device should be in bootloader mode
Connect your device to the PC
In CMD type the following command and tap Enter
Code:
fastboot devices
You should see a list of attached devices. Your device should be there.
Type in the command below and tap Enter
Code:
fastboot flashing unlock
You'll see a warning on your device not to unlock the bootloader.
Use any of the vol buttons to navigate to "Unlock the bootloader"
Press the power button to enter the selected option.
How to Relock the Bootloader
Flash the factory firmware if you've modified the device's firmware
In cmd type in the common
Code:
fastboot flashing lock
Use any of the vol buttons to select "Lock the bootloader"
Press the Power button to Enter
Important Notice
If you have a Pixel 2 XL with a bootloader version older than TMZ20a, you might need an extra step before flashing. This step unlocks critical partitions and uses the following command:
Code:
fastboot flashing unlock_critical
This is only for the Pixel 2 XL in this specific situation and should not be done on other devices.
Back up your data because unlocking or relocking the bootloader will factory reset it.
Unlocking the bootloader might void your device warranty
Unlocking the bootloader might make your device vulnerable to attacks
This post was last modified: 22-07-2024, 10:20 AM by hovatek.