Anyone know how to build Lineage OS so that the bootloader can be relocked?

I am looking to replace the debug keys with custom keys in order to relock the boot loader. Has anyone done this? What do I need to do?

7 points · 4 comments · view on lemmy.world

4 Comments

seaQueue@lemmy.world · 3 pts · 1y (1 reply)

Here's some discussion on the topic: https://www.reddit.com/r/LineageOS/comments/n7yo7u/a_discussion_about_bootloader_lockingunlocking/

Why are you wanting to lock the bootloader? If you're trying to pass play integrity checks to use apps there's always magisk and the play integrity fix module.

possiblylinux127@lemmy.zip · 3 pts · 1y

I'm looking to help prevent physical attacks and to verify the integrity of the base OS.

GolfNovemberUniform@infosec.pub · 2 pts · 1y (1 reply)

You need a device that has a known way of implementing it. Nowadays only Pixels, Fairphones and maybe some other niche phones have it.

possiblylinux127@lemmy.zip · 1 pts · 1y

Also phones like the Motorola G52