From cdd69d7fb7dd5059c09337242f86aad313d8b7a9 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Wed, 5 Jul 2023 10:19:28 -0400 Subject: reorder build guide device kernel sections Newest to oldest is our standard order elsewhere. --- static/build.html | 148 +++++++++++++++++++++++++++--------------------------- 1 file changed, 74 insertions(+), 74 deletions(-) (limited to 'static/build.html') 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,47 +771,68 @@ cp out-vendor-modules/android13-5.10/dist/*.ko $ANDROID_BUILD_TOP/kernel/prebuil device/generic/goldfish/x86_64-kernel.mk.

    -
    -

    4th generation Pixels

    +
    +

    7th generation Pixels

    -
    mkdir -p android/kernel/coral
    -cd android/kernel/coral
    -repo init -u https://github.com/GrapheneOS/kernel_manifest-coral.git -b 13
    +                        

    To sync the pantah kernel for the Pixel 7 and Pixel 7 Pro:

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

    To build the coral kernel for the Pixel 4 and Pixel 4 XL:

    +

    To build the pantah kernel for the Pixel 7 and Pixel 7 Pro:

    -
    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
    +
    LTO=full BUILD_AOSP_KERNEL=1 ./build_cloudripper.sh
    -

    To build the sunfish kernel for the Pixel 4a:

    +

    Replace the files in the OS source tree at + device/google/pantah-kernel/ with your build in + out/mixed/dist/.

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

    To sync the lynx kernel for the Pixel 7a:

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

    To build the lynx kernel for the Pixel 7a:

    + +
    LTO=full BUILD_AOSP_KERNEL=1 ./build_lynx.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/.

    -
    + device/google/lynx-kernel/ with your build in + out/mixed/dist/.

    -
    -

    5th generation Pixels

    +

    To sync the tangorpro kernel for the Pixel Tablet:

    -

    For 5th generation Pixels:

    +
    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
    -
    mkdir -p android/kernel/redbull
    -cd android/kernel/redbull
    -repo init -u https://github.com/GrapheneOS/kernel_manifest-redbull.git -b 13
    +                        

    To build the tangorpro kernel for the Pixel Tablet:

    + +
    LTO=full BUILD_AOSP_KERNEL=1 ./build_tangorpro.sh
    + +

    Replace the files in the OS source tree at + device/google/tangorpro-kernel/ with your build in + out/mixed/dist/.

    + +

    To sync the felix kernel for the Pixel Fold:

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

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

    +

    To build the felix kernel for the Pixel Fold:

    -
    BUILD_CONFIG=private/msm-google/build.config.redbull.vintf build/build.sh
    +
    LTO=full BUILD_AOSP_KERNEL=1 ./build_felix.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/.

    + device/google/felix-kernel/ with your build in + out/mixed/dist/.

    @@ -845,68 +866,47 @@ repo sync -j8 out/mixed/dist/.

    -
    -

    7th generation Pixels

    - -

    To sync the pantah kernel for the Pixel 7 and Pixel 7 Pro:

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

    To build the pantah kernel for the Pixel 7 and Pixel 7 Pro:

    - -
    LTO=full BUILD_AOSP_KERNEL=1 ./build_cloudripper.sh
    - -

    Replace the files in the OS source tree at - device/google/pantah-kernel/ with your build in - out/mixed/dist/.

    +
    +

    5th generation Pixels

    -

    To sync the lynx kernel for the Pixel 7a:

    +

    For 5th generation Pixels:

    -
    mkdir -p android/kernel/lynx
    -cd android/kernel/lynx
    -repo init -u https://github.com/GrapheneOS/kernel_manifest-lynx.git -b 13
    +                        
    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 lynx kernel for the Pixel 7a:

    +

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

    -
    LTO=full BUILD_AOSP_KERNEL=1 ./build_lynx.sh
    +
    BUILD_CONFIG=private/msm-google/build.config.redbull.vintf build/build.sh

    Replace the files in the OS source tree at - device/google/lynx-kernel/ with your build in - out/mixed/dist/.

    + 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 tangorpro kernel for the Pixel Tablet:

    +
    +

    4th generation Pixels

    -
    mkdir -p android/kernel/tangorpro
    -cd android/kernel/tangorpro
    -repo init -u https://github.com/GrapheneOS/kernel_manifest-tangorpro.git -b 13-tangorpro
    +                        
    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 tangorpro kernel for the Pixel Tablet:

    - -
    LTO=full BUILD_AOSP_KERNEL=1 ./build_tangorpro.sh
    - -

    Replace the files in the OS source tree at - device/google/tangorpro-kernel/ with your build in - out/mixed/dist/.

    - -

    To sync the felix kernel for the Pixel Fold:

    +

    To build the coral kernel for the Pixel 4 and Pixel 4 XL:

    -
    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
    +
    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 felix kernel for the Pixel Fold:

    +

    To build the sunfish kernel for the Pixel 4a:

    -
    LTO=full BUILD_AOSP_KERNEL=1 ./build_felix.sh
    +
    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/felix-kernel/ with your build in - out/mixed/dist/.

    + device/google/coral-kernel/ or + device/google/sunfish-kernel/ with your build in + out/android-msm-pixel-4.14/dist/.

    -- cgit v1.3.1