Pixel 1 locked bootloader

Dear all,

My partner gave me a couple of years ago his antique Pixel (1, Sailfish) for me to play with. I successfully installed the /e/OS that was available for it at the time, and I was super happy. I was only a bit bothered by the message that appeared at boot (“bootloader unlocked … danger etc”), but I left it at that. Forward to last week, when I realised that the community has released yet a newer version of the software (thank you, community!). That too I could install by following the excellent instructions provided on the /e/OS site. I was mightily happy.

Until I screwed bit time. Still slightly bothered by “bootloader unlocked” message, I thought perhaps I should lock it then, and from the OS disabled OEM unlocking, and issued the command

fastboot oem lock

which warned me that this would erase data and reset to factory settings, something I would have been fine with.

The result is that the phone does not boot anymore into /e/OS (I see a google sign flashing intermittently). With volume down + power I get to a screen which offers alternatively Restart bootloader, Recovery mode, Barcodes, power off, none of which gets me back to the OS. I see there too that Boot slot is a, Console is disables, secure boot is production, and devide is locked. From what I read later on on forums, it was a huge mistake to lock the bootloader for OS such as ours (OS not signed or something?). Solutions I’ve seen for bricked phone usually requires OEM unlock, even in EDL mode (which I’m not sure I am in). I’ve tried flashing a stock rom (which I believe I found), but I always hit the wall with the error:

(bootloader) Please unlock device to enable this command.

The only command that does not refuse me is

fastboot devices

which returns the device.

One solution that comes up online is to use the online Android flash tool. Unfortunately, it only supports pixel from pixel 2 (this is 1). Another solution is to use this QPST windows program for qualcomm chip that would bypass the bootloader. Seems to need an mbn, or hex file, which I have been unable to source for pixel 1.

Although this is my “play” phone (my “other” phone is also an /e/OS…haven’t bricked that one yet), and it’s ancient etc., it has become personal now and I would really love to find a way to re-install it. I would welcome any ideas/wisdom other users may have! For instance, I know that on Android Studio I can emulate the pixel 1; couldn’t I extract an mbn file from there?

Thanks in advance!

Anne-Christine

How to use Google Factory Image
.
Download Factory Images for Pixel Device #sailfish

Dear Piero,

Many thanks for your reply. I’m afraid that this is one of the first things I tried. I should have been more specific when I said I’ve tried flashing a stock rom. Essentially, when I do

fastboot --slot=other flash bootloader bootloader-sailfish-8996-012001-1908071822.img

I get
Warning: skip copying bootloader_b image avb footer (bootloader_b partition size: 0, bootloader_b image size: 33259520).
Sending ‘bootloader_b’ (32480 KB) OKAY [ 0.882s]
Writing ‘bootloader_b’ (bootloader) Command is not supported.
(bootloader) Please unlock device to enable this command.
FAILED (remote: ‘’)
fastboot: error: Command failed

I also tried on the boot slot a:

fastboot flash bootloader bootloader-sailfish-8996-012001-1908071822.img

I get

Warning: skip copying bootloader_a image avb footer (bootloader_a partition size: 0, bootloader_a image size: 33259520).
Sending ‘bootloader_a’ (32480 KB) OKAY [ 0.842s]
Writing ‘bootloader_a’ (bootloader) Command is not supported.
(bootloader) Please unlock device to enable this command.
FAILED (remote: ‘’)
fastboot: error: Command failed

Best wishes,
A-Ch

Please can you show the output of

fastboot flashing get_unlock_ability

then

fastboot oem device-info

Maybe you might try

fastboot getvar all

Thanks for staying on the job! Here are the results of the above commands:

fastboot flashing get_unlock_ability

(bootloader) get_unlock_ability: 0
OKAY [ 0.027s]
Finished. Total time: 0.027s

fastboot oem device-info
(bootloader) Device tampered: false
(bootloader) Device unlocked: false
(bootloader) Device critical unlocked: false
(bootloader) Charger screen enabled: true
(bootloader) Display panel:
OKAY [ 0.113s]
Finished. Total time: 0.113s

fastboot getvar al

(bootloader) version:0.5
(bootloader) hw-revision:PVT
(bootloader) mid:G-2PW4200
(bootloader) version-main:2.0.0.1
(bootloader) imei:351615081195992
(bootloader) ramdump-mode:false
(bootloader) boot-mode:FASTBOOT
(bootloader) has-slot:radio:yes
(bootloader) has-slot:bootloader:yes
(bootloader) has-slot:reserve5:no
(bootloader) has-slot:devinfo:no
(bootloader) has-slot:fsg:no
(bootloader) has-slot:mfg:no
(bootloader) has-slot:board_info:no
(bootloader) has-slot:reserve4:no
(bootloader) has-slot:metadata:no
(bootloader) has-slot:pg2fs:no
(bootloader) has-slot:pg1fs:no
(bootloader) has-slot:ramdump:no
(bootloader) has-slot:frp:no
(bootloader) has-slot:reserve3:no
(bootloader) has-slot:cdt:no
(bootloader) has-slot:ddr:no
(bootloader) has-slot:modemst2:no
(bootloader) has-slot:modemst1:no
(bootloader) has-slot:fsc:no
(bootloader) has-slot:dip:no
(bootloader) has-slot:dpo:no
(bootloader) has-slot:devinfobak:no
(bootloader) has-slot:sec:no
(bootloader) has-slot:persist:no
(bootloader) has-slot:ssd:no
(bootloader) has-slot:misc:no
(bootloader) has-slot:xbl:yes
(bootloader) has-slot:reserve0:no
(bootloader) has-slot:userdata:no
(bootloader) has-slot:system:yes
(bootloader) has-slot:vendor:yes
(bootloader) has-slot:apdp:yes
(bootloader) has-slot:msadp:yes
(bootloader) has-slot:modem:yes
(bootloader) has-slot:devcfg:yes
(bootloader) has-slot:hosd:yes
(bootloader) has-slot:boot:yes
(bootloader) has-slot:aboot:yes
(bootloader) has-slot:cmnlib64:yes
(bootloader) has-slot:cmnlib32:yes
(bootloader) has-slot:hyp:yes
(bootloader) has-slot:pmic:yes
(bootloader) has-slot:rpm:yes
(bootloader) has-slot:tz:yes
(bootloader) has-slot:keymaster:yes
(bootloader) has-slot:bootlocker:yes
(bootloader) slot-count:2
(bootloader) current-slot:a
(bootloader) slot-retry-count:b:3
(bootloader) slot-unbootable:b:no
(bootloader) slot-successful:b:yes
(bootloader) slot-retry-count:a:2
(bootloader) slot-unbootable:a:no
(bootloader) slot-successful:a:yes
(bootloader) battery-soc-ok:yes
(bootloader) battery-voltage:4262000
(bootloader) variant:ROW
(bootloader) secure:yes
(bootloader) unlocked:no
(bootloader) version-baseband:8996-130361-1905270421
(bootloader) version-bootloader:8996-012001-1908071822
(bootloader) off-mode-charge:1
(bootloader) charger-screen-enabled:1
(bootloader) max-download-size: 0x20000000
(bootloader) partition-type:userdata:ext4
(bootloader) partition-size:userdata: 0x1bb7192000
(bootloader) partition-type:system_b:ext4
(bootloader) partition-size:system_b: 0xe3336000
(bootloader) partition-type:system_a:ext4
(bootloader) partition-size:system_a: 0xe3336000
(bootloader) partition-type:vendor_b:ext4
(bootloader) partition-size:vendor_b: 0x1ac00000
(bootloader) partition-type:vendor_a:ext4
(bootloader) partition-size:vendor_a: 0x1ac01000
(bootloader) partition-type:boot_b:raw
(bootloader) partition-size:boot_b: 0x2000000
(bootloader) partition-type:boot_a:raw
(bootloader) partition-size:boot_a: 0x2000000
(bootloader) serialno:FA69Y0301948
(bootloader) kernel:lk
(bootloader) product:sailfish
all:
Finished. Total time: 2.222s

Does it suggest you anything?

it look briked…sorry

Thanks for trying anyway!

I think that’d be the only chance. There’s the official pixelrepair - but if I’m not mistaken, the locked state should prevent any fastboot modification (of the critical partition, vbmeta, to make a bootloader locked state happy). I can be wrong

I’m afraid pixelrepair will only take pixel phones from pixel3 onwards, and online Android flash tool from pixel2 onwards. Mine is pixel1.

About EDL mode: commands like

fastboot oem edl

or

fastboot reboot edl

give me an “unknown” error.

But I saw that those EDL cables are not expensive, perhaps I could indeed give it a try.