From f973f547d65270b5378d13326701a26c2b49295c Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Thu, 18 Aug 2022 10:36:17 -0400 Subject: [PATCH] 4th and 5th gen Android 13 kernel builds --- static/build.html | 66 +++++++++++++++++++++++------------------------ 1 file 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 ../..

Instructions for 4th and 5th generation Pixels need to be rewritten for Android 13.

- +
mkdir android/kernel/coral
+cd android/kernel/coral
+repo init -u https://github.com/GrapheneOS/kernel_coral-manifest.git -b 13
+repo sync -j16
-

For example, for 6th generation Pixels:

+

To build the Pixel 4 and Pixel 4 XL kernel (coral):

+ +
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
+ +

To build the Pixel 4a kernel (sunfish):

+ +
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
+ +

5th generation Pixels

+ +

For 5th generation Pixels:

+ +
mkdir android/kernel/redbull
+cd android/kernel/redbull
+repo init -u https://github.com/GrapheneOS/kernel_redbull-manifest.git -b 13
+repo sync -j16
+ +

To build the Pixel 4a (5G), Pixel 5 and Pixel 5a kernel (redbull):

+ +
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
+ +

Replace files in the GrapheneOS source tree at + device/google/raviole-kernel with the output from your kernel + build at out/mixed/dist.

+ +

6th generation Pixels

mkdir android/kernel/raviole
 cd android/kernel/raviole
@@ -455,9 +455,9 @@ repo sync -j16
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
-

You need to replace the files in the GrapheneOS source tree at +

Replace files in the GrapheneOS source tree at device/google/raviole-kernel with the output from your kernel - build at out/mixed/dist in the kernel-raviole source tree.

+ build at out/mixed/dist.