Hacker News new | ask | show | jobs
by karteum 1735 days ago
What we need is control on the bootloader, with the ability to unlock, load our own keys, and relock.

We also need to clean-up the mess with all those "partitions" (some of them with critical informations e.g. calibration, IMEI, etc) so that only one partition would have all those static information (reasonably protected against overwrite, e.g. colocated with bootloader and device-tree). We should be able to re-partition the storage (like we do on PC) without bricking the device...

3 comments

Google phones allow re-locking the bootloader with your own key, except it still results in a warning during boot, and there's no way you're passing SafetyNet with this, at least not without hacks like Magisk. Also even when you unlock the bootloader, the TrustZone OS, which runs with hypervisor permissions and manages all the exciting things like DRM and SafetyNet itself, is still off limits for you.
> Google phones allow re-locking the bootloader with your own key, except it still results in a warning during boot

The warning is a great thing for security: I'd appreciate it if my phone showed me that warning after I've surrendered it to the border control agent (alternatively, a sketchy repair shop), or bought it pre-owned, or if I "lost" it and gets returned to me.

Let's start with the fact that unlocking the bootloader wipes the entire /data partition to prevent this exact scenario from happening.
That'a a great point, and you're correct on the impracticality of the evil-maid attack. However, my point remains when it comes to less-than-honest repair shops or second-hand sales where wiped devices are not suspicious. I want to know if my bootloader/kernel may have been tampered with before I am able to trust the apps.
I wish I could have thought of that argument on a previous discussion about iPhone/ iPad jailbreak discussion thread
There is a fix for SafetyNet - it forces the client-side library to assume that there is no hardware co-processor.
It's bound to break in the future. Google will stop, if didn't already, certifying devices that lack the TEE.

The issue I'm pointing out is that this device integrity thing exists at all, and that Google ends up having more control over the device and its capabilities than its legitimate owner.

While this all sounds great, I don't imagine legal regulation on how a device is partitioned would go as well as you think...
Librem 5 has its modem on a detachable M.2 card, sounds like what you describe.