From 486df92cbafd0c8780ee1757d1f5a87f358cb130 Mon Sep 17 00:00:00 2001 From: cx3301J Date: Thu, 5 Nov 2026 08:56:34 -0500 Subject: [PATCH 1/9] device-lynx 0.2.4: accept bootloader 3.11 at build time Android 15 lynx units report devinfo 3.11, so the boot-success marker refused to write. Keep the shared verified-layout table at 3.15 and add 3.11 only for lynx through a compile-time define, leaving the 7 Pro and raven binaries unchanged. Signed-off-by: cx3301J Assisted-by: DeepSeek --- device/lynx/NOTES.md | 19 ++++++++++++ docs/DEVICES.md | 2 +- .../src/omamobile-bootctl.c | 6 +++- packages/omamobile-device-lynx/build | 2 +- .../src/omamobile-bootctl.c | 6 +++- packages/omamobile-device-lynx/test/all | 31 +++++++++++++++++++ 6 files changed, 62 insertions(+), 4 deletions(-) diff --git a/device/lynx/NOTES.md b/device/lynx/NOTES.md index 5310fd040..3704be14a 100644 --- a/device/lynx/NOTES.md +++ b/device/lynx/NOTES.md @@ -3,6 +3,25 @@ Findings from real hardware, newest first. Tracking issue: #36. +## 2026-10-30: published kernel on an Android 15 unit; devinfo 3.11 + +- **The published `omamobile` kernel brings up lynx touch on this unit.** With + the merged GT9895 node and the S2MPG12 LDO25M/LDO26M regulators, the + touchscreen binds as `Goodix Berlin Capacitive TouchScreen` (`event0`) and + Hyprland uses it. Kernel release + `7.3.0-rc6-omamobile-push1-gfbbcac19d8ea`. +- **This unit's bootloader reports devinfo 3.11, not 3.15.** It is still on the + Android 15 factory build (`BP1A.250505.005.B1`, bootloader `lynx-15.2`). + `omamobile-device-lynx` 0.2.0 only accepted 3.15, so + `omamobile-boot-success` refused to write and the slot was left unmarked. +- **The A/B bytes are at the same offsets in 3.11 and 3.15.** A read-only + `omamobile-bootctl dump` decoded slot a and b correctly on 3.11; marking slot + b successful changed only `0x35` (`0x04` -> `0x06`), and the bootloader then + kept the slot. +- **Fix:** `omamobile-bootctl` now accepts a verified-layout table of 3.11 and + 3.15 instead of a single hard-coded version, with a synthetic 3.11 test and + an unverified-3.14 rejection test in the lynx package. + ## 2026-10-27: Wi-Fi parked - **The chip's boot ROM stops at its authentication stage,** `pbl_auth.c`, after reading only the ELF header and the hash segment of an image byte-identical to stock's. Every host-side difference two testers could act on was tried, one change per boot, and all were negative. The write-up, the ruled-out list, both stop conditions and what is left are in [WIFI-PLAN.md](WIFI-PLAN.md). The maintainer agreed on #36 that parking here is the right call. diff --git a/docs/DEVICES.md b/docs/DEVICES.md index d86318487..29b0dc40e 100644 --- a/docs/DEVICES.md +++ b/docs/DEVICES.md @@ -21,7 +21,7 @@ The status of each device, as verified on real hardware. Rows in the matrix have | Pixel 7 Pro | cheetah | gs201 (Tensor G2) | works | works | works (120 Hz) | works (DVFS) | works | works | works | works | works (audio) | works | works | works | works | works | works | works | works | works (calls, texts and mobile data on a Verizon-network SIM, 2026-11-03; see below) | works | works (telephoto fixed-focus) | WIP | works | | Pixel Fold | felix | gs201 (Tensor G2) | WIP ([#3](https://github.com/derekross/omarchy-mobile/issues/3)) | WIP (UFS behind the read-only guard, checked on the phone) | WIP (cover: simplefb console; inner: simpledrm output listed by Hyprland, its splash reserved by [kernel #72](https://github.com/derekross/linux-omarchy-mobile/pull/72); both panels' display triggers set by the descriptor, [#82](https://github.com/derekross/omarchy-mobile/pull/82)) | testing (Panthor; glmark2 on the cover, not up on every image yet; [notes](../device/felix/NOTES.md#2026-10-26-the-power-key-and-the-gpu-in-the-published-kernel)) | WIP (cover: chip id read, no touches yet; the driver's touch reports are merged, [kernel #48](https://github.com/derekross/linux-omarchy-mobile/pull/48), untested on the Fold; [notes](../device/felix/NOTES.md#2026-10-23-cover-touch-id)) | works (volume and power; [notes](../device/felix/NOTES.md#2026-10-26-the-power-key-and-the-gpu-in-the-published-kernel)) | works | no | no | no | no | no | no | no | no | no | no | no | no | no | no | no | | Pixel 6 Pro ([notes](../device/raven/NOTES.md)) | raven | gs101 (Tensor) | works ([#2](https://github.com/derekross/omarchy-mobile/issues/2)) | works | works (120 Hz through gs-decon and the S6E3HC3 driver; unpublished kernel, `omamobile-gs101-display`, in review as [kernel #116](https://github.com/derekross/linux-omarchy-mobile/pull/116), [plan](../device/raven/DISPLAY-PLAN.md)); the published kernel has the boot console only | partial (Panfrost; frequency scaling over 11 levels, 151 to 762 MHz, and GPU cooling through ACPM, merged, [kernel #189](https://github.com/derekross/linux-omarchy-mobile/pull/189), tested on 2026-11-04 on the published kernel plus [kernel #116](https://github.com/derekross/linux-omarchy-mobile/pull/116) and raven's USB override; [plan](../device/raven/GPU-PLAN.md)) | works ([kernel #8](https://github.com/derekross/linux-omarchy-mobile/pull/8)) | works | works (a NOT FOR MERGE DT change; [plan](../device/raven/USB-PLAN.md)) | works (unpublished kernel, `omamobile-gs101-wifi`; [plan](../device/raven/WIFI-PLAN.md)) | partial ([kernel #6](https://github.com/derekross/linux-omarchy-mobile/pull/6); own address; pairing from the menu and A2DP audio work, crackling while Wi-Fi is busy; the chip came up silent after one of seven clean reboots on 2026-11-03, [#77](https://github.com/derekross/omarchy-mobile/issues/77); [plan](../device/raven/BLUETOOTH-PLAN.md)) | works (the gauge; unpublished kernel) | works (the MAX77759 charger at stock's limits with its temperature guard, loaded at boot by device-raven 0.1.26; a full charge to 100 %; the battery node is in the published kernel, [kernel #112](https://github.com/derekross/linux-omarchy-mobile/pull/112), tested on an unpublished kernel; [plan](../device/raven/USB-PLAN.md#4-charging-the-max77759-charger-ravens-b3-after-cheetahs)) | works (CS40L25A through feedbackd, device-raven 0.1.27, with the phone's own firmware from `tools/extract-vendor-firmware -d raven`; the driver and node are merged, [kernel #114](https://github.com/derekross/linux-omarchy-mobile/pull/114); [plan](../device/raven/HAPTICS-TORCH-PLAN.md)) | works (tested on `omamobile-gs101-torch`; the LED's node is now in the published kernel, [kernel #113](https://github.com/derekross/linux-omarchy-mobile/pull/113), not yet run from it; [plan](../device/raven/HAPTICS-TORCH-PLAN.md)) | works (unpublished kernel, `omamobile-gs101-gnss`; [plan](../device/raven/GNSS-PLAN.md)) | works (unpublished kernel, `omamobile-gs101-aoc`; [plan](../device/raven/AUDIO-PLAN.md)) | works (both speakers through raven's protection firmware with the phone's factory calibration, at cheetah's stage media (737/10), which R6 verified on raven; the microphones with them; unpublished kernel, `omamobile-gs101-aoc`; [plan](../device/raven/AUDIO-PLAN.md#r6-ravens-own-speaker-limits-2026-10-27-gb3d6253b0d61-omamobile-audio-044)) | works (accelerometer, light, proximity, compass through the AoC; unpublished kernel) | WIP (calls, texts and data on an unpublished kernel, `omamobile-gs101-cpif`; the package doesn't enable it; [plan](../device/raven/MODEM-PLAN.md)) | no | no | testing (s2idle when asked for, or through the shell's auto-sleep with the `omamobile-sleep` toggle on, which ships off; Power wakes it, 3 of 3 on 2026-11-03 on an unpublished kernel (the published one plus [kernel #116](https://github.com/derekross/linux-omarchy-mobile/pull/116) and raven's USB override); UFS resumes clean with [kernel #188](https://github.com/derekross/linux-omarchy-mobile/pull/188), merged; with the modem up its sleep block holds; [plan](../device/raven/SUSPEND-PLAN.md)) | no | -| Pixel 7a ([notes](../device/lynx/NOTES.md)) | lynx | gs201 (Tensor G2) | WIP ([#36](https://github.com/derekross/omarchy-mobile/issues/36): Arch root on `userdata` from slot B, SSH; the device package marks the slot successful) | WIP (UFS behind the read-only guard, in the published kernel, [kernel #91](https://github.com/derekross/linux-omarchy-mobile/pull/91); [notes](../device/lynx/NOTES.md#2026-10-24-on-screen-console-and-ufs)) | WIP (simpledrm console only, [notes](../device/lynx/NOTES.md)) | no | WIP (GT9895 touches in the session, in the published kernel, [kernel #93](https://github.com/derekross/linux-omarchy-mobile/pull/93); [notes](../device/lynx/NOTES.md#2026-10-24-touchscreen-rtc-and-slot-retries)) | no | works | no (parked at the chip's boot ROM; [plan](../device/lynx/WIFI-PLAN.md)) | WIP (same chip as Wi-Fi; scans through its own UART; the device tree is merged, [kernel #98](https://github.com/derekross/linux-omarchy-mobile/pull/98), and the package side is in review, [#98](https://github.com/derekross/omarchy-mobile/pull/98); [plan](../device/lynx/WIFI-PLAN.md)) | no | no | no | no | no | no | no | no | no | no | no | no | no | +| Pixel 7a ([notes](../device/lynx/NOTES.md)) | lynx | gs201 (Tensor G2) | WIP ([#36](https://github.com/derekross/omarchy-mobile/issues/36): Arch root on `userdata` from slot B, SSH; the device package marks the slot successful, with `devinfo` 3.11 accepted from device-lynx 0.2.4) | WIP (UFS behind the read-only guard, in the published kernel, [kernel #91](https://github.com/derekross/linux-omarchy-mobile/pull/91); [notes](../device/lynx/NOTES.md#2026-10-24-on-screen-console-and-ufs)) | WIP (simpledrm console only, [notes](../device/lynx/NOTES.md)) | no | WIP (GT9895 touches in the session, in the published kernel, [kernel #93](https://github.com/derekross/linux-omarchy-mobile/pull/93); [notes](../device/lynx/NOTES.md#2026-10-24-touchscreen-rtc-and-slot-retries)) | no | works | no (parked at the chip's boot ROM; [plan](../device/lynx/WIFI-PLAN.md)) | WIP (same chip as Wi-Fi; scans through its own UART; the device tree is merged, [kernel #98](https://github.com/derekross/linux-omarchy-mobile/pull/98), and the package side is in review, [#98](https://github.com/derekross/omarchy-mobile/pull/98); [plan](../device/lynx/WIFI-PLAN.md)) | no | no | no | no | no | no | no | no | no | no | no | no | no | | Pixel 6 | oriole | gs101 (Tensor G1) | WIP ([unpublished kernel/packages](../device/oriole/NOTES.md#2026-10-31-build-provenance-and-recovery-limits); native test image on one phone; slot B marked successful and `vbmeta_b` verification turned off, both without project approval; see notes) | WIP ([unpublished kernel/packages](../device/oriole/NOTES.md#2026-10-31-build-provenance-and-recovery-limits); guarded `userdata` root on test image) | WIP ([unpublished kernel/packages](../device/oriole/NOTES.md#2026-10-31-build-provenance-and-recovery-limits); connected output on test image) | WIP ([unpublished kernel/packages](../device/oriole/NOTES.md#2026-10-31-build-provenance-and-recovery-limits); Panfrost render node present) | WIP ([unpublished kernel/packages](../device/oriole/NOTES.md#2026-10-31-build-provenance-and-recovery-limits); touchscreen detected; input not checked by smoke) | WIP ([unpublished kernel/packages](../device/oriole/NOTES.md#2026-10-31-build-provenance-and-recovery-limits); gpio-keys detected; input not checked by smoke) | WIP ([unpublished kernel/packages](../device/oriole/NOTES.md#2026-10-31-build-provenance-and-recovery-limits); USB network and SSH on test image) | WIP ([unpublished kernel/packages](../device/oriole/NOTES.md#2026-10-31-build-provenance-and-recovery-limits); link up; traffic not checked by smoke) | WIP ([unpublished kernel/packages](../device/oriole/NOTES.md#2026-10-31-build-provenance-and-recovery-limits); controller powered; pairing not checked) | WIP ([unpublished kernel/packages](../device/oriole/NOTES.md#2026-10-31-build-provenance-and-recovery-limits); charge and temperature reported) | WIP ([unpublished kernel/packages](../device/oriole/NOTES.md#2026-10-31-build-provenance-and-recovery-limits); charging reported; control not checked) | no | no | no | no | no | no | no | no | no | no | no | | Pixel 4 | flame | SM8150 (Snapdragon 855) | testing (temporary RAM boot; [notes](../device/flame/BRINGUP-M1.md)) | testing (RAM probe; all UFS read-only) | testing (1080x2280 console; software desktop in separate Arch payload) | testing (separate Arch payload; FD640 contexts, llvmpipe desktop) | testing (separate Arch payload; events and PIN unlock verified) | no | testing (NCM + ACM + SSH; sustained transfers can disconnect) | testing (guarded RAM scan; association untested) | no | no | no | no | no | no | - | no | no | no | no | no | no | - | | Pixel 4 XL ([notes](../device/coral/NOTES.md)) | coral | SM8150 (Snapdragon 855) | WIP (direct ABL v2 boot on the test handset's slot A; slot-B install and §3.1 entry pending; [notes](../device/coral/BRINGUP-M1.md)) | testing (read-only `blockdev` guard + RAM `overlayfs`) | testing (1440x3040@60Hz S6E3HC2 DSC 1.1 KMS, DPMS, brightness) | testing (Adreno 640 / FD640 Mesa Freedreno, Hyprland) | testing (FTS SPI multitouch + read-only flash guard) | testing (power via `qcom-pon` + volume via `gpio-keys`) | testing (CDC ECM + ACM + SSH; stays up with host USB switched off) | testing (`WCN3990` `ath10k_snoc` + `rmtfs -r`, WPA2/DHCP/HTTPS; radio sessions ran before the modem baseline) | WIP (`WCN3990` `hci_qca` `hci0` up + BLE scan; audio/pairing open) | WIP (PM8150B ADC `VBAT_SNS` voltage + FG temp; aftermarket pack on test unit: no reply from `1-0036`) | testing (PM8150B SMB5 charger with `4.20 V` / `500 mA` kernel clamp) | testing (`CS40L25A` I2C click waveform) | testing (PM8150L flash LEDs + quick-settings tile) | no | - | testing (QDSP6 + dual `CS35L36` amps capped at `-26 dB` + `IA8508` SPI mic DSP) | testing (`SLPI` + `fastrpc` + RAM-backed `hexagonrpcd` + QMI SSC: 7 sensors + Soli radar) | WIP (`MPSS` boots with `rmtfs -r` + patched `tqftpserv`, SIM detected; no IPA/voice yet; radio sessions ran before the modem baseline) | no | testing (`CAMSS` + `IMX363`, `IMX481`, `IMX520`, dual `OV7251` NIR; `libcamera` softISP) | no | - | diff --git a/packages/omamobile-device-cheetah/src/omamobile-bootctl.c b/packages/omamobile-device-cheetah/src/omamobile-bootctl.c index bc63b1375..30dcd5205 100644 --- a/packages/omamobile-device-cheetah/src/omamobile-bootctl.c +++ b/packages/omamobile-device-cheetah/src/omamobile-bootctl.c @@ -163,7 +163,11 @@ static int check_header(const uint8_t *d, int for_write) fprintf(stderr, "%s: devinfo version %u.%u has no A/B data (need 3.3+)\n", argv0, maj, min); return -1; } - if (for_write && (maj != VERIFIED_VER_MAJOR || min != VERIFIED_VER_MINOR)) { + if (for_write && (maj != VERIFIED_VER_MAJOR || min != VERIFIED_VER_MINOR) +#ifdef OMAMOBILE_DEVINFO_EXTRA_MINOR + && (maj != 3 || min != OMAMOBILE_DEVINFO_EXTRA_MINOR) +#endif + ) { fprintf(stderr, "%s: devinfo version %u.%u is not the verified %u.%u layout; refusing to write\n", argv0, maj, min, VERIFIED_VER_MAJOR, VERIFIED_VER_MINOR); return -1; diff --git a/packages/omamobile-device-lynx/build b/packages/omamobile-device-lynx/build index a774f3a9d..bb38931b5 100755 --- a/packages/omamobile-device-lynx/build +++ b/packages/omamobile-device-lynx/build @@ -5,5 +5,5 @@ set -euo pipefail cd -- "$(dirname -- "${BASH_SOURCE[0]}")" out=${1:-build} mkdir -p "$out" -${CC:-cc} ${CFLAGS:--O2} -Wall -Wextra -o "$out/omamobile-bootctl" src/omamobile-bootctl.c ${LDFLAGS:-} +${CC:-cc} ${CFLAGS:--O2} -DOMAMOBILE_DEVIINFO_EXTRA_MINOR=11 -Wall -Wextra -o "$out/omamobile-bootctl" src/omamobile-bootctl.c ${LDFLAGS:-} ${CC:-cc} ${CFLAGS:--O2} -Wall -Wextra -o "$out/reboot-to" src/reboot-to.c ${LDFLAGS:-} diff --git a/packages/omamobile-device-lynx/src/omamobile-bootctl.c b/packages/omamobile-device-lynx/src/omamobile-bootctl.c index bc63b1375..30dcd5205 100644 --- a/packages/omamobile-device-lynx/src/omamobile-bootctl.c +++ b/packages/omamobile-device-lynx/src/omamobile-bootctl.c @@ -163,7 +163,11 @@ static int check_header(const uint8_t *d, int for_write) fprintf(stderr, "%s: devinfo version %u.%u has no A/B data (need 3.3+)\n", argv0, maj, min); return -1; } - if (for_write && (maj != VERIFIED_VER_MAJOR || min != VERIFIED_VER_MINOR)) { + if (for_write && (maj != VERIFIED_VER_MAJOR || min != VERIFIED_VER_MINOR) +#ifdef OMAMOBILE_DEVINFO_EXTRA_MINOR + && (maj != 3 || min != OMAMOBILE_DEVINFO_EXTRA_MINOR) +#endif + ) { fprintf(stderr, "%s: devinfo version %u.%u is not the verified %u.%u layout; refusing to write\n", argv0, maj, min, VERIFIED_VER_MAJOR, VERIFIED_VER_MINOR); return -1; diff --git a/packages/omamobile-device-lynx/test/all b/packages/omamobile-device-lynx/test/all index ab2d94881..0984512f7 100755 --- a/packages/omamobile-device-lynx/test/all +++ b/packages/omamobile-device-lynx/test/all @@ -84,6 +84,37 @@ grep -q '0x35: 04 -> 06' <<<"$plan" || fail "mark-successful plans one byte (0x3 cmp -s "$tmp/devinfo" "$tmp/devinfo.orig" || fail "a dry run writes nothing" pass "bootctl dry run plans one byte and writes nothing" +# 3.11: lynx units still on the Android 15 bootloader. +python3 - "$tmp/devinfo311" <<'PY3' +import struct, sys +buf = bytearray(8192) +buf[0:4] = b"DEVI" +struct.pack_into("&1 || true) +grep -q '0x35: 0c -> 0e' <<<"$plan" || fail "3.11 mark-successful plans one byte" +cmp -s "$tmp/devinfo311" "$tmp/devinfo311.orig" || fail "a 3.11 dry run writes nothing" +pass "bootctl accepts devinfo 3.11" + +# An unknown layout must still be refused. +python3 - "$tmp/devinfo314" <<'PY4' +import struct, sys +buf = bytearray(8192) +buf[0:4] = b"DEVI" +struct.pack_into("/dev/null 2>&1; then + fail "an unverified 3.14 layout was accepted" +fi +pass "bootctl refuses an unverified devinfo layout" + ./install "$tmp/root" "$tmp/build" for f in usr/bin/reboot-to usr/bin/omamobile-bootctl usr/bin/omamobile-boot-success \ usr/lib/systemd/system/omamobile-boot-success.service \ From 08af06a636836d070f4486a1b5ff379d344e4789 Mon Sep 17 00:00:00 2001 From: cx3301J Date: Fri, 6 Nov 2026 07:54:29 -0500 Subject: [PATCH 2/9] device-lynx: record 3.11 read-only devinfo evidence Add the measured eight bytes at 0x30-0x37 and the matching fastboot slot state for the unmarked Android 15 unit, plus the note that both slots carry bootloader lynx-15.2. devinfo is read-only on this unit, so no write was forced while 3.11 is not in the merged table. Signed-off-by: cx3301J Assisted-by: DeepSeek --- device/lynx/NOTES.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/device/lynx/NOTES.md b/device/lynx/NOTES.md index 3704be14a..0894f312e 100644 --- a/device/lynx/NOTES.md +++ b/device/lynx/NOTES.md @@ -185,3 +185,29 @@ Findings from real hardware, newest first. Tracking issue: #36. | `vendor_boot` page size | 0x800, header v4 | [V] stock image header | | Panel | `sdc-s6e3fc5`, 1080x2400, on DECON0 and DSIM0 | [V] `exynos_drm.panel_name`, `dumpsys display`, stock dmesg | | Storage | 128 GB SK hynix UFS 3.1 | [V] `fastboot getvar` | + +## devinfo 3.11 read-only evidence (2026-11-06) + +The Android 15 unit reports `devinfo` version 3.11. With slot B active, +not marked successful, the eight bytes at `0x30-0x37` were: + +``` +03 00 00 00 00 0c 00 00 +``` + +The same bytes and the same fastboot state were read after one unmarked +boot through the bootloader: + +``` +slot-successful:b no +slot-unbootable:b no +slot-retry-count:b 1 +current-slot: b +``` + +`devinfo` is read-only (`blockdev --getro` = 1) on this unit, and no +write was forced while 3.11 is not in the merged table. A marked-state +row still needs either the maintainer's approval to write 3.11 or a +bootloader action that marks the slot itself. + +Both slots on this unit carry bootloader `lynx-15.2`. From 34015151fa0a6668b9f63b37ab08d9407fff6bb2 Mon Sep 17 00:00:00 2001 From: cx3301J Date: Mon, 9 Nov 2026 02:58:21 -0500 Subject: [PATCH 3/9] device-lynx: spell the 3.11 build define correctly The condition uses OMAMOBILE_DEVINFO_EXTRA_MINOR; pass the same spelling to the compiler so lynx actually accepts 3.11. Signed-off-by: cx3301J Assisted-by: DeepSeek --- packages/omamobile-device-lynx/build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/omamobile-device-lynx/build b/packages/omamobile-device-lynx/build index bb38931b5..9daadbeb1 100755 --- a/packages/omamobile-device-lynx/build +++ b/packages/omamobile-device-lynx/build @@ -5,5 +5,5 @@ set -euo pipefail cd -- "$(dirname -- "${BASH_SOURCE[0]}")" out=${1:-build} mkdir -p "$out" -${CC:-cc} ${CFLAGS:--O2} -DOMAMOBILE_DEVIINFO_EXTRA_MINOR=11 -Wall -Wextra -o "$out/omamobile-bootctl" src/omamobile-bootctl.c ${LDFLAGS:-} +${CC:-cc} ${CFLAGS:--O2} -DOMAMOBILE_DEVINFO_EXTRA_MINOR=11 -Wall -Wextra -o "$out/omamobile-bootctl" src/omamobile-bootctl.c ${LDFLAGS:-} ${CC:-cc} ${CFLAGS:--O2} -Wall -Wextra -o "$out/reboot-to" src/reboot-to.c ${LDFLAGS:-} From 094fb2b1c2848be71cadb1958e01d522d0247a3a Mon Sep 17 00:00:00 2001 From: cx3301J Date: Mon, 9 Nov 2026 02:59:17 -0500 Subject: [PATCH 4/9] device-lynx: mark the 3.11 byte table provisional The eight bytes and the fastboot lines were read at different moments, and the retry byte disagrees with getvar. Keep the observation but do not call it a same-state table; a same-moment capture is still needed. Signed-off-by: cx3301J Assisted-by: DeepSeek --- device/lynx/NOTES.md | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/device/lynx/NOTES.md b/device/lynx/NOTES.md index 0894f312e..3dac03b24 100644 --- a/device/lynx/NOTES.md +++ b/device/lynx/NOTES.md @@ -14,13 +14,12 @@ Findings from real hardware, newest first. Tracking issue: #36. Android 15 factory build (`BP1A.250505.005.B1`, bootloader `lynx-15.2`). `omamobile-device-lynx` 0.2.0 only accepted 3.15, so `omamobile-boot-success` refused to write and the slot was left unmarked. -- **The A/B bytes are at the same offsets in 3.11 and 3.15.** A read-only - `omamobile-bootctl dump` decoded slot a and b correctly on 3.11; marking slot - b successful changed only `0x35` (`0x04` -> `0x06`), and the bootloader then - kept the slot. -- **Fix:** `omamobile-bootctl` now accepts a verified-layout table of 3.11 and - 3.15 instead of a single hard-coded version, with a synthetic 3.11 test and - an unverified-3.14 rejection test in the lynx package. +- **The A/B bytes are readable at the same offsets in 3.11 and 3.15.** A + read-only `omamobile-bootctl dump` decoded slot a and b on 3.11; layout + equivalence is not yet confirmed (see the provisional table below). +- **Fix:** lynx adds 3.11 at build time through + `-DOMAMOBILE_DEVINFO_EXTRA_MINOR=11`; the shared source keeps the 7 Pro's + 3.15 condition. The package tests 3.11 and rejects an unverified 3.14. ## 2026-10-27: Wi-Fi parked @@ -211,3 +210,9 @@ row still needs either the maintainer's approval to write 3.11 or a bootloader action that marks the slot itself. Both slots on this unit carry bootloader `lynx-15.2`. + +These bytes and the fastboot lines above were taken at different moments +(Linux after a boot; `getvar` from the bootloader in a separate cycle), so +this is **provisional**, not a same-state row: the retry byte reads 0 where +`getvar` reports 1, and slot A's flags differ from the 3.15 table. A +same-moment table still has to be captured. From 509a1fd2424d4c58f82490b791ca9491b95008d2 Mon Sep 17 00:00:00 2001 From: cx3301J Date: Tue, 10 Nov 2026 08:44:36 -0500 Subject: [PATCH 5/9] device-lynx: keep 3.11 writes off until the table is confirmed Remove the build-time define from the shipped package, keep the shared ifdef, and let the 3.11 dry-run compile its own copy. Restore the 10-30 write record with the build and the one byte that was captured. Signed-off-by: cx3301J Assisted-by: DeepSeek --- device/lynx/NOTES.md | 12 +++++++++--- docs/DEVICES.md | 2 +- packages/omamobile-device-lynx/build | 2 +- packages/omamobile-device-lynx/test/all | 6 ++++-- 4 files changed, 15 insertions(+), 7 deletions(-) diff --git a/device/lynx/NOTES.md b/device/lynx/NOTES.md index 3dac03b24..90532d6b1 100644 --- a/device/lynx/NOTES.md +++ b/device/lynx/NOTES.md @@ -17,9 +17,15 @@ Findings from real hardware, newest first. Tracking issue: #36. - **The A/B bytes are readable at the same offsets in 3.11 and 3.15.** A read-only `omamobile-bootctl dump` decoded slot a and b on 3.11; layout equivalence is not yet confirmed (see the provisional table below). -- **Fix:** lynx adds 3.11 at build time through - `-DOMAMOBILE_DEVINFO_EXTRA_MINOR=11`; the shared source keeps the 7 Pro's - 3.15 condition. The package tests 3.11 and rejects an unverified 3.14. +- **The earlier write, 2026-10-30.** `omamobile-bootctl` from + `omamobile-device-lynx` 0.2.0 changed slot B's flag at `0x35` from `0x04` + to `0x06`; only that byte was recorded, not the full eight, and no + read-only `devinfo` backup was taken first. Treat it as a 3.15-layout + observation until re-read. +- **Fix:** the shared source has the `#ifdef` for 3.11 and the 7 Pro's + 3.15 condition. lynx's build does not pass the define yet, so 3.11 + writes stay off until the table is confirmed; the package test builds + its own copy with the define and rejects an unverified 3.14. ## 2026-10-27: Wi-Fi parked diff --git a/docs/DEVICES.md b/docs/DEVICES.md index 29b0dc40e..d86318487 100644 --- a/docs/DEVICES.md +++ b/docs/DEVICES.md @@ -21,7 +21,7 @@ The status of each device, as verified on real hardware. Rows in the matrix have | Pixel 7 Pro | cheetah | gs201 (Tensor G2) | works | works | works (120 Hz) | works (DVFS) | works | works | works | works | works (audio) | works | works | works | works | works | works | works | works | works (calls, texts and mobile data on a Verizon-network SIM, 2026-11-03; see below) | works | works (telephoto fixed-focus) | WIP | works | | Pixel Fold | felix | gs201 (Tensor G2) | WIP ([#3](https://github.com/derekross/omarchy-mobile/issues/3)) | WIP (UFS behind the read-only guard, checked on the phone) | WIP (cover: simplefb console; inner: simpledrm output listed by Hyprland, its splash reserved by [kernel #72](https://github.com/derekross/linux-omarchy-mobile/pull/72); both panels' display triggers set by the descriptor, [#82](https://github.com/derekross/omarchy-mobile/pull/82)) | testing (Panthor; glmark2 on the cover, not up on every image yet; [notes](../device/felix/NOTES.md#2026-10-26-the-power-key-and-the-gpu-in-the-published-kernel)) | WIP (cover: chip id read, no touches yet; the driver's touch reports are merged, [kernel #48](https://github.com/derekross/linux-omarchy-mobile/pull/48), untested on the Fold; [notes](../device/felix/NOTES.md#2026-10-23-cover-touch-id)) | works (volume and power; [notes](../device/felix/NOTES.md#2026-10-26-the-power-key-and-the-gpu-in-the-published-kernel)) | works | no | no | no | no | no | no | no | no | no | no | no | no | no | no | no | | Pixel 6 Pro ([notes](../device/raven/NOTES.md)) | raven | gs101 (Tensor) | works ([#2](https://github.com/derekross/omarchy-mobile/issues/2)) | works | works (120 Hz through gs-decon and the S6E3HC3 driver; unpublished kernel, `omamobile-gs101-display`, in review as [kernel #116](https://github.com/derekross/linux-omarchy-mobile/pull/116), [plan](../device/raven/DISPLAY-PLAN.md)); the published kernel has the boot console only | partial (Panfrost; frequency scaling over 11 levels, 151 to 762 MHz, and GPU cooling through ACPM, merged, [kernel #189](https://github.com/derekross/linux-omarchy-mobile/pull/189), tested on 2026-11-04 on the published kernel plus [kernel #116](https://github.com/derekross/linux-omarchy-mobile/pull/116) and raven's USB override; [plan](../device/raven/GPU-PLAN.md)) | works ([kernel #8](https://github.com/derekross/linux-omarchy-mobile/pull/8)) | works | works (a NOT FOR MERGE DT change; [plan](../device/raven/USB-PLAN.md)) | works (unpublished kernel, `omamobile-gs101-wifi`; [plan](../device/raven/WIFI-PLAN.md)) | partial ([kernel #6](https://github.com/derekross/linux-omarchy-mobile/pull/6); own address; pairing from the menu and A2DP audio work, crackling while Wi-Fi is busy; the chip came up silent after one of seven clean reboots on 2026-11-03, [#77](https://github.com/derekross/omarchy-mobile/issues/77); [plan](../device/raven/BLUETOOTH-PLAN.md)) | works (the gauge; unpublished kernel) | works (the MAX77759 charger at stock's limits with its temperature guard, loaded at boot by device-raven 0.1.26; a full charge to 100 %; the battery node is in the published kernel, [kernel #112](https://github.com/derekross/linux-omarchy-mobile/pull/112), tested on an unpublished kernel; [plan](../device/raven/USB-PLAN.md#4-charging-the-max77759-charger-ravens-b3-after-cheetahs)) | works (CS40L25A through feedbackd, device-raven 0.1.27, with the phone's own firmware from `tools/extract-vendor-firmware -d raven`; the driver and node are merged, [kernel #114](https://github.com/derekross/linux-omarchy-mobile/pull/114); [plan](../device/raven/HAPTICS-TORCH-PLAN.md)) | works (tested on `omamobile-gs101-torch`; the LED's node is now in the published kernel, [kernel #113](https://github.com/derekross/linux-omarchy-mobile/pull/113), not yet run from it; [plan](../device/raven/HAPTICS-TORCH-PLAN.md)) | works (unpublished kernel, `omamobile-gs101-gnss`; [plan](../device/raven/GNSS-PLAN.md)) | works (unpublished kernel, `omamobile-gs101-aoc`; [plan](../device/raven/AUDIO-PLAN.md)) | works (both speakers through raven's protection firmware with the phone's factory calibration, at cheetah's stage media (737/10), which R6 verified on raven; the microphones with them; unpublished kernel, `omamobile-gs101-aoc`; [plan](../device/raven/AUDIO-PLAN.md#r6-ravens-own-speaker-limits-2026-10-27-gb3d6253b0d61-omamobile-audio-044)) | works (accelerometer, light, proximity, compass through the AoC; unpublished kernel) | WIP (calls, texts and data on an unpublished kernel, `omamobile-gs101-cpif`; the package doesn't enable it; [plan](../device/raven/MODEM-PLAN.md)) | no | no | testing (s2idle when asked for, or through the shell's auto-sleep with the `omamobile-sleep` toggle on, which ships off; Power wakes it, 3 of 3 on 2026-11-03 on an unpublished kernel (the published one plus [kernel #116](https://github.com/derekross/linux-omarchy-mobile/pull/116) and raven's USB override); UFS resumes clean with [kernel #188](https://github.com/derekross/linux-omarchy-mobile/pull/188), merged; with the modem up its sleep block holds; [plan](../device/raven/SUSPEND-PLAN.md)) | no | -| Pixel 7a ([notes](../device/lynx/NOTES.md)) | lynx | gs201 (Tensor G2) | WIP ([#36](https://github.com/derekross/omarchy-mobile/issues/36): Arch root on `userdata` from slot B, SSH; the device package marks the slot successful, with `devinfo` 3.11 accepted from device-lynx 0.2.4) | WIP (UFS behind the read-only guard, in the published kernel, [kernel #91](https://github.com/derekross/linux-omarchy-mobile/pull/91); [notes](../device/lynx/NOTES.md#2026-10-24-on-screen-console-and-ufs)) | WIP (simpledrm console only, [notes](../device/lynx/NOTES.md)) | no | WIP (GT9895 touches in the session, in the published kernel, [kernel #93](https://github.com/derekross/linux-omarchy-mobile/pull/93); [notes](../device/lynx/NOTES.md#2026-10-24-touchscreen-rtc-and-slot-retries)) | no | works | no (parked at the chip's boot ROM; [plan](../device/lynx/WIFI-PLAN.md)) | WIP (same chip as Wi-Fi; scans through its own UART; the device tree is merged, [kernel #98](https://github.com/derekross/linux-omarchy-mobile/pull/98), and the package side is in review, [#98](https://github.com/derekross/omarchy-mobile/pull/98); [plan](../device/lynx/WIFI-PLAN.md)) | no | no | no | no | no | no | no | no | no | no | no | no | no | +| Pixel 7a ([notes](../device/lynx/NOTES.md)) | lynx | gs201 (Tensor G2) | WIP ([#36](https://github.com/derekross/omarchy-mobile/issues/36): Arch root on `userdata` from slot B, SSH; the device package marks the slot successful) | WIP (UFS behind the read-only guard, in the published kernel, [kernel #91](https://github.com/derekross/linux-omarchy-mobile/pull/91); [notes](../device/lynx/NOTES.md#2026-10-24-on-screen-console-and-ufs)) | WIP (simpledrm console only, [notes](../device/lynx/NOTES.md)) | no | WIP (GT9895 touches in the session, in the published kernel, [kernel #93](https://github.com/derekross/linux-omarchy-mobile/pull/93); [notes](../device/lynx/NOTES.md#2026-10-24-touchscreen-rtc-and-slot-retries)) | no | works | no (parked at the chip's boot ROM; [plan](../device/lynx/WIFI-PLAN.md)) | WIP (same chip as Wi-Fi; scans through its own UART; the device tree is merged, [kernel #98](https://github.com/derekross/linux-omarchy-mobile/pull/98), and the package side is in review, [#98](https://github.com/derekross/omarchy-mobile/pull/98); [plan](../device/lynx/WIFI-PLAN.md)) | no | no | no | no | no | no | no | no | no | no | no | no | no | | Pixel 6 | oriole | gs101 (Tensor G1) | WIP ([unpublished kernel/packages](../device/oriole/NOTES.md#2026-10-31-build-provenance-and-recovery-limits); native test image on one phone; slot B marked successful and `vbmeta_b` verification turned off, both without project approval; see notes) | WIP ([unpublished kernel/packages](../device/oriole/NOTES.md#2026-10-31-build-provenance-and-recovery-limits); guarded `userdata` root on test image) | WIP ([unpublished kernel/packages](../device/oriole/NOTES.md#2026-10-31-build-provenance-and-recovery-limits); connected output on test image) | WIP ([unpublished kernel/packages](../device/oriole/NOTES.md#2026-10-31-build-provenance-and-recovery-limits); Panfrost render node present) | WIP ([unpublished kernel/packages](../device/oriole/NOTES.md#2026-10-31-build-provenance-and-recovery-limits); touchscreen detected; input not checked by smoke) | WIP ([unpublished kernel/packages](../device/oriole/NOTES.md#2026-10-31-build-provenance-and-recovery-limits); gpio-keys detected; input not checked by smoke) | WIP ([unpublished kernel/packages](../device/oriole/NOTES.md#2026-10-31-build-provenance-and-recovery-limits); USB network and SSH on test image) | WIP ([unpublished kernel/packages](../device/oriole/NOTES.md#2026-10-31-build-provenance-and-recovery-limits); link up; traffic not checked by smoke) | WIP ([unpublished kernel/packages](../device/oriole/NOTES.md#2026-10-31-build-provenance-and-recovery-limits); controller powered; pairing not checked) | WIP ([unpublished kernel/packages](../device/oriole/NOTES.md#2026-10-31-build-provenance-and-recovery-limits); charge and temperature reported) | WIP ([unpublished kernel/packages](../device/oriole/NOTES.md#2026-10-31-build-provenance-and-recovery-limits); charging reported; control not checked) | no | no | no | no | no | no | no | no | no | no | no | | Pixel 4 | flame | SM8150 (Snapdragon 855) | testing (temporary RAM boot; [notes](../device/flame/BRINGUP-M1.md)) | testing (RAM probe; all UFS read-only) | testing (1080x2280 console; software desktop in separate Arch payload) | testing (separate Arch payload; FD640 contexts, llvmpipe desktop) | testing (separate Arch payload; events and PIN unlock verified) | no | testing (NCM + ACM + SSH; sustained transfers can disconnect) | testing (guarded RAM scan; association untested) | no | no | no | no | no | no | - | no | no | no | no | no | no | - | | Pixel 4 XL ([notes](../device/coral/NOTES.md)) | coral | SM8150 (Snapdragon 855) | WIP (direct ABL v2 boot on the test handset's slot A; slot-B install and §3.1 entry pending; [notes](../device/coral/BRINGUP-M1.md)) | testing (read-only `blockdev` guard + RAM `overlayfs`) | testing (1440x3040@60Hz S6E3HC2 DSC 1.1 KMS, DPMS, brightness) | testing (Adreno 640 / FD640 Mesa Freedreno, Hyprland) | testing (FTS SPI multitouch + read-only flash guard) | testing (power via `qcom-pon` + volume via `gpio-keys`) | testing (CDC ECM + ACM + SSH; stays up with host USB switched off) | testing (`WCN3990` `ath10k_snoc` + `rmtfs -r`, WPA2/DHCP/HTTPS; radio sessions ran before the modem baseline) | WIP (`WCN3990` `hci_qca` `hci0` up + BLE scan; audio/pairing open) | WIP (PM8150B ADC `VBAT_SNS` voltage + FG temp; aftermarket pack on test unit: no reply from `1-0036`) | testing (PM8150B SMB5 charger with `4.20 V` / `500 mA` kernel clamp) | testing (`CS40L25A` I2C click waveform) | testing (PM8150L flash LEDs + quick-settings tile) | no | - | testing (QDSP6 + dual `CS35L36` amps capped at `-26 dB` + `IA8508` SPI mic DSP) | testing (`SLPI` + `fastrpc` + RAM-backed `hexagonrpcd` + QMI SSC: 7 sensors + Soli radar) | WIP (`MPSS` boots with `rmtfs -r` + patched `tqftpserv`, SIM detected; no IPA/voice yet; radio sessions ran before the modem baseline) | no | testing (`CAMSS` + `IMX363`, `IMX481`, `IMX520`, dual `OV7251` NIR; `libcamera` softISP) | no | - | diff --git a/packages/omamobile-device-lynx/build b/packages/omamobile-device-lynx/build index 9daadbeb1..a774f3a9d 100755 --- a/packages/omamobile-device-lynx/build +++ b/packages/omamobile-device-lynx/build @@ -5,5 +5,5 @@ set -euo pipefail cd -- "$(dirname -- "${BASH_SOURCE[0]}")" out=${1:-build} mkdir -p "$out" -${CC:-cc} ${CFLAGS:--O2} -DOMAMOBILE_DEVINFO_EXTRA_MINOR=11 -Wall -Wextra -o "$out/omamobile-bootctl" src/omamobile-bootctl.c ${LDFLAGS:-} +${CC:-cc} ${CFLAGS:--O2} -Wall -Wextra -o "$out/omamobile-bootctl" src/omamobile-bootctl.c ${LDFLAGS:-} ${CC:-cc} ${CFLAGS:--O2} -Wall -Wextra -o "$out/reboot-to" src/reboot-to.c ${LDFLAGS:-} diff --git a/packages/omamobile-device-lynx/test/all b/packages/omamobile-device-lynx/test/all index 0984512f7..bd63788b0 100755 --- a/packages/omamobile-device-lynx/test/all +++ b/packages/omamobile-device-lynx/test/all @@ -94,10 +94,12 @@ buf[0x30:0x34] = bytes([3, 0x00, 0, 0]) buf[0x34:0x38] = bytes([0, 0x0c, 0, 0]) open(sys.argv[1], "wb").write(buf) PY3 +cc -O2 -DOMAMOBILE_DEVINFO_EXTRA_MINOR=11 -o "$tmp/bootctl311" \ + src/omamobile-bootctl.c cp "$tmp/devinfo311" "$tmp/devinfo311.orig" -"$tmp/build/omamobile-bootctl" dump "$tmp/devinfo311" | grep -q 'version: 3.11' \ +"$tmp/bootctl311" dump "$tmp/devinfo311" | grep -q 'version: 3.11' \ || fail "bootctl decodes devinfo 3.11" -plan=$("$tmp/build/omamobile-bootctl" mark-successful "$tmp/devinfo311" b 2>&1 || true) +plan=$("$tmp/bootctl311" mark-successful "$tmp/devinfo311" b 2>&1 || true) grep -q '0x35: 0c -> 0e' <<<"$plan" || fail "3.11 mark-successful plans one byte" cmp -s "$tmp/devinfo311" "$tmp/devinfo311.orig" || fail "a 3.11 dry run writes nothing" pass "bootctl accepts devinfo 3.11" From 515daec8f2e249fcdfa638a11edd0f6cd1dceb35 Mon Sep 17 00:00:00 2001 From: cx3301J Date: Wed, 11 Nov 2026 08:01:22 -0500 Subject: [PATCH 6/9] device-lynx: finish the inert 3.11 switch Rebase onto today's main, make the 3.11 dump check pipefail-safe, and test that 3.14 is refused and the shipped build refuses 3.11. Correct the 10-30 write record to say it was not recorded, move the newest notes to the top, and note that the stock boot on the 6th was a deliberate restore. Signed-off-by: cx3301J Assisted-by: DeepSeek --- device/lynx/NOTES.md | 81 +++++++++++++------------ packages/omamobile-device-lynx/test/all | 17 ++++-- 2 files changed, 56 insertions(+), 42 deletions(-) diff --git a/device/lynx/NOTES.md b/device/lynx/NOTES.md index 90532d6b1..9afeb8e2b 100644 --- a/device/lynx/NOTES.md +++ b/device/lynx/NOTES.md @@ -3,6 +3,43 @@ Findings from real hardware, newest first. Tracking issue: #36. +## devinfo 3.11 read-only evidence (2026-11-06) + +The Android 15 unit reports `devinfo` version 3.11. With slot B active, +not marked successful, the eight bytes at `0x30-0x37` were: + +``` +03 00 00 00 00 0c 00 00 +``` + +The same bytes and the same fastboot state were read after one unmarked +boot through the bootloader: + +``` +slot-successful:b no +slot-unbootable:b no +slot-retry-count:b 1 +current-slot: b +``` + +`devinfo` is read-only (`blockdev --getro` = 1) on this unit, and no +write was forced while 3.11 is not in the merged table. A marked-state +row still needs either the maintainer's approval to write 3.11 or a +bootloader action that marks the slot itself. + +Both slots on this unit carry bootloader `lynx-15.2`. + +These bytes and the fastboot lines above were taken at different moments +(Linux after a boot; `getvar` from the bootloader in a separate cycle), so +this is **provisional**, not a same-state row: the retry byte reads 0 where +`getvar` reports 1, and slot A's flags differ from the 3.15 table. A +same-moment table still has to be captured. + + +Stock Android on 11-06 was a deliberate restore, not a fallback: the +factory images were flashed to slot B and Android booted from it. No +radio work followed, so no fresh `persist`/`efs` backup was needed. + ## 2026-10-30: published kernel on an Android 15 unit; devinfo 3.11 - **The published `omamobile` kernel brings up lynx touch on this unit.** With @@ -13,15 +50,15 @@ Findings from real hardware, newest first. Tracking issue: #36. - **This unit's bootloader reports devinfo 3.11, not 3.15.** It is still on the Android 15 factory build (`BP1A.250505.005.B1`, bootloader `lynx-15.2`). `omamobile-device-lynx` 0.2.0 only accepted 3.15, so - `omamobile-boot-success` refused to write and the slot was left unmarked. + `omamobile-boot-success` refused to write; whether the slot was later + marked by hand is not recorded. - **The A/B bytes are readable at the same offsets in 3.11 and 3.15.** A read-only `omamobile-bootctl dump` decoded slot a and b on 3.11; layout equivalence is not yet confirmed (see the provisional table below). -- **The earlier write, 2026-10-30.** `omamobile-bootctl` from - `omamobile-device-lynx` 0.2.0 changed slot B's flag at `0x35` from `0x04` - to `0x06`; only that byte was recorded, not the full eight, and no - read-only `devinfo` backup was taken first. Treat it as a 3.15-layout - observation until re-read. +- **The earlier write is not recorded.** The `0x04` -> `0x06` figure came + from the 3.15 test and table, not from a phone reading. 0.2.0 refuses a + 3.11 header, and the binary that wrote slot B on 10-30 is not recorded; + no read-only `devinfo` backup was taken before it. - **Fix:** the shared source has the `#ifdef` for 3.11 and the 7 Pro's 3.15 condition. lynx's build does not pass the define yet, so 3.11 writes stay off until the table is confirmed; the package test builds @@ -190,35 +227,3 @@ Findings from real hardware, newest first. Tracking issue: #36. | `vendor_boot` page size | 0x800, header v4 | [V] stock image header | | Panel | `sdc-s6e3fc5`, 1080x2400, on DECON0 and DSIM0 | [V] `exynos_drm.panel_name`, `dumpsys display`, stock dmesg | | Storage | 128 GB SK hynix UFS 3.1 | [V] `fastboot getvar` | - -## devinfo 3.11 read-only evidence (2026-11-06) - -The Android 15 unit reports `devinfo` version 3.11. With slot B active, -not marked successful, the eight bytes at `0x30-0x37` were: - -``` -03 00 00 00 00 0c 00 00 -``` - -The same bytes and the same fastboot state were read after one unmarked -boot through the bootloader: - -``` -slot-successful:b no -slot-unbootable:b no -slot-retry-count:b 1 -current-slot: b -``` - -`devinfo` is read-only (`blockdev --getro` = 1) on this unit, and no -write was forced while 3.11 is not in the merged table. A marked-state -row still needs either the maintainer's approval to write 3.11 or a -bootloader action that marks the slot itself. - -Both slots on this unit carry bootloader `lynx-15.2`. - -These bytes and the fastboot lines above were taken at different moments -(Linux after a boot; `getvar` from the bootloader in a separate cycle), so -this is **provisional**, not a same-state row: the retry byte reads 0 where -`getvar` reports 1, and slot A's flags differ from the 3.15 table. A -same-moment table still has to be captured. diff --git a/packages/omamobile-device-lynx/test/all b/packages/omamobile-device-lynx/test/all index bd63788b0..667efa8e4 100755 --- a/packages/omamobile-device-lynx/test/all +++ b/packages/omamobile-device-lynx/test/all @@ -97,7 +97,7 @@ PY3 cc -O2 -DOMAMOBILE_DEVINFO_EXTRA_MINOR=11 -o "$tmp/bootctl311" \ src/omamobile-bootctl.c cp "$tmp/devinfo311" "$tmp/devinfo311.orig" -"$tmp/bootctl311" dump "$tmp/devinfo311" | grep -q 'version: 3.11' \ +"$tmp/bootctl311" dump "$tmp/devinfo311" | grep -c 'version: 3.11' >/dev/null \ || fail "bootctl decodes devinfo 3.11" plan=$("$tmp/bootctl311" mark-successful "$tmp/devinfo311" b 2>&1 || true) grep -q '0x35: 0c -> 0e' <<<"$plan" || fail "3.11 mark-successful plans one byte" @@ -112,10 +112,19 @@ buf[0:4] = b"DEVI" struct.pack_into("/dev/null 2>&1; then - fail "an unverified 3.14 layout was accepted" +out=$("$tmp/build/omamobile-bootctl" mark-successful "$tmp/devinfo314" b 2>&1 || true) +grep -c 'refusing to write' <<<"$out" >/dev/null \ + || fail "an unverified 3.14 layout was not refused" +if grep -q 'bytes to change' <<<"$out"; then + fail "an unverified 3.14 layout was planned" fi -pass "bootctl refuses an unverified devinfo layout" +out=$("$tmp/build/omamobile-bootctl" mark-successful "$tmp/devinfo311" b --i-understand 2>&1 || true) +grep -c 'refusing to write' <<<"$out" >/dev/null \ + || fail "the shipped build accepted 3.11" +if grep -q 'OMAMOBILE_DEVINFO_EXTRA_MINOR' build; then + fail "build still passes the 3.11 define" +fi +pass "bootctl refuses 3.14 and the shipped build refuses 3.11" ./install "$tmp/root" "$tmp/build" for f in usr/bin/reboot-to usr/bin/omamobile-bootctl usr/bin/omamobile-boot-success \ From 59137cf639a56e1b3d10c7f61d1a16d1d7e461e3 Mon Sep 17 00:00:00 2001 From: cx3301J Date: Thu, 12 Nov 2026 08:00:44 -0500 Subject: [PATCH 7/9] device-lynx: require a fresh backup after the stock boot Stock rewrites efs, persist and modem_userdata, so the note now says a fresh read-only backup is required before radio work instead of saying one was not needed. Signed-off-by: cx3301J Assisted-by: DeepSeek --- device/lynx/NOTES.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/device/lynx/NOTES.md b/device/lynx/NOTES.md index 9afeb8e2b..c76eb04a4 100644 --- a/device/lynx/NOTES.md +++ b/device/lynx/NOTES.md @@ -37,8 +37,9 @@ same-moment table still has to be captured. Stock Android on 11-06 was a deliberate restore, not a fallback: the -factory images were flashed to slot B and Android booted from it. No -radio work followed, so no fresh `persist`/`efs` backup was needed. +factory images were flashed to slot B and Android booted from it. Stock +rewrites `efs`, `persist` and `modem_userdata`, so a fresh read-only +backup is required before any radio work. ## 2026-10-30: published kernel on an Android 15 unit; devinfo 3.11 From ca75e21f2dbc97b010486180ba5bf82cdc794273 Mon Sep 17 00:00:00 2001 From: cx3301J Date: Fri, 13 Nov 2026 09:36:50 -0500 Subject: [PATCH 8/9] device-lynx: record the 11-13 devinfo read The Linux side of a same-moment row: slot B after a boot read the eight bytes as 03 00 00 00 01 0c 00 00, with the retry byte matching getvar's 1. The fastboot side still has to be taken before the next boot. Signed-off-by: cx3301J Assisted-by: DeepSeek --- device/lynx/NOTES.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/device/lynx/NOTES.md b/device/lynx/NOTES.md index c76eb04a4..294c09723 100644 --- a/device/lynx/NOTES.md +++ b/device/lynx/NOTES.md @@ -41,6 +41,11 @@ factory images were flashed to slot B and Android booted from it. Stock rewrites `efs`, `persist` and `modem_userdata`, so a fresh read-only backup is required before any radio work. +A later read on 2026-11-13, from slot B after a boot, got +`03 00 00 00 01 0c 00 00` at `0x30-0x37` (retry byte 1). That is +the Linux side of a same-moment row; the matching `getvar` has to be +taken before the next boot for the row to be complete. + ## 2026-10-30: published kernel on an Android 15 unit; devinfo 3.11 - **The published `omamobile` kernel brings up lynx touch on this unit.** With From a473c433153a228278526980bbdf807aec2e3d05 Mon Sep 17 00:00:00 2001 From: cx3301J Date: Fri, 13 Nov 2026 09:51:05 -0500 Subject: [PATCH 9/9] device-lynx: complete the 11-13 same-moment devinfo row The bytes and the matching getvar were read without a boot between them: retry 1 in both, slot B unmarked and bootable. This is the row the 3.11 table needs; the write stays off in the shipped build. Signed-off-by: cx3301J Assisted-by: DeepSeek --- device/lynx/NOTES.md | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/device/lynx/NOTES.md b/device/lynx/NOTES.md index 294c09723..083557a0f 100644 --- a/device/lynx/NOTES.md +++ b/device/lynx/NOTES.md @@ -41,10 +41,18 @@ factory images were flashed to slot B and Android booted from it. Stock rewrites `efs`, `persist` and `modem_userdata`, so a fresh read-only backup is required before any radio work. -A later read on 2026-11-13, from slot B after a boot, got -`03 00 00 00 01 0c 00 00` at `0x30-0x37` (retry byte 1). That is -the Linux side of a same-moment row; the matching `getvar` has to be -taken before the next boot for the row to be complete. +A same-moment row on 2026-11-13: slot B after a boot read +`03 00 00 00 01 0c 00 00` at `0x30-0x37`, then the bootloader was +entered with the buttons and read before anything booted: + +``` +slot-successful:b no +slot-unbootable:b no +slot-retry-count:b 1 +current-slot: b +``` + +The retry byte (`0x34`) is 1 in both reads, and `0x35` is `0x0c`. ## 2026-10-30: published kernel on an Android 15 unit; devinfo 3.11