summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorDaniel Micay <daniel.micay@grapheneos.org>2023-10-20 19:53:56 -0400
committerDaniel Micay <daniel.micay@grapheneos.org>2023-10-20 19:53:56 -0400
commitb9d7fa3cf7ba920bd4e29ee9d3011e2671c3e3d5 (patch)
tree5309ac0ab33f19e48c821c7440eb1322abbef2ba /static
parent68d7b4c0dd940939b31daeead88116f812b5998a (diff)
add 8th gen Pixels to kernel build instructions
Diffstat (limited to 'static')
-rw-r--r--static/build.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/static/build.html b/static/build.html
index f6721359..ba1c768c 100644
--- a/static/build.html
+++ b/static/build.html
@@ -83,6 +83,7 @@
<a href="#kernel">Kernel</a>
<ul>
<li><a href="#kernel-emulator">Emulator</a></li>
+ <li><a href="#kernel-8th-generation-pixels">8th generation Pixels</a></li>
<li><a href="#kernel-7th-generation-pixels">7th generation Pixels</a></li>
<li><a href="#kernel-6th-generation-pixels">6th generation Pixels</a></li>
<li><a href="#kernel-5th-generation-pixels">5th generation Pixels</a></li>
@@ -742,6 +743,25 @@ cp out-vendor-modules/android13-5.10/dist/*.ko $ANDROID_BUILD_TOP/kernel/prebuil
<code>device/generic/goldfish/x86_64-kernel.mk</code>.</p>
</section>
+ <section id="kernel-8th-generation-pixels">
+ <h4><a href="#kernel-8th-generation-pixels">8th generation Pixels</a></h4>
+
+ <p>To sync the shusky kernel for the Pixel 8 and Pixel 8 Pro:</p>
+
+ <pre>mkdir -p android/kernel/shusky
+cd android/kernel/shusky
+repo init -u https://github.com/GrapheneOS/kernel_manifest-shusky.git -b 14-shusky
+repo sync -j8</pre>
+
+ <p>To build the shusky kernel for the Pixel 8 and Pixel 8 Pro:</p>
+
+ <pre>BUILD_AOSP_KERNEL=1 ./build_shusky.sh --lto=full</pre>
+
+ <p>Replace the files in the OS source tree at
+ <code>device/google/shusky-kernel/</code> with your build in
+ <code>out/shusky/dist/</code>.</p>
+ </section>
+
<section id="kernel-7th-generation-pixels">
<h4><a href="#kernel-7th-generation-pixels">7th generation Pixels</a></h4>