Kernel (7.0.0-sm8150-g1299aab93171): - msm DRM built in again: up at 0.6-0.8 s instead of 4.2 s, safe since 0003 and 0004. - 0005: CLK_OPS_PARENT_ENABLE on the pixel RCGs (as sdm845): "rcg didn't update its configuration" is gone. - 0006: dsi_err_worker reported every error as status=4, a FIFO error that was none (lane FIFOs empty) and hid the ACK error (bit 0); it now reads status=40 ack_err=..., the panel's report on the first read after the takeover. - ftrace (dynamic, function_graph), Landlock. Without a button: the DTB gets the PON's mode-bootloader/mode-recovery (fdtput on the pinned binary until the DTS moves in; new pin), Void gets reboot-mode(1) and a runit stage-3 hook that restarts with the mode (base/reboot2.c, built static by mkrootimg.sh). flash.sh and flash-root.sh reboot a running phone into fastboot themselves and wait for ABL without ever cutting a command off or resetting the device -- two usbresets after the userdata flash crashed it into 05c6:900e. Writing the fallback slot no longer makes it active. Access: dnsmasq (DHCP only) on usb0, so the host keeps 172.16.42.2 after the initramfs; an ACM function next to NCM with the kernel console and a login on ttyGS0; phone_addr falls back to IPv6 link-local; tools/reboot-loop.sh for boot races. zram swap (half the RAM, zstd). Measured: 20 of 20 warm reboots reachable; the self-flash (build/logs/selfflash3-2026-11-08.log). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
27 lines
938 B
Bash
27 lines
938 B
Bash
#!/bin/sh
|
|
#
|
|
# Write a root file system image (tools/mkrootimg.sh) to the device's
|
|
# ROOT_PARTITION with fastboot. This replaces whatever the partition holds
|
|
# (on hotdogb: userdata, where pmOS was installed); the boot images in the
|
|
# boot slots are not touched. The device must report FASTBOOT_PRODUCT.
|
|
#
|
|
# Usage: flash-root.sh DEVICEDIR IMAGE
|
|
|
|
set -eu
|
|
. "$(dirname "$0")/lib.sh"
|
|
|
|
[ $# -eq 2 ] || { echo "usage: $0 DEVICEDIR IMAGE" >&2; exit 2; }
|
|
load_device "$1"
|
|
img=$2
|
|
|
|
[ "$FLASH_METHOD" = fastboot ] || die "flash method $FLASH_METHOD not implemented"
|
|
[ -n "${ROOT_PARTITION:-}" ] || die "ROOT_PARTITION not set"
|
|
fastboot_ready
|
|
prod=$(timeout 10 fastboot getvar product 2>&1 | sed -n 's/^product: *//p')
|
|
[ "$prod" = "$FASTBOOT_PRODUCT" ] ||
|
|
die "product is '$prod', expected '$FASTBOOT_PRODUCT'"
|
|
|
|
# a raw image larger than the download buffer is split into sparse chunks by
|
|
# fastboot itself
|
|
fastboot flash "$ROOT_PARTITION" "$img"
|