summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Micay <daniel.micay@grapheneos.org>2023-06-27 16:10:34 -0400
committerDaniel Micay <daniel.micay@grapheneos.org>2023-06-27 16:10:34 -0400
commit5220461d573468da44f5b67a6903da8ff167b234 (patch)
treeec57393ba2ddc46a9832595fd91a66a4f6cdb0ad
parentc95af3c4116a4fba634b568cae56e9d67337831e (diff)
add Pixel Fold build instructions
-rw-r--r--static/build.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/static/build.html b/static/build.html
index b9f3369a..c8260be5 100644
--- a/static/build.html
+++ b/static/build.html
@@ -148,6 +148,7 @@
<p>Smartphone and tablet targets:</p>
<ul>
+ <li>felix (Pixel Fold)</li>
<li>tangorpro (Pixel Tablet)</li>
<li>lynx (Pixel 7a)</li>
<li>cheetah (Pixel 7 Pro)</li>
@@ -320,6 +321,10 @@
Pixel Tablet since there hasn't been a quarterly or yearly release to
merge in support for it yet.</p>
+ <p>The <code>13-felix</code> branch is used for the newly launched
+ Pixel Fold since there hasn't been a quarterly or yearly release to
+ merge in support for it yet.</p>
+
<p>The <code>13-coral</code> branch is used for the end-of-life Pixel 4
and Pixel 4 XL due to incompatibilities with certain new changes.</p>
@@ -898,6 +903,21 @@ repo sync -j8</pre>
<p>Replace the files in the OS source tree at
<code>device/google/tangorpro-kernel/</code> with your build in
<code>out/mixed/dist/</code>.</p>
+
+ <p>To sync the felix kernel for the Pixel Fold:</p>
+
+ <pre>mkdir -p android/kernel/felix
+cd android/kernel/felix
+repo init -u https://github.com/GrapheneOS/kernel_manifest-felix.git -b 13-felix
+repo sync -j8</pre>
+
+ <p>To build the felix kernel for the Pixel Fold:</p>
+
+ <pre>LTO=full BUILD_AOSP_KERNEL=1 ./build_felix.sh</pre>
+
+ <p>Replace the files in the OS source tree at
+ <code>device/google/felix-kernel/</code> with your build in
+ <code>out/mixed/dist/</code>.</p>
</section>
</section>