From 9b4ecc6c1e53b615d26a0397b58094234e930d2d Mon Sep 17 00:00:00 2001 From: W4HO <87742609+W4HO-ham@users.noreply.github.com> Date: Thu, 29 Oct 2026 13:29:16 -0647 Subject: [PATCH 1/2] device/tegu FINGERPRINT-PLAN: the LDO15S rule names SLEEP-PLAN S2's one exception SLEEP-PLAN S2 (merged as #144) turns LDO15S off for one boot on purpose, with the fingerprint stack stopped; the risk row here said the rail must never be switched off as unused, so the two plans disagreed. --- device/tegu/FINGERPRINT-PLAN.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/device/tegu/FINGERPRINT-PLAN.md b/device/tegu/FINGERPRINT-PLAN.md index f04e6a023..f9f64abbd 100644 --- a/device/tegu/FINGERPRINT-PLAN.md +++ b/device/tegu/FINGERPRINT-PLAN.md @@ -409,7 +409,7 @@ needs them. | LHBM on tg4c | 120 Hz only; brightness sets read from the panel; dim captures without overdrive | | Touch scale and geometry | 10x touch coordinates; sensor location unknown until F6 | | gpp1 shared with touch reset | a wrong pin write drops the touchscreen | -| LDO15S | always-on on stock; our S2MPG15 description must not switch it off as unused | +| LDO15S | always-on on stock; our S2MPG15 description must not switch it off as unused. One exception, on purpose: SLEEP-PLAN S2 turns it off for a single boot to measure its share of the sleep drain, with the fingerprint service and anything that starts the trusted app or `storageproxyd` stopped before the push and until the rollback (F6c still writes secure objects) | | HAL dependencies | display, sensors, power, HIDL thermal; expect a few shim/prop iterations at F6c | ## F0 results (2026-10-27, night) From 545e439f72f862a57ae388868d9f4a2090a98f9a Mon Sep 17 00:00:00 2001 From: W4HO <87742609+W4HO-ham@users.noreply.github.com> Date: Thu, 29 Oct 2026 20:14:34 -0647 Subject: [PATCH 2/2] device/tegu: SLEEP-PLAN and FINGERPRINT-PLAN point at each other for the LDO15S exception SLEEP-PLAN no longer says FINGERPRINT-PLAN's note is a follow-up on another branch, and both plans give the current reason for keeping the fingerprint service stopped around S2: an enrolled template lives in Trusty, not F6c's secure-object writes. --- device/tegu/FINGERPRINT-PLAN.md | 2 +- device/tegu/SLEEP-PLAN.md | 8 +++----- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/device/tegu/FINGERPRINT-PLAN.md b/device/tegu/FINGERPRINT-PLAN.md index f9f64abbd..28e3b777c 100644 --- a/device/tegu/FINGERPRINT-PLAN.md +++ b/device/tegu/FINGERPRINT-PLAN.md @@ -409,7 +409,7 @@ needs them. | LHBM on tg4c | 120 Hz only; brightness sets read from the panel; dim captures without overdrive | | Touch scale and geometry | 10x touch coordinates; sensor location unknown until F6 | | gpp1 shared with touch reset | a wrong pin write drops the touchscreen | -| LDO15S | always-on on stock; our S2MPG15 description must not switch it off as unused. One exception, on purpose: SLEEP-PLAN S2 turns it off for a single boot to measure its share of the sleep drain, with the fingerprint service and anything that starts the trusted app or `storageproxyd` stopped before the push and until the rollback (F6c still writes secure objects) | +| LDO15S | always-on on stock; our S2MPG15 description must not switch it off as unused. One exception, on purpose: SLEEP-PLAN S2 turns it off for a single boot to measure its share of the sleep drain, with the fingerprint service and anything that starts the trusted app or `storageproxyd` stopped before the push and until the rollback (an enrolled template lives in Trusty) | | HAL dependencies | display, sensors, power, HIDL thermal; expect a few shim/prop iterations at F6c | ## F0 results (2026-10-27, night) diff --git a/device/tegu/SLEEP-PLAN.md b/device/tegu/SLEEP-PLAN.md index 148b32977..168d7f129 100644 --- a/device/tegu/SLEEP-PLAN.md +++ b/device/tegu/SLEEP-PLAN.md @@ -170,9 +170,7 @@ a G3 (GNSS) session: GNSS is off for this boot. S2 turns LDO15S off on purpose, for this one boot, although FINGERPRINT-PLAN's Risks table says our S2MPG15 description must not switch it off as unused: the sensor is unpowered for the boot, and that -is the point of the measurement. FINGERPRINT-PLAN (on -'s branch) gets the -matching note as a follow-up once it is on main. Steps: +is the point of the measurement. FINGERPRINT-PLAN's Risks table names this exception. Steps: 1. **Before (read-only).** On the running DTB, 60 s or more after boot, save `/sys/kernel/debug/regulator/regulator_summary` to @@ -187,8 +185,8 @@ matching note as a follow-up once it is on main. Steps: that starts the trusted app or `storageproxyd` (the `omamobile-fp-stage` transient unit, `omamobile-fp-chroot start …` by hand, fprintd) are disabled or masked before the push and put back after the rollback. - F6c is still writing secure objects, and nothing in Trusty should meet - a sensor with no power while the calibration question is open. Check + An enrolled template lives in Trusty, and nothing in Trusty should + meet a sensor with no power. Check after the boot: `systemctl list-units 'omamobile-fp*'` empty, no `storageproxyd` process. Don't start the modem in this boot: the S5300's GNSS supplies are off. Nothing on the palmtop starts the modem