diff options
| author | Daniel Micay <daniel.micay@grapheneos.org> | 2023-07-05 10:19:28 -0400 |
|---|---|---|
| committer | Daniel Micay <daniel.micay@grapheneos.org> | 2023-07-05 10:19:28 -0400 |
| commit | cdd69d7fb7dd5059c09337242f86aad313d8b7a9 (patch) | |
| tree | a633973493a294f00960ccae7df61598f75135ab /static | |
| parent | 2eb410b1fec5e87b8b971bf78b5b5f01bdb1f26b (diff) | |
reorder build guide device kernel sections
Newest to oldest is our standard order elsewhere.
Diffstat (limited to 'static')
| -rw-r--r-- | static/build.html | 148 |
1 files changed, 74 insertions, 74 deletions
diff --git a/static/build.html b/static/build.html index 34da1ae4..5c8723c9 100644 --- a/static/build.html +++ b/static/build.html @@ -99,10 +99,10 @@ <a href="#kernel">Kernel</a> <ul> <li><a href="#kernel-emulator">Emulator</a></li> - <li><a href="#kernel-4th-generation-pixels">4th generation Pixels</a></li> - <li><a href="#kernel-5th-generation-pixels">5th generation Pixels</a></li> - <li><a href="#kernel-6th-generation-pixels">6th 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> + <li><a href="#kernel-4th-generation-pixels">4th generation Pixels</a></li> </ul> </li> <li><a href="#browser-and-webview">Browser and WebView</a></li> @@ -771,47 +771,68 @@ 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-4th-generation-pixels"> - <h4><a href="#kernel-4th-generation-pixels">4th generation Pixels</a></h4> + <section id="kernel-7th-generation-pixels"> + <h4><a href="#kernel-7th-generation-pixels">7th generation Pixels</a></h4> - <pre>mkdir -p android/kernel/coral -cd android/kernel/coral -repo init -u https://github.com/GrapheneOS/kernel_manifest-coral.git -b 13 + <p>To sync the pantah kernel for the Pixel 7 and Pixel 7 Pro:</p> + + <pre>mkdir -p android/kernel/pantah +cd android/kernel/pantah +repo init -u https://github.com/GrapheneOS/kernel_manifest-pantah.git -b 13 repo sync -j8</pre> - <p>To build the coral kernel for the Pixel 4 and Pixel 4 XL:</p> + <p>To build the pantah kernel for the Pixel 7 and Pixel 7 Pro:</p> - <pre>KBUILD_BUILD_VERSION=1 KBUILD_BUILD_USER=build-user KBUILD_BUILD_HOST=build-host KBUILD_BUILD_TIMESTAMP="Thu 01 Jan 1970 12:00:00 AM UTC" BUILD_CONFIG=private/msm-google/build.config.floral build/build.sh</pre> + <pre>LTO=full BUILD_AOSP_KERNEL=1 ./build_cloudripper.sh</pre> - <p>To build the sunfish kernel for the Pixel 4a:</p> + <p>Replace the files in the OS source tree at + <code>device/google/pantah-kernel/</code> with your build in + <code>out/mixed/dist/</code>.</p> - <pre>KBUILD_BUILD_VERSION=1 KBUILD_BUILD_USER=build-user KBUILD_BUILD_HOST=build-host KBUILD_BUILD_TIMESTAMP="Thu 01 Jan 1970 12:00:00 AM UTC" BUILD_CONFIG=private/msm-google/build.config.sunfish build/build.sh</pre> + <p>To sync the lynx kernel for the Pixel 7a:</p> + + <pre>mkdir -p android/kernel/lynx +cd android/kernel/lynx +repo init -u https://github.com/GrapheneOS/kernel_manifest-lynx.git -b 13 +repo sync -j8</pre> + + <p>To build the lynx kernel for the Pixel 7a:</p> + + <pre>LTO=full BUILD_AOSP_KERNEL=1 ./build_lynx.sh</pre> <p>Replace the files in the OS source tree at - <code>device/google/coral-kernel/</code> or - <code>device/google/sunfish-kernel/</code> with your build in - <code>out/android-msm-pixel-4.14/dist/</code>.</p> - </section> + <code>device/google/lynx-kernel/</code> with your build in + <code>out/mixed/dist/</code>.</p> - <section id="kernel-5th-generation-pixels"> - <h4><a href="#kernel-5th-generation-pixels">5th generation Pixels</a></h4> + <p>To sync the tangorpro kernel for the Pixel Tablet:</p> - <p>For 5th generation Pixels:</p> + <pre>mkdir -p android/kernel/tangorpro +cd android/kernel/tangorpro +repo init -u https://github.com/GrapheneOS/kernel_manifest-tangorpro.git -b 13-tangorpro +repo sync -j8</pre> - <pre>mkdir -p android/kernel/redbull -cd android/kernel/redbull -repo init -u https://github.com/GrapheneOS/kernel_manifest-redbull.git -b 13 + <p>To build the tangorpro kernel for the Pixel Tablet:</p> + + <pre>LTO=full BUILD_AOSP_KERNEL=1 ./build_tangorpro.sh</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 redbull kernel for the Pixel 4a (5G), Pixel 5 and Pixel 5a - kernel:</p> + <p>To build the felix kernel for the Pixel Fold:</p> - <pre>BUILD_CONFIG=private/msm-google/build.config.redbull.vintf build/build.sh</pre> + <pre>LTO=full BUILD_AOSP_KERNEL=1 ./build_felix.sh</pre> <p>Replace the files in the OS source tree at - <code>device/google/redbull-kernel/</code> (userdebug/eng) and - <code>device/google/redbull-kernel/vintf/</code> (user) with your build in - <code>out/android-msm-pixel-4.19/dist/</code>.</p> + <code>device/google/felix-kernel/</code> with your build in + <code>out/mixed/dist/</code>.</p> </section> <section id="kernel-6th-generation-pixels"> @@ -845,68 +866,47 @@ repo sync -j8</pre> <code>out/mixed/dist/</code>.</p> </section> - <section id="kernel-7th-generation-pixels"> - <h4><a href="#kernel-7th-generation-pixels">7th generation Pixels</a></h4> - - <p>To sync the pantah kernel for the Pixel 7 and Pixel 7 Pro:</p> - - <pre>mkdir -p android/kernel/pantah -cd android/kernel/pantah -repo init -u https://github.com/GrapheneOS/kernel_manifest-pantah.git -b 13 -repo sync -j8</pre> - - <p>To build the pantah kernel for the Pixel 7 and Pixel 7 Pro:</p> - - <pre>LTO=full BUILD_AOSP_KERNEL=1 ./build_cloudripper.sh</pre> - - <p>Replace the files in the OS source tree at - <code>device/google/pantah-kernel/</code> with your build in - <code>out/mixed/dist/</code>.</p> + <section id="kernel-5th-generation-pixels"> + <h4><a href="#kernel-5th-generation-pixels">5th generation Pixels</a></h4> - <p>To sync the lynx kernel for the Pixel 7a:</p> + <p>For 5th generation Pixels:</p> - <pre>mkdir -p android/kernel/lynx -cd android/kernel/lynx -repo init -u https://github.com/GrapheneOS/kernel_manifest-lynx.git -b 13 + <pre>mkdir -p android/kernel/redbull +cd android/kernel/redbull +repo init -u https://github.com/GrapheneOS/kernel_manifest-redbull.git -b 13 repo sync -j8</pre> - <p>To build the lynx kernel for the Pixel 7a:</p> + <p>To build the redbull kernel for the Pixel 4a (5G), Pixel 5 and Pixel 5a + kernel:</p> - <pre>LTO=full BUILD_AOSP_KERNEL=1 ./build_lynx.sh</pre> + <pre>BUILD_CONFIG=private/msm-google/build.config.redbull.vintf build/build.sh</pre> <p>Replace the files in the OS source tree at - <code>device/google/lynx-kernel/</code> with your build in - <code>out/mixed/dist/</code>.</p> + <code>device/google/redbull-kernel/</code> (userdebug/eng) and + <code>device/google/redbull-kernel/vintf/</code> (user) with your build in + <code>out/android-msm-pixel-4.19/dist/</code>.</p> + </section> - <p>To sync the tangorpro kernel for the Pixel Tablet:</p> + <section id="kernel-4th-generation-pixels"> + <h4><a href="#kernel-4th-generation-pixels">4th generation Pixels</a></h4> - <pre>mkdir -p android/kernel/tangorpro -cd android/kernel/tangorpro -repo init -u https://github.com/GrapheneOS/kernel_manifest-tangorpro.git -b 13-tangorpro + <pre>mkdir -p android/kernel/coral +cd android/kernel/coral +repo init -u https://github.com/GrapheneOS/kernel_manifest-coral.git -b 13 repo sync -j8</pre> - <p>To build the tangorpro kernel for the Pixel Tablet:</p> - - <pre>LTO=full BUILD_AOSP_KERNEL=1 ./build_tangorpro.sh</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> + <p>To build the coral kernel for the Pixel 4 and Pixel 4 XL:</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> + <pre>KBUILD_BUILD_VERSION=1 KBUILD_BUILD_USER=build-user KBUILD_BUILD_HOST=build-host 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 felix kernel for the Pixel Fold:</p> + <p>To build the sunfish kernel for the Pixel 4a:</p> - <pre>LTO=full BUILD_AOSP_KERNEL=1 ./build_felix.sh</pre> + <pre>KBUILD_BUILD_VERSION=1 KBUILD_BUILD_USER=build-user KBUILD_BUILD_HOST=build-host KBUILD_BUILD_TIMESTAMP="Thu 01 Jan 1970 12:00:00 AM UTC" BUILD_CONFIG=private/msm-google/build.config.sunfish build/build.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> + <code>device/google/coral-kernel/</code> or + <code>device/google/sunfish-kernel/</code> with your build in + <code>out/android-msm-pixel-4.14/dist/</code>.</p> </section> </section> |
