Skip to content

omamobile-device-tegu 0.2.0: the Pixel 9a's bring-up as a package - #152

Merged
derekross merged 20 commits into
derekross:mainfrom
W4HO-ham:device-tegu-0.2.0
Oct 29, 2026
Merged

derekross merged 20 commits into
derekross:mainfrom
W4HO-ham:device-tegu-0.2.0

Conversation

@W4HO-ham

Copy link
Copy Markdown
Contributor

The Pixel 9a's device package, with the bring-up that has been running from scripts on my phone since the 10-27 status (#100, #125) moved into package form: the hang-safe graphics start (GPU, display at 120 Hz, haptics, torch, gauge, Bluetooth, marker first, --retry), the Bluetooth address from the bootloader, the USB replug rescue with its guarded TCPC helper, a charge limit from /etc/omamobile/charge-limit, the Wi-Fi and NFC sleep hooks, s2idle and the reboot watchdog, the module-cleanup drop-in and the storage, torch, DMA-heap and feedbackd rules. The AoC start ships disabled: it needs a kernel whose device tree enables the AoC, GSA and Trusty nodes, which the DT stack (#80 and on) will give it. The README's table says what each file does, what the package does not do (no slot marking, no Wi-Fi, NFC, modem, charger driver or cameras yet), what firmware the owner's factory image provides, and what the kernel command line has to stop carrying before the package can take over from the bring-up scripts.

Nine commits, one per area, on top of the 0.1.3 skeleton. Tests run in a scratch root with fake modprobe, sync, busctl and btmgmt (OMAMOBILE_TEGU_ROOT, as #74 does for its touch start): the marker is written and synced before the first modprobe, the load order is kept, a failed step is named and keeps the marker, --retry clears it, the usb rescue defers to a Type-C driver, the sleep hooks keep or reload Wi-Fi as flagged, the charge limit takes percentages only. test/all, tests/packages and tools/pr-check pass.

What this is not yet: installed and booted as a package on the phone. My phone still boots with the bring-up's command line (the masks and the curated gate), under which these units cannot run; the scripts here are those scripts with the hash manifest, the dead-man timer and the EGL smoke test taken out, and the live /etc copies where they were newer. The first package boot waits on the command-line change (a DTB round), and on #125's decision about slot marking on the 9a. One thing to look at on that first boot: gs_decon gets screen_off=2 from the package's modprobe file, where the curated start had been passing screen_off=0 on its own line.

Relation to #74: h4rkl's package covers first light on a second 9a (display at 60 Hz, a touch timer); this one carries the rest. Its linux-modules-cleanup drop-in and the scratch-root test pattern are here. I'd suggest #74 rebases its remaining pieces (the descriptor notes, the touch retry marker) onto this once it lands; said so there.

…rd and USB networking

The thin package the 9a has run since the first native boots: the storage guard's udev policy, the usb0 address, NetworkManager kept off the link, the device descriptor, the mirrorlist and reboot-to, plus the torch, DMA-heap and feedbackd rules. It starts no hardware and marks no slot.
The usb0 gateway becomes a default route at metric 2048, so Wi-Fi (NetworkManager's 600) wins when it is up and the host's shared connection still serves a first setup over USB. The copy the palmtop runs.
The MAX77779 opens its USB data switch on unplug and leaves it open when VBUS returns, so the palmtop never re-enumerates. omamobile-tegu-usb-rescue closes it while the gadget stays unconfigured, through tegu-tcpc-switch, which checks the chip's identity and VBUS before its one write and never forces an address a driver holds. It exits once a Type-C driver owns the chip, as the cheetah rescue does. The install script now stages bin/ and vendor/ with cheetah's loops, so the units' wants links come from the package.
… haptics, torch, gauge and Bluetooth

The curated start of the bring-up, as a package guard in cheetah's form: a marker written and synced before the first modprobe, panthor, gs_decon, cs40l26_vibra, leds_lm3644, max77779_battery and hci_uart in that order, the marker naming the step so a hang is easy to place, and the next boot keeping all six off until --retry. No file-hash manifest, EGL smoke test, mask checks or bootloader dead-man: the marker is the safety net. The drivers are blacklisted for autoload without install lines, the display options (DSI commands, 120 Hz, the panel really off on DPMS) and the GPU DVFS ceiling move to modprobe.d, and the display manager waits for the guard.
cheetah's omamobile-bt-addr, started by udev when hci0 appears, with the waits the 9a needed: a controller that has never been powered is powered on once before Set Public Address, the index is awaited after it, and the address is checked against the device tree before the script reports success.
The bring-up script wrote the owner's charge limit into the charger by hand at every start. A udev rule now runs omamobile-tegu-charge-limit when the MAX77779 charger appears: a percentage from 1 to 100 goes to charge_control_end_threshold, anything else is refused and leaves the charger charging to 100 %.
…oot watchdog, module cleanup held off

The Wi-Fi hook keeps brcmfmac loaded across s2idle when the owner's flag says so and unloads it around sleeps otherwise, or after a sleep that lost the chip; it now loads the in-tree module instead of a file in /var/lib. The NFC hook stops neard's poll loop and powers the ST54L off before a sleep, since it does not answer on I2C after a wake. Suspend means s2idle and a hung shutdown resets the phone after a minute, as on cheetah; Arch's module cleanup is held off while the package exists, because our kernels come as tarballs.
cheetah's hang-safe AoC start with the 9a's names: Trusty, the GSA, the AoC drivers with aoc_channel_dev for the sensors' USF channel, aoc-tegu.bin, then a wait for a stable service count. The unit has no wants link: the kernel's device tree does not enable the AoC, GSA and Trusty nodes yet (the bring-up turns them on with out-of-tree overlay modules), so the script would find nothing to do until it does.
… version

test/all checks what is staged, that only the two guards are enabled, that every guarded driver is blacklisted without install lines, and that no blob or address is in the package; the scripts run in a scratch root with fake modprobe, sync, busctl and friends (test/graphics-start, aoc-start, usb-rescue, sleep-hooks, charge-limit), no phone needed. The README says what the kernel command line must stop carrying for the package to take over, why the AoC start ships disabled, which firmware the phone needs, and what to take off the first 9a when moving from the bring-up.
check() runs with pkg/ beside the sources, and the scan died on it.
The first package boot on the palmtop stopped at the gauge (a stale bring-up modprobe.d file still had install max77779_battery /bin/false), and --retry then refused to run because the GPU was already loaded. A retry now continues the sequence; modprobe leaves the loaded drivers alone.
@W4HO-ham

Copy link
Copy Markdown
Contributor Author

First boots as a package on the palmtop, today 09:15 and 09:19, with a boot image whose bootargs drop the curated gate, the multi-user target, the wants and the module blacklist and keep the masks for the hand-copied units and the slot marking (the package-startup overlay in my kit). The first boot stopped at the gauge: a stale bring-up file in /etc/modprobe.d still had install max77779_battery /bin/false, and a Bluetooth drop-in pointed at the old prepare unit; both are in the README's cleanup list and are now moved aside on the phone. That boot also showed --retry refusing to continue on the same boot, fixed in a7d728f. The second boot came up clean on its own: omamobile-tegu-graphics active, "up: GPU, display, haptics, torch, gauge 90 %, Bluetooth", Hyprland through sddm, the audio bring-up active, no failed units, the marker cleared. One thing I kept from the phone rather than the package: its Wi-Fi sleep hook, since the phone still runs the out-of-tree brcmfmac build and the package's hook reloads the in-tree one; that resolves itself when the Wi-Fi series lands.

The session's uwsm/env takes the display controller's card from
/run/omamobile-tegu-display-card and hardware GL from
/run/omamobile-tegu-gpu-ready.json, both written by the curated start.
Without them the first packaged boot gave Hyprland /dev/dri/card0, the
GPU on that boot, and it aborted with no KMS device; sddm then showed its
greeter, which takes no touch. The graphics start writes both now.
@W4HO-ham

Copy link
Copy Markdown
Contributor Author

Progress on the palmtop since the first boots this morning, for the record of this package:

  • The hand copies the README's cleanup list names are retired where the package replaces them: every /etc/modprobe.d/omamobile-tegu-*.conf except the fingerprint one (which omamobile-fingerprint 0.1.12: allow LHBM on the Pixel 9a's panel too #155 moves into omamobile-fingerprint), the three /etc/udev/rules.d files (GPU always-on, torch, dma-heap), the /etc copy of 20-usb-gadget.network, the stale tegu-battery-gauge-bringup.conf, and /usr/local/bin/reboot-to and the test scripts. All moved aside under /var/lib/omamobile-tegu/before-pkg/, nothing deleted. The bring-up's 10-tegu-bringup-watchdog.conf stays for now: omamobile-tegu-audio-up still refuses to run without the 10 s runtime watchdog.
  • The boot after that (11:17 local, release 7.3.0-rc6-omamobile-tegu-s2mpg15-m1-g991042e2eff3-dirty): graphics unit active, panel connected, Hyprland up, all seven guarded drivers loaded (panthor, gs_decon, the panel, haptics, Bluetooth UART, Wi-Fi, NFC), no failed units, tools/phone-smoke 19 of 19. That is five package boots today, the last one on the package's modprobe and udev files alone.
  • One thing I noticed for a later version, not this one: on the palmtop systemd-networkd is disabled (iwd runs Wi-Fi, NetworkManager is masked) and usb0's address comes from the initramfs, so the package's 20-usb-gadget.network is dormant there; the README should say which network service the package expects.

phone-smoke: tegu

Kernel 7.3.0-rc6-omamobile-tegu-s2mpg15-m1-g991042e2eff3-dirty, tools at 34778a2, 2026-10-29T18:06Z.

Check Result Detail
boot (required) ok kernel 7.3.0-rc6-omamobile-tegu-s2mpg15-m1-g991042e2eff3-dirty, slot b, up 66s
storage guard (required) ok 62 partitions; only userdata and slot B's boot images writable
root (required) ok ext4 on userdata, 19G free
kernel health (required) ok no oops or BUG; 0 WARN, 251 error lines in dmesg
systemd units ok none failed
USB gadget (required) ok bound to 11210000.usb
display ok card1-DSI-1 connected, 1080x2424
GPU ok render node on panthor
session (required) ok Hyprland and the Omarchy shell running
lock ok PAM file present, the shell can lock (passwordPam true, locked false)
touch ok Synaptics TouchComm Touchscreen
buttons ok gpio-keys
Wi-Fi ok wlan0 on brcmfmac, link up
Bluetooth ok hci0, powered true
battery ok 90% Unknown, 31 °C
sound cards ok googleteguaocsn
sensors ok Accelerometer AmbientLight Proximity
cameras ok 3 listed by libcamera
thermal ok hottest zone 43 °C

Packages: hyprland 0.56.2-5.1, libcamera 0.7.2-4.22, mesa 1:26.2.4-1.4, omacam 0.3.3-1, omamobile-apps 0.2.0-1, omamobile-audio 0.4.1-1, omamobile-device-tegu 0.2.0-1, omamobile-fingerprint 0.1.8-1, omamobile-firstboot 0.1.0-1, omamobile-gnss 0.2.1-1, omamobile-keyring 20261013-1, omamobile-mirror 0.1.1-1, omamobile-modem 0.1.4-1, omamobile-omarchy 0.1.12-1, omamobile-owl-widgets 0.1.1-1, omamobile-sensors 0.2.1-1, omamobile-shell 0.2.36-1, omarchy 4.0.6-1

@derekross

Copy link
Copy Markdown
Owner

Thank you, @W4HO-ham. This is a big step: the 9a's bring-up moves out of hand-copied files into a package anyone can read, and it's done carefully. The graphics start writes and syncs its marker before the first modprobe, every driver it loads is blacklisted against autoload and the test checks that, the AoC start ships without a wants link, nothing marks a slot or touches devinfo, persist or Trusty's storage, and the USB rescue helper is guarded better than the Pixel 7 Pro's own (board compatible, chip identity, VBUS twice, I2C_SLAVE rather than a forced address, and a readback). Thanks also for crediting h4rkl's work.

I ran tools/pr-check (all ok) and the package's test/all twice, once in the tree (20 of 20) and once with the package directory copied out on its own (14 of 14; the comparisons with the cheetah package skip themselves cleanly). CI passes on 9084b92, and the PR merges cleanly onto today's main. Everything is under packages/omamobile-device-tegu/, so the Pixel 7 Pro is untouched.

Three things before it can merge:

  1. allow_tx for google-tg4c only. vendor/modprobe.d/omamobile-tegu-display.conf still sets options gs_dsim_cmd allow_tx=1 for every panel, and test/all requires that line and rejects any install line in modprobe.d. arm64: dts: exynos: google: zumapro-tegu: Enable the display linux-omarchy-mobile#90 was accepted on the basis that the tegu package turns it on only when the bootloader names google-tg4c (you agreed on device-tegu 0.1.1: public-kernel boot, native display and guarded touch #74 this morning). This package will also install on h4rkl's 9a, whose panel we don't know yet. Either of these works:

    • the install gs_dsim_cmd … script I suggested on device-tegu 0.1.1: public-kernel boot, native display and guarded touch #74. It ends in a real modprobe --ignore-install, so it doesn't break your guard's modprobe gs_decon the way an install … /bin/false line would; narrow the test to refuse only those;
    • or no allow_tx in modprobe.d at all. Instead, omamobile-tegu-graphics-start writes 1 to /sys/module/gs_dsim_cmd/parameters/allow_tx before modprobe gs_decon, and only when /proc/cmdline has exynos_drm.panel_name=google-tg4c. The parameter is 0644, and gs-decon decides on 120 Hz at probe, so the write has to come before gs_decon loads. That fits your scratch-root tests nicely.

    Either way, please add a test for each branch, with the command line passed in. On any other panel max_refresh=120 falls back to 60 by itself.

  2. The NFC sleep hook. omamobile-tegu-nfc stops the poll loop and then powers the adapter off. Your own AGENTS: on the 9a, NFC needs the ST54L's NFC mode on (linux-omarchy-mobile#131), not a power-off hook #137 now says "no power-off hook is needed for NFC; the stop-poll rule stands on its 35 of 35", and the power-off variant's record is one wake that needed the power key (10-28) and one that worked (10-29). Since this hook runs on your phone through every sleep, please ship the variant with the record: stop the poll loop, read Polling back, log it, and restart polling afterwards if it was on. If you want to keep the power-off step for testing, put it behind a flag file that's off by default. The header's "kernel Pixel 9a: the ST54L stops answering on I2C when idle without its NFC mode #132" should also point to issue Pixel 9a: the ST54L stops answering on I2C when idle without its NFC mode #132 for the symptom and nfc: nxp-nci: Turn the ST54L's NFC mode on after init linux-omarchy-mobile#131 for the fix.

  3. A GPU that doesn't come up shouldn't take the display with it. The unit's condition and the script's early exit both key on 1f000000.gpu, and a failed panthor load or bind calls fail, which keeps the marker and skips gs_decon. Because gs_decon is blacklisted, nothing else loads it. So a phone without mali_csffw.bin yet (a new owner before the firmware extraction) gets no display, and the marker keeps it off at every boot until someone runs --retry over SSH. A DTB with the display but no GPU (h4rkl's current tree) goes dark after upgrading from his 0.1.1. A load that returns isn't a hang; your AoC start already clears the marker for that reason. Could each step key on its own device node (the display controller for gs_decon, the GPU for panthor), the unit run when either exists, and a clean failure be logged and skipped (or clear the marker), keeping the marker only for a step that never comes back? Tests for "no GPU node" and "panthor fails" that still expect gs_decon would cover it.

Smaller things; a follow-up is fine for any of them:

  • USB rescue with the cable out. While the gadget isn't attached and the switch reads 0x00 (as the MAX77779 leaves it on unplug), the loop calls connect every grace period. The helper rightly refuses without VBUS, but both lines go to the journal. A one-minute simulation gave 28 lines, about 20,000 a day on battery. Reading power first and logging only when it acts would fix it.
  • Who reads /run/omamobile-tegu-display-card and gpu-ready.json? The commit says the session's uwsm/env, but that file isn't in the repository, so a second owner would hit the card0 failure you describe. Please ship the reader, or say in the README where it comes from.
  • The smoke report. It lists Wi-Fi and NFC as loaded, but the package blacklists both and loads neither. Could you say what loaded them on that boot? The kernel there is your private tree, and that's fine for what the package does. The first boot on the public kernel stack, once omamobile-shell: the home widgets collapse in landscape #85, device-lynx 0.2.0: the device package, the Arch root and the Wi-Fi plan #88 and Touch batch 4: landscape layouts for the home, call card, quick settings, drawer and recents (omamobile-shell 0.2.30) #90 are in, is still to come.
  • AoC README vs code. The README says a failed AoC start keeps the marker; the code and its test clear it. The script's header also cites docs/HANDOFF.md, which isn't in the repository.
  • Reset after a hang. The README keeps s3c2410_wdt.tmr_atboot=1 in your bootargs. The public tegu DTS has panic=10 but not that, so on it a hang that doesn't panic ends at the power key. One line saying so would help.
  • Bluetooth. It comes up powered at every boot, as on the Pixel 7 Pro. Worth one line in the README.
  • Small cleanups. i2c-tools isn't used any more. I'll write the squash message by hand, since the first commit's "0.1.3" never shipped.
  • The module-cleanup drop-in. It's fine here for now. I still owe you the read on my phone of whether it belongs in a shared place.

How this and #74 fit together: I'd like this to be the 9a's device package. Once it's in, #74's package part is superseded. h4rkl's phone notes and kernel.config belong in a device/tegu pull request, and his touch marker can come as a small follow-up on top of this if his phone still needs it. I've said the same on #74.

Thanks again. It's good to see the 9a this far along.

…h it; allow_tx for google-tg4c only

The graphics start keyed everything on the GPU node, and a panthor load or bind that returned and failed kept the marker and skipped gs_decon. Since gs_decon is blacklisted, nothing else loads it: a phone without mali_csffw.bin yet got no display, and the marker kept it off at every boot until --retry over SSH; a DTB with the display but no GPU went dark. Now each step keys on its own device node (1f000000.gpu for panthor, 19470000.display-controller for gs_decon, the device-tree nodes for the rest), the unit's two ConditionPathExists=| lines run it when either exists, and a load or bind that returns and fails is logged and skipped while the rest still loads; the marker is cleared at the end as after a good start, and the unit ends failed. Only a step that never comes back keeps the marker, which is what it is for. A torch that comes up lit is turned off and counted as failed instead of stopping the start. The gpu-ready file is written only when the GPU came up, so the session falls back to software GL.

The panel's DSI commands (gs_dsim_cmd.allow_tx) leave modprobe.d, where they applied to every panel: the start turns the parameter on, before gs_decon loads (gs-decon decides on 120 Hz at probe), only when the command line says exynos_drm.panel_name=google-tg4c, the panel the palmtop's bring-up tested. On another panel the display stays read-only at 60 Hz. gs_dsim_cmd is loaded first so the parameter file exists; it is not guarded, since it autoloads from its node ahead of the start and sends nothing until allow_tx is on.

Tests: google-tg4c reads allow_tx 1 when gs_decon loads, another panel and no panel name read 0, a failed gs_decon or panthor still loads the rest and clears the marker, no GPU node still loads gs_decon, no display node still loads panthor, a hang marker still keeps everything off, and the unit's two conditions and the modprobe.d file are checked.
…f step behind a flag file

The hook stopped neard's poll loop and then powered the adapter off before every sleep. The variant with the record is the stop-poll one: polling through s2idle reset the palmtop (2026-10-27), and with the poll loop stopped first 35 of 35 cycles woke that day, while the power-off variant has one wake that needed the power key and one that worked. So the hook now stops the poll loop, reads Polling back and logs it, and starts the loop again after the wake if it was on. Powering the adapter off, the workaround for a controller that did not answer on I2C after a wake, runs only while /etc/omamobile/nfc-power-off-across-sleep exists (off by default), and then the adapter is powered on again after the wake. The header points to issue derekross#132 for the symptom and linux-omarchy-mobile derekross#131 for the fix.

Tests: the default stops and restarts polling with the adapter left powered and both readings logged, an idle adapter is logged and not touched, and the flag file brings the power-off and the power-on back.
…and logs only when it acts

With the cable out the gadget is not configured and the switch reads 0x00, as the MAX77779 leaves it on unplug, so the loop called connect every grace period: the helper refused without VBUS, and both lines went to the journal, about 20,000 a day on battery. The loop now reads the power register first and reads the switch and writes only while VBUS is present, so a day on battery costs one register read per grace period and no journal lines.

Tests: the cable out costs one power read and no line beyond the watch line; a closed switch is read and not logged.
…and gpu-ready files

The graphics start writes /run/omamobile-tegu-display-card and /run/omamobile-tegu-gpu-ready.json for the session, but their reader lived in the palmtop's own ~/.config/uwsm/env, so a second owner would have hit the card0 failure. The package now ships the reading lines as /usr/share/uwsm/env.d/omamobile-tegu-graphics, which uwsm sources (its env loader walks XDG_DATA_DIRS too, with a POSIX shell; a user's ~/.config/uwsm/env still runs after it): AQ_DRM_DEVICES from the card file when it names a character device, hardware GL when the gpu-ready file exists and the render node is there, llvmpipe otherwise, so a phone whose GPU did not come up still gets a desktop.

Tests: the file parses as POSIX shell, is staged, and reads both files.
…oth and the smoke report

The README said a failed AoC start keeps the marker; the code and its test clear it, since a load that returned is not a hang. It now says so. The AoC start's header cited docs/HANDOFF.md, which is not in the repository: it now points to the palmtop's bring-up script and the 2026-10-26 entry in device/tegu/NOTES.md. Two lines added: s3c2410_wdt.tmr_atboot=1 in the bootargs is what resets the palmtop after a hang, while the public tegu DTS has panic=10 only, so there a hang that does not panic ends at the power key; and Bluetooth comes up powered at every boot, as on the Pixel 7 Pro. One more says why a smoke report from the palmtop lists Wi-Fi and NFC as loaded beside this package: the bring-up's omamobile-tegu-audio-up, still running there, loads them, not the package.
Nothing in the package runs i2cget, i2cset or i2cdetect any more: the USB rescue goes through tegu-tcpc-switch, which uses /dev/i2c-* directly, and the unit loads i2c-dev with kmod.
… panel's id

The bootloader names the panel as exynos_drm.panel_name=google-tg4c.2d008004 on the palmtop, the id appended, so the exact match never allowed the DSI commands and the first boot of this round came up at 60 Hz with the warning from gs-decon. The match now takes google-tg4c with or without a suffix, and the test has the bootloader's form.
@W4HO-ham

Copy link
Copy Markdown
Contributor Author

Thanks for the careful read. All of it is on the branch now, head ffbf958, one commit per point, tests passing at each commit, and two boots of the palmtop on it (below).

  1. allow_tx is out of modprobe.d. The graphics start loads gs_dsim_cmd, writes 1 to its allow_tx parameter only when the command line has exynos_drm.panel_name=google-tg4c, and only then loads gs_decon. Tests pass the command line in: google-tg4c reads 1 when gs_decon loads, another panel or no panel name reads 0. One thing the first boot taught me: the bootloader appends the panel's id (exynos_drm.panel_name=google-tg4c.2d008004 on the palmtop), so an exact match came up at 60 Hz with gs-decon's warning; the match now takes the name with or without that suffix, and the test has the bootloader's form. On another panel allow_tx stays 0 and max_refresh=120 falls back to 60 by itself, as you said.
  2. The NFC hook ships the stop-poll variant: stop the poll loop, read Polling back, log it, restart after the wake if it was on. The power-off step runs only while /etc/omamobile/nfc-power-off-across-sleep exists, off by default and documented in the README. The header points to issue Pixel 9a: the ST54L stops answering on I2C when idle without its NFC mode #132 for the symptom and nfc: nxp-nci: Turn the ST54L's NFC mode on after init linux-omarchy-mobile#131 for the fix. A scratch-root test with busctl stubbed covers the default, the idle adapter, the flag file and no neard.
  3. Each step keys on its own node now (the display controller for gs_decon, the GPU for panthor), the unit runs when either exists (two ConditionPathExists=| lines), and a load or bind that returns and fails is logged and skipped while the rest loads; the marker is cleared, and only a step that never comes back keeps it. Tests for "no GPU node" and "panthor fails" both expect gs_decon loaded; "gs_decon fails" loads the rest. A torch that comes up lit is turned off and counted as failed rather than keeping the marker, by the same rule.
  4. The USB rescue reads the power register first and reads the switch and logs only with VBUS present; the cable out costs one register read per grace period and no journal lines.
  5. The reader of the two /run files ships as /usr/share/uwsm/env.d/omamobile-tegu-graphics, which uwsm sources from the XDG data dirs with a POSIX shell before the user's own env file. It is the two reading blocks from my phone's file and nothing else. I trimmed the palmtop's ~/.config/uwsm/env to what the package doesn't provide (OMARCHY_PATH, AQ_NO_MODIFIERS, LIBSEAT_BACKEND) and rebooted: Hyprland's environment has AQ_DRM_DEVICES=/dev/dri/card1 and LIBGL_ALWAYS_SOFTWARE=0 from the package's file.
  6. Wi-Fi and NFC in the smoke report were loaded by the bring-up's omamobile-tegu-audio-up, which still runs on my phone beside the package; the README says so now. The package blacklists both and loads neither.
  7. README matches the AoC code (a returned failure clears the marker), and the script header cites device/tegu/NOTES.md instead of the missing HANDOFF file.
  8. One line each on s3c2410_wdt.tmr_atboot=1 (the public DTS has panic=10 only, so there a hang that doesn't panic ends at the power key) and on Bluetooth coming up powered at every boot.
  9. i2c-tools is out of the dependencies.

The boot on ffbf958 (12:40 local): panel google-tg4c.2d008004: DSI commands allowed (gs_dsim_cmd.allow_tx=1), then gs-decon 120 Hz at 11.5 s, up: GPU, display, haptics, torch, gauge 90 %, Bluetooth, no failed units, smoke 19 of 19 below. On #74 and the follow-ups, your plan suits me.

phone-smoke: tegu

Kernel 7.3.0-rc6-omamobile-tegu-s2mpg15-m1-g991042e2eff3-dirty, tools at d3b7c07, 2026-10-29T19:29Z.

Check Result Detail
boot (required) ok kernel 7.3.0-rc6-omamobile-tegu-s2mpg15-m1-g991042e2eff3-dirty, slot b, up 71s
storage guard (required) ok 62 partitions; only userdata and slot B's boot images writable
root (required) ok ext4 on userdata, 19G free
kernel health (required) ok no oops or BUG; 0 WARN, 277 error lines in dmesg
systemd units ok none failed
USB gadget (required) ok bound to 11210000.usb
display ok card1-DSI-1 connected, 1080x2424
GPU ok render node on panthor
session (required) ok Hyprland and the Omarchy shell running
lock ok PAM file present, the shell can lock (passwordPam true, locked false)
touch ok Synaptics TouchComm Touchscreen
buttons ok gpio-keys
Wi-Fi ok wlan0 on brcmfmac, link up
Bluetooth ok hci0, powered true
battery ok 90% Unknown, 32 °C
sound cards ok googleteguaocsn
sensors ok Accelerometer AmbientLight Proximity
cameras ok 3 listed by libcamera
thermal ok hottest zone 44 °C

Packages: hyprland 0.56.2-5.1, libcamera 0.7.2-4.22, mesa 1:26.2.4-1.4, omacam 0.3.3-1, omamobile-apps 0.2.0-1, omamobile-audio 0.4.1-1, omamobile-device-tegu 0.2.0-1, omamobile-fingerprint 0.1.8-1, omamobile-firstboot 0.1.0-1, omamobile-gnss 0.2.1-1, omamobile-keyring 20261013-1, omamobile-mirror 0.1.1-1, omamobile-modem 0.1.4-1, omamobile-omarchy 0.1.12-1, omamobile-owl-widgets 0.1.1-1, omamobile-sensors 0.2.1-1, omamobile-shell 0.2.36-1, omarchy 4.0.6-1

@derekross
derekross merged commit 537b323 into derekross:main Oct 29, 2026
2 checks passed
W4HO-ham added a commit to W4HO-ham/omarchy-mobile that referenced this pull request Oct 30, 2026
… every spot

The NOTES entry no longer says the systemd path has woken every time or that the module loads at boot; a 2026-10-30 bullet carries the cable-out no-wake, the disabled unit, the cable-in wake and the afternoon's 260 mA. The status line names the three no-wakes and attended sleeps, the S1 repeat and Next say attended, the AGENTS count is seven longer systemd wakes, the nightly auto-sleep without the module is said to be fine, and the NFC hook is in the repository since derekross#152.
derekross added a commit that referenced this pull request Oct 31, 2026
… rounds

L-348 to L-361: shared drivers judged against every int-line user (#150),
board pins against every stock user (#151), ownership flags under the
consumer's lock (#152), /chosen children and Google's panel constants
(#154), same-day notes PRs on one device (#208/#209), merge simulations for
DEVICES rows, ours included (#165), stacked PRs that merged main (#115/#117),
titles behind renumbered versions, a contributor merge that dropped the PR
(#99), smoke package lists as provenance and "owner-authorized" writes
(#200), promised fixes and named tags checked on the remote (#153/#157/#158),
and file swaps into old packages (#193). C-23 (usbc-deadman's device scope,
kernel #107) and C-24 (BNEP in a lynx-only fragment, #98).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
h4rkl added a commit to h4rkl/omandroid that referenced this pull request Nov 1, 2026
derekross#152 landed omamobile-device-tegu 0.2.0, which supersedes this branch's
package, so the package and tests/all come from main unchanged. Following
the review on derekross#74, kernel.sources and prepare-kernel are dropped; the
branch keeps the second phone's notes and device/tegu/kernel.config.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
h4rkl added a commit to h4rkl/omandroid that referenced this pull request Nov 1, 2026
Following the review on derekross#74, now that derekross#152 carries the package: the second
phone's results go into NOTES as one dated entry in newest-first order, and
device/tegu/kernel.config joins the repository so the published kernel
branch plus this fragment is the recipe.

The entry now states slot A's current state once, at the top: stock's
five boot images match the official October images and its recovery boots,
which supersedes the earlier "not a qualified rollback" line. It also notes
that reboot-to bootloader comes back to a normal boot on this phone, next
to the button combination.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
robertzas pushed a commit to robertzas/omarchy-mobile that referenced this pull request Nov 14, 2026
…rekross#152)

The Pixel 9a's (tegu) bring-up moves from hand-copied files into a
device package, on in-tree drivers only. Built on h4rkl's derekross#74.

At boot (vendor wants links), two units:
- omamobile-tegu-graphics: loads the GPU (panthor), display (gs_decon),
  haptics, torch, battery gauge and Bluetooth UART, each blacklisted
  against autoload, after a synced hang marker. Each step keys on its
  own node; a load or bind that returns and fails is logged and skipped
  (a GPU without mali_csffw.bin keeps the display), and only a step that
  never returns keeps the marker, so the next boot leaves them off until
  --retry. gs_dsim_cmd.allow_tx (DSI commands, 120 Hz) is turned on
  before gs_decon only when the bootloader names the google-tg4c panel
  (with or without its id suffix); any other panel stays read-only at
  60 Hz. The session's side ships as /usr/share/uwsm/env.d (KMS card,
  hardware GL only when the GPU came up).
- omamobile-tegu-usb-rescue: closes the MAX77779's USB data switch after
  a replug while no Type-C driver owns it, through a C helper that checks
  the board, the chip's identity and VBUS (twice), never forces an I2C
  address, and reads back its one write; it reads VBUS first, so the
  cable out costs a register read and no log lines.

Also: the Bluetooth address from the bootloader's DT, a charge limit
from /etc/omamobile/charge-limit, s2idle only, the reboot watchdog (no
runtime watchdog), the storage rule, usb0 as a fallback route, Arch's
module cleanup held off, and sleep hooks: Wi-Fi kept or reloaded as
flagged; NFC's poll loop stopped before a sleep and restarted after
(powering the ST54L off only behind
/etc/omamobile/nfc-power-off-across-sleep, off by default). The AoC
start ships without a wants link until a kernel enables its nodes.

Nothing marks a slot or touches devinfo, persist, the RPMB or Trusty's
storage. Tested on the owner's 9a (private kernel 7.3.0-rc6, five
package boots on 10-29, phone-smoke 19/19 on ffbf958); test/all runs
every script in a scratch root.

Co-authored-by: W4HO-ham <87742609+W4HO-ham@users.noreply.github.com>
Co-authored-by: h4rkl <89045610+h4rkl@users.noreply.github.com>
robertzas pushed a commit to robertzas/omarchy-mobile that referenced this pull request Nov 14, 2026
… rounds

L-348 to L-361: shared drivers judged against every int-line user (derekross#150),
board pins against every stock user (derekross#151), ownership flags under the
consumer's lock (derekross#152), /chosen children and Google's panel constants
(derekross#154), same-day notes PRs on one device (derekross#208/derekross#209), merge simulations for
DEVICES rows, ours included (derekross#165), stacked PRs that merged main (derekross#115/derekross#117),
titles behind renumbered versions, a contributor merge that dropped the PR
(derekross#99), smoke package lists as provenance and "owner-authorized" writes
(derekross#200), promised fixes and named tags checked on the remote (derekross#153/derekross#157/derekross#158),
and file swaps into old packages (derekross#193). C-23 (usbc-deadman's device scope,
kernel derekross#107) and C-24 (BNEP in a lynx-only fragment, derekross#98).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants