diff --git a/static/build.html b/static/build.html index 42c5bce0..ff1172f8 100644 --- a/static/build.html +++ b/static/build.html @@ -73,8 +73,8 @@
Additional dependencies for Pixel phones before the 6th generation:
+Additional dependencies for Pixel phones before the 4th generation:
Additional dependencies for 6th generation Pixel phones:
- -Additional Vanadium (Chromium) build dependencies not provided by the source tree:
3rd generation Pixel devices will be using android-prepare-vendor for the remainder of + their lifetime on GrapheneOS. +
Extract the vendor files corresponding to the matching release with
DEVICE
and BUILD_ID
replaced with the
@@ -490,22 +490,23 @@ rm -rf vendor/google_devices/DEVICE
mv vendor/android-prepare-vendor/DEVICE/BUILD_ID/vendor/google_devices/* vendor/google_devices/
Starting with the Pixel 6, newer generation devices use the adevtool project to - extract files from the stock operating system. -
+The below commands need to only be run once to initially create a working environment.
cd vendor/adevtool/ && yarn install && cd ../.. -vendor/adevtool/bin/run download vendor/adevtool/dl/ -d DEVICE -b BUILD_ID -t factory -sudo vendor/adevtool/bin/run generate-all vendor/adevtool/config/DEVICE.yml -c vendor/state/DEVICE.json -s vendor/adevtool/dl/DEVICE-BUILD_ID-*.zip+source script/envsetup.sh +m aapt2 -
OTA firmware extraction is currently a work-in-progress on adevtool. - android-prepare-vendor is being temporarily used to make the process easier.
+Extract the vendor files corresponding to the matching release with
+ DEVICE
and BUILD_ID
replaced with the
+ appropriate values:
vendor/android-prepare-vendor/execute-all.sh -d DEVICE -b BUILD_ID -o vendor/android-prepare-vendor -cp -r vendor/android-prepare-vendor/DEVICE/BUILD_ID/vendor/google_devices/DEVICE/radio/* vendor/google_devices/DEVICE/firmware/+
vendor/adevtool/bin/run download vendor/adevtool/dl/ -d DEVICE -b BUILD_ID -t factory ota +sudo vendor/adevtool/bin/run generate-all vendor/adevtool/config/DEVICE.yml -c vendor/state/DEVICE.json -s vendor/adevtool/dl/DEVICE-BUILD_ID-*.zip +sudo chown -R $(logname):$(logname) vendor/google_devices +vendor/adevtool/bin/run ota-firmware vendor/adevtool/config/DEVICE.yml -f vendor/adevtool/dl/DEVICE-ota-BUILD_ID-*.zip