From cdd69d7fb7dd5059c09337242f86aad313d8b7a9 Mon Sep 17 00:00:00 2001
From: Daniel Micay
device/generic/goldfish/x86_64-kernel.mk
.
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- -
To build the coral kernel for the Pixel 4 and Pixel 4 XL:
- -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- -
To build the sunfish kernel for the Pixel 4a:
- -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- -
Replace the files in the OS source tree at
- device/google/coral-kernel/
or
- device/google/sunfish-kernel/
with your build in
- out/android-msm-pixel-4.14/dist/
.
For 5th generation Pixels:
- -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- -
To build the redbull kernel for the Pixel 4a (5G), Pixel 5 and Pixel 5a - kernel:
- -BUILD_CONFIG=private/msm-google/build.config.redbull.vintf build/build.sh- -
Replace the files in the OS source tree at
- device/google/redbull-kernel/
(userdebug/eng) and
- device/google/redbull-kernel/vintf/
(user) with your build in
- out/android-msm-pixel-4.19/dist/
.
To sync the raviole kernel for the Pixel 6 and Pixel 6 Pro:
- -mkdir -p android/kernel/raviole -cd android/kernel/raviole -repo init -u https://github.com/GrapheneOS/kernel_manifest-raviole.git -b 13 -repo sync -j8- -
To sync the bluejay kernel for the Pixel 6a:
- -mkdir -p android/kernel/bluejay -cd android/kernel/bluejay -repo init -u https://github.com/GrapheneOS/kernel_manifest-bluejay.git -b 13 -repo sync -j8- -
To build the raviole kernel for the Pixel 6 and Pixel 6 Pro:
- -LTO=full BUILD_AOSP_KERNEL=1 ./build_slider.sh- -
To build the bluejay kernel for the Pixel 6a:
- -LTO=full BUILD_AOSP_KERNEL=1 ./build_bluejay.sh- -
Replace the files in the OS source tree at
- device/google/raviole-kernel/
or
- device/google/bluejay-kernel/
with your build in
- out/mixed/dist/
.
device/google/felix-kernel/
with your build in
out/mixed/dist/
.
To sync the raviole kernel for the Pixel 6 and Pixel 6 Pro:
+ +mkdir -p android/kernel/raviole +cd android/kernel/raviole +repo init -u https://github.com/GrapheneOS/kernel_manifest-raviole.git -b 13 +repo sync -j8+ +
To sync the bluejay kernel for the Pixel 6a:
+ +mkdir -p android/kernel/bluejay +cd android/kernel/bluejay +repo init -u https://github.com/GrapheneOS/kernel_manifest-bluejay.git -b 13 +repo sync -j8+ +
To build the raviole kernel for the Pixel 6 and Pixel 6 Pro:
+ +LTO=full BUILD_AOSP_KERNEL=1 ./build_slider.sh+ +
To build the bluejay kernel for the Pixel 6a:
+ +LTO=full BUILD_AOSP_KERNEL=1 ./build_bluejay.sh+ +
Replace the files in the OS source tree at
+ device/google/raviole-kernel/
or
+ device/google/bluejay-kernel/
with your build in
+ out/mixed/dist/
.
For 5th generation Pixels:
+ +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+ +
To build the redbull kernel for the Pixel 4a (5G), Pixel 5 and Pixel 5a + kernel:
+ +BUILD_CONFIG=private/msm-google/build.config.redbull.vintf build/build.sh+ +
Replace the files in the OS source tree at
+ device/google/redbull-kernel/
(userdebug/eng) and
+ device/google/redbull-kernel/vintf/
(user) with your build in
+ out/android-msm-pixel-4.19/dist/
.
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+ +
To build the coral kernel for the Pixel 4 and Pixel 4 XL:
+ +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+ +
To build the sunfish kernel for the Pixel 4a:
+ +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+ +
Replace the files in the OS source tree at
+ device/google/coral-kernel/
or
+ device/google/sunfish-kernel/
with your build in
+ out/android-msm-pixel-4.14/dist/
.