We're hiring! Apply Now

Hovatek Forum MOBILE Android [Tutorial] How to unlock the bootloader of a Google Pixel device

[Tutorial] How to unlock the bootloader of a Google Pixel device

[Tutorial] How to unlock the bootloader of a Google Pixel device

hovatek
hovatek
hovatek
Administrator
49,803
17-07-2024, 11:27 AM
#1



This guide will explain how to unlock the bootloader of Google Pixel devices. Unlocking the bootloader is important to root and flash custom ROMs.

Requirements


How to unlock the bootloader on a Google Pixel smartphone


  1. Download and extract google-platform-tools-zip on your PC
  2. Open a command prompt in the extracted folder
  3. Power off your device
  4. Hold the Power + Vol down button for about 5 seconds. Your device should be in bootloader mode
  5. Connect your device to the PC
  6. In CMD type the following command and tap Enter

    Code:

    fastboot devices

  7. You should see a list of attached devices. Your device should be there.
  8. Type in the command below and tap Enter

    Code:

    fastboot flashing unlock

  9. You'll see a warning on your device not to unlock the bootloader.
  10. Use any of the vol buttons to navigate to "Unlock the bootloader"
  11. Press the power button to enter the selected option.

How to Relock the Bootloader


  1. Flash the factory firmware if you've modified the device's firmware
  2. In cmd type in the common
    Code:

    fastboot flashing lock
  3. Use any of the vol buttons to select "Lock the bootloader"
  4. 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.

Note!
We have a reply schedule for Free Support. Please upgrade to Private Support if you can't wait.
Users browsing this thread:
 1 Guest(s)
Users browsing this thread:
 1 Guest(s)
Join us
WhTlYt