this post was submitted on 24 Mar 2025
45 points (100.0% liked)

Android

29789 readers
73 users here now

DROID DOES

Welcome to the droidymcdroidface-iest, Lemmyest (Lemmiest), test, bestest, phoniest, pluckiest, snarkiest, and spiciest Android community on Lemmy (Do not respond)! Here you can participate in amazing discussions and events relating to all things Android.

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules


1. All posts must be relevant to Android devices/operating system.


2. Posts cannot be illegal or NSFW material.


3. No spam, self promotion, or upvote farming. Sources engaging in these behavior will be added to the Blacklist.


4. Non-whitelisted bots will be banned.


5. Engage respectfully: Harassment, flamebaiting, bad faith engagement, or agenda posting will result in your posts being removed. Excessive violations will result in temporary or permanent ban, depending on severity.


6. Memes are not allowed to be posts, but are allowed in the comments.


7. Posts from clickbait sources are heavily discouraged. Please de-clickbait titles if it needs to be submitted.


8. Submission statements of any length composed of your own thoughts inside the post text field are mandatory for any microblog posts, and are optional but recommended for article/image/video posts.


Community Resources:


We are Android girls*,

In our Lemmy.world.

The back is plastic,

It's fantastic.

*Well, not just girls: people of all gender identities are welcomed here.


Our Partner Communities:

[email protected]


founded 2 years ago
MODERATORS
 

Since it is open source it is possible, but does this break any funcionality when running on other devices?

top 7 comments
sorted by: hot top controversial new old
[–] [email protected] 39 points 1 day ago (1 children)

The pixel has a TPM chip (Trusted Protection Module). This is a device that has an internal cryptographic key set that can never be accessed outside of a lab with access to the die, like using red fuming nitric acid to get to the die without damaging the gold bond wires – type/class of access.

The internal key of the device is used to create any additional keys you would like to make. It can also test the validity of any key it has generated and check the hash of any file. Hashing a file is ensuring it is unchanged using a key to ensure no one in the middle has altered or added to the file.

Graphene uses this TPM chip to create a chain of trust with the device. It is essentially like secure boot on a computer. Anyone with control over a key like this is able to make changes to your device.

No mobile devices contain documented hardware for the system on chip or the modem. Both of these are black boxes. Obviously the modem is a big concern. Google/Android is a scheme to make it as easy as possible for hardware manufacturers to build with Android using a kernel that only needs the hardware support binaries added at the last possible minute. There is no source code available for these binary kernel modules. The code is never added to the mainline Linux kernel. This is the mechanism used to deprecate your devices. These are orphaned kernels that are proprietary and cannot be properly maintained and updated because of these kernel modules for the physical hardware. The hardware is different enough that no one can reverse engineer it effectively and transfer that effort to other devices.

You can never completely trust this hardware. We simply do not know what is there and what it can do. However, with a TPM module, we can make it irrelevant and simply discard any interaction or activities we do not understand. We can also verify that none of this hardware is altering or interfering with the OS or files on the device. Any changes will alter the result of the files hash. The inability to access or modify the TPM hidden key and its existence outside of the SoC is the reason Pixels are used and why other devices are insecure.

[–] [email protected] 12 points 1 day ago

I was interested in using GrapheneOS but didn't fully understand why the devs trust Google. turns out they don't have to! thanks for the great explanation!

[–] [email protected] 23 points 1 day ago* (last edited 1 day ago)

Their FAQ says kind of:

Many other devices are supported by GrapheneOS at a source level, and it can be built for them without modifications to the existing GrapheneOS source tree. [...] In most cases, substantial work beyond that will be needed to bring the support up to the same standards. For most devices, the hardware and firmware will prevent providing a reasonably secure device, regardless of the work put into device support.

The requirements that GrapheneOS has on the hardware, like relocking the bootloader and hardware level access, should be part of rights to repair / digital markets act imo. They are even considering producing their own hardware in the future.

[–] [email protected] 9 points 1 day ago* (last edited 1 day ago) (1 children)

A basic requirement most devices don't meet is the ability to relock the bootloader. Other than Fairphone, Google Pixel and OnePlus basically no manufacturers allow unlocking and subsequently relocking the bootloader, which makes custom ROMs inherently less secure than stock. This keeps CalyxOS from most devices. LineageOS can't be relocked and thus is able to support way more devices.

Others have pointed out more in-depth security requirements GrapheneOS specifically thinks of as mandatory (they do take security very seriously).

[–] [email protected] 1 points 19 hours ago

Oh OnePlus allows that? Dude it'd be fucking great. Is Calyx and Graphene could support them they are like half the price of Pixels and their downsides is for the most part shorter update life cycle, which this would fix!

[–] [email protected] 4 points 1 day ago

Pretty sure they use some google security features that breaks it on non-pixel devices.

[–] [email protected] 3 points 1 day ago

It can be done, but it's a pain in th ass and it varies by vendor, model, and version (and region). Whether it breaks any functionality is dependent on those things although usually not. If it breaks something it's usually like the ability to change volume over bluetooth and stuff like that vs - y'know the screen not working or something.