I'm trying to root my Google Pixel 2 but I can't get the bootloader unlocked.
The phone is a renewed and unlocked international version, model number G011A.
From the bootloader screen, and connected to the computer, this is the result from the following commands:
fastboot flashing unlock
FAILED (remote: 'Flashing Unlock is not allowed') fastboot: error: Command failed
fastboot flashing unlock_critical
FAILED (remote: 'unknown command') fastboot: error: Command failed
It is communicating with the device:
fastboot devices
{{device serial number}} fastboot
and unlocking the bootloader seems to be enabled on the phone
fastboot flashing get_unlock_ability
(bootloader) get_unlock_ability: 1
OKAY [ 0.000s]
Finished. Total Time: 0.000s
I've tried using a Windows 10 laptop and an Ubuntu laptop, both with the same results. I read that USB ports/cables can be problematic, so I've tried all the USB ports on both laptops using two different cables with the same result.
On the phone itself, developer options are enabled, USB debugging is enabled, and OEM unlocking is enabled. Curiously, OEM unlocking becomes grayed out and disabled after enough failed attempts, but I've been fixing this with a factory reset.
The Android version is 11, build RP1A.201005.004A1
What am I missing here? Why wont this bootloader unlock? Thanks!
flashing unlock'
command is only available with fastboot version 23.0.1 or later. The latest available version of fastboot can be downloaded from SDK Platform Tools - update fastboot version and try // Alsofastboot flashing unlock_critical
should not be used on your device, it's only for 2XLfastboot flashing unlock_critical
is not the correct command, what is? The XDA tutorial says they use the same command. xda-developers.com/…get_unlock_ability
command says its its able to be unlocked, and the OEM unlock in the developer settings is also enabled.