Can not lock bootloader after installation of Pixel 7 Pro

Hi,
I just have installed iodé on my Pixel 7 Pro with the installer and it worked fine till the “failed” at the end.
At first I was shocked about the “failed” because the complete installation details have been with “OK” and have been successful.

At the end I will paste the Installation details.

Once I have quit the installer the phone started after I pushed the button in the bootloader from the Pixel 7 Pro. So I am in the iodé on my Pixel 7 Pro and it looks fine. I could ignore the “failed” at the end of the installation. Now it comes to my problem: I would like to lock the bootloader but it does not work.

I searched through the web but there is nothing what could help me.
Can you please help me to lock the bootloader?
If this works that I can lock the bootloader and after few month testing the os is stable I could switch from iOS to iodé and I plan to switch the complete family to iodé. I like that complete project.

For the test, if I try to unlock the bootloader, the command works and give the right feedback:

~$ fastboot flashing unlock
(bootloader) device already unlocked
OKAY [ 0.005s]
Finished. Total time: 0.005s

If I try to lock, it failed.

~$ fastboot flashing lock
FAILED (remote: ‘invalid android images, skip locking’)
fastboot: error: Command failed

Can you please help? What can I do to lock my bootloader?

Thx. in advance for your help.

Update: Just found after more research the “maybe” solution that could also fit for me: IodèOS for Google Pixel 6 Pro (raven) - #24 by vince31fr
Maybe someone can help me and give me that key? Maybe @vince31fr have time for that?

Code must be nearly the same, I would need only to get that key and I would need to know what I have to extract and where. Than I would give that solution a try.

“fastboot erase avb_custom_key
fastboot flash avb_custom_key avb_custom_key-cheetah.bin
fastboot flashing lock”

That would be so great! Thx. a lot in advance for your time and help.

I have reached the maximum qty. of changes in my first post, that why I have to write a new post.

Additional information: During my research I have installed Graphene OS just now to get a feeling for that kind of installations. With Graphene OS in the web-installer it works all fine. The installation runs without any errors.
After the installation I could also lock the device without any problems.
So I have re-installed iodé to see if it works now. The non stock key from Graphene I have removed, so there shouldn`t be a problem with it. Still the same behavior of iodé, I can not lock the bootloader. I assumme, this must be something with the installation. I have installed it manually.
The installation file was: iode-6.1-20250303-cheetah-fastboot.zip

1 Like

Hi: Did you ever get this sorted out? I am also looking to install on Pixel 7 Pro, however, the (upstream) flash_all scripts are supposed to ask you at the end if you want to (re)lock the bootloader. The catch is you need to wait for it and respond or it will just keep going. This is currently the default install instructions in the (gitlab) ota README file so you might want to give that a try if you are still interested: ota / ota · GitLab

I haven’t tried it yet since I don’t have a Pixel, and I am not sure how current the stock android needs to be.