summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Muhomor <muhomor.dmitry@gmail.com>2023-09-02 09:28:01 +0300
committerDaniel Micay <danielmicay@gmail.com>2023-09-02 02:39:21 -0400
commitaffeae4078b44b9ecf2bc449f6507ac7ac8215a5 (patch)
treedb882e821a1e1a33e42f4c4c302e529afb5470cc
parent119d2e047fa3d1344e62345f691a6784176de58c (diff)
update adevtool instructions
-rw-r--r--static/build.html14
1 files changed, 4 insertions, 10 deletions
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 ../..</pre>
source script/envsetup.sh
m aapt2</pre>
- <p>Extract the vendor files corresponding to the matching release with
- <code>DEVICE</code> and <code>BUILD_ID</code> variables replaced with the
- appropriate values (can obtain the correct <code>BUILD_ID</code> from
- <code>build/make/core/build_id.mk</code>):</p>
+ <p>Download, extract and prepare the vendor files:</p>
- <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/$DEVICE.yml -f vendor/adevtool/dl/$DEVICE-ota-${BUILD_ID,,}-*.zip</pre>
+ <pre>adevtool generate-all -d PIXEL_CODENAME</pre>
+
+ <p>Replace PIXEL_CODENAME with Pixel device codename, which is the same as <a href="#build-targets">build target name</a>.</p>
</section>
<section id="setting-up-the-os-build-environment">