Does anyone build GrapheneOS "from scratch"?
I'm wondering what would be necessary to build GrapheneOS releases yourself, and regularly update your phone from your own servers, with your builds. The server for apps.grapheneos.org should also be replaced. Has anyone done this?
The documentation for GrapheneOS has a section about how to reproduce builds:
grapheneos.org/build#reproduci…
But it would be more involved than that.
GrapheneOS build documentation
Building instructions for GrapheneOS, a security and privacy focused mobile OS with Android app compatibility.GrapheneOS
This entry was edited (2 weeks ago)

Octagon9561
in reply to liminal • • •Anna
in reply to liminal • • •I've only built and ran their emulator. But, The first build will take a lot of time but subsequent builds are fast.
Keep in mind Google is not releasing source code regularly like they used to. And GrapheneOS has a OEM partner from them they get latest source code but not allowed to release for some time so build will not have latest updates
monovergent
in reply to liminal • • •Building an Android ROM is decently resource-intensive. Back when DivestOS was first discontinued, I wanted to see if there was anything I could do about rolling my own updates for my device. Decided against it once I saw how much RAM (or tradeoff being time) it would need.
Also I'm lazy and I'd probably miss security updates if I had to go through the build process as frequently as GrapheneOS updates.
RheumatoidArthritis
in reply to monovergent • • •utopiah
in reply to liminal • • •I haven't but I did built relatively large projects before (e.g. browsers) and basically it depends mostly on 2 things :
I think it's interesting to do but honestly as someone else mentioned, builds are signed. In fact at the end of grapheneos.org/install/web#ver… you get the verified boot hash. The goal is precisely to check that you actually get what you are supposed to have running. Basically the big picture of reproducible builds is that you do NOT have to do it and can STILL verify that you have exactly, up to a single bit, what should have.
GrapheneOS web installer
GrapheneOSliminal
in reply to utopiah • • •utopiah
in reply to liminal • • •Yes, absolutely, yet the fact that we even know who they are proves that it's definitely an odd case. It's important to remember it but it's definitely not a normal situation.
Auli
in reply to liminal • • •BladeFederation
in reply to liminal • • •communism
in reply to BladeFederation • • •Most people who build software from source do it for reasons other than trust. Could be for fun (I imagine the main reason why people do Linux From Scratch), could be for the same reason that compels some people to use Gentoo lol. OP didn't say what their motivation was.
edit: nvm, in other comments OP has said they're concerned about an xz style of backdoor. In any case, I would still be interested to read about someone trying what OP is suggesting.
Auli
in reply to liminal • • •liminal
in reply to Auli • • •