From c2cf74abf4143c399c0dfacb4964f0148669d4b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81ngel=20Ren=C3=A9?= <17342133+angelrenefm@users.noreply.github.com> Date: Tue, 3 Nov 2026 19:35:12 +0100 Subject: [PATCH 1/3] device-panther: list the radio partitions for tools/nv-backup The Pixel 7 has the 7 Pro's seven partitions, each found once by PARTNAME. A read-only backup with this list, and --check against the phone, both passed on a second Pixel 7. I used AI help (Claude) to work on this. --- device/panther/device.conf | 4 ++++ packages/omamobile-device-panther/device.conf | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/device/panther/device.conf b/device/panther/device.conf index ccd81f126..f29668534 100644 --- a/device/panther/device.conf +++ b/device/panther/device.conf @@ -48,3 +48,7 @@ SIMPLEFB_TRIG_CON="0x1c240030 0x3061" # Panel, portrait (dumpsys display: 1080x2400). Splash only with "splash" # on the command line, which this phone's bootargs do not have. PANEL_SIZE=1080x2400 + +# --- Radio backup --- +NV_PARTS="efs efs_backup modem_userdata persist modem_a modem_b" +NV_BACKUP_EXTRA="devinfo" diff --git a/packages/omamobile-device-panther/device.conf b/packages/omamobile-device-panther/device.conf index ccd81f126..f29668534 100644 --- a/packages/omamobile-device-panther/device.conf +++ b/packages/omamobile-device-panther/device.conf @@ -48,3 +48,7 @@ SIMPLEFB_TRIG_CON="0x1c240030 0x3061" # Panel, portrait (dumpsys display: 1080x2400). Splash only with "splash" # on the command line, which this phone's bootargs do not have. PANEL_SIZE=1080x2400 + +# --- Radio backup --- +NV_PARTS="efs efs_backup modem_userdata persist modem_a modem_b" +NV_BACKUP_EXTRA="devinfo" From ff16c41977eacba9e42cc3e741fcab610b1013fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81ngel=20Ren=C3=A9?= <17342133+angelrenefm@users.noreply.github.com> Date: Tue, 3 Nov 2026 23:42:27 +0100 Subject: [PATCH 2/3] panther NOTES: the second unit's devinfo, battery pack and stock overlay A second Pixel 7 (#342) differs from the first in two ways that matter later: its devinfo is version 3.15, not 3.19, and its battery is the Lishen 3 kOhm pack, which the current board file's Coslight model would be written onto after a gauge reset. Its stock PANTHER MP overlay has the Pixel 7 Pro's MAX77759, Wi-Fi and Bluetooth lines and the same charger tables. All read-only; values as read on 2026-11-03. I used AI help (Claude) to work on this. --- device/panther/NOTES.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/device/panther/NOTES.md b/device/panther/NOTES.md index f949858d1..8c24318a4 100644 --- a/device/panther/NOTES.md +++ b/device/panther/NOTES.md @@ -5,6 +5,16 @@ Findings from real hardware, newest first. [BRINGUP-M1.md](BRINGUP-M1.md) is the The board file (`gs201-panther.dts`) was merged as [linux-omarchy-mobile#108](https://github.com/derekross/linux-omarchy-mobile/pull/108), and the FT3658 driver as [#109](https://github.com/derekross/linux-omarchy-mobile/pull/109); the test kernels below add one local commit each on top. +## 2026-11-03: a second unit (angelrenefm) + +A stock factory Pixel 7 (CP3A.261005.002.A1 on both slots), offered on [#342](https://github.com/derekross/omarchy-mobile/issues/342). It booted Arch on slot B once the boot images carried AVB footers ([#396](https://github.com/derekross/omarchy-mobile/pull/396)); `tools/phone-smoke` passed everything required. What differs from the first unit, all read-only: + +- **devinfo is version 3.15** (the first unit's is 3.19). In the same state, Linux read slot bytes `01 08 00 00 01 04 00 00` and `fastboot getvar` said A retry 1, B retry 1, none successful, current B; they agreed again after ABL's own change (B 2 to 1). After `fastboot --set-active=b` and one boot: `01 08 00 00 02 0c 00 00` (B gained bit 3, fastboot_ok). +- **The pack is Lishen 3 kOhm, not Coslight 1 kOhm.** The gauge reads DesignCap 0x0891 (4386 mAh), stock's `lsn-a1-3k` value (Coslight's is 0x0873); TempCo reads 0x1402 (Lishen's stock value is 0x1802, so not an exact match). POR was clear (Status 0x2000) and DesignCap isn't the Coslight model's, so it looks like the kernel never loaded its Coslight model here and the gauge keeps what stock wrote (inferred from those two reads). After a POR (a flat or disconnected battery) it would load the Coslight model onto this Lishen pack: keep this unit from running flat until the model is picked by the pack's ID. +- **Stock's PANTHER MP overlay against CHEETAH MP** (from this unit's OTA `dtbo`, board ids 0x30406 and 0x30306): the MAX77759 PMIC interrupt (gpa9-4), the Wi-Fi lines (WL_REG_ON gph2-4, WL_DEV_WAKE gph2-5, WL_HOST_WAKE gpa6-1) and the Bluetooth lines (BT_REG_ON gpp16-2, BT_DEV_WAKE gpp16-3, BT_HOST_WAKE gpa6-6) are the same; `google,chg-temp-limits`, `chg-cv-limits` and `chg-cc-limits` are identical; `google,chg-battery-capacity` differs (0x10b5 = 4277 mAh against 0x133e = 4926 mAh). +- **Radio backup:** with this descriptor's `NV_PARTS` (cheetah's list, each partition found once by PARTNAME), `tools/nv-backup` took a read-only backup and `--check` read every partition as SAME. +- **Haptics:** with `cs40l26.wmfw` and `cs40l26.bin` from this unit's OTA (`tools/extract-vendor-firmware -d panther`), the CS40L26 firmware runs (7.2.91) and vibrates. + ## 2026-10-31: the battery The MAX77759's fuel gauge reports the battery with stock's Coslight 1 kOhm model: 4326 mAh, the pack's temperature and a real percentage, in upower and the shell's bar. Every 1 % step used to fire the gauge's interrupt about 430 times; a driver change fixes it. Gates, values and results: [BATTERY-PLAN.md](BATTERY-PLAN.md). Kernel: [linux-omarchy-mobile#171](https://github.com/derekross/linux-omarchy-mobile/pull/171) and [#170](https://github.com/derekross/linux-omarchy-mobile/pull/170), in review. From 2f69a56376bf3deaaab3280d79b8a28a698316ef Mon Sep 17 00:00:00 2001 From: Derek Ross Date: Thu, 5 Nov 2026 15:46:11 -0500 Subject: [PATCH 3/3] omamobile-device-panther 0.1.8: the descriptor's radio partitions (0.1.6 is #396's, 0.1.7 is kept for #281) --- packages/omamobile-device-panther/version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/omamobile-device-panther/version b/packages/omamobile-device-panther/version index c946ee616..699c6c6d4 100644 --- a/packages/omamobile-device-panther/version +++ b/packages/omamobile-device-panther/version @@ -1 +1 @@ -0.1.6 +0.1.8