Draft: Improve devices/qcom/bootloader.sh by making sure BASE and a complete set of bootimg parameters is passed to mkbootimg
This MR (should) address(es) issues #59 and #60
As always, this could have implemented better by a trained programmer, but no-one has beated me to it, so here we are, looking forward to some thorough review.
Draft until it is on-device tested
I've tested the change locally on top of
Click to expand
diff --git a/devices/qcom/bootloader.sh b/devices/qcom/bootloader.sh
index c0c64ab..5597b31 100755
--- a/devices/qcom/bootloader.sh
+++ b/devices/qcom/bootloader.sh
@@ -1,4 +1,5 @@
#!/bin/sh
+set -x
SCRIPT="$0"
DEVICE="$1"
diff --git a/devices/qcom/configs/sdm845.toml b/devices/qcom/configs/sdm845.toml
index 5ecfdf7..cdba471 100644
--- a/devices/qcom/configs/sdm845.toml
+++ b/devices/qcom/configs/sdm845.toml
@@ -10,6 +10,13 @@ pagesize = 4096
vendor = "google"
model = "blueline"
+[[device]]
+vendor = "google"
+model = "crosshatch"
+bootimg.version = 2
+bootimg.second = 0x00f00000
+bootimg.dtb = 0x01f00000
+
[[device]]
vendor = "lg"
model = "judyln"without this change, bootimg building logs the following
Click to expand
2026/07/28 13:32:28 ==== recipe ====
2026/07/28 13:32:28 ==== Prepare boot images ====
2026/07/28 13:32:28 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + SCRIPT=/tmp/script/bootloader.sh
2026/07/28 13:32:28 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE=sdm845
2026/07/28 13:32:28 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + dirname /tmp/script/bootloader.sh
2026/07/28 13:32:28 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + CONFIG=/tmp/script/configs/sdm845.toml
2026/07/28 13:32:28 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ -f /tmp/script/configs/sdm845.toml ]
2026/07/28 13:32:28 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + findmnt -n -o UUID /
2026/07/28 13:32:28 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + ROOTPART=UUID=708d4f0b-af38-4b47-a62b-965d2f8b7dd7
2026/07/28 13:32:28 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ UUID=708d4f0b-af38-4b47-a62b-965d2f8b7dd7 = UUID= ]
2026/07/28 13:32:28 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + linux-version list
2026/07/28 13:32:28 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tail -1
2026/07/28 13:32:29 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + KERNEL_VERSION=6.12-sdm845
2026/07/28 13:32:29 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .chipset then .chipset else "sdm845" end /tmp/script/configs/sdm845.toml
2026/07/28 13:32:31 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + SOC=sdm845
2026/07/28 13:32:31 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .bootimg /tmp/script/configs/sdm845.toml
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + bootimg_offsets {
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "base": 0,
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "kernel": 32768,
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "ramdisk": 16777216,
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "second": 0,
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "tags": 256,
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "pagesize": 4096
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | }
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + local BOOTIMG={
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "base": 0,
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "kernel": 32768,
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "ramdisk": 16777216,
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "second": 0,
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "tags": 256,
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "pagesize": 4096
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | }
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo {
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "base": 0,
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "kernel": 32768,
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "ramdisk": 16777216,
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "second": 0,
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "tags": 256,
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "pagesize": 4096
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | }
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + jq -r if .version then .version else 0 end -
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + local VERSION=0
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo {
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "base": 0,
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "kernel": 32768,
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "ramdisk": 16777216,
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "second": 0,
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "tags": 256,
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "pagesize": 4096
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | }
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + jq -r .kernel + .base -
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + local KERNEL=32768
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo {
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "base": 0,
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "kernel": 32768,
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "ramdisk": 16777216,
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "second": 0,
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "tags": 256,
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "pagesize": 4096
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | }
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + jq -r .ramdisk + .base -
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + local RAMDISK=16777216
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo {
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "base": 0,
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "kernel": 32768,
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "ramdisk": 16777216,
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "second": 0,
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "tags": 256,
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "pagesize": 4096
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | }
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + jq -r .second + .base -
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + local SECOND=0
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo {
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "base": 0,
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "kernel": 32768,
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "ramdisk": 16777216,
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "second": 0,
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "tags": 256,
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "pagesize": 4096
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | }
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + jq -r .tags + .base -
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + local TAGS=256
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo {
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "base": 0,
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "kernel": 32768,
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "ramdisk": 16777216,
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "second": 0,
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "tags": 256,
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "pagesize": 4096
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | }
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + jq -r .pagesize -
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + local PAGE_SIZE=4096
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo {
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "base": 0,
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "kernel": 32768,
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "ramdisk": 16777216,
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "second": 0,
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "tags": 256,
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "pagesize": 4096
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | }
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + jq -r if .dtb then .dtb + .base else "" end -
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + local DTB=
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + local ARGS=--kernel_offset 32768 --ramdisk_offset 16777216
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + ARGS=--kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + ARGS=--kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ 0 != 0 ]
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + MKBOOTIMG_ARGS=--kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:32:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device | length - 1 /tmp/script/configs/sdm845.toml
2026/07/28 13:32:35 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + seq 0 13
2026/07/28 13:32:35 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[0].vendor /tmp/script/configs/sdm845.toml
2026/07/28 13:32:37 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VENDOR=google
2026/07/28 13:32:37 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[0].model /tmp/script/configs/sdm845.toml
2026/07/28 13:32:39 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + MODEL=blueline
2026/07/28 13:32:39 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[0].variant then .device[0].variant else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:32:41 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VARIANT=
2026/07/28 13:32:41 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[0].chipset then .device[0].chipset else "sdm845" end /tmp/script/configs/sdm845.toml
2026/07/28 13:32:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_SOC=sdm845
2026/07/28 13:32:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[0].append then .device[0].append else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:32:45 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + APPEND=
2026/07/28 13:32:45 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[0].bootimg then .device[0].bootimg else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:32:47 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_BOOTIMG=
2026/07/28 13:32:47 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + CMDLINE=mobile.qcomsoc=qcom/sdm845 mobile.vendor=google mobile.model=blueline
2026/07/28 13:32:47 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:32:47 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + FULLMODEL=blueline
2026/07/28 13:32:47 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DTB_FILE=/usr/lib/linux-image-6.12-sdm845/qcom/sdm845-google-blueline.dtb
2026/07/28 13:32:47 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + LOGLEVEL=quiet
2026/07/28 13:32:47 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:32:47 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:32:47 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + BOOTIMG_ARGS=--kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:32:47 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:32:47 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + grep -q dtb_offset
2026/07/28 13:32:47 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo Creating boot image for blueline...
2026/07/28 13:32:47 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Creating boot image for blueline...
2026/07/28 13:32:47 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + cat /boot/vmlinuz-6.12-sdm845 /usr/lib/linux-image-6.12-sdm845/qcom/sdm845-google-blueline.dtb
2026/07/28 13:32:47 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + mkbootimg -o /bootimg-blueline --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096 --kernel /tmp/kernel-dtb --ramdisk /boot/initrd.img-6.12-sdm845 --cmdline mobile.root=UUID=708d4f0b-af38-4b47-a62b-965d2f8b7dd7 mobile.qcomsoc=qcom/sdm845 mobile.vendor=google mobile.model=blueline init=/sbin/init ro quiet splash
2026/07/28 13:32:49 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[1].vendor /tmp/script/configs/sdm845.toml
2026/07/28 13:32:51 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VENDOR=google
2026/07/28 13:32:51 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[1].model /tmp/script/configs/sdm845.toml
2026/07/28 13:32:53 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + MODEL=crosshatch
2026/07/28 13:32:53 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[1].variant then .device[1].variant else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:32:55 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VARIANT=
2026/07/28 13:32:55 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[1].chipset then .device[1].chipset else "sdm845" end /tmp/script/configs/sdm845.toml
2026/07/28 13:32:57 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_SOC=sdm845
2026/07/28 13:32:57 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[1].append then .device[1].append else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:32:58 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + APPEND=
2026/07/28 13:32:58 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[1].bootimg then .device[1].bootimg else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:33:00 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_BOOTIMG={
2026/07/28 13:33:00 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "version": 2,
2026/07/28 13:33:00 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "second": 15728640,
2026/07/28 13:33:00 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "dtb": 32505856
2026/07/28 13:33:00 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | }
2026/07/28 13:33:00 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + CMDLINE=mobile.qcomsoc=qcom/sdm845 mobile.vendor=google mobile.model=crosshatch
2026/07/28 13:33:00 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:33:00 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + FULLMODEL=crosshatch
2026/07/28 13:33:00 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DTB_FILE=/usr/lib/linux-image-6.12-sdm845/qcom/sdm845-google-crosshatch.dtb
2026/07/28 13:33:00 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + LOGLEVEL=quiet
2026/07/28 13:33:00 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:33:00 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ {
2026/07/28 13:33:00 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "version": 2,
2026/07/28 13:33:00 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "second": 15728640,
2026/07/28 13:33:00 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "dtb": 32505856
2026/07/28 13:33:00 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | } ]
2026/07/28 13:33:00 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + bootimg_offsets {
2026/07/28 13:33:00 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "version": 2,
2026/07/28 13:33:00 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "second": 15728640,
2026/07/28 13:33:00 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "dtb": 32505856
2026/07/28 13:33:00 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | }
2026/07/28 13:33:00 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + local BOOTIMG={
2026/07/28 13:33:00 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "version": 2,
2026/07/28 13:33:00 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "second": 15728640,
2026/07/28 13:33:00 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "dtb": 32505856
2026/07/28 13:33:00 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | }
2026/07/28 13:33:00 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo {
2026/07/28 13:33:00 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "version": 2,
2026/07/28 13:33:00 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "second": 15728640,
2026/07/28 13:33:00 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "dtb": 32505856
2026/07/28 13:33:00 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | }
2026/07/28 13:33:00 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + jq -r if .version then .version else 0 end -
2026/07/28 13:33:00 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + local VERSION=2
2026/07/28 13:33:00 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo {
2026/07/28 13:33:00 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "version": 2,
2026/07/28 13:33:00 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "second": 15728640,
2026/07/28 13:33:00 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "dtb": 32505856
2026/07/28 13:33:00 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | }
2026/07/28 13:33:00 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + jq -r .kernel + .base -
2026/07/28 13:33:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + local KERNEL=null
2026/07/28 13:33:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo {
2026/07/28 13:33:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "version": 2,
2026/07/28 13:33:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "second": 15728640,
2026/07/28 13:33:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "dtb": 32505856
2026/07/28 13:33:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | }
2026/07/28 13:33:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + jq -r .ramdisk + .base -
2026/07/28 13:33:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + local RAMDISK=null
2026/07/28 13:33:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo {
2026/07/28 13:33:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "version": 2,
2026/07/28 13:33:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "second": 15728640,
2026/07/28 13:33:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "dtb": 32505856
2026/07/28 13:33:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | }
2026/07/28 13:33:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + jq -r .second + .base -
2026/07/28 13:33:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + local SECOND=15728640
2026/07/28 13:33:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo {
2026/07/28 13:33:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "version": 2,
2026/07/28 13:33:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "second": 15728640,
2026/07/28 13:33:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "dtb": 32505856
2026/07/28 13:33:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | }
2026/07/28 13:33:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + jq -r .tags + .base -
2026/07/28 13:33:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + local TAGS=null
2026/07/28 13:33:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo {
2026/07/28 13:33:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "version": 2,
2026/07/28 13:33:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "second": 15728640,
2026/07/28 13:33:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "dtb": 32505856
2026/07/28 13:33:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | }
2026/07/28 13:33:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + jq -r .pagesize -
2026/07/28 13:33:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + local PAGE_SIZE=null
2026/07/28 13:33:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo {
2026/07/28 13:33:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "version": 2,
2026/07/28 13:33:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "second": 15728640,
2026/07/28 13:33:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "dtb": 32505856
2026/07/28 13:33:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | }
2026/07/28 13:33:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + jq -r if .dtb then .dtb + .base else "" end -
2026/07/28 13:33:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + local DTB=32505856
2026/07/28 13:33:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + local ARGS=--kernel_offset null --ramdisk_offset null
2026/07/28 13:33:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + ARGS=--kernel_offset null --ramdisk_offset null --second_offset 15728640 --tags_offset null
2026/07/28 13:33:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + ARGS=--kernel_offset null --ramdisk_offset null --second_offset 15728640 --tags_offset null --pagesize null
2026/07/28 13:33:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ 2 != 0 ]
2026/07/28 13:33:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + ARGS=--kernel_offset null --ramdisk_offset null --second_offset 15728640 --tags_offset null --pagesize null --header_version 2
2026/07/28 13:33:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ 32505856 ]
2026/07/28 13:33:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + ARGS=--kernel_offset null --ramdisk_offset null --second_offset 15728640 --tags_offset null --pagesize null --header_version 2 --dtb_offset 32505856
2026/07/28 13:33:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo --kernel_offset null --ramdisk_offset null --second_offset 15728640 --tags_offset null --pagesize null --header_version 2 --dtb_offset 32505856
2026/07/28 13:33:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + BOOTIMG_ARGS=--kernel_offset null --ramdisk_offset null --second_offset 15728640 --tags_offset null --pagesize null --header_version 2 --dtb_offset 32505856
2026/07/28 13:33:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + + echo --kernel_offset null --ramdisk_offset null --second_offset 15728640 --tags_offset null --pagesize null --header_version 2 --dtb_offset 32505856
2026/07/28 13:33:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | grep -q dtb_offset
2026/07/28 13:33:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + BOOTIMG_ARGS=--kernel_offset null --ramdisk_offset null --second_offset 15728640 --tags_offset null --pagesize null --header_version 2 --dtb_offset 32505856 --dtb /usr/lib/linux-image-6.12-sdm845/qcom/sdm845-google-crosshatch.dtb
2026/07/28 13:33:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo Creating boot image for crosshatch...
2026/07/28 13:33:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Creating boot image for crosshatch...
2026/07/28 13:33:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + cat /boot/vmlinuz-6.12-sdm845 /usr/lib/linux-image-6.12-sdm845/qcom/sdm845-google-crosshatch.dtb
2026/07/28 13:33:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | cat: /usr/lib/linux-image-6.12-sdm845/qcom/sdm845-google-crosshatch.dtb: No such file or directory
2026/07/28 13:33:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + mkbootimg -o /bootimg-crosshatch --kernel_offset null --ramdisk_offset null --second_offset 15728640 --tags_offset null --pagesize null --header_version 2 --dtb_offset 32505856 --dtb /usr/lib/linux-image-6.12-sdm845/qcom/sdm845-google-crosshatch.dtb --kernel /tmp/kernel-dtb --ramdisk /boot/initrd.img-6.12-sdm845 --cmdline mobile.root=UUID=708d4f0b-af38-4b47-a62b-965d2f8b7dd7 mobile.qcomsoc=qcom/sdm845 mobile.vendor=google mobile.model=crosshatch init=/sbin/init ro quiet splash
2026/07/28 13:33:02 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | usage: mkbootimg [-h] [--kernel KERNEL] [--ramdisk RAMDISK] [--second SECOND]
2026/07/28 13:33:02 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | [--dtb DTB] [--recovery_dtbo RECOVERY_DTBO |
2026/07/28 13:33:02 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | --recovery_acpio RECOVERY_ACPIO] [--cmdline CMDLINE]
2026/07/28 13:33:02 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | [--vendor_cmdline VENDOR_CMDLINE] [--base BASE]
2026/07/28 13:33:02 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | [--kernel_offset KERNEL_OFFSET]
2026/07/28 13:33:02 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | [--ramdisk_offset RAMDISK_OFFSET]
2026/07/28 13:33:02 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | [--second_offset SECOND_OFFSET] [--dtb_offset DTB_OFFSET]
2026/07/28 13:33:02 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | [--os_version OS_VERSION] [--os_patch_level OS_PATCH_LEVEL]
2026/07/28 13:33:02 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | [--tags_offset TAGS_OFFSET] [--board BOARD]
2026/07/28 13:33:02 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | [--pagesize {2048,4096,8192,16384}] [--id]
2026/07/28 13:33:02 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | [--header_version HEADER_VERSION] [-o OUTPUT]
2026/07/28 13:33:02 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | [--vendor_boot VENDOR_BOOT] [--vendor_ramdisk VENDOR_RAMDISK]
2026/07/28 13:33:02 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | [--vendor_bootconfig VENDOR_BOOTCONFIG]
2026/07/28 13:33:02 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | mkbootimg: error: argument --kernel_offset: invalid parse_int value: 'null'
2026/07/28 13:33:03 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[2].vendor /tmp/script/configs/sdm845.toml
2026/07/28 13:33:04 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VENDOR=lg
2026/07/28 13:33:04 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[2].model /tmp/script/configs/sdm845.toml
2026/07/28 13:33:06 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + MODEL=judyln
2026/07/28 13:33:06 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[2].variant then .device[2].variant else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:33:08 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VARIANT=
2026/07/28 13:33:08 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[2].chipset then .device[2].chipset else "sdm845" end /tmp/script/configs/sdm845.toml
2026/07/28 13:33:10 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_SOC=sdm845
2026/07/28 13:33:10 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[2].append then .device[2].append else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:33:12 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + APPEND=
2026/07/28 13:33:12 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[2].bootimg then .device[2].bootimg else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:33:14 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_BOOTIMG=
2026/07/28 13:33:14 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + CMDLINE=mobile.qcomsoc=qcom/sdm845 mobile.vendor=lg mobile.model=judyln
2026/07/28 13:33:14 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:33:14 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + FULLMODEL=judyln
2026/07/28 13:33:14 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DTB_FILE=/usr/lib/linux-image-6.12-sdm845/qcom/sdm845-lg-judyln.dtb
2026/07/28 13:33:14 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + LOGLEVEL=quiet
2026/07/28 13:33:14 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:33:14 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:33:14 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + BOOTIMG_ARGS=--kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:33:14 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:33:14 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + grep -q dtb_offset
2026/07/28 13:33:14 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo Creating boot image for judyln...
2026/07/28 13:33:14 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Creating boot image for judyln...
2026/07/28 13:33:14 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + cat /boot/vmlinuz-6.12-sdm845 /usr/lib/linux-image-6.12-sdm845/qcom/sdm845-lg-judyln.dtb
2026/07/28 13:33:14 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + mkbootimg -o /bootimg-judyln --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096 --kernel /tmp/kernel-dtb --ramdisk /boot/initrd.img-6.12-sdm845 --cmdline mobile.root=UUID=708d4f0b-af38-4b47-a62b-965d2f8b7dd7 mobile.qcomsoc=qcom/sdm845 mobile.vendor=lg mobile.model=judyln init=/sbin/init ro quiet splash
2026/07/28 13:33:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[3].vendor /tmp/script/configs/sdm845.toml
2026/07/28 13:33:18 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VENDOR=lg
2026/07/28 13:33:18 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[3].model /tmp/script/configs/sdm845.toml
2026/07/28 13:33:20 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + MODEL=judyp
2026/07/28 13:33:20 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[3].variant then .device[3].variant else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:33:22 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VARIANT=
2026/07/28 13:33:22 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[3].chipset then .device[3].chipset else "sdm845" end /tmp/script/configs/sdm845.toml
2026/07/28 13:33:23 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_SOC=sdm845
2026/07/28 13:33:23 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[3].append then .device[3].append else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:33:25 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + APPEND=
2026/07/28 13:33:25 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[3].bootimg then .device[3].bootimg else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:33:27 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_BOOTIMG=
2026/07/28 13:33:27 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + CMDLINE=mobile.qcomsoc=qcom/sdm845 mobile.vendor=lg mobile.model=judyp
2026/07/28 13:33:27 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:33:27 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + FULLMODEL=judyp
2026/07/28 13:33:27 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DTB_FILE=/usr/lib/linux-image-6.12-sdm845/qcom/sdm845-lg-judyp.dtb
2026/07/28 13:33:27 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + LOGLEVEL=quiet
2026/07/28 13:33:27 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:33:27 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:33:27 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + BOOTIMG_ARGS=--kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:33:27 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + + echogrep --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:33:27 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | -q dtb_offset
2026/07/28 13:33:27 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo Creating boot image for judyp...
2026/07/28 13:33:27 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Creating boot image for judyp...
2026/07/28 13:33:27 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + cat /boot/vmlinuz-6.12-sdm845 /usr/lib/linux-image-6.12-sdm845/qcom/sdm845-lg-judyp.dtb
2026/07/28 13:33:27 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + mkbootimg -o /bootimg-judyp --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096 --kernel /tmp/kernel-dtb --ramdisk /boot/initrd.img-6.12-sdm845 --cmdline mobile.root=UUID=708d4f0b-af38-4b47-a62b-965d2f8b7dd7 mobile.qcomsoc=qcom/sdm845 mobile.vendor=lg mobile.model=judyp init=/sbin/init ro quiet splash
2026/07/28 13:33:29 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[4].vendor /tmp/script/configs/sdm845.toml
2026/07/28 13:33:31 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VENDOR=oneplus
2026/07/28 13:33:31 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[4].model /tmp/script/configs/sdm845.toml
2026/07/28 13:33:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + MODEL=enchilada
2026/07/28 13:33:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[4].variant then .device[4].variant else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:33:35 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VARIANT=
2026/07/28 13:33:35 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[4].chipset then .device[4].chipset else "sdm845" end /tmp/script/configs/sdm845.toml
2026/07/28 13:33:37 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_SOC=sdm845
2026/07/28 13:33:37 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[4].append then .device[4].append else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:33:39 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + APPEND=console=ttyMSM0,115200
2026/07/28 13:33:39 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[4].bootimg then .device[4].bootimg else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:33:41 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_BOOTIMG=
2026/07/28 13:33:41 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + CMDLINE=mobile.qcomsoc=qcom/sdm845 mobile.vendor=oneplus mobile.model=enchilada
2026/07/28 13:33:41 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:33:41 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + FULLMODEL=enchilada
2026/07/28 13:33:41 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DTB_FILE=/usr/lib/linux-image-6.12-sdm845/qcom/sdm845-oneplus-enchilada.dtb
2026/07/28 13:33:41 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + LOGLEVEL=quiet
2026/07/28 13:33:41 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ console=ttyMSM0,115200 ]
2026/07/28 13:33:41 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + CMDLINE=mobile.qcomsoc=qcom/sdm845 mobile.vendor=oneplus mobile.model=enchilada console=ttyMSM0,115200
2026/07/28 13:33:41 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo console=ttyMSM0,115200
2026/07/28 13:33:41 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + grep -q console=
2026/07/28 13:33:41 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + LOGLEVEL=loglevel=7
2026/07/28 13:33:41 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:33:41 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + BOOTIMG_ARGS=--kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:33:41 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:33:41 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + grep -q dtb_offset
2026/07/28 13:33:41 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo Creating boot image for enchilada...
2026/07/28 13:33:41 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Creating boot image for enchilada...
2026/07/28 13:33:41 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + cat /boot/vmlinuz-6.12-sdm845 /usr/lib/linux-image-6.12-sdm845/qcom/sdm845-oneplus-enchilada.dtb
2026/07/28 13:33:41 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + mkbootimg -o /bootimg-enchilada --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096 --kernel /tmp/kernel-dtb --ramdisk /boot/initrd.img-6.12-sdm845 --cmdline mobile.root=UUID=708d4f0b-af38-4b47-a62b-965d2f8b7dd7 mobile.qcomsoc=qcom/sdm845 mobile.vendor=oneplus mobile.model=enchilada console=ttyMSM0,115200 init=/sbin/init ro loglevel=7 splash
2026/07/28 13:33:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[5].vendor /tmp/script/configs/sdm845.toml
2026/07/28 13:33:45 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VENDOR=oneplus
2026/07/28 13:33:45 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[5].model /tmp/script/configs/sdm845.toml
2026/07/28 13:33:47 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + MODEL=fajita
2026/07/28 13:33:47 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[5].variant then .device[5].variant else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:33:49 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VARIANT=
2026/07/28 13:33:49 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[5].chipset then .device[5].chipset else "sdm845" end /tmp/script/configs/sdm845.toml
2026/07/28 13:33:51 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_SOC=sdm845
2026/07/28 13:33:51 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[5].append then .device[5].append else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:33:52 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + APPEND=console=ttyMSM0,115200
2026/07/28 13:33:52 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[5].bootimg then .device[5].bootimg else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:33:54 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_BOOTIMG=
2026/07/28 13:33:54 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + CMDLINE=mobile.qcomsoc=qcom/sdm845 mobile.vendor=oneplus mobile.model=fajita
2026/07/28 13:33:54 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:33:54 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + FULLMODEL=fajita
2026/07/28 13:33:54 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DTB_FILE=/usr/lib/linux-image-6.12-sdm845/qcom/sdm845-oneplus-fajita.dtb
2026/07/28 13:33:54 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + LOGLEVEL=quiet
2026/07/28 13:33:54 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ console=ttyMSM0,115200 ]
2026/07/28 13:33:54 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + CMDLINE=mobile.qcomsoc=qcom/sdm845 mobile.vendor=oneplus mobile.model=fajita console=ttyMSM0,115200
2026/07/28 13:33:54 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo+ console=ttyMSM0,115200
2026/07/28 13:33:54 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | grep -q console=
2026/07/28 13:33:54 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + LOGLEVEL=loglevel=7
2026/07/28 13:33:54 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:33:54 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + BOOTIMG_ARGS=--kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:33:54 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + grep -q dtb_offset
2026/07/28 13:33:54 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:33:55 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo Creating boot image for fajita...
2026/07/28 13:33:55 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Creating boot image for fajita...
2026/07/28 13:33:55 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + cat /boot/vmlinuz-6.12-sdm845 /usr/lib/linux-image-6.12-sdm845/qcom/sdm845-oneplus-fajita.dtb
2026/07/28 13:33:55 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + mkbootimg -o /bootimg-fajita --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096 --kernel /tmp/kernel-dtb --ramdisk /boot/initrd.img-6.12-sdm845 --cmdline mobile.root=UUID=708d4f0b-af38-4b47-a62b-965d2f8b7dd7 mobile.qcomsoc=qcom/sdm845 mobile.vendor=oneplus mobile.model=fajita console=ttyMSM0,115200 init=/sbin/init ro loglevel=7 splash
2026/07/28 13:33:57 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[6].vendor /tmp/script/configs/sdm845.toml
2026/07/28 13:33:59 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VENDOR=samsung
2026/07/28 13:33:59 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[6].model /tmp/script/configs/sdm845.toml
2026/07/28 13:34:00 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + MODEL=starqltechn
2026/07/28 13:34:00 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[6].variant then .device[6].variant else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:34:02 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VARIANT=
2026/07/28 13:34:02 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[6].chipset then .device[6].chipset else "sdm845" end /tmp/script/configs/sdm845.toml
2026/07/28 13:34:04 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_SOC=sdm845
2026/07/28 13:34:04 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[6].append then .device[6].append else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:34:06 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + APPEND=
2026/07/28 13:34:06 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[6].bootimg then .device[6].bootimg else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:34:08 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_BOOTIMG=
2026/07/28 13:34:08 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + CMDLINE=mobile.qcomsoc=qcom/sdm845 mobile.vendor=samsung mobile.model=starqltechn
2026/07/28 13:34:08 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:34:08 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + FULLMODEL=starqltechn
2026/07/28 13:34:08 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DTB_FILE=/usr/lib/linux-image-6.12-sdm845/qcom/sdm845-samsung-starqltechn.dtb
2026/07/28 13:34:08 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + LOGLEVEL=quiet
2026/07/28 13:34:08 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:34:08 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:34:08 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + BOOTIMG_ARGS=--kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:34:08 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:34:08 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + grep -q dtb_offset
2026/07/28 13:34:08 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo Creating boot image for starqltechn...
2026/07/28 13:34:08 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Creating boot image for starqltechn...
2026/07/28 13:34:08 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + cat /boot/vmlinuz-6.12-sdm845 /usr/lib/linux-image-6.12-sdm845/qcom/sdm845-samsung-starqltechn.dtb
2026/07/28 13:34:08 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + mkbootimg -o /bootimg-starqltechn --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096 --kernel /tmp/kernel-dtb --ramdisk /boot/initrd.img-6.12-sdm845 --cmdline mobile.root=UUID=708d4f0b-af38-4b47-a62b-965d2f8b7dd7 mobile.qcomsoc=qcom/sdm845 mobile.vendor=samsung mobile.model=starqltechn init=/sbin/init ro quiet splash
2026/07/28 13:34:10 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[7].vendor /tmp/script/configs/sdm845.toml
2026/07/28 13:34:12 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VENDOR=shift
2026/07/28 13:34:12 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[7].model /tmp/script/configs/sdm845.toml
2026/07/28 13:34:14 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + MODEL=axolotl
2026/07/28 13:34:14 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[7].variant then .device[7].variant else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:34:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VARIANT=
2026/07/28 13:34:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[7].chipset then .device[7].chipset else "sdm845" end /tmp/script/configs/sdm845.toml
2026/07/28 13:34:18 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_SOC=sdm845
2026/07/28 13:34:18 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[7].append then .device[7].append else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:34:20 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + APPEND=console=ttyMSM0,115200
2026/07/28 13:34:20 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[7].bootimg then .device[7].bootimg else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:34:22 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_BOOTIMG=
2026/07/28 13:34:22 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + CMDLINE=mobile.qcomsoc=qcom/sdm845 mobile.vendor=shift mobile.model=axolotl
2026/07/28 13:34:22 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:34:22 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + FULLMODEL=axolotl
2026/07/28 13:34:22 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DTB_FILE=/usr/lib/linux-image-6.12-sdm845/qcom/sdm845-shift-axolotl.dtb
2026/07/28 13:34:22 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + LOGLEVEL=quiet
2026/07/28 13:34:22 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ console=ttyMSM0,115200 ]
2026/07/28 13:34:22 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + CMDLINE=mobile.qcomsoc=qcom/sdm845 mobile.vendor=shift mobile.model=axolotl console=ttyMSM0,115200
2026/07/28 13:34:22 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo console=ttyMSM0,115200
2026/07/28 13:34:22 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + grep -q console=
2026/07/28 13:34:22 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + LOGLEVEL=loglevel=7
2026/07/28 13:34:22 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:34:22 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + BOOTIMG_ARGS=--kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:34:22 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:34:22 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + grep -q dtb_offset
2026/07/28 13:34:22 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo Creating boot image for axolotl...
2026/07/28 13:34:22 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Creating boot image for axolotl...
2026/07/28 13:34:22 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + cat /boot/vmlinuz-6.12-sdm845 /usr/lib/linux-image-6.12-sdm845/qcom/sdm845-shift-axolotl.dtb
2026/07/28 13:34:22 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + mkbootimg -o /bootimg-axolotl --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096 --kernel /tmp/kernel-dtb --ramdisk /boot/initrd.img-6.12-sdm845 --cmdline mobile.root=UUID=708d4f0b-af38-4b47-a62b-965d2f8b7dd7 mobile.qcomsoc=qcom/sdm845 mobile.vendor=shift mobile.model=axolotl console=ttyMSM0,115200 init=/sbin/init ro loglevel=7 splash
2026/07/28 13:34:24 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[8].vendor /tmp/script/configs/sdm845.toml
2026/07/28 13:34:26 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VENDOR=sony
2026/07/28 13:34:26 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[8].model /tmp/script/configs/sdm845.toml
2026/07/28 13:34:27 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + MODEL=xperia-tama-akari
2026/07/28 13:34:27 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[8].variant then .device[8].variant else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:34:29 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VARIANT=
2026/07/28 13:34:29 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[8].chipset then .device[8].chipset else "sdm845" end /tmp/script/configs/sdm845.toml
2026/07/28 13:34:31 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_SOC=sdm845
2026/07/28 13:34:31 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[8].append then .device[8].append else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:34:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + APPEND=
2026/07/28 13:34:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[8].bootimg then .device[8].bootimg else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:34:35 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_BOOTIMG=
2026/07/28 13:34:35 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + CMDLINE=mobile.qcomsoc=qcom/sdm845 mobile.vendor=sony mobile.model=xperia-tama-akari
2026/07/28 13:34:35 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:34:35 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + FULLMODEL=xperia-tama-akari
2026/07/28 13:34:35 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DTB_FILE=/usr/lib/linux-image-6.12-sdm845/qcom/sdm845-sony-xperia-tama-akari.dtb
2026/07/28 13:34:35 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + LOGLEVEL=quiet
2026/07/28 13:34:35 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:34:35 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:34:35 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + BOOTIMG_ARGS=--kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:34:35 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:34:35 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + grep -q dtb_offset
2026/07/28 13:34:35 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo Creating boot image for xperia-tama-akari...
2026/07/28 13:34:35 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Creating boot image for xperia-tama-akari...
2026/07/28 13:34:35 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + cat /boot/vmlinuz-6.12-sdm845 /usr/lib/linux-image-6.12-sdm845/qcom/sdm845-sony-xperia-tama-akari.dtb
2026/07/28 13:34:35 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + mkbootimg -o /bootimg-xperia-tama-akari --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096 --kernel /tmp/kernel-dtb --ramdisk /boot/initrd.img-6.12-sdm845 --cmdline mobile.root=UUID=708d4f0b-af38-4b47-a62b-965d2f8b7dd7 mobile.qcomsoc=qcom/sdm845 mobile.vendor=sony mobile.model=xperia-tama-akari init=/sbin/init ro quiet splash
2026/07/28 13:34:37 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[9].vendor /tmp/script/configs/sdm845.toml
2026/07/28 13:34:39 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VENDOR=sony
2026/07/28 13:34:39 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[9].model /tmp/script/configs/sdm845.toml
2026/07/28 13:34:41 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + MODEL=xperia-tama-akatsuki
2026/07/28 13:34:41 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[9].variant then .device[9].variant else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:34:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VARIANT=
2026/07/28 13:34:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[9].chipset then .device[9].chipset else "sdm845" end /tmp/script/configs/sdm845.toml
2026/07/28 13:34:45 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_SOC=sdm845
2026/07/28 13:34:45 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[9].append then .device[9].append else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:34:46 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + APPEND=
2026/07/28 13:34:46 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[9].bootimg then .device[9].bootimg else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:34:48 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_BOOTIMG=
2026/07/28 13:34:48 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + CMDLINE=mobile.qcomsoc=qcom/sdm845 mobile.vendor=sony mobile.model=xperia-tama-akatsuki
2026/07/28 13:34:48 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:34:48 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + FULLMODEL=xperia-tama-akatsuki
2026/07/28 13:34:48 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DTB_FILE=/usr/lib/linux-image-6.12-sdm845/qcom/sdm845-sony-xperia-tama-akatsuki.dtb
2026/07/28 13:34:48 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + LOGLEVEL=quiet
2026/07/28 13:34:48 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:34:48 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:34:48 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + BOOTIMG_ARGS=--kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:34:48 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:34:48 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + grep -q dtb_offset
2026/07/28 13:34:48 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo Creating boot image for xperia-tama-akatsuki...
2026/07/28 13:34:48 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Creating boot image for xperia-tama-akatsuki...
2026/07/28 13:34:48 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + cat /boot/vmlinuz-6.12-sdm845 /usr/lib/linux-image-6.12-sdm845/qcom/sdm845-sony-xperia-tama-akatsuki.dtb
2026/07/28 13:34:48 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + mkbootimg -o /bootimg-xperia-tama-akatsuki --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096 --kernel /tmp/kernel-dtb --ramdisk /boot/initrd.img-6.12-sdm845 --cmdline mobile.root=UUID=708d4f0b-af38-4b47-a62b-965d2f8b7dd7 mobile.qcomsoc=qcom/sdm845 mobile.vendor=sony mobile.model=xperia-tama-akatsuki init=/sbin/init ro quiet splash
2026/07/28 13:34:50 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[10].vendor /tmp/script/configs/sdm845.toml
2026/07/28 13:34:52 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VENDOR=sony
2026/07/28 13:34:52 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[10].model /tmp/script/configs/sdm845.toml
2026/07/28 13:34:54 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + MODEL=xperia-tama-apollo
2026/07/28 13:34:54 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[10].variant then .device[10].variant else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:34:56 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VARIANT=
2026/07/28 13:34:56 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[10].chipset then .device[10].chipset else "sdm845" end /tmp/script/configs/sdm845.toml
2026/07/28 13:34:58 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_SOC=sdm845
2026/07/28 13:34:58 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[10].append then .device[10].append else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:35:00 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + APPEND=
2026/07/28 13:35:00 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[10].bootimg then .device[10].bootimg else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:35:02 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_BOOTIMG=
2026/07/28 13:35:02 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + CMDLINE=mobile.qcomsoc=qcom/sdm845 mobile.vendor=sony mobile.model=xperia-tama-apollo
2026/07/28 13:35:02 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:35:02 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + FULLMODEL=xperia-tama-apollo
2026/07/28 13:35:02 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DTB_FILE=/usr/lib/linux-image-6.12-sdm845/qcom/sdm845-sony-xperia-tama-apollo.dtb
2026/07/28 13:35:02 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + LOGLEVEL=quiet
2026/07/28 13:35:02 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:35:02 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:35:02 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + BOOTIMG_ARGS=--kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:35:02 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + + echo --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:35:02 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | grep -q dtb_offset
2026/07/28 13:35:02 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo Creating boot image for xperia-tama-apollo...
2026/07/28 13:35:02 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Creating boot image for xperia-tama-apollo...
2026/07/28 13:35:02 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + cat /boot/vmlinuz-6.12-sdm845 /usr/lib/linux-image-6.12-sdm845/qcom/sdm845-sony-xperia-tama-apollo.dtb
2026/07/28 13:35:02 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + mkbootimg -o /bootimg-xperia-tama-apollo --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096 --kernel /tmp/kernel-dtb --ramdisk /boot/initrd.img-6.12-sdm845 --cmdline mobile.root=UUID=708d4f0b-af38-4b47-a62b-965d2f8b7dd7 mobile.qcomsoc=qcom/sdm845 mobile.vendor=sony mobile.model=xperia-tama-apollo init=/sbin/init ro quiet splash
2026/07/28 13:35:04 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[11].vendor /tmp/script/configs/sdm845.toml
2026/07/28 13:35:06 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VENDOR=xiaomi
2026/07/28 13:35:06 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[11].model /tmp/script/configs/sdm845.toml
2026/07/28 13:35:08 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + MODEL=beryllium
2026/07/28 13:35:08 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[11].variant then .device[11].variant else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:35:09 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VARIANT=ebbg
2026/07/28 13:35:09 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[11].chipset then .device[11].chipset else "sdm845" end /tmp/script/configs/sdm845.toml
2026/07/28 13:35:11 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_SOC=sdm845
2026/07/28 13:35:11 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[11].append then .device[11].append else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:35:13 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + APPEND=
2026/07/28 13:35:13 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[11].bootimg then .device[11].bootimg else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:35:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_BOOTIMG=
2026/07/28 13:35:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + CMDLINE=mobile.qcomsoc=qcom/sdm845 mobile.vendor=xiaomi mobile.model=beryllium
2026/07/28 13:35:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ebbg ]
2026/07/28 13:35:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + CMDLINE=mobile.qcomsoc=qcom/sdm845 mobile.vendor=xiaomi mobile.model=beryllium mobile.variant=ebbg
2026/07/28 13:35:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + FULLMODEL=beryllium-ebbg
2026/07/28 13:35:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DTB_FILE=/usr/lib/linux-image-6.12-sdm845/qcom/sdm845-xiaomi-beryllium-ebbg.dtb
2026/07/28 13:35:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + LOGLEVEL=quiet
2026/07/28 13:35:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:35:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:35:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + BOOTIMG_ARGS=--kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:35:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:35:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + grep -q dtb_offset
2026/07/28 13:35:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo Creating boot image for beryllium-ebbg...
2026/07/28 13:35:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Creating boot image for beryllium-ebbg...
2026/07/28 13:35:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + cat /boot/vmlinuz-6.12-sdm845 /usr/lib/linux-image-6.12-sdm845/qcom/sdm845-xiaomi-beryllium-ebbg.dtb
2026/07/28 13:35:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + mkbootimg -o /bootimg-beryllium-ebbg --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096 --kernel /tmp/kernel-dtb --ramdisk /boot/initrd.img-6.12-sdm845 --cmdline mobile.root=UUID=708d4f0b-af38-4b47-a62b-965d2f8b7dd7 mobile.qcomsoc=qcom/sdm845 mobile.vendor=xiaomi mobile.model=beryllium mobile.variant=ebbg init=/sbin/init ro quiet splash
2026/07/28 13:35:17 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[12].vendor /tmp/script/configs/sdm845.toml
2026/07/28 13:35:19 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VENDOR=xiaomi
2026/07/28 13:35:19 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[12].model /tmp/script/configs/sdm845.toml
2026/07/28 13:35:21 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + MODEL=beryllium
2026/07/28 13:35:21 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[12].variant then .device[12].variant else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:35:23 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VARIANT=tianma
2026/07/28 13:35:23 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[12].chipset then .device[12].chipset else "sdm845" end /tmp/script/configs/sdm845.toml
2026/07/28 13:35:25 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_SOC=sdm845
2026/07/28 13:35:25 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[12].append then .device[12].append else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:35:27 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + APPEND=
2026/07/28 13:35:27 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[12].bootimg then .device[12].bootimg else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:35:29 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_BOOTIMG=
2026/07/28 13:35:29 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + CMDLINE=mobile.qcomsoc=qcom/sdm845 mobile.vendor=xiaomi mobile.model=beryllium
2026/07/28 13:35:29 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ tianma ]
2026/07/28 13:35:29 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + CMDLINE=mobile.qcomsoc=qcom/sdm845 mobile.vendor=xiaomi mobile.model=beryllium mobile.variant=tianma
2026/07/28 13:35:29 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + FULLMODEL=beryllium-tianma
2026/07/28 13:35:29 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DTB_FILE=/usr/lib/linux-image-6.12-sdm845/qcom/sdm845-xiaomi-beryllium-tianma.dtb
2026/07/28 13:35:29 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + LOGLEVEL=quiet
2026/07/28 13:35:29 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:35:29 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:35:29 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + BOOTIMG_ARGS=--kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:35:29 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + + echo --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:35:29 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | grep -q dtb_offset
2026/07/28 13:35:29 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo Creating boot image for beryllium-tianma...
2026/07/28 13:35:29 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Creating boot image for beryllium-tianma...
2026/07/28 13:35:29 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + cat /boot/vmlinuz-6.12-sdm845 /usr/lib/linux-image-6.12-sdm845/qcom/sdm845-xiaomi-beryllium-tianma.dtb
2026/07/28 13:35:29 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + mkbootimg -o /bootimg-beryllium-tianma --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096 --kernel /tmp/kernel-dtb --ramdisk /boot/initrd.img-6.12-sdm845 --cmdline mobile.root=UUID=708d4f0b-af38-4b47-a62b-965d2f8b7dd7 mobile.qcomsoc=qcom/sdm845 mobile.vendor=xiaomi mobile.model=beryllium mobile.variant=tianma init=/sbin/init ro quiet splash
2026/07/28 13:35:31 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[13].vendor /tmp/script/configs/sdm845.toml
2026/07/28 13:35:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VENDOR=xiaomi
2026/07/28 13:35:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[13].model /tmp/script/configs/sdm845.toml
2026/07/28 13:35:35 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + MODEL=polaris
2026/07/28 13:35:35 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[13].variant then .device[13].variant else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:35:37 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VARIANT=
2026/07/28 13:35:37 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[13].chipset then .device[13].chipset else "sdm845" end /tmp/script/configs/sdm845.toml
2026/07/28 13:35:38 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_SOC=sdm845
2026/07/28 13:35:38 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[13].append then .device[13].append else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:35:40 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + APPEND=
2026/07/28 13:35:40 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[13].bootimg then .device[13].bootimg else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:35:42 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_BOOTIMG=
2026/07/28 13:35:42 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + CMDLINE=mobile.qcomsoc=qcom/sdm845 mobile.vendor=xiaomi mobile.model=polaris
2026/07/28 13:35:42 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:35:42 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + FULLMODEL=polaris
2026/07/28 13:35:42 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DTB_FILE=/usr/lib/linux-image-6.12-sdm845/qcom/sdm845-xiaomi-polaris.dtb
2026/07/28 13:35:42 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + LOGLEVEL=quiet
2026/07/28 13:35:42 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:35:42 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:35:42 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + BOOTIMG_ARGS=--kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:35:42 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:35:42 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + grep -q dtb_offset
2026/07/28 13:35:42 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo Creating boot image for polaris...
2026/07/28 13:35:42 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Creating boot image for polaris...
2026/07/28 13:35:42 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + cat /boot/vmlinuz-6.12-sdm845 /usr/lib/linux-image-6.12-sdm845/qcom/sdm845-xiaomi-polaris.dtb
2026/07/28 13:35:42 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + mkbootimg -o /bootimg-polaris --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096 --kernel /tmp/kernel-dtb --ramdisk /boot/initrd.img-6.12-sdm845 --cmdline mobile.root=UUID=708d4f0b-af38-4b47-a62b-965d2f8b7dd7 mobile.qcomsoc=qcom/sdm845 mobile.vendor=xiaomi mobile.model=polaris init=/sbin/init ro quiet splash
2026/07/28 13:35:44 ==== Extract boot images ====
2026/07/28 13:35:45 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Extracting boot image for variant blueline
2026/07/28 13:35:45 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | mv: failed to preserve ownership for '/home/marco/Scaricati/build_mobianrecipes/mobian-recipes/mobian-sdm845-plasma-mobile-20260728.boot-blueline.img': Operation not permitted
2026/07/28 13:35:45 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Extracting boot image for variant crosshatch
2026/07/28 13:35:45 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | mv: failed to preserve ownership for '/home/marco/Scaricati/build_mobianrecipes/mobian-recipes/mobian-sdm845-plasma-mobile-20260728.boot-crosshatch.img': Operation not permitted
2026/07/28 13:35:45 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Extracting boot image for variant judyln
2026/07/28 13:35:46 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | mv: failed to preserve ownership for '/home/marco/Scaricati/build_mobianrecipes/mobian-recipes/mobian-sdm845-plasma-mobile-20260728.boot-judyln.img': Operation not permitted
2026/07/28 13:35:46 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Extracting boot image for variant judyp
2026/07/28 13:35:46 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | mv: failed to preserve ownership for '/home/marco/Scaricati/build_mobianrecipes/mobian-recipes/mobian-sdm845-plasma-mobile-20260728.boot-judyp.img': Operation not permitted
2026/07/28 13:35:46 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Extracting boot image for variant enchilada
2026/07/28 13:35:46 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | mv: failed to preserve ownership for '/home/marco/Scaricati/build_mobianrecipes/mobian-recipes/mobian-sdm845-plasma-mobile-20260728.boot-enchilada.img': Operation not permitted
2026/07/28 13:35:46 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Extracting boot image for variant fajita
2026/07/28 13:35:46 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | mv: failed to preserve ownership for '/home/marco/Scaricati/build_mobianrecipes/mobian-recipes/mobian-sdm845-plasma-mobile-20260728.boot-fajita.img': Operation not permitted
2026/07/28 13:35:46 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Extracting boot image for variant starqltechn
2026/07/28 13:35:46 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | mv: failed to preserve ownership for '/home/marco/Scaricati/build_mobianrecipes/mobian-recipes/mobian-sdm845-plasma-mobile-20260728.boot-starqltechn.img': Operation not permitted
2026/07/28 13:35:46 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Extracting boot image for variant axolotl
2026/07/28 13:35:46 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | mv: failed to preserve ownership for '/home/marco/Scaricati/build_mobianrecipes/mobian-recipes/mobian-sdm845-plasma-mobile-20260728.boot-axolotl.img': Operation not permitted
2026/07/28 13:35:46 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Extracting boot image for variant xperia-tama-akari
2026/07/28 13:35:46 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | mv: failed to preserve ownership for '/home/marco/Scaricati/build_mobianrecipes/mobian-recipes/mobian-sdm845-plasma-mobile-20260728.boot-xperia-tama-akari.img': Operation not permitted
2026/07/28 13:35:46 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Extracting boot image for variant xperia-tama-akatsuki
2026/07/28 13:35:47 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | mv: failed to preserve ownership for '/home/marco/Scaricati/build_mobianrecipes/mobian-recipes/mobian-sdm845-plasma-mobile-20260728.boot-xperia-tama-akatsuki.img': Operation not permitted
2026/07/28 13:35:47 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Extracting boot image for variant xperia-tama-apollo
2026/07/28 13:35:47 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | mv: failed to preserve ownership for '/home/marco/Scaricati/build_mobianrecipes/mobian-recipes/mobian-sdm845-plasma-mobile-20260728.boot-xperia-tama-apollo.img': Operation not permitted
2026/07/28 13:35:47 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Extracting boot image for variant beryllium-ebbg
2026/07/28 13:35:47 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | mv: failed to preserve ownership for '/home/marco/Scaricati/build_mobianrecipes/mobian-recipes/mobian-sdm845-plasma-mobile-20260728.boot-beryllium-ebbg.img': Operation not permitted
2026/07/28 13:35:47 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Extracting boot image for variant beryllium-tianma
2026/07/28 13:35:47 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | mv: failed to preserve ownership for '/home/marco/Scaricati/build_mobianrecipes/mobian-recipes/mobian-sdm845-plasma-mobile-20260728.boot-beryllium-tianma.img': Operation not permitted
2026/07/28 13:35:47 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Extracting boot image for variant polaris
2026/07/28 13:35:47 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | mv: failed to preserve ownership for '/home/marco/Scaricati/build_mobianrecipes/mobian-recipes/mobian-sdm845-plasma-mobile-20260728.boot-polaris.img': Operation not permitted
2026/07/28 13:35:47 ==== Extract partitions ====
2026/07/28 15:35:49 extract-parts.sh mobian-sdm845-plasma-mobile-20260728 | Extracting rootfs @ 2048
2026/07/28 15:38:31 extract-parts.sh mobian-sdm845-plasma-mobile-20260728 | 15622919+0 records in
2026/07/28 15:38:31 extract-parts.sh mobian-sdm845-plasma-mobile-20260728 | 15622919+0 records out
2026/07/28 15:38:31 extract-parts.sh mobian-sdm845-plasma-mobile-20260728 | 7998934528 bytes (8,0 GB, 7,4 GiB) copied, 161,922 s, 49,4 MB/s
2026/07/28 15:38:31 extract-parts.sh mobian-sdm845-plasma-mobile-20260728 | Converting rootfs to sparse image
2026/07/28 15:39:30 ==== Recipe done ====while by applying this MR
Click to expand
2026/07/28 13:04:10 ==== recipe ====
2026/07/28 13:04:10 ==== Prepare boot images ====
2026/07/28 13:04:10 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + SCRIPT=/tmp/script/bootloader.sh
2026/07/28 13:04:10 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE=sdm845
2026/07/28 13:04:10 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + dirname /tmp/script/bootloader.sh
2026/07/28 13:04:11 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + CONFIG=/tmp/script/configs/sdm845.toml
2026/07/28 13:04:11 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ -f /tmp/script/configs/sdm845.toml ]
2026/07/28 13:04:11 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + findmnt -n -o UUID /
2026/07/28 13:04:11 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + ROOTPART=UUID=165fbfc5-4a2d-4fc7-ad1e-d6c43b58bb8a
2026/07/28 13:04:11 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ UUID=165fbfc5-4a2d-4fc7-ad1e-d6c43b58bb8a = UUID= ]
2026/07/28 13:04:11 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + linux-version list
2026/07/28 13:04:11 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tail -1
2026/07/28 13:04:11 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + KERNEL_VERSION=6.12-sdm845
2026/07/28 13:04:11 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .chipset then .chipset else "sdm845" end /tmp/script/configs/sdm845.toml
2026/07/28 13:04:13 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + SOC=sdm845
2026/07/28 13:04:13 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .bootimg /tmp/script/configs/sdm845.toml
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + bootimg_offsets {
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "base": 0,
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "kernel": 32768,
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "ramdisk": 16777216,
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "second": 0,
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "tags": 256,
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "pagesize": 4096
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | }
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + local BOOTIMG={
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "base": 0,
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "kernel": 32768,
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "ramdisk": 16777216,
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "second": 0,
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "tags": 256,
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "pagesize": 4096
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | }
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo {
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "base": 0,
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "kernel": 32768,
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "ramdisk": 16777216,
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "second": 0,
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "tags": 256,
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "pagesize": 4096
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | }
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + jq -r if .base then .base else 0 end -
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + local BASE=0
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo {
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "base": 0,
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "kernel": 32768,
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "ramdisk": 16777216,
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "second": 0,
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "tags": 256,
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "pagesize": 4096
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | }
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + jq -r .kernel -
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + local KERNEL=32768
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo {
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "base": 0,
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "kernel": 32768,
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "ramdisk": 16777216,
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "second": 0,
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "tags": 256,
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "pagesize": 4096
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | }
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + jq -r .ramdisk -
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + local RAMDISK=16777216
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo {
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "base": 0,
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "kernel": 32768,
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "ramdisk": 16777216,
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "second": 0,
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "tags": 256,
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "pagesize": 4096
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | }
2026/07/28 13:04:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + jq -r .second -
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + local SECOND=0
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo {
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "base": 0,
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "kernel": 32768,
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "ramdisk": 16777216,
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "second": 0,
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "tags": 256,
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "pagesize": 4096
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | }
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + jq -r .tags -
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + local TAGS=256
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo {
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "base": 0,
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "kernel": 32768,
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "ramdisk": 16777216,
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "second": 0,
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "tags": 256,
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "pagesize": 4096
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | }
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + jq -r if .dtb then .dtb else "" end -
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + local DTB=
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo {
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "base": 0,
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "kernel": 32768,
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "ramdisk": 16777216,
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "second": 0,
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "tags": 256,
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "pagesize": 4096
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | }
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + jq -r if .version then .version else 0 end -
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + local VERSION=0
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo {
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "base": 0,
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "kernel": 32768,
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "ramdisk": 16777216,
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "second": 0,
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "tags": 256,
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "pagesize": 4096
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | }
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + jq -r .pagesize -
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + local PAGE_SIZE=4096
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + local ARGS=--base 0
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ 32768 != null ]
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + KERNEL=32768
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + ARGS=--base 0 --kernel_offset 32768
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ 16777216 != null ]
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + RAMDISK=16777216
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + ARGS=--base 0 --kernel_offset 32768 --ramdisk_offset 16777216
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ 0 != null ]
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + SECOND=0
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + ARGS=--base 0 --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ 256 != null ]
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + TAGS=256
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + ARGS=--base 0 --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ 4096 != null ]
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + ARGS=--base 0 --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ 0 != null ]
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ 0 != 0 ]
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ -n ]
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo --base 0 --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + MKBOOTIMG_ARGS=--base 0 --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:04:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device | length - 1 /tmp/script/configs/sdm845.toml
2026/07/28 13:04:18 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + seq 0 13
2026/07/28 13:04:18 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[0].vendor /tmp/script/configs/sdm845.toml
2026/07/28 13:04:20 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VENDOR=google
2026/07/28 13:04:20 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[0].model /tmp/script/configs/sdm845.toml
2026/07/28 13:04:22 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + MODEL=blueline
2026/07/28 13:04:22 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[0].variant then .device[0].variant else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:04:24 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VARIANT=
2026/07/28 13:04:24 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[0].chipset then .device[0].chipset else "sdm845" end /tmp/script/configs/sdm845.toml
2026/07/28 13:04:26 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_SOC=sdm845
2026/07/28 13:04:26 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[0].append then .device[0].append else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:04:28 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + APPEND=
2026/07/28 13:04:28 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[0].bootimg then .device[0].bootimg else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:04:29 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_BOOTIMG=
2026/07/28 13:04:29 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + CMDLINE=mobile.qcomsoc=qcom/sdm845 mobile.vendor=google mobile.model=blueline
2026/07/28 13:04:29 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:04:29 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + FULLMODEL=blueline
2026/07/28 13:04:29 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DTB_FILE=/usr/lib/linux-image-6.12-sdm845/qcom/sdm845-google-blueline.dtb
2026/07/28 13:04:29 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + LOGLEVEL=quiet
2026/07/28 13:04:29 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:04:29 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ -n ]
2026/07/28 13:04:29 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + BOOTIMG_ARGS=--base 0 --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:04:29 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo --base 0 --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:04:29 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + grep -q dtb_offset
2026/07/28 13:04:30 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo Creating boot image for blueline...
2026/07/28 13:04:30 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Creating boot image for blueline...
2026/07/28 13:04:30 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + cat /boot/vmlinuz-6.12-sdm845 /usr/lib/linux-image-6.12-sdm845/qcom/sdm845-google-blueline.dtb
2026/07/28 13:04:30 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + mkbootimg -o /bootimg-blueline --base 0 --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096 --kernel /tmp/kernel-dtb --ramdisk /boot/initrd.img-6.12-sdm845 --cmdline mobile.root=UUID=165fbfc5-4a2d-4fc7-ad1e-d6c43b58bb8a mobile.qcomsoc=qcom/sdm845 mobile.vendor=google mobile.model=blueline init=/sbin/init ro quiet splash
2026/07/28 13:04:32 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[1].vendor /tmp/script/configs/sdm845.toml
2026/07/28 13:04:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VENDOR=google
2026/07/28 13:04:33 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[1].model /tmp/script/configs/sdm845.toml
2026/07/28 13:04:35 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + MODEL=crosshatch
2026/07/28 13:04:35 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[1].variant then .device[1].variant else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:04:37 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VARIANT=
2026/07/28 13:04:37 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[1].chipset then .device[1].chipset else "sdm845" end /tmp/script/configs/sdm845.toml
2026/07/28 13:04:39 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_SOC=sdm845
2026/07/28 13:04:39 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[1].append then .device[1].append else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:04:41 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + APPEND=
2026/07/28 13:04:41 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[1].bootimg then .device[1].bootimg else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_BOOTIMG={
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "version": 2,
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "second": 15728640,
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "dtb": 32505856
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | }
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + CMDLINE=mobile.qcomsoc=qcom/sdm845 mobile.vendor=google mobile.model=crosshatch
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + FULLMODEL=crosshatch
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DTB_FILE=/usr/lib/linux-image-6.12-sdm845/qcom/sdm845-google-crosshatch.dtb
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + LOGLEVEL=quiet
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ -n {
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "version": 2,
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "second": 15728640,
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "dtb": 32505856
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | } ]
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + bootimg_offsets {
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "version": 2,
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "second": 15728640,
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "dtb": 32505856
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | }
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + local BOOTIMG={
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "version": 2,
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "second": 15728640,
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "dtb": 32505856
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | }
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo {
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "version": 2,
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "second": 15728640,
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "dtb": 32505856
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | }
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + jq -r if .base then .base else 0 end -
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + local BASE=0
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo {
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "version": 2,
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "second": 15728640,
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "dtb": 32505856
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | }
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + jq -r .kernel -
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + local KERNEL=null
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo {
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "version": 2,
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "second": 15728640,
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "dtb": 32505856
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | }
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + jq -r .ramdisk -
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + local RAMDISK=null
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo {
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "version": 2,
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "second": 15728640,
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "dtb": 32505856
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | }
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + jq -r .second -
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + local SECOND=15728640
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo {
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "version": 2,
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "second": 15728640,
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "dtb": 32505856
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | }
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + jq -r .tags -
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + local TAGS=null
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo {
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "version": 2,
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "second": 15728640,
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "dtb": 32505856
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | }
2026/07/28 13:04:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + jq -r if .dtb then .dtb else "" end -
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + local DTB=32505856
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo {
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "version": 2,
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "second": 15728640,
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "dtb": 32505856
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | }
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + jq -r if .version then .version else 0 end -
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + local VERSION=2
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo {
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "version": 2,
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "second": 15728640,
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | "dtb": 32505856
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | }
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + jq -r .pagesize -
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + local PAGE_SIZE=null
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + local ARGS=--base 0
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ null != null ]
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ null != null ]
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ 15728640 != null ]
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + SECOND=15728640
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + ARGS=--base 0 --second_offset 15728640
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ null != null ]
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ null != null ]
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ 2 != null ]
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ 2 != 0 ]
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + ARGS=--base 0 --second_offset 15728640 --header_version 2
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ -n 32505856 ]
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ 32505856 != null ]
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + ARGS=--base 0 --second_offset 15728640 --header_version 2 --dtb_offset 32505856
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo --base 0 --second_offset 15728640 --header_version 2 --dtb_offset 32505856
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + BOOTIMG_ARGS=--base 0 --second_offset 15728640 --header_version 2 --dtb_offset 32505856
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + sed s/ --/\n--/g
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo --base 0 --second_offset 15728640 --header_version 2 --dtb_offset 32505856
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + grep -q kernel_offset
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo --base 0 --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + sed s/ --/\n--/g
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + grep kernel_offset
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + BOOTIMG_ARGS=--base 0 --second_offset 15728640 --header_version 2 --dtb_offset 32505856 --kernel_offset 32768
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + sed s/ --/\n--/g
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo --base 0 --second_offset 15728640 --header_version 2 --dtb_offset 32505856 --kernel_offset 32768
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + grep -q ramdisk_offset
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo --base 0 --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + + grep ramdisk_offset
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | sed s/ --/\n--/g
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + BOOTIMG_ARGS=--base 0 --second_offset 15728640 --header_version 2 --dtb_offset 32505856 --kernel_offset 32768 --ramdisk_offset 16777216
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo --base 0 --second_offset 15728640 --header_version 2 --dtb_offset 32505856 --kernel_offset 32768 --ramdisk_offset 16777216
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + sed+ grep -q second_offset
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | s/ --/\n--/g
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo --base 0 --second_offset 15728640 --header_version 2 --dtb_offset 32505856 --kernel_offset 32768 --ramdisk_offset 16777216
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + grep -q tags_offset
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + sed s/ --/\n--/g
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo --base 0 --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + sed s/ --/\n--/g
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + grep tags_offset
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + BOOTIMG_ARGS=--base 0 --second_offset 15728640 --header_version 2 --dtb_offset 32505856 --kernel_offset 32768 --ramdisk_offset 16777216 --tags_offset 256
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo --base 0 --second_offset 15728640 --header_version 2 --dtb_offset 32505856 --kernel_offset 32768 --ramdisk_offset 16777216 --tags_offset 256
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + sed s/ --/\n--/g
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + grep -q header_version
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo --base 0 --second_offset 15728640 --header_version 2 --dtb_offset 32505856 --kernel_offset 32768 --ramdisk_offset 16777216 --tags_offset 256
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + sed s/ --/\n--/g
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + grep -q dtb_offset
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo --base 0 --second_offset 15728640 --header_version 2 --dtb_offset 32505856 --kernel_offset 32768 --ramdisk_offset 16777216 --tags_offset 256
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + grep -q dtb_offset
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + BOOTIMG_ARGS=--base 0 --second_offset 15728640 --header_version 2 --dtb_offset 32505856 --kernel_offset 32768 --ramdisk_offset 16777216 --tags_offset 256 --dtb /usr/lib/linux-image-6.12-sdm845/qcom/sdm845-google-crosshatch.dtb
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo Creating boot image for crosshatch...
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Creating boot image for crosshatch...
2026/07/28 13:04:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + cat /boot/vmlinuz-6.12-sdm845 /usr/lib/linux-image-6.12-sdm845/qcom/sdm845-google-crosshatch.dtb
2026/07/28 13:04:45 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | cat: /usr/lib/linux-image-6.12-sdm845/qcom/sdm845-google-crosshatch.dtb: No such file or directory
2026/07/28 13:04:45 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + mkbootimg -o /bootimg-crosshatch --base 0 --second_offset 15728640 --header_version 2 --dtb_offset 32505856 --kernel_offset 32768 --ramdisk_offset 16777216 --tags_offset 256 --dtb /usr/lib/linux-image-6.12-sdm845/qcom/sdm845-google-crosshatch.dtb --kernel /tmp/kernel-dtb --ramdisk /boot/initrd.img-6.12-sdm845 --cmdline mobile.root=UUID=165fbfc5-4a2d-4fc7-ad1e-d6c43b58bb8a mobile.qcomsoc=qcom/sdm845 mobile.vendor=google mobile.model=crosshatch init=/sbin/init ro quiet splash
2026/07/28 13:04:46 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | usage: mkbootimg [-h] [--kernel KERNEL] [--ramdisk RAMDISK] [--second SECOND]
2026/07/28 13:04:46 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | [--dtb DTB] [--recovery_dtbo RECOVERY_DTBO |
2026/07/28 13:04:46 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | --recovery_acpio RECOVERY_ACPIO] [--cmdline CMDLINE]
2026/07/28 13:04:46 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | [--vendor_cmdline VENDOR_CMDLINE] [--base BASE]
2026/07/28 13:04:46 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | [--kernel_offset KERNEL_OFFSET]
2026/07/28 13:04:46 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | [--ramdisk_offset RAMDISK_OFFSET]
2026/07/28 13:04:46 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | [--second_offset SECOND_OFFSET] [--dtb_offset DTB_OFFSET]
2026/07/28 13:04:46 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | [--os_version OS_VERSION] [--os_patch_level OS_PATCH_LEVEL]
2026/07/28 13:04:46 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | [--tags_offset TAGS_OFFSET] [--board BOARD]
2026/07/28 13:04:46 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | [--pagesize {2048,4096,8192,16384}] [--id]
2026/07/28 13:04:46 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | [--header_version HEADER_VERSION] [-o OUTPUT]
2026/07/28 13:04:46 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | [--vendor_boot VENDOR_BOOT] [--vendor_ramdisk VENDOR_RAMDISK]
2026/07/28 13:04:46 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | [--vendor_bootconfig VENDOR_BOOTCONFIG]
2026/07/28 13:04:46 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | mkbootimg: error: argument --dtb: can't open '/usr/lib/linux-image-6.12-sdm845/qcom/sdm845-google-crosshatch.dtb': [Errno 2] No such file or directory: '/usr/lib/linux-image-6.12-sdm845/qcom/sdm845-google-crosshatch.dtb'
2026/07/28 13:04:46 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[2].vendor /tmp/script/configs/sdm845.toml
2026/07/28 13:04:48 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VENDOR=lg
2026/07/28 13:04:48 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[2].model /tmp/script/configs/sdm845.toml
2026/07/28 13:04:50 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + MODEL=judyln
2026/07/28 13:04:50 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[2].variant then .device[2].variant else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:04:52 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VARIANT=
2026/07/28 13:04:52 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[2].chipset then .device[2].chipset else "sdm845" end /tmp/script/configs/sdm845.toml
2026/07/28 13:04:54 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_SOC=sdm845
2026/07/28 13:04:54 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[2].append then .device[2].append else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:04:55 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + APPEND=
2026/07/28 13:04:55 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[2].bootimg then .device[2].bootimg else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:04:57 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_BOOTIMG=
2026/07/28 13:04:57 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + CMDLINE=mobile.qcomsoc=qcom/sdm845 mobile.vendor=lg mobile.model=judyln
2026/07/28 13:04:57 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:04:57 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + FULLMODEL=judyln
2026/07/28 13:04:57 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DTB_FILE=/usr/lib/linux-image-6.12-sdm845/qcom/sdm845-lg-judyln.dtb
2026/07/28 13:04:57 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + LOGLEVEL=quiet
2026/07/28 13:04:57 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:04:57 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ -n ]
2026/07/28 13:04:57 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + BOOTIMG_ARGS=--base 0 --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:04:57 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo --base 0 --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:04:57 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + grep -q dtb_offset
2026/07/28 13:04:57 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo Creating boot image for judyln...
2026/07/28 13:04:57 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Creating boot image for judyln...
2026/07/28 13:04:57 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + cat /boot/vmlinuz-6.12-sdm845 /usr/lib/linux-image-6.12-sdm845/qcom/sdm845-lg-judyln.dtb
2026/07/28 13:04:58 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + mkbootimg -o /bootimg-judyln --base 0 --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096 --kernel /tmp/kernel-dtb --ramdisk /boot/initrd.img-6.12-sdm845 --cmdline mobile.root=UUID=165fbfc5-4a2d-4fc7-ad1e-d6c43b58bb8a mobile.qcomsoc=qcom/sdm845 mobile.vendor=lg mobile.model=judyln init=/sbin/init ro quiet splash
2026/07/28 13:04:59 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[3].vendor /tmp/script/configs/sdm845.toml
2026/07/28 13:05:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VENDOR=lg
2026/07/28 13:05:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[3].model /tmp/script/configs/sdm845.toml
2026/07/28 13:05:03 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + MODEL=judyp
2026/07/28 13:05:03 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[3].variant then .device[3].variant else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:05:05 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VARIANT=
2026/07/28 13:05:05 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[3].chipset then .device[3].chipset else "sdm845" end /tmp/script/configs/sdm845.toml
2026/07/28 13:05:07 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_SOC=sdm845
2026/07/28 13:05:07 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[3].append then .device[3].append else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:05:09 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + APPEND=
2026/07/28 13:05:09 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[3].bootimg then .device[3].bootimg else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:05:11 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_BOOTIMG=
2026/07/28 13:05:11 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + CMDLINE=mobile.qcomsoc=qcom/sdm845 mobile.vendor=lg mobile.model=judyp
2026/07/28 13:05:11 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:05:11 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + FULLMODEL=judyp
2026/07/28 13:05:11 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DTB_FILE=/usr/lib/linux-image-6.12-sdm845/qcom/sdm845-lg-judyp.dtb
2026/07/28 13:05:11 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + LOGLEVEL=quiet
2026/07/28 13:05:11 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:05:11 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ -n ]
2026/07/28 13:05:11 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + BOOTIMG_ARGS=--base 0 --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:05:11 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo --base 0 --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:05:11 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + grep -q dtb_offset
2026/07/28 13:05:11 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo Creating boot image for judyp...
2026/07/28 13:05:11 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Creating boot image for judyp...
2026/07/28 13:05:11 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + cat /boot/vmlinuz-6.12-sdm845 /usr/lib/linux-image-6.12-sdm845/qcom/sdm845-lg-judyp.dtb
2026/07/28 13:05:11 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + mkbootimg -o /bootimg-judyp --base 0 --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096 --kernel /tmp/kernel-dtb --ramdisk /boot/initrd.img-6.12-sdm845 --cmdline mobile.root=UUID=165fbfc5-4a2d-4fc7-ad1e-d6c43b58bb8a mobile.qcomsoc=qcom/sdm845 mobile.vendor=lg mobile.model=judyp init=/sbin/init ro quiet splash
2026/07/28 13:05:13 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[4].vendor /tmp/script/configs/sdm845.toml
2026/07/28 13:05:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VENDOR=oneplus
2026/07/28 13:05:15 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[4].model /tmp/script/configs/sdm845.toml
2026/07/28 13:05:17 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + MODEL=enchilada
2026/07/28 13:05:17 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[4].variant then .device[4].variant else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:05:18 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VARIANT=
2026/07/28 13:05:18 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[4].chipset then .device[4].chipset else "sdm845" end /tmp/script/configs/sdm845.toml
2026/07/28 13:05:20 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_SOC=sdm845
2026/07/28 13:05:20 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[4].append then .device[4].append else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:05:22 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + APPEND=console=ttyMSM0,115200
2026/07/28 13:05:22 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[4].bootimg then .device[4].bootimg else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:05:24 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_BOOTIMG=
2026/07/28 13:05:24 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + CMDLINE=mobile.qcomsoc=qcom/sdm845 mobile.vendor=oneplus mobile.model=enchilada
2026/07/28 13:05:24 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:05:24 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + FULLMODEL=enchilada
2026/07/28 13:05:24 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DTB_FILE=/usr/lib/linux-image-6.12-sdm845/qcom/sdm845-oneplus-enchilada.dtb
2026/07/28 13:05:24 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + LOGLEVEL=quiet
2026/07/28 13:05:24 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ console=ttyMSM0,115200 ]
2026/07/28 13:05:24 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + CMDLINE=mobile.qcomsoc=qcom/sdm845 mobile.vendor=oneplus mobile.model=enchilada console=ttyMSM0,115200
2026/07/28 13:05:24 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo console=ttyMSM0,115200
2026/07/28 13:05:24 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + grep -q console=
2026/07/28 13:05:24 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + LOGLEVEL=loglevel=7
2026/07/28 13:05:24 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ -n ]
2026/07/28 13:05:24 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + BOOTIMG_ARGS=--base 0 --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:05:24 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo --base 0 --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:05:24 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + grep -q dtb_offset
2026/07/28 13:05:24 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo Creating boot image for enchilada...
2026/07/28 13:05:24 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Creating boot image for enchilada...
2026/07/28 13:05:24 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + cat /boot/vmlinuz-6.12-sdm845 /usr/lib/linux-image-6.12-sdm845/qcom/sdm845-oneplus-enchilada.dtb
2026/07/28 13:05:24 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + mkbootimg -o /bootimg-enchilada --base 0 --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096 --kernel /tmp/kernel-dtb --ramdisk /boot/initrd.img-6.12-sdm845 --cmdline mobile.root=UUID=165fbfc5-4a2d-4fc7-ad1e-d6c43b58bb8a mobile.qcomsoc=qcom/sdm845 mobile.vendor=oneplus mobile.model=enchilada console=ttyMSM0,115200 init=/sbin/init ro loglevel=7 splash
2026/07/28 13:05:26 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[5].vendor /tmp/script/configs/sdm845.toml
2026/07/28 13:05:28 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VENDOR=oneplus
2026/07/28 13:05:28 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[5].model /tmp/script/configs/sdm845.toml
2026/07/28 13:05:30 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + MODEL=fajita
2026/07/28 13:05:30 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[5].variant then .device[5].variant else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:05:32 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VARIANT=
2026/07/28 13:05:32 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[5].chipset then .device[5].chipset else "sdm845" end /tmp/script/configs/sdm845.toml
2026/07/28 13:05:34 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_SOC=sdm845
2026/07/28 13:05:34 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[5].append then .device[5].append else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:05:36 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + APPEND=console=ttyMSM0,115200
2026/07/28 13:05:36 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[5].bootimg then .device[5].bootimg else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:05:38 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_BOOTIMG=
2026/07/28 13:05:38 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + CMDLINE=mobile.qcomsoc=qcom/sdm845 mobile.vendor=oneplus mobile.model=fajita
2026/07/28 13:05:38 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:05:38 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + FULLMODEL=fajita
2026/07/28 13:05:38 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DTB_FILE=/usr/lib/linux-image-6.12-sdm845/qcom/sdm845-oneplus-fajita.dtb
2026/07/28 13:05:38 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + LOGLEVEL=quiet
2026/07/28 13:05:38 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ console=ttyMSM0,115200 ]
2026/07/28 13:05:38 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + CMDLINE=mobile.qcomsoc=qcom/sdm845 mobile.vendor=oneplus mobile.model=fajita console=ttyMSM0,115200
2026/07/28 13:05:38 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo console=ttyMSM0,115200
2026/07/28 13:05:38 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + grep -q console=
2026/07/28 13:05:38 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + LOGLEVEL=loglevel=7
2026/07/28 13:05:38 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ -n ]
2026/07/28 13:05:38 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + BOOTIMG_ARGS=--base 0 --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:05:38 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo --base 0 --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:05:38 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + grep -q dtb_offset
2026/07/28 13:05:38 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo Creating boot image for fajita...
2026/07/28 13:05:38 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Creating boot image for fajita...
2026/07/28 13:05:38 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + cat /boot/vmlinuz-6.12-sdm845 /usr/lib/linux-image-6.12-sdm845/qcom/sdm845-oneplus-fajita.dtb
2026/07/28 13:05:38 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + mkbootimg -o /bootimg-fajita --base 0 --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096 --kernel /tmp/kernel-dtb --ramdisk /boot/initrd.img-6.12-sdm845 --cmdline mobile.root=UUID=165fbfc5-4a2d-4fc7-ad1e-d6c43b58bb8a mobile.qcomsoc=qcom/sdm845 mobile.vendor=oneplus mobile.model=fajita console=ttyMSM0,115200 init=/sbin/init ro loglevel=7 splash
2026/07/28 13:05:40 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[6].vendor /tmp/script/configs/sdm845.toml
2026/07/28 13:05:42 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VENDOR=samsung
2026/07/28 13:05:42 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[6].model /tmp/script/configs/sdm845.toml
2026/07/28 13:05:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + MODEL=starqltechn
2026/07/28 13:05:43 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[6].variant then .device[6].variant else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:05:45 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VARIANT=
2026/07/28 13:05:45 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[6].chipset then .device[6].chipset else "sdm845" end /tmp/script/configs/sdm845.toml
2026/07/28 13:05:47 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_SOC=sdm845
2026/07/28 13:05:47 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[6].append then .device[6].append else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:05:49 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + APPEND=
2026/07/28 13:05:49 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[6].bootimg then .device[6].bootimg else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:05:51 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_BOOTIMG=
2026/07/28 13:05:51 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + CMDLINE=mobile.qcomsoc=qcom/sdm845 mobile.vendor=samsung mobile.model=starqltechn
2026/07/28 13:05:51 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:05:51 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + FULLMODEL=starqltechn
2026/07/28 13:05:51 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DTB_FILE=/usr/lib/linux-image-6.12-sdm845/qcom/sdm845-samsung-starqltechn.dtb
2026/07/28 13:05:51 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + LOGLEVEL=quiet
2026/07/28 13:05:51 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:05:51 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ -n ]
2026/07/28 13:05:51 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + BOOTIMG_ARGS=--base 0 --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:05:51 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo --base 0 --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:05:51 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + grep -q dtb_offset
2026/07/28 13:05:51 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo Creating boot image for starqltechn...
2026/07/28 13:05:51 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Creating boot image for starqltechn...
2026/07/28 13:05:51 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + cat /boot/vmlinuz-6.12-sdm845 /usr/lib/linux-image-6.12-sdm845/qcom/sdm845-samsung-starqltechn.dtb
2026/07/28 13:05:51 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + mkbootimg -o /bootimg-starqltechn --base 0 --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096 --kernel /tmp/kernel-dtb --ramdisk /boot/initrd.img-6.12-sdm845 --cmdline mobile.root=UUID=165fbfc5-4a2d-4fc7-ad1e-d6c43b58bb8a mobile.qcomsoc=qcom/sdm845 mobile.vendor=samsung mobile.model=starqltechn init=/sbin/init ro quiet splash
2026/07/28 13:05:53 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[7].vendor /tmp/script/configs/sdm845.toml
2026/07/28 13:05:55 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VENDOR=shift
2026/07/28 13:05:55 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[7].model /tmp/script/configs/sdm845.toml
2026/07/28 13:05:57 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + MODEL=axolotl
2026/07/28 13:05:57 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[7].variant then .device[7].variant else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:05:59 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VARIANT=
2026/07/28 13:05:59 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[7].chipset then .device[7].chipset else "sdm845" end /tmp/script/configs/sdm845.toml
2026/07/28 13:06:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_SOC=sdm845
2026/07/28 13:06:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[7].append then .device[7].append else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:06:03 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + APPEND=console=ttyMSM0,115200
2026/07/28 13:06:03 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[7].bootimg then .device[7].bootimg else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:06:05 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_BOOTIMG=
2026/07/28 13:06:05 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + CMDLINE=mobile.qcomsoc=qcom/sdm845 mobile.vendor=shift mobile.model=axolotl
2026/07/28 13:06:05 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:06:05 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + FULLMODEL=axolotl
2026/07/28 13:06:05 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DTB_FILE=/usr/lib/linux-image-6.12-sdm845/qcom/sdm845-shift-axolotl.dtb
2026/07/28 13:06:05 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + LOGLEVEL=quiet
2026/07/28 13:06:05 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ console=ttyMSM0,115200 ]
2026/07/28 13:06:05 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + CMDLINE=mobile.qcomsoc=qcom/sdm845 mobile.vendor=shift mobile.model=axolotl console=ttyMSM0,115200
2026/07/28 13:06:05 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo console=ttyMSM0,115200
2026/07/28 13:06:05 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + grep -q console=
2026/07/28 13:06:05 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + LOGLEVEL=loglevel=7
2026/07/28 13:06:05 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ -n ]
2026/07/28 13:06:05 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + BOOTIMG_ARGS=--base 0 --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:06:05 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo --base 0 --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:06:05 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + grep -q dtb_offset
2026/07/28 13:06:05 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo Creating boot image for axolotl...
2026/07/28 13:06:05 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Creating boot image for axolotl...
2026/07/28 13:06:05 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + cat /boot/vmlinuz-6.12-sdm845 /usr/lib/linux-image-6.12-sdm845/qcom/sdm845-shift-axolotl.dtb
2026/07/28 13:06:05 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + mkbootimg -o /bootimg-axolotl --base 0 --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096 --kernel /tmp/kernel-dtb --ramdisk /boot/initrd.img-6.12-sdm845 --cmdline mobile.root=UUID=165fbfc5-4a2d-4fc7-ad1e-d6c43b58bb8a mobile.qcomsoc=qcom/sdm845 mobile.vendor=shift mobile.model=axolotl console=ttyMSM0,115200 init=/sbin/init ro loglevel=7 splash
2026/07/28 13:06:07 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[8].vendor /tmp/script/configs/sdm845.toml
2026/07/28 13:06:09 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VENDOR=sony
2026/07/28 13:06:09 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[8].model /tmp/script/configs/sdm845.toml
2026/07/28 13:06:11 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + MODEL=xperia-tama-akari
2026/07/28 13:06:11 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[8].variant then .device[8].variant else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:06:13 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VARIANT=
2026/07/28 13:06:13 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[8].chipset then .device[8].chipset else "sdm845" end /tmp/script/configs/sdm845.toml
2026/07/28 13:06:14 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_SOC=sdm845
2026/07/28 13:06:14 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[8].append then .device[8].append else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:06:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + APPEND=
2026/07/28 13:06:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[8].bootimg then .device[8].bootimg else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:06:18 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_BOOTIMG=
2026/07/28 13:06:18 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + CMDLINE=mobile.qcomsoc=qcom/sdm845 mobile.vendor=sony mobile.model=xperia-tama-akari
2026/07/28 13:06:18 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:06:18 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + FULLMODEL=xperia-tama-akari
2026/07/28 13:06:18 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DTB_FILE=/usr/lib/linux-image-6.12-sdm845/qcom/sdm845-sony-xperia-tama-akari.dtb
2026/07/28 13:06:18 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + LOGLEVEL=quiet
2026/07/28 13:06:18 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:06:18 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ -n ]
2026/07/28 13:06:18 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + BOOTIMG_ARGS=--base 0 --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:06:18 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo --base 0 --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:06:18 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + grep -q dtb_offset
2026/07/28 13:06:18 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo Creating boot image for xperia-tama-akari...
2026/07/28 13:06:18 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Creating boot image for xperia-tama-akari...
2026/07/28 13:06:18 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + cat /boot/vmlinuz-6.12-sdm845 /usr/lib/linux-image-6.12-sdm845/qcom/sdm845-sony-xperia-tama-akari.dtb
2026/07/28 13:06:18 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + mkbootimg -o /bootimg-xperia-tama-akari --base 0 --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096 --kernel /tmp/kernel-dtb --ramdisk /boot/initrd.img-6.12-sdm845 --cmdline mobile.root=UUID=165fbfc5-4a2d-4fc7-ad1e-d6c43b58bb8a mobile.qcomsoc=qcom/sdm845 mobile.vendor=sony mobile.model=xperia-tama-akari init=/sbin/init ro quiet splash
2026/07/28 13:06:20 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[9].vendor /tmp/script/configs/sdm845.toml
2026/07/28 13:06:22 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VENDOR=sony
2026/07/28 13:06:22 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[9].model /tmp/script/configs/sdm845.toml
2026/07/28 13:06:24 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + MODEL=xperia-tama-akatsuki
2026/07/28 13:06:24 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[9].variant then .device[9].variant else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:06:26 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VARIANT=
2026/07/28 13:06:26 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[9].chipset then .device[9].chipset else "sdm845" end /tmp/script/configs/sdm845.toml
2026/07/28 13:06:28 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_SOC=sdm845
2026/07/28 13:06:28 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[9].append then .device[9].append else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:06:30 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + APPEND=
2026/07/28 13:06:30 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[9].bootimg then .device[9].bootimg else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:06:32 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_BOOTIMG=
2026/07/28 13:06:32 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + CMDLINE=mobile.qcomsoc=qcom/sdm845 mobile.vendor=sony mobile.model=xperia-tama-akatsuki
2026/07/28 13:06:32 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:06:32 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + FULLMODEL=xperia-tama-akatsuki
2026/07/28 13:06:32 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DTB_FILE=/usr/lib/linux-image-6.12-sdm845/qcom/sdm845-sony-xperia-tama-akatsuki.dtb
2026/07/28 13:06:32 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + LOGLEVEL=quiet
2026/07/28 13:06:32 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:06:32 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ -n ]
2026/07/28 13:06:32 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + BOOTIMG_ARGS=--base 0 --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:06:32 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo --base 0 --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:06:32 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + grep -q dtb_offset
2026/07/28 13:06:32 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo Creating boot image for xperia-tama-akatsuki...
2026/07/28 13:06:32 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Creating boot image for xperia-tama-akatsuki...
2026/07/28 13:06:32 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + cat /boot/vmlinuz-6.12-sdm845 /usr/lib/linux-image-6.12-sdm845/qcom/sdm845-sony-xperia-tama-akatsuki.dtb
2026/07/28 13:06:32 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + mkbootimg -o /bootimg-xperia-tama-akatsuki --base 0 --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096 --kernel /tmp/kernel-dtb --ramdisk /boot/initrd.img-6.12-sdm845 --cmdline mobile.root=UUID=165fbfc5-4a2d-4fc7-ad1e-d6c43b58bb8a mobile.qcomsoc=qcom/sdm845 mobile.vendor=sony mobile.model=xperia-tama-akatsuki init=/sbin/init ro quiet splash
2026/07/28 13:06:34 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[10].vendor /tmp/script/configs/sdm845.toml
2026/07/28 13:06:36 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VENDOR=sony
2026/07/28 13:06:36 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[10].model /tmp/script/configs/sdm845.toml
2026/07/28 13:06:38 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + MODEL=xperia-tama-apollo
2026/07/28 13:06:38 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[10].variant then .device[10].variant else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:06:40 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VARIANT=
2026/07/28 13:06:40 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[10].chipset then .device[10].chipset else "sdm845" end /tmp/script/configs/sdm845.toml
2026/07/28 13:06:42 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_SOC=sdm845
2026/07/28 13:06:42 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[10].append then .device[10].append else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:06:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + APPEND=
2026/07/28 13:06:44 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[10].bootimg then .device[10].bootimg else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:06:46 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_BOOTIMG=
2026/07/28 13:06:46 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + CMDLINE=mobile.qcomsoc=qcom/sdm845 mobile.vendor=sony mobile.model=xperia-tama-apollo
2026/07/28 13:06:46 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:06:46 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + FULLMODEL=xperia-tama-apollo
2026/07/28 13:06:46 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DTB_FILE=/usr/lib/linux-image-6.12-sdm845/qcom/sdm845-sony-xperia-tama-apollo.dtb
2026/07/28 13:06:46 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + LOGLEVEL=quiet
2026/07/28 13:06:46 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:06:46 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ -n ]
2026/07/28 13:06:46 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + BOOTIMG_ARGS=--base 0 --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:06:46 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + + echogrep -q --base 0 --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:06:46 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | dtb_offset
2026/07/28 13:06:46 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo Creating boot image for xperia-tama-apollo...
2026/07/28 13:06:46 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Creating boot image for xperia-tama-apollo...
2026/07/28 13:06:46 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + cat /boot/vmlinuz-6.12-sdm845 /usr/lib/linux-image-6.12-sdm845/qcom/sdm845-sony-xperia-tama-apollo.dtb
2026/07/28 13:06:46 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + mkbootimg -o /bootimg-xperia-tama-apollo --base 0 --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096 --kernel /tmp/kernel-dtb --ramdisk /boot/initrd.img-6.12-sdm845 --cmdline mobile.root=UUID=165fbfc5-4a2d-4fc7-ad1e-d6c43b58bb8a mobile.qcomsoc=qcom/sdm845 mobile.vendor=sony mobile.model=xperia-tama-apollo init=/sbin/init ro quiet splash
2026/07/28 13:06:48 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[11].vendor /tmp/script/configs/sdm845.toml
2026/07/28 13:06:50 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VENDOR=xiaomi
2026/07/28 13:06:50 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[11].model /tmp/script/configs/sdm845.toml
2026/07/28 13:06:51 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + MODEL=beryllium
2026/07/28 13:06:51 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[11].variant then .device[11].variant else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:06:53 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VARIANT=ebbg
2026/07/28 13:06:53 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[11].chipset then .device[11].chipset else "sdm845" end /tmp/script/configs/sdm845.toml
2026/07/28 13:06:55 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_SOC=sdm845
2026/07/28 13:06:55 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[11].append then .device[11].append else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:06:57 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + APPEND=
2026/07/28 13:06:57 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[11].bootimg then .device[11].bootimg else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:06:59 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_BOOTIMG=
2026/07/28 13:06:59 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + CMDLINE=mobile.qcomsoc=qcom/sdm845 mobile.vendor=xiaomi mobile.model=beryllium
2026/07/28 13:06:59 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ebbg ]
2026/07/28 13:06:59 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + CMDLINE=mobile.qcomsoc=qcom/sdm845 mobile.vendor=xiaomi mobile.model=beryllium mobile.variant=ebbg
2026/07/28 13:06:59 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + FULLMODEL=beryllium-ebbg
2026/07/28 13:06:59 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DTB_FILE=/usr/lib/linux-image-6.12-sdm845/qcom/sdm845-xiaomi-beryllium-ebbg.dtb
2026/07/28 13:06:59 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + LOGLEVEL=quiet
2026/07/28 13:06:59 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:06:59 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ -n ]
2026/07/28 13:06:59 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + BOOTIMG_ARGS=--base 0 --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:06:59 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + grep -q dtb_offset
2026/07/28 13:06:59 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo --base 0 --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:06:59 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo Creating boot image for beryllium-ebbg...
2026/07/28 13:06:59 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Creating boot image for beryllium-ebbg...
2026/07/28 13:06:59 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + cat /boot/vmlinuz-6.12-sdm845 /usr/lib/linux-image-6.12-sdm845/qcom/sdm845-xiaomi-beryllium-ebbg.dtb
2026/07/28 13:06:59 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + mkbootimg -o /bootimg-beryllium-ebbg --base 0 --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096 --kernel /tmp/kernel-dtb --ramdisk /boot/initrd.img-6.12-sdm845 --cmdline mobile.root=UUID=165fbfc5-4a2d-4fc7-ad1e-d6c43b58bb8a mobile.qcomsoc=qcom/sdm845 mobile.vendor=xiaomi mobile.model=beryllium mobile.variant=ebbg init=/sbin/init ro quiet splash
2026/07/28 13:07:01 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[12].vendor /tmp/script/configs/sdm845.toml
2026/07/28 13:07:03 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VENDOR=xiaomi
2026/07/28 13:07:03 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[12].model /tmp/script/configs/sdm845.toml
2026/07/28 13:07:05 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + MODEL=beryllium
2026/07/28 13:07:05 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[12].variant then .device[12].variant else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:07:07 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VARIANT=tianma
2026/07/28 13:07:07 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[12].chipset then .device[12].chipset else "sdm845" end /tmp/script/configs/sdm845.toml
2026/07/28 13:07:09 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_SOC=sdm845
2026/07/28 13:07:09 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[12].append then .device[12].append else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:07:10 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + APPEND=
2026/07/28 13:07:10 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[12].bootimg then .device[12].bootimg else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:07:12 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_BOOTIMG=
2026/07/28 13:07:12 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + CMDLINE=mobile.qcomsoc=qcom/sdm845 mobile.vendor=xiaomi mobile.model=beryllium
2026/07/28 13:07:12 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ tianma ]
2026/07/28 13:07:12 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + CMDLINE=mobile.qcomsoc=qcom/sdm845 mobile.vendor=xiaomi mobile.model=beryllium mobile.variant=tianma
2026/07/28 13:07:12 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + FULLMODEL=beryllium-tianma
2026/07/28 13:07:12 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DTB_FILE=/usr/lib/linux-image-6.12-sdm845/qcom/sdm845-xiaomi-beryllium-tianma.dtb
2026/07/28 13:07:12 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + LOGLEVEL=quiet
2026/07/28 13:07:12 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:07:12 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ -n ]
2026/07/28 13:07:12 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + BOOTIMG_ARGS=--base 0 --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:07:12 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo --base 0 --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:07:12 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + grep -q dtb_offset
2026/07/28 13:07:12 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo Creating boot image for beryllium-tianma...
2026/07/28 13:07:12 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Creating boot image for beryllium-tianma...
2026/07/28 13:07:12 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + cat /boot/vmlinuz-6.12-sdm845 /usr/lib/linux-image-6.12-sdm845/qcom/sdm845-xiaomi-beryllium-tianma.dtb
2026/07/28 13:07:12 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + mkbootimg -o /bootimg-beryllium-tianma --base 0 --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096 --kernel /tmp/kernel-dtb --ramdisk /boot/initrd.img-6.12-sdm845 --cmdline mobile.root=UUID=165fbfc5-4a2d-4fc7-ad1e-d6c43b58bb8a mobile.qcomsoc=qcom/sdm845 mobile.vendor=xiaomi mobile.model=beryllium mobile.variant=tianma init=/sbin/init ro quiet splash
2026/07/28 13:07:14 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[13].vendor /tmp/script/configs/sdm845.toml
2026/07/28 13:07:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VENDOR=xiaomi
2026/07/28 13:07:16 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r .device[13].model /tmp/script/configs/sdm845.toml
2026/07/28 13:07:18 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + MODEL=polaris
2026/07/28 13:07:18 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[13].variant then .device[13].variant else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:07:20 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + VARIANT=
2026/07/28 13:07:20 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[13].chipset then .device[13].chipset else "sdm845" end /tmp/script/configs/sdm845.toml
2026/07/28 13:07:22 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_SOC=sdm845
2026/07/28 13:07:22 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[13].append then .device[13].append else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:07:24 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + APPEND=
2026/07/28 13:07:24 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + tomlq -r if .device[13].bootimg then .device[13].bootimg else "" end /tmp/script/configs/sdm845.toml
2026/07/28 13:07:26 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DEVICE_BOOTIMG=
2026/07/28 13:07:26 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + CMDLINE=mobile.qcomsoc=qcom/sdm845 mobile.vendor=xiaomi mobile.model=polaris
2026/07/28 13:07:26 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:07:26 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + FULLMODEL=polaris
2026/07/28 13:07:26 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + DTB_FILE=/usr/lib/linux-image-6.12-sdm845/qcom/sdm845-xiaomi-polaris.dtb
2026/07/28 13:07:26 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + LOGLEVEL=quiet
2026/07/28 13:07:26 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ ]
2026/07/28 13:07:26 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + [ -n ]
2026/07/28 13:07:26 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + BOOTIMG_ARGS=--base 0 --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:07:26 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo --base 0 --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096
2026/07/28 13:07:26 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + grep -q dtb_offset
2026/07/28 13:07:26 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + echo Creating boot image for polaris...
2026/07/28 13:07:26 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Creating boot image for polaris...
2026/07/28 13:07:26 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + cat /boot/vmlinuz-6.12-sdm845 /usr/lib/linux-image-6.12-sdm845/qcom/sdm845-xiaomi-polaris.dtb
2026/07/28 13:07:26 bootloader.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | + mkbootimg -o /bootimg-polaris --base 0 --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096 --kernel /tmp/kernel-dtb --ramdisk /boot/initrd.img-6.12-sdm845 --cmdline mobile.root=UUID=165fbfc5-4a2d-4fc7-ad1e-d6c43b58bb8a mobile.qcomsoc=qcom/sdm845 mobile.vendor=xiaomi mobile.model=polaris init=/sbin/init ro quiet splash
2026/07/28 13:07:28 ==== Extract boot images ====
2026/07/28 13:07:29 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Extracting boot image for variant blueline
2026/07/28 13:07:29 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | mv: failed to preserve ownership for '/home/marco/Scaricati/build_mobianrecipes/mobian-recipes/mobian-sdm845-plasma-mobile-20260728.boot-blueline.img': Operation not permitted
2026/07/28 13:07:29 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Extracting boot image for variant crosshatch
2026/07/28 13:07:29 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | mv: failed to preserve ownership for '/home/marco/Scaricati/build_mobianrecipes/mobian-recipes/mobian-sdm845-plasma-mobile-20260728.boot-crosshatch.img': Operation not permitted
2026/07/28 13:07:29 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Extracting boot image for variant judyln
2026/07/28 13:07:29 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | mv: failed to preserve ownership for '/home/marco/Scaricati/build_mobianrecipes/mobian-recipes/mobian-sdm845-plasma-mobile-20260728.boot-judyln.img': Operation not permitted
2026/07/28 13:07:29 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Extracting boot image for variant judyp
2026/07/28 13:07:29 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | mv: failed to preserve ownership for '/home/marco/Scaricati/build_mobianrecipes/mobian-recipes/mobian-sdm845-plasma-mobile-20260728.boot-judyp.img': Operation not permitted
2026/07/28 13:07:29 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Extracting boot image for variant enchilada
2026/07/28 13:07:29 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | mv: failed to preserve ownership for '/home/marco/Scaricati/build_mobianrecipes/mobian-recipes/mobian-sdm845-plasma-mobile-20260728.boot-enchilada.img': Operation not permitted
2026/07/28 13:07:29 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Extracting boot image for variant fajita
2026/07/28 13:07:29 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | mv: failed to preserve ownership for '/home/marco/Scaricati/build_mobianrecipes/mobian-recipes/mobian-sdm845-plasma-mobile-20260728.boot-fajita.img': Operation not permitted
2026/07/28 13:07:29 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Extracting boot image for variant starqltechn
2026/07/28 13:07:29 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | mv: failed to preserve ownership for '/home/marco/Scaricati/build_mobianrecipes/mobian-recipes/mobian-sdm845-plasma-mobile-20260728.boot-starqltechn.img': Operation not permitted
2026/07/28 13:07:29 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Extracting boot image for variant axolotl
2026/07/28 13:07:30 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | mv: failed to preserve ownership for '/home/marco/Scaricati/build_mobianrecipes/mobian-recipes/mobian-sdm845-plasma-mobile-20260728.boot-axolotl.img': Operation not permitted
2026/07/28 13:07:30 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Extracting boot image for variant xperia-tama-akari
2026/07/28 13:07:30 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | mv: failed to preserve ownership for '/home/marco/Scaricati/build_mobianrecipes/mobian-recipes/mobian-sdm845-plasma-mobile-20260728.boot-xperia-tama-akari.img': Operation not permitted
2026/07/28 13:07:30 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Extracting boot image for variant xperia-tama-akatsuki
2026/07/28 13:07:30 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | mv: failed to preserve ownership for '/home/marco/Scaricati/build_mobianrecipes/mobian-recipes/mobian-sdm845-plasma-mobile-20260728.boot-xperia-tama-akatsuki.img': Operation not permitted
2026/07/28 13:07:30 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Extracting boot image for variant xperia-tama-apollo
2026/07/28 13:07:30 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | mv: failed to preserve ownership for '/home/marco/Scaricati/build_mobianrecipes/mobian-recipes/mobian-sdm845-plasma-mobile-20260728.boot-xperia-tama-apollo.img': Operation not permitted
2026/07/28 13:07:30 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Extracting boot image for variant beryllium-ebbg
2026/07/28 13:07:30 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | mv: failed to preserve ownership for '/home/marco/Scaricati/build_mobianrecipes/mobian-recipes/mobian-sdm845-plasma-mobile-20260728.boot-beryllium-ebbg.img': Operation not permitted
2026/07/28 13:07:30 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Extracting boot image for variant beryllium-tianma
2026/07/28 13:07:30 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | mv: failed to preserve ownership for '/home/marco/Scaricati/build_mobianrecipes/mobian-recipes/mobian-sdm845-plasma-mobile-20260728.boot-beryllium-tianma.img': Operation not permitted
2026/07/28 13:07:30 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | Extracting boot image for variant polaris
2026/07/28 13:07:30 extract-bootimg.sh sdm845 mobian-sdm845-plasma-mobile-20260728 | mv: failed to preserve ownership for '/home/marco/Scaricati/build_mobianrecipes/mobian-recipes/mobian-sdm845-plasma-mobile-20260728.boot-polaris.img': Operation not permitted
2026/07/28 13:07:30 ==== Extract partitions ====
2026/07/28 15:07:32 extract-parts.sh mobian-sdm845-plasma-mobile-20260728 | Extracting rootfs @ 2048
2026/07/28 15:10:17 extract-parts.sh mobian-sdm845-plasma-mobile-20260728 | 15622919+0 records in
2026/07/28 15:10:17 extract-parts.sh mobian-sdm845-plasma-mobile-20260728 | 15622919+0 records out
2026/07/28 15:10:17 extract-parts.sh mobian-sdm845-plasma-mobile-20260728 | 7998934528 bytes (8,0 GB, 7,4 GiB) copied, 164,932 s, 48,5 MB/s
2026/07/28 15:10:17 extract-parts.sh mobian-sdm845-plasma-mobile-20260728 | Converting rootfs to sparse image
2026/07/28 15:11:13 ==== Recipe done ====E.g. for op6t-fajita, the list of parameters passed to mkbootimg changes from
mkbootimg -o /bootimg-fajita --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096 --kernel /tmp/kernel-dtb --ramdisk /boot/initrd.img-6.12-sdm845 --cmdline mobile.root=UUID=708d4f0b-af38-4b47-a62b-965d2f8b7dd7 mobile.qcomsoc=qcom/sdm845 mobile.vendor=oneplus mobile.model=fajita console=ttyMSM0,115200 init=/sbin/init ro loglevel=7 splashto
mkbootimg -o /bootimg-fajita --base 0 --kernel_offset 32768 --ramdisk_offset 16777216 --second_offset 0 --tags_offset 256 --pagesize 4096 --kernel /tmp/kernel-dtb --ramdisk /boot/initrd.img-6.12-sdm845 --cmdline mobile.root=UUID=165fbfc5-4a2d-4fc7-ad1e-d6c43b58bb8a mobile.qcomsoc=qcom/sdm845 mobile.vendor=oneplus mobile.model=fajita console=ttyMSM0,115200 init=/sbin/init ro loglevel=7 splashthat is, --base is specified so that we're not taking the mkbootimg default base value of 0x10000000 ( #60 )
another example, google-crosshatch (I needed an example of device-specific values overwritting the SoC defaults), from
mkbootimg -o /bootimg-crosshatch --kernel_offset null --ramdisk_offset null --second_offset 15728640 --tags_offset null --pagesize null --header_version 2 --dtb_offset 32505856 --dtb /usr/lib/linux-image-6.12-sdm845/qcom/sdm845-google-crosshatch.dtb --kernel /tmp/kernel-dtb --ramdisk /boot/initrd.img-6.12-sdm845 --cmdline mobile.root=UUID=708d4f0b-af38-4b47-a62b-965d2f8b7dd7 mobile.qcomsoc=qcom/sdm845 mobile.vendor=google mobile.model=crosshatch init=/sbin/init ro quiet splash
usage: mkbootimg [-h] [--kernel KERNEL] [--ramdisk RAMDISK] [--second SECOND]
[--dtb DTB] [--recovery_dtbo RECOVERY_DTBO |
--recovery_acpio RECOVERY_ACPIO] [--cmdline CMDLINE]
[--vendor_cmdline VENDOR_CMDLINE] [--base BASE]
[--kernel_offset KERNEL_OFFSET]
[--ramdisk_offset RAMDISK_OFFSET]
[--second_offset SECOND_OFFSET] [--dtb_offset DTB_OFFSET]
[--os_version OS_VERSION] [--os_patch_level OS_PATCH_LEVEL]
[--tags_offset TAGS_OFFSET] [--board BOARD]
[--pagesize {2048,4096,8192,16384}] [--id]
[--header_version HEADER_VERSION] [-o OUTPUT]
[--vendor_boot VENDOR_BOOT] [--vendor_ramdisk VENDOR_RAMDISK]
[--vendor_bootconfig VENDOR_BOOTCONFIG]
mkbootimg: error: argument --kernel_offset: invalid parse_int value: 'null'to
mkbootimg -o /bootimg-crosshatch --base 0 --second_offset 15728640 --header_version 2 --dtb_offset 32505856 --kernel_offset 32768 --ramdisk_offset 16777216 --tags_offset 256 --dtb /usr/lib/linux-image-6.12-sdm845/qcom/sdm845-google-crosshatch.dtb --kernel /tmp/kernel-dtb --ramdisk /boot/initrd.img-6.12-sdm845 --cmdline mobile.root=UUID=165fbfc5-4a2d-4fc7-ad1e-d6c43b58bb8a mobile.qcomsoc=qcom/sdm845 mobile.vendor=google mobile.model=crosshatch init=/sbin/init ro quiet splash(it still fails because crosshatch is not supported by 6.12-sdm845, but that's another issue...) here the complete set of bootimg parameters/addresses is passed to mkbootimg, taking SoC-defaults where device-specific aren't specified. Without this change, where device-specific isn't specified, that parameter is simply null as exported by jq and that upsets mkbootimg of course.