News for hackers. Stuff that matters.
Re:Introducing the LineageOS SDK by zifnab06 on Wednesday March 21, 2018 @03:47PM (#16641639)
This is actually a problem that bothers me. Most of the recoveries also ship with absolutely no security (see: twrp and the "I can just format your phone by booting into it"). I don't really have a good answer though - if you lock a bootloader, even with a secured recovery image, and that image breaks, you're stuck forever. Without a huge QA effort (that doesn't work for an open source project like this), I don't think there's much we could do sadly :( In actual OEM land they do a build and test it for weeks/months before releasing it, we just...build things and ship them.
Re:Introducing the LineageOS SDK by squiggleblaz on Wednesday March 21, 2018 @10:49PM (#16645239)
Can you clarify for me? Why might the image break after I've locked it? Why can't I just unlock it again? What are the consequences of this? I'd like to run Lineage but so far I'm unclear of the unanticipated negatives.
Re:Introducing the LineageOS SDK by zifnab06 on Thursday March 22, 2018 @12:22AM (#16645712)
By default, after an update, Android installs a new recovery image during the first boot of that update. We currently have this disabled. If you relock the only way to ever update your recovery image is to unlock (wiping the device & losing encryption keys), flash a new image, and relock. This would need to happen for any discovered kernel exploit (read: about once a month) to avoid having an insecure device.

If the update feature's enabled, there's a chance that after an upgrade, recovery gets updated to a version that no longer boots. We don't QA every build like you see from an actual OEM, they're provided as nightly builds (on a weekly basis). One bug and your expensive device is now a brick.