From fbbae9af3ac85f0fda2d8295edfa3505f1f6e604 Mon Sep 17 00:00:00 2001 From: flawedworld Date: Tue, 15 Mar 2022 22:28:46 +0000 Subject: [PATCH] Use adevtool to download images --- static/build.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/build.html b/static/build.html index 66c7030d..47c63a10 100644 --- a/static/build.html +++ b/static/build.html @@ -502,8 +502,8 @@ mv vendor/android-prepare-vendor/DEVICE/BUILD_ID/vendor/google_devices/* vendor/

cd vendor/adevtool/ && yarn install && cd ../..
-vendor/adevtool/mountimages.bash DEVICE BUILD_ID
-sudo vendor/adevtool/bin/run generate-all vendor/adevtool/config/DEVICE.yml -c vendor/state/DEVICE.json -f vendor/adevtool/dl/DEVICE-BUILD_ID-*.zip -s vendor/adevtool/dl/DEVICE-BUILD_ID/mount/
+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

OTA firmware extraction is currently a work-in-progress on adevtool. android-prepare-vendor is being temporarily used to make the process easier.