summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2022-08-18 10:44:34 -0400
committerDaniel Micay <danielmicay@gmail.com>2022-08-25 23:15:08 -0400
commit93e4389db3bd3ba02b69743449c66c5ea288a352 (patch)
tree28c3593d3e5b421d6b7da10b8261b7bb3f0a9b41 /static
parentf973f547d65270b5378d13326701a26c2b49295c (diff)
drop leftover legacy build docs
ESR branch for 3rd generation Pixels may be continued but this page will only be for documenting building the current generation GrapheneOS.
Diffstat (limited to 'static')
-rw-r--r--static/build.html47
1 files changed, 6 insertions, 41 deletions
diff --git a/static/build.html b/static/build.html
index 6dc1f4f1..d7f9d0ad 100644
--- a/static/build.html
+++ b/static/build.html
@@ -70,13 +70,7 @@
</li>
<li><a href="#updating-and-switching-branches-or-tags">Updating and switching branches or tags</a></li>
<li><a href="#kernel">Kernel</a></li>
- <li>
- <a href="#extracting-vendor-files-for-pixel-devices">Extracting vendor files for Pixel devices</a>
- <ul>
- <li><a href="#extracting-vendor-files-for-pixel-3a-and-earlier">Pixel 3a and earlier</a></li>
- <li><a href="#extracting-vendor-files-for-pixel-4-and-later">Pixel 4 and later</a></li>
- </ul>
- </li>
+ <li><a href="#extracting-vendor-files-for-pixel-devices">Extracting vendor files for Pixel devices</a></li>
<li><a href="#setting-up-the-os-build-environment">Setting up the OS build environment</a></li>
<li><a href="#reproducible-builds">Reproducible builds</a></li>
<li><a href="#building">Building</a></li>
@@ -152,10 +146,6 @@
<li>sunfish (Pixel 4a)</li>
<li>coral (Pixel 4 XL)</li>
<li>flame (Pixel 4)</li>
- <li>bonito (Pixel 3a XL)</li>
- <li>sargo (Pixel 3a)</li>
- <li>crosshatch (Pixel 3 XL)</li>
- <li>blueline (Pixel 3)</li>
</ul>
<p>These are all fully supported production-ready targets supporting all the
@@ -334,10 +324,6 @@
including the emulator, porting to other devices and for non-legacy
officially supported devices.</p>
- <p>Pixel 3 / Pixel 3 XL / Pixel 3a / Pixel 3a XL use the
- <code>12.1-crosshatch</code> branch setting an appropriate
- <code>BUILD_ID</code> and security patch level field.</p>
-
<p>The <code>13</code> branch is in early development and will be the
branch used for all non-legacy devices.</p>
@@ -474,41 +460,20 @@ repo sync -j16</pre>
that the official builds match the sources, since it has signature verification (which
is an important part of the verified boot and attestation security model).</p>
- <section id="extracting-vendor-files-for-pixel-3a-and-earlier">
- <h4><a href="#extracting-vendor-files-for-pixel-3a-and-earlier">Pixel 3a and earlier</a></h4>
-
- <p>3rd generation Pixel devices will be using android-prepare-vendor for the remainder of
- their lifetime on GrapheneOS.
- </p>
+ <p>The below commands need to only be run once to initially create a working environment.</p>
- <p>Extract the vendor files corresponding to the matching release with
- <code>DEVICE</code> and <code>BUILD_ID</code> replaced with the
- appropriate values:</p>
-
- <pre>vendor/android-prepare-vendor/execute-all.sh -d DEVICE -b BUILD_ID -o vendor/android-prepare-vendor
-mkdir -p vendor/google_devices
-rm -rf vendor/google_devices/DEVICE
-mv vendor/android-prepare-vendor/DEVICE/BUILD_ID/vendor/google_devices/* vendor/google_devices/</pre>
- </section>
-
- <section id="extracting-vendor-files-for-pixel-4-and-later">
- <h4><a href="#extracting-vendor-files-for-pixel-4-and-later">Pixel 4 and later</a></h4>
-
- <p>The below commands need to only be run once to initially create a working environment.</p>
-
- <pre>cd vendor/adevtool/ &amp;&amp; yarn install &amp;&amp; cd ../..
+ <pre>cd vendor/adevtool/ &amp;&amp; yarn install &amp;&amp; cd ../..
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> replaced with the
- appropriate values:</p>
+ <p>Extract the vendor files corresponding to the matching release with
+ <code>DEVICE</code> and <code>BUILD_ID</code> replaced with the
+ appropriate values:</p>
<pre>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</pre>
- </section>
</section>
<section id="setting-up-the-os-build-environment">