diff --git a/static/build.html b/static/build.html index 8a6194b3..b4d8ce02 100644 --- a/static/build.html +++ b/static/build.html @@ -396,17 +396,11 @@ cd ../.. source script/envsetup.sh m aapt2 -

Extract the vendor files corresponding to the matching release with - DEVICE and BUILD_ID variables replaced with the - appropriate values (can obtain the correct BUILD_ID from - build/make/core/build_id.mk):

+

Download, extract and prepare the vendor files:

-
DEVICE=raven
-BUILD_ID=TQ2A.230405.003.E1
-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,adevtool}
-vendor/adevtool/bin/run ota-firmware vendor/adevtool/config/$DEVICE.yml -f vendor/adevtool/dl/$DEVICE-ota-${BUILD_ID,,}-*.zip
+
adevtool generate-all -d PIXEL_CODENAME
+ +

Replace PIXEL_CODENAME with Pixel device codename, which is the same as build target name.