From cdd69d7fb7dd5059c09337242f86aad313d8b7a9 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Wed, 5 Jul 2023 10:19:28 -0400 Subject: [PATCH] reorder build guide device kernel sections Newest to oldest is our standard order elsewhere. --- static/build.html | 154 +++++++++++++++++++++++----------------------- 1 file changed, 77 insertions(+), 77 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 @@ Kernel
  • Browser and WebView
  • @@ -771,80 +771,6 @@ cp out-vendor-modules/android13-5.10/dist/*.ko $ANDROID_BUILD_TOP/kernel/prebuil device/generic/goldfish/x86_64-kernel.mk.

    -
    -

    4th generation Pixels

    - -
    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/.

    -
    - -
    -

    5th generation Pixels

    - -

    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/.

    -
    - -
    -

    6th generation Pixels

    - -

    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/.

    -
    -

    7th generation Pixels

    @@ -908,6 +834,80 @@ repo sync -j8 device/google/felix-kernel/ with your build in out/mixed/dist/.

    + +
    +

    6th generation Pixels

    + +

    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/.

    +
    + +
    +

    5th generation Pixels

    + +

    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/.

    +
    + +
    +

    4th generation Pixels

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

    +