by mschuster91 · 3y ago · 0 comments
The problem is that way too many mobile applications these days take extraordinary difficult steps to make sure it's impossible to exercise the freedoms granted by the GPL in practice. If you "root" your phone, it's a constant game of whack-a-mole to keep banking, Netflix, Google Pay and other applications running.
On top of that it's impossible to put a new root of trust in place... I don't want a secure boot warning message if a firmware is running that I flashed on the device, I want it visible when someone else placed a manipulated firmware on it. And that point applies to Apple just as well.
And how exactly do you propose achieving that, when that someone else might have tampered with the phone before you got it?
The goal of Google's security architecture is that a dodgy phone seller/repair shop can't pre-root the phone and siphon all your private data to Mr Evil unless they have access to a silicon fab to remake the main CPU with a new trust root.
Wipe the device as a condition of unlocking the bootloader root trust keyset. Easy, and more secure than any classic x86 UEFI bootloader. That gets rid of the threat of dodgy repair shops.
The only issue will be manipulating devices before they're sold the first time, but tamper-proof packaging resolves that.
I 100% agree that we should have ways of getting rid of these warnings on our own devices, but this isn't a simple problem.
This depends on whether consumers are made aware that a repair shop that "accidentally" wipes your phone might be trying to steal your bank account etc.
While education is difficult, the consumer has an advantage in this scenario because the event itself is impossible to miss and very disruptive and could lead them to start searching on the internet for advice.
A signed-by-google first-stage bootloader could display a message warning the user before handing off to an unsigned second-stage bootloader.
>The goal of Google's security architecture is that a dodgy phone seller/repair shop can't pre-root the phone
I'm curious how big a problem this was with refurbished second-hand laptops that often come with a pre-installed OS. At the very least, I have the freedom to reinstall Windows/Linux.
We need to find real solutions to the e-waste problem, it's unacceptable to be throwing away so many working phones simply because their manufacturer has decided to stop publishing OS updates after 2/3/4 years. I own a few older computers that are almost a decade old and run the latest version of Debian/Ubuntu. There is no reason phones should be treated any different.
Erm, it's Dr. Evil to you sir.
GrapheneOS for instance uses this mechanism.
Unfortunately you can only register one key and you have to wipe the device to change it, but that's still fine for most use cases.
This allows you to modify your image, sign it, flash it and relock your bootloader. If you have the infrastructure in place, future updates could be rolled out as OTA updates for your custom rom.
You'll still fail hardware attestation and afaik whatever api that returns the boot status differentiates between a vendor signed and a custom signed image.
So not perfect, but you lose the bootloader unlocked nag.
[0] https://android.googlesource.com/platform/external/avb/+/pie...