diff options
| author | r3g_5z <june@girlboss.ceo> | 2023-04-11 18:12:38 -0400 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2023-04-12 01:03:42 -0400 |
| commit | 4a3da68dcfbb67e5255c96e3ba30815d1d72188a (patch) | |
| tree | 77ad01ee4fc9eecd7bf659690ee133cfb65a2e5a | |
| parent | d19f7a0265e838ba3e7428fef306697b1e2e997a (diff) | |
use variables for adevtool DEVICE and BUILD_ID
Signed-off-by: r3g_5z <june@girlboss.ceo>
| -rw-r--r-- | static/build.html | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/static/build.html b/static/build.html index 79c0dfc3..5f109a8e 100644 --- a/static/build.html +++ b/static/build.html @@ -393,13 +393,15 @@ source script/envsetup.sh m aapt2</pre> <p>Extract the vendor files corresponding to the matching release with - <code><var>DEVICE</var></code> and <code><var>BUILD_ID</var></code> replaced with the - appropriate values:</p> + <code>DEVICE</code> and <code>BUILD_ID</code> variables replaced with the appropriate + values:</p> -<pre>vendor/adevtool/bin/run download vendor/adevtool/dl/ -d <var>DEVICE</var> -b <var>BUILD_ID</var> -t factory ota -sudo vendor/adevtool/bin/run generate-all vendor/adevtool/config/<var>DEVICE</var>.yml -c vendor/state/<var>DEVICE</var>.json -s vendor/adevtool/dl/<var>DEVICE</var>-<var>BUILD_ID</var>-*.zip + <pre>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/<var>DEVICE</var>.yml -f vendor/adevtool/dl/<var>DEVICE</var>-ota-<var>BUILD_ID</var>-*.zip</pre> +vendor/adevtool/bin/run ota-firmware vendor/adevtool/config/$DEVICE.yml -f vendor/adevtool/dl/$DEVICE-ota-${BUILD_ID,,}-*.zip</pre> </section> <section id="setting-up-the-os-build-environment"> |
