I am having difficulty building grapheneos.
1) The Build instructions are layed out in a flat manor that makes it incredibly difficult to decipher what step I am on and if this is necessary.
It is currently:
Build Dependencies
dependencies for fetching
baseline dependecies
download source code
development branch
stable release
It should be: (including indentation obviously but this forum doesn't have indentation...)
I) Build Dependencies
A) dependencies for fetching
B) baseline dependecies
II) download source code
A) development branch
B) stable release
2) before i ran the following i went in and edited the dialer app with some changes for functionality which is the reason i want to have a custom build.
then ran:
m vendorbootimage vendorkernelbootimage target-files-package
it ran without errors.
Does this mean that i have a useable image to flash my phone with yet?
I need more information on whats happening.
So i keep going I do the generate steps but replace raven with panther and CN with graph
should i have done this? i need more information here on whats going on:
mkdir -p keys/panther
cd keys/panther
CN=Graph
../../development/tools/make_key releasekey "/CN=$CN/"
../../development/tools/make_key platform "/CN=$CN/"
../../development/tools/make_key shared "/CN=$CN/"
../../development/tools/make_key media "/CN=$CN/"
../../development/tools/make_key networkstack "/CN=$CN/"
../../development/tools/make_key sdk_sandbox "/CN=$CN/"
../../development/tools/make_key bluetooth "/CN=$CN/"
openssl genrsa 4096 | openssl pkcs8 -topk8 -scrypt -out avb.pem
../../external/avb/avbtool.py extract_public_key --key avb.pem --output avb_pkmd.bin
cd ../..
then: ssh-keygen -t ed25519 -f keys/panther/id_ed25519
and then: script/encrypt-keys keys/panther
Is my image ready yet? Well I have no idea...
So i keep going in the instructions.
Generating signed factory image? doesn't sound right since i made some changes to the build it probably won't work anywayi run it anyway
m otatools-package
script/finalize.sh
then the next one gives me an error:
script/generate-release.sh panther 2025081400
Says that there is no keys in the releases/panther/ folder...
i check in releases there are now two folders one is
2025081400
and another is
2025082300 which has keys inside it...
So i move the keys from 2025082300 to 2025081400
then run again
it runs fine.
at this point i scroll through
It sounds like all the next steps are if you wanted to have a different binary than the one already built.
like kerner, webview, update server.
So where is my image that i can flash and where are the flash_all.sh tool ect...??
No idea.
Please help :)