summaryrefslogtreecommitdiff
path: root/static/build.html
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2022-08-18 10:36:17 -0400
committerDaniel Micay <danielmicay@gmail.com>2022-08-25 23:15:08 -0400
commitf973f547d65270b5378d13326701a26c2b49295c (patch)
treee3bff4f0fc79bb9c78b5635490cc36a10e118d44 /static/build.html
parentf800798e41859ab0133f8e2cd21b177b72f9e17f (diff)
4th and 5th gen Android 13 kernel builds
Diffstat (limited to 'static/build.html')
-rw-r--r--static/build.html66
1 files changed, 33 insertions, 33 deletions
diff --git a/static/build.html b/static/build.html
index e3470f0a..6dc1f4f1 100644
--- a/static/build.html
+++ b/static/build.html
@@ -408,39 +408,39 @@ cd ../..</pre>
<p>Instructions for 4th and 5th generation Pixels need to be rewritten for
Android 13.</p>
- <!--
- <p>List of kernels corresponding to officially supported devices:</p>
+ <h4>4th generation Pixels</h4>
- <ul>
- <li>
- Pixel 3, Pixel 3 XL, Pixel 3a, Pixel 3a XL: crosshatch
- <ul>
- <li>Pixel 3: blueline</li>
- <li>Pixel 3 XL: crosshatch</li>
- <li>Pixel 3a, Pixel 3a XL: bonito</li>
- </ul>
- </li>
- <li>
- Pixel 4, Pixel 4 XL, Pixel 4a: coral
- <ul>
- <li>Pixel 4, Pixel 4 XL: coral</li>
- <li>Pixel 4a: sunfish</li>
- </ul>
- </li>
- <li>
- Pixel 4a (5G), Pixel 5: redbull
- <ul>
- <li>Pixel 4a (5G): bramble</li>
- <li>Pixel 5: redfin</li>
- </ul>
- </li>
- <li>Pixel 5a: barbet</li>
- <li>Pixel 6, Pixel 6 Pro: raviole</li>
- <li>Pixel 6a: raviole 12.1-bluejay branch</li>
- </ul>
- -->
+ <pre>mkdir android/kernel/coral
+cd android/kernel/coral
+repo init -u https://github.com/GrapheneOS/kernel_coral-manifest.git -b 13
+repo sync -j16</pre>
+
+ <p>To build the Pixel 4 and Pixel 4 XL kernel (coral):</p>
+
+ <pre>KBUILD_BUILD_VERSION=1 KBUILD_BUILD_USER=grapheneos KBUILD_BUILD_HOST=grapheneos KBUILD_BUILD_TIMESTAMP="Thu 01 Jan 1970 12:00:00 AM UTC" BUILD_CONFIG=private/msm-google/build.config.floral build/build.sh</pre>
+
+ <p>To build the Pixel 4a kernel (sunfish):</p>
+
+ <pre>KBUILD_BUILD_VERSION=1 KBUILD_BUILD_USER=grapheneos KBUILD_BUILD_HOST=grapheneos KBUILD_BUILD_TIMESTAMP="Thu 01 Jan 1970 12:00:00 AM UTC" BUILD_CONFIG=private/msm-google/build.config.sunfish build/build.sh</pre>
+
+ <h4>5th generation Pixels</h4>
+
+ <p>For 5th generation Pixels:</p>
+
+ <pre>mkdir android/kernel/redbull
+cd android/kernel/redbull
+repo init -u https://github.com/GrapheneOS/kernel_redbull-manifest.git -b 13
+repo sync -j16</pre>
+
+ <p>To build the Pixel 4a (5G), Pixel 5 and Pixel 5a kernel (redbull):</p>
+
+ <pre>KBUILD_BUILD_VERSION=1 KBUILD_BUILD_USER=grapheneos KBUILD_BUILD_HOST=grapheneos KBUILD_BUILD_TIMESTAMP="Thu 01 Jan 1970 12:00:00 AM UTC" BUILD_CONFIG=private/msm-google/build.config.redbull.vintf build/build.sh</pre>
+
+ <p>Replace files in the GrapheneOS source tree at
+ <code>device/google/raviole-kernel</code> with the output from your kernel
+ build at <code>out/mixed/dist</code>.</p>
- <p>For example, for 6th generation Pixels:</p>
+ <h4>6th generation Pixels</h4>
<pre>mkdir android/kernel/raviole
cd android/kernel/raviole
@@ -455,9 +455,9 @@ repo sync -j16</pre>
<pre>KBUILD_BUILD_VERSION=1 KBUILD_BUILD_USER=grapheneos KBUILD_BUILD_HOST=grapheneos KBUILD_BUILD_TIMESTAMP="Thu 01 Jan 1970 12:00:00 AM UTC" LTO=full BUILD_KERNEL=1 ./build_bluejay.sh</pre>
- <p>You need to replace the files in the GrapheneOS source tree at
+ <p>Replace files in the GrapheneOS source tree at
<code>device/google/raviole-kernel</code> with the output from your kernel
- build at <code>out/mixed/dist</code> in the kernel-raviole source tree.</p>
+ build at <code>out/mixed/dist</code>.</p>
</section>
<section id="extracting-vendor-files-for-pixel-devices">