From 7b1ba02348e17d32de7d1aa143f1ffa3679a8046 Mon Sep 17 00:00:00 2001 From: J0SH1X Date: Tue, 2 Jan 2024 00:20:09 +0100 Subject: [PATCH] Project: read bootimg header version from config --- Silicon/platform.sh.inc | 4 ++-- configs/devices/a52q.conf | 1 + configs/devices/a71.conf | 1 + configs/devices/akershus.conf | 1 + configs/devices/alioth.conf | 1 + configs/devices/apollo.conf | 1 + configs/devices/atoll-qrd.conf | 1 + configs/devices/axolotl.conf | 1 + configs/devices/ayn-odin.conf | 3 ++- configs/devices/beryllium-ebbg.conf | 1 + configs/devices/beryllium-tianma.conf | 1 + configs/devices/betalm.conf | 1 + configs/devices/cepheus.conf | 1 + configs/devices/cheeseburger.conf | 1 + configs/devices/clover.conf | 1 + configs/devices/dipper.conf | 1 + configs/devices/dm1q.conf | 1 + configs/devices/draco.conf | 1 + configs/devices/dumpling.conf | 1 + configs/devices/elish.conf | 1 + configs/devices/enchilada.conf | 1 + configs/devices/equuleus.conf | 1 + configs/devices/fajita.conf | 1 + configs/devices/flashlmdd.conf | 1 + configs/devices/fog.conf | 1 + configs/devices/fuxi.conf | 1 + configs/devices/guacamole.conf | 1 + configs/devices/guacamoleb.conf | 1 + configs/devices/h7000.conf | 1 + configs/devices/hotdog.conf | 1 + configs/devices/hotdogb.conf | 1 + configs/devices/instantnoodlep.conf | 1 + configs/devices/j716f.conf | 1 + configs/devices/joan.conf | 1 + configs/devices/judyln.conf | 1 + configs/devices/judyp.conf | 1 + configs/devices/judypn.conf | 1 + configs/devices/lahaina-qrd.conf | 1 + configs/devices/linus.conf | 1 + configs/devices/lisa.conf | 1 + configs/devices/m1882.conf | 1 + configs/devices/m1892.conf | 1 + configs/devices/mata.conf | 1 + configs/devices/mh2lm.conf | 1 + configs/devices/mh2lm5g.conf | 1 + configs/devices/miatoll-huaxing.conf | 1 + configs/devices/miatoll-tianma.conf | 1 + configs/devices/mona.conf | 1 + configs/devices/nabu.conf | 1 + configs/devices/nitrogen.conf | 1 + configs/devices/nx563j.conf | 1 + configs/devices/nx606j.conf | 1 + configs/devices/nx616j.conf | 1 + configs/devices/nx619j.conf | 1 + configs/devices/nx729j.conf | 1 + configs/devices/pafm00.conf | 1 + configs/devices/pd1821.conf | 1 + configs/devices/perseus.conf | 1 + configs/devices/pipa.conf | 1 + configs/devices/polaris.conf | 1 + configs/devices/q2q.conf | 1 + configs/devices/r11.conf | 1 + configs/devices/r11s.conf | 1 + configs/devices/r5q.conf | 1 + configs/devices/r8q.conf | 1 + configs/devices/sagit.conf | 1 + configs/devices/sargo.conf | 1 + configs/devices/skr-a0.conf | 1 + configs/devices/spes.conf | 1 + configs/devices/star2qltechn.conf | 1 + configs/devices/starqlte.conf | 1 + configs/devices/surya.conf | 1 + configs/devices/taimen.conf | 1 + configs/devices/tb-9707f.conf | 1 + configs/devices/trident.conf | 1 + configs/devices/vayu-huaxing.conf | 1 + configs/devices/vayu-tianma.conf | 1 + configs/devices/walleye.conf | 1 + configs/devices/wayne.conf | 1 + configs/devices/whyred.conf | 1 + configs/devices/winner.conf | 1 + configs/devices/yudi.conf | 1 + configs/devices/zs600kl.conf | 1 + 83 files changed, 85 insertions(+), 3 deletions(-) diff --git a/Silicon/platform.sh.inc b/Silicon/platform.sh.inc index 5094016c5a..aa2a446248 100644 --- a/Silicon/platform.sh.inc +++ b/Silicon/platform.sh.inc @@ -17,7 +17,7 @@ function platform_build_kernel(){ } function platform_build_bootimg(){ - python3 "${ROOTDIR}/tools/mkbootimg.py" \ + python3 "${ROOTDIR}/tools/mkbootimg.py" \ --kernel "${WORKSPACE}/uefi-${DEVICE}-kernel" \ --ramdisk ramdisk \ --kernel_offset 0x00000000 \ @@ -25,7 +25,7 @@ function platform_build_bootimg(){ --tags_offset 0x00000000 \ --os_version "${BOOTIMG_OS_VERSION}" \ --os_patch_level "${BOOTIMG_OS_PATCH_LEVEL}" \ - --header_version 1 \ + --header_version "${BOOTIMG_HEADER_VERSION}" \ -o "${OUTDIR}/boot-${DEVICE}${EXT}.img" \ ||return "$?" } diff --git a/configs/devices/a52q.conf b/configs/devices/a52q.conf index 9b3446705e..b6c7620696 100644 --- a/configs/devices/a52q.conf +++ b/configs/devices/a52q.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="a52q" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2022-06" BOOTIMG_OS_VERSION=11.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/a71.conf b/configs/devices/a71.conf index 6affc125dc..b0c4656d6a 100644 --- a/configs/devices/a71.conf +++ b/configs/devices/a71.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="a71" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2022-10" BOOTIMG_OS_VERSION=13.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/akershus.conf b/configs/devices/akershus.conf index 8c32c0c944..10f9dbb06c 100644 --- a/configs/devices/akershus.conf +++ b/configs/devices/akershus.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="ZTE/akershus" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2020-09" BOOTIMG_OS_VERSION=9.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/alioth.conf b/configs/devices/alioth.conf index adfcff1fbe..325e039215 100644 --- a/configs/devices/alioth.conf +++ b/configs/devices/alioth.conf @@ -5,6 +5,7 @@ PLATFORM_NAME="alioth" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2022-08" BOOTIMG_OS_VERSION=11.0.0 +BOOTIMG_HEADER_VERSION=1 # ACPI config SPLIT_DSDT=true diff --git a/configs/devices/apollo.conf b/configs/devices/apollo.conf index 1f4cbbafd5..37e142c7d4 100644 --- a/configs/devices/apollo.conf +++ b/configs/devices/apollo.conf @@ -5,6 +5,7 @@ PLATFORM_NAME="apollo" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2022-05" BOOTIMG_OS_VERSION=11.0.0 +BOOTIMG_HEADER_VERSION=1 # ACPI config SPLIT_DSDT=true diff --git a/configs/devices/atoll-qrd.conf b/configs/devices/atoll-qrd.conf index 792e40d9b9..7d2126a7a8 100644 --- a/configs/devices/atoll-qrd.conf +++ b/configs/devices/atoll-qrd.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="atoll-qrd" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2020-09" BOOTIMG_OS_VERSION=9.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/axolotl.conf b/configs/devices/axolotl.conf index 1494777084..5a39f24992 100644 --- a/configs/devices/axolotl.conf +++ b/configs/devices/axolotl.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="axolotl" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2023-08" BOOTIMG_OS_VERSION=13.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/ayn-odin.conf b/configs/devices/ayn-odin.conf index 280eb9dca0..f98f37280c 100644 --- a/configs/devices/ayn-odin.conf +++ b/configs/devices/ayn-odin.conf @@ -4,4 +4,5 @@ PLATFORM_NAME="ayn-odin" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2020-09" -BOOTIMG_OS_VERSION=9.0.0 \ No newline at end of file +BOOTIMG_OS_VERSION=9.0.0 +BOOTIMG_HEADER_VERSION=1 \ No newline at end of file diff --git a/configs/devices/beryllium-ebbg.conf b/configs/devices/beryllium-ebbg.conf index 445d54280e..75043ce6f2 100644 --- a/configs/devices/beryllium-ebbg.conf +++ b/configs/devices/beryllium-ebbg.conf @@ -5,6 +5,7 @@ PLATFORM_NAME="beryllium" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2020-09" BOOTIMG_OS_VERSION=9.0.0 +BOOTIMG_HEADER_VERSION=1 # ACPI config SPLIT_DSDT=true diff --git a/configs/devices/beryllium-tianma.conf b/configs/devices/beryllium-tianma.conf index 445d54280e..75043ce6f2 100644 --- a/configs/devices/beryllium-tianma.conf +++ b/configs/devices/beryllium-tianma.conf @@ -5,6 +5,7 @@ PLATFORM_NAME="beryllium" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2020-09" BOOTIMG_OS_VERSION=9.0.0 +BOOTIMG_HEADER_VERSION=1 # ACPI config SPLIT_DSDT=true diff --git a/configs/devices/betalm.conf b/configs/devices/betalm.conf index 09d1637213..9d69e30761 100644 --- a/configs/devices/betalm.conf +++ b/configs/devices/betalm.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="betalm" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2022-06" BOOTIMG_OS_VERSION=12.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/cepheus.conf b/configs/devices/cepheus.conf index 2989471f89..91ac522068 100644 --- a/configs/devices/cepheus.conf +++ b/configs/devices/cepheus.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="cepheus" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2022-05" BOOTIMG_OS_VERSION=11.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/cheeseburger.conf b/configs/devices/cheeseburger.conf index c96511de73..d9044b5f1e 100644 --- a/configs/devices/cheeseburger.conf +++ b/configs/devices/cheeseburger.conf @@ -5,6 +5,7 @@ PLATFORM_NAME="cheeseburger" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2022-08" BOOTIMG_OS_VERSION=12.0.0 +BOOTIMG_HEADER_VERSION=1 # LineageOS 19 config # ACPI config diff --git a/configs/devices/clover.conf b/configs/devices/clover.conf index ab2e0d9e33..8489441ec7 100644 --- a/configs/devices/clover.conf +++ b/configs/devices/clover.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="clover" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2020-12" BOOTIMG_OS_VERSION=11.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/dipper.conf b/configs/devices/dipper.conf index 30d211cfad..1e1adec129 100644 --- a/configs/devices/dipper.conf +++ b/configs/devices/dipper.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="dipper" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2020-09" BOOTIMG_OS_VERSION=9.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/dm1q.conf b/configs/devices/dm1q.conf index d3afc1e1f6..9cce2165be 100644 --- a/configs/devices/dm1q.conf +++ b/configs/devices/dm1q.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="dm1q" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2023-12" BOOTIMG_OS_VERSION=14.0.0 +BOOTIMG_HEADER_VERSION=4 diff --git a/configs/devices/draco.conf b/configs/devices/draco.conf index 5092bc5c8d..42ef66bde9 100644 --- a/configs/devices/draco.conf +++ b/configs/devices/draco.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="draco" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2020-09" BOOTIMG_OS_VERSION=9.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/dumpling.conf b/configs/devices/dumpling.conf index 79a339226f..56b2e13280 100644 --- a/configs/devices/dumpling.conf +++ b/configs/devices/dumpling.conf @@ -5,6 +5,7 @@ PLATFORM_NAME="dumpling" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2022-08" BOOTIMG_OS_VERSION=12.0.0 +BOOTIMG_HEADER_VERSION=1 # LineageOS 19 config # ACPI config diff --git a/configs/devices/elish.conf b/configs/devices/elish.conf index b42e6c8c15..007750a27e 100644 --- a/configs/devices/elish.conf +++ b/configs/devices/elish.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="elish" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2022-02" BOOTIMG_OS_VERSION=11.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/enchilada.conf b/configs/devices/enchilada.conf index 27d26c3283..6e01d53d65 100644 --- a/configs/devices/enchilada.conf +++ b/configs/devices/enchilada.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="enchilada" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2020-09" BOOTIMG_OS_VERSION=9.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/equuleus.conf b/configs/devices/equuleus.conf index d7170688a4..0bed664255 100644 --- a/configs/devices/equuleus.conf +++ b/configs/devices/equuleus.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="equuleus" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2020-09" BOOTIMG_OS_VERSION=9.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/fajita.conf b/configs/devices/fajita.conf index fe74b4e85a..8183a9e601 100644 --- a/configs/devices/fajita.conf +++ b/configs/devices/fajita.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="fajita" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2020-09" BOOTIMG_OS_VERSION=9.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/flashlmdd.conf b/configs/devices/flashlmdd.conf index e89610bffd..a017a63f08 100755 --- a/configs/devices/flashlmdd.conf +++ b/configs/devices/flashlmdd.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="flashlmdd" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2022-06" BOOTIMG_OS_VERSION=12.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/fog.conf b/configs/devices/fog.conf index 912b48c58e..03d100dbac 100644 --- a/configs/devices/fog.conf +++ b/configs/devices/fog.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="fog" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2023-05" BOOTIMG_OS_VERSION=12.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/fuxi.conf b/configs/devices/fuxi.conf index 7d0d7b7eb2..231ecac4cc 100644 --- a/configs/devices/fuxi.conf +++ b/configs/devices/fuxi.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="fuxi" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2022-11" BOOTIMG_OS_VERSION=13.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/guacamole.conf b/configs/devices/guacamole.conf index 102184f1a8..f673e7e9d5 100644 --- a/configs/devices/guacamole.conf +++ b/configs/devices/guacamole.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="guacamole" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2022-6" BOOTIMG_OS_VERSION=12.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/guacamoleb.conf b/configs/devices/guacamoleb.conf index f1d265cb97..280f002ef0 100644 --- a/configs/devices/guacamoleb.conf +++ b/configs/devices/guacamoleb.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="guacamoleb" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2022-12" BOOTIMG_OS_VERSION=13.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/h7000.conf b/configs/devices/h7000.conf index 08c42d8a71..0c82f94a2e 100644 --- a/configs/devices/h7000.conf +++ b/configs/devices/h7000.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="h7000" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2020-12" BOOTIMG_OS_VERSION=11.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/hotdog.conf b/configs/devices/hotdog.conf index b38563fdb5..d3eae286c1 100755 --- a/configs/devices/hotdog.conf +++ b/configs/devices/hotdog.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="hotdog" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2022-08" BOOTIMG_OS_VERSION=12.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/hotdogb.conf b/configs/devices/hotdogb.conf index 1e4ade8518..c5a4c807b3 100755 --- a/configs/devices/hotdogb.conf +++ b/configs/devices/hotdogb.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="hotdogb" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2022-08" BOOTIMG_OS_VERSION=12.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/instantnoodlep.conf b/configs/devices/instantnoodlep.conf index 3dafbfb6a6..5d5b0e45cc 100644 --- a/configs/devices/instantnoodlep.conf +++ b/configs/devices/instantnoodlep.conf @@ -5,6 +5,7 @@ PLATFORM_NAME="instantnoodlep" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2022-05" BOOTIMG_OS_VERSION=11.0.0 +BOOTIMG_HEADER_VERSION=1 # ACPI config SPLIT_DSDT=true diff --git a/configs/devices/j716f.conf b/configs/devices/j716f.conf index 50376107fb..03740ec8d0 100644 --- a/configs/devices/j716f.conf +++ b/configs/devices/j716f.conf @@ -5,6 +5,7 @@ PLATFORM_NAME="j716f" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2022-04" BOOTIMG_OS_VERSION=11.0.0 +BOOTIMG_HEADER_VERSION=1 # ACPI config SPLIT_DSDT=true diff --git a/configs/devices/joan.conf b/configs/devices/joan.conf index d713f8612d..f9a517e631 100644 --- a/configs/devices/joan.conf +++ b/configs/devices/joan.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="joan" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2022-06" BOOTIMG_OS_VERSION=12.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/judyln.conf b/configs/devices/judyln.conf index 47412a900d..ade4c22a4a 100644 --- a/configs/devices/judyln.conf +++ b/configs/devices/judyln.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="judyln" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2020-09" BOOTIMG_OS_VERSION=9.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/judyp.conf b/configs/devices/judyp.conf index 2782b4c42f..19617acdae 100644 --- a/configs/devices/judyp.conf +++ b/configs/devices/judyp.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="judyp" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2020-09" BOOTIMG_OS_VERSION=9.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/judypn.conf b/configs/devices/judypn.conf index 7cdf1cd1c1..a916b06822 100644 --- a/configs/devices/judypn.conf +++ b/configs/devices/judypn.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="judypn" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2020-09" BOOTIMG_OS_VERSION=9.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/lahaina-qrd.conf b/configs/devices/lahaina-qrd.conf index 31ecd6a3ce..71df7bbcc7 100644 --- a/configs/devices/lahaina-qrd.conf +++ b/configs/devices/lahaina-qrd.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="lahaina-qrd" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2021-10" BOOTIMG_OS_VERSION=12.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/linus.conf b/configs/devices/linus.conf index cf6311a76a..7a0b4344b3 100755 --- a/configs/devices/linus.conf +++ b/configs/devices/linus.conf @@ -5,6 +5,7 @@ PLATFORM_NAME="linus" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2020-03" BOOTIMG_OS_VERSION=9.0.0 +BOOTIMG_HEADER_VERSION=1 # ACPI config SPLIT_DSDT=true diff --git a/configs/devices/lisa.conf b/configs/devices/lisa.conf index 1ecd3b7fe7..60162569ed 100644 --- a/configs/devices/lisa.conf +++ b/configs/devices/lisa.conf @@ -5,6 +5,7 @@ PLATFORM_NAME="lisa" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2022-08" BOOTIMG_OS_VERSION=11.0.0 +BOOTIMG_HEADER_VERSION=1 # ACPI config SPLIT_DSDT=true diff --git a/configs/devices/m1882.conf b/configs/devices/m1882.conf index 2de4542ee9..0ef1b06cdf 100644 --- a/configs/devices/m1882.conf +++ b/configs/devices/m1882.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="m1882" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2020-09" BOOTIMG_OS_VERSION=9.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/m1892.conf b/configs/devices/m1892.conf index dd147a9725..9503f362b2 100644 --- a/configs/devices/m1892.conf +++ b/configs/devices/m1892.conf @@ -5,6 +5,7 @@ PLATFORM_NAME="m1892" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2020-09" BOOTIMG_OS_VERSION=9.0.0 +BOOTIMG_HEADER_VERSION=1 # Tips: # Because there is no difference, the same configuration file has been used, or added separately later \ No newline at end of file diff --git a/configs/devices/mata.conf b/configs/devices/mata.conf index d5b338ba8b..6960fffeb8 100644 --- a/configs/devices/mata.conf +++ b/configs/devices/mata.conf @@ -5,4 +5,5 @@ PLATFORM_NAME="mata" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2022-08" BOOTIMG_OS_VERSION=12.0.0 +BOOTIMG_HEADER_VERSION=1 # LineageOS 19 config diff --git a/configs/devices/mh2lm.conf b/configs/devices/mh2lm.conf index f2477e6dfe..073bcc1a0a 100644 --- a/configs/devices/mh2lm.conf +++ b/configs/devices/mh2lm.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="mh2lm" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2022-06" BOOTIMG_OS_VERSION=12.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/mh2lm5g.conf b/configs/devices/mh2lm5g.conf index 1343d8cd3a..883e4e06da 100644 --- a/configs/devices/mh2lm5g.conf +++ b/configs/devices/mh2lm5g.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="mh2lm5g" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2022-06" BOOTIMG_OS_VERSION=12.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/miatoll-huaxing.conf b/configs/devices/miatoll-huaxing.conf index e03ce08af5..76cb475314 100644 --- a/configs/devices/miatoll-huaxing.conf +++ b/configs/devices/miatoll-huaxing.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="miatoll" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2022-06" BOOTIMG_OS_VERSION=11.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/miatoll-tianma.conf b/configs/devices/miatoll-tianma.conf index e03ce08af5..76cb475314 100644 --- a/configs/devices/miatoll-tianma.conf +++ b/configs/devices/miatoll-tianma.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="miatoll" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2022-06" BOOTIMG_OS_VERSION=11.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/mona.conf b/configs/devices/mona.conf index 2730d043f4..725d87f764 100644 --- a/configs/devices/mona.conf +++ b/configs/devices/mona.conf @@ -5,6 +5,7 @@ PLATFORM_NAME="mona" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2022-08" BOOTIMG_OS_VERSION=11.0.0 +BOOTIMG_HEADER_VERSION=1 # ACPI config SPLIT_DSDT=true diff --git a/configs/devices/nabu.conf b/configs/devices/nabu.conf index 324f96753e..b1397655a7 100644 --- a/configs/devices/nabu.conf +++ b/configs/devices/nabu.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="nabu" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2022-10" BOOTIMG_OS_VERSION=11.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/nitrogen.conf b/configs/devices/nitrogen.conf index a27d58f149..f47530ecb5 100644 --- a/configs/devices/nitrogen.conf +++ b/configs/devices/nitrogen.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="nitrogen" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2023-03" BOOTIMG_OS_VERSION=13.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/nx563j.conf b/configs/devices/nx563j.conf index 74ba2518c7..cee1d953da 100644 --- a/configs/devices/nx563j.conf +++ b/configs/devices/nx563j.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="nx563j" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2020-09" BOOTIMG_OS_VERSION=9.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/nx606j.conf b/configs/devices/nx606j.conf index 2695ca699b..2cdb2b43a8 100644 --- a/configs/devices/nx606j.conf +++ b/configs/devices/nx606j.conf @@ -5,6 +5,7 @@ PLATFORM_NAME="nx606j" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2020-09" BOOTIMG_OS_VERSION=9.0.0 +BOOTIMG_HEADER_VERSION=1 # ACPI config SPLIT_DSDT=true diff --git a/configs/devices/nx616j.conf b/configs/devices/nx616j.conf index eb55ca2732..c7d3fabdb6 100644 --- a/configs/devices/nx616j.conf +++ b/configs/devices/nx616j.conf @@ -5,6 +5,7 @@ PLATFORM_NAME="nx616j" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2020-09" BOOTIMG_OS_VERSION=9.0.0 +BOOTIMG_HEADER_VERSION=1 # ACPI config SPLIT_DSDT=true diff --git a/configs/devices/nx619j.conf b/configs/devices/nx619j.conf index 070a1aefa8..a6cbe8990a 100644 --- a/configs/devices/nx619j.conf +++ b/configs/devices/nx619j.conf @@ -5,6 +5,7 @@ PLATFORM_NAME="nx619j" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2020-09" BOOTIMG_OS_VERSION=9.0.0 +BOOTIMG_HEADER_VERSION=1 # ACPI config SPLIT_DSDT=true diff --git a/configs/devices/nx729j.conf b/configs/devices/nx729j.conf index b5faa1f865..773529ce33 100644 --- a/configs/devices/nx729j.conf +++ b/configs/devices/nx729j.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="nx729j" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2022-11" BOOTIMG_OS_VERSION=13.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/pafm00.conf b/configs/devices/pafm00.conf index c5a8ef1df9..3eef29ed3b 100644 --- a/configs/devices/pafm00.conf +++ b/configs/devices/pafm00.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="pafm00" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2020-09" BOOTIMG_OS_VERSION=9.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/pd1821.conf b/configs/devices/pd1821.conf index 05f5f5438c..3d08e4605e 100644 --- a/configs/devices/pd1821.conf +++ b/configs/devices/pd1821.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="vivo/pd1821" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2020-09" BOOTIMG_OS_VERSION=9.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/perseus.conf b/configs/devices/perseus.conf index 544a2f981b..ceea2a53eb 100644 --- a/configs/devices/perseus.conf +++ b/configs/devices/perseus.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="perseus" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2020-09" BOOTIMG_OS_VERSION=9.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/pipa.conf b/configs/devices/pipa.conf index 19ef777d81..1f24c478f7 100644 --- a/configs/devices/pipa.conf +++ b/configs/devices/pipa.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="pipa" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2023-08" BOOTIMG_OS_VERSION=13.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/polaris.conf b/configs/devices/polaris.conf index 28bd92a0e6..080ae4aa35 100644 --- a/configs/devices/polaris.conf +++ b/configs/devices/polaris.conf @@ -5,6 +5,7 @@ PLATFORM_NAME="polaris" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2020-09" BOOTIMG_OS_VERSION=9.0.0 +BOOTIMG_HEADER_VERSION=1 # ACPI config SPLIT_DSDT=true diff --git a/configs/devices/q2q.conf b/configs/devices/q2q.conf index 1b17ff34d3..cd5bfd780e 100644 --- a/configs/devices/q2q.conf +++ b/configs/devices/q2q.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="q2q" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2022-04" BOOTIMG_OS_VERSION=11.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/r11.conf b/configs/devices/r11.conf index 63c8ad4e69..75d12bdd55 100644 --- a/configs/devices/r11.conf +++ b/configs/devices/r11.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="r11" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2020-12" BOOTIMG_OS_VERSION=11.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/r11s.conf b/configs/devices/r11s.conf index d76306b8ce..2f917506ca 100644 --- a/configs/devices/r11s.conf +++ b/configs/devices/r11s.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="r11s" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2020-12" BOOTIMG_OS_VERSION=11.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/r5q.conf b/configs/devices/r5q.conf index 0eabce334a..ae4a92c803 100644 --- a/configs/devices/r5q.conf +++ b/configs/devices/r5q.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="r5q" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2022-12" BOOTIMG_OS_VERSION=13.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/r8q.conf b/configs/devices/r8q.conf index 7189005e03..2663192ab9 100644 --- a/configs/devices/r8q.conf +++ b/configs/devices/r8q.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="r8q" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2022-06" BOOTIMG_OS_VERSION=12.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/sagit.conf b/configs/devices/sagit.conf index 2508df7f9c..b997692523 100644 --- a/configs/devices/sagit.conf +++ b/configs/devices/sagit.conf @@ -5,4 +5,5 @@ PLATFORM_NAME="sagit" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2022-08" BOOTIMG_OS_VERSION=12.0.0 +BOOTIMG_HEADER_VERSION=1 # LineageOS 19 config diff --git a/configs/devices/sargo.conf b/configs/devices/sargo.conf index 7b7df7a3b6..d918be56b1 100644 --- a/configs/devices/sargo.conf +++ b/configs/devices/sargo.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="sargo" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2022-06" BOOTIMG_OS_VERSION=11.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/skr-a0.conf b/configs/devices/skr-a0.conf index a1a590f4ed..653795a4eb 100644 --- a/configs/devices/skr-a0.conf +++ b/configs/devices/skr-a0.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="skr-a0" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2020-09" BOOTIMG_OS_VERSION=9.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/spes.conf b/configs/devices/spes.conf index 89fdf477f8..d678fd397c 100644 --- a/configs/devices/spes.conf +++ b/configs/devices/spes.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="spes" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2023-05" BOOTIMG_OS_VERSION=13.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/star2qltechn.conf b/configs/devices/star2qltechn.conf index 766966dbb0..5cca35b90b 100644 --- a/configs/devices/star2qltechn.conf +++ b/configs/devices/star2qltechn.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="star2qltechn" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2020-09" BOOTIMG_OS_VERSION=9.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/starqlte.conf b/configs/devices/starqlte.conf index 3cb8603358..2d9b4a90b2 100644 --- a/configs/devices/starqlte.conf +++ b/configs/devices/starqlte.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="starqlte" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2020-09" BOOTIMG_OS_VERSION=9.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/surya.conf b/configs/devices/surya.conf index 2b2d7cd089..ce9b67c20d 100644 --- a/configs/devices/surya.conf +++ b/configs/devices/surya.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="surya" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2022-06" BOOTIMG_OS_VERSION=11.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/taimen.conf b/configs/devices/taimen.conf index f1aeacc17a..91bda0c4a1 100644 --- a/configs/devices/taimen.conf +++ b/configs/devices/taimen.conf @@ -5,6 +5,7 @@ PLATFORM_NAME="taimen" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2020-10" BOOTIMG_OS_VERSION=11.0.0 +BOOTIMG_HEADER_VERSION=1 # LineageOS 19 config # ACPI config diff --git a/configs/devices/tb-9707f.conf b/configs/devices/tb-9707f.conf index 5b42971cb5..eaa6ebf0ac 100644 --- a/configs/devices/tb-9707f.conf +++ b/configs/devices/tb-9707f.conf @@ -5,6 +5,7 @@ PLATFORM_NAME="tb-9707f" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2023-04" BOOTIMG_OS_VERSION=11.0.0 +BOOTIMG_HEADER_VERSION=1 # ACPI config SPLIT_DSDT=true diff --git a/configs/devices/trident.conf b/configs/devices/trident.conf index 856ee0147c..7eb2c8cb15 100644 --- a/configs/devices/trident.conf +++ b/configs/devices/trident.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="trident" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2020-09" BOOTIMG_OS_VERSION=9.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/vayu-huaxing.conf b/configs/devices/vayu-huaxing.conf index 254d0d9adb..7b8de47301 100755 --- a/configs/devices/vayu-huaxing.conf +++ b/configs/devices/vayu-huaxing.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="vayu" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2022-05" BOOTIMG_OS_VERSION=11.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/vayu-tianma.conf b/configs/devices/vayu-tianma.conf index 254d0d9adb..7b8de47301 100755 --- a/configs/devices/vayu-tianma.conf +++ b/configs/devices/vayu-tianma.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="vayu" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2022-05" BOOTIMG_OS_VERSION=11.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/walleye.conf b/configs/devices/walleye.conf index 7fbbd0f8c7..488bb2fd6d 100644 --- a/configs/devices/walleye.conf +++ b/configs/devices/walleye.conf @@ -5,6 +5,7 @@ PLATFORM_NAME="walleye" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2020-10" BOOTIMG_OS_VERSION=11.0.0 +BOOTIMG_HEADER_VERSION=1 # LineageOS 19 config # ACPI config diff --git a/configs/devices/wayne.conf b/configs/devices/wayne.conf index eb97d79b93..d8ca13abfc 100644 --- a/configs/devices/wayne.conf +++ b/configs/devices/wayne.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="wayne" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2020-12" BOOTIMG_OS_VERSION=11.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/whyred.conf b/configs/devices/whyred.conf index fdda477441..8c85eea732 100644 --- a/configs/devices/whyred.conf +++ b/configs/devices/whyred.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="whyred" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2020-12" BOOTIMG_OS_VERSION=11.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/winner.conf b/configs/devices/winner.conf index 480e4087f1..14e0e841e2 100644 --- a/configs/devices/winner.conf +++ b/configs/devices/winner.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="winner" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2023-08" BOOTIMG_OS_VERSION=12.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/yudi.conf b/configs/devices/yudi.conf index e21a6021d7..90d21fd70c 100644 --- a/configs/devices/yudi.conf +++ b/configs/devices/yudi.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="yudi" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2021-08" BOOTIMG_OS_VERSION=13.0.0 +BOOTIMG_HEADER_VERSION=1 diff --git a/configs/devices/zs600kl.conf b/configs/devices/zs600kl.conf index d7ca2df7b2..9c5d0fce6a 100644 --- a/configs/devices/zs600kl.conf +++ b/configs/devices/zs600kl.conf @@ -5,3 +5,4 @@ PLATFORM_NAME="zs600kl" # mkbootimg config BOOTIMG_OS_PATCH_LEVEL="2020-09" BOOTIMG_OS_VERSION=9.0.0 +BOOTIMG_HEADER_VERSION=1