[OneDev #27] peripherals: trim Frida 437-write replay to minimum activation subset #12
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from OneDev issue #27 (id 35527)
Original project: internal-joseph
Original state: Open
Original submitterId: 5
Original submitDate: 2026-05-05T15:31:36.771+00:00
Original lastActivity: {'date': '2026-05-05T15:31:36.771+00:00', 'description': 'opened', 'userId': 5}
Original fields:
Context
peripherals/scripts/g915x_open_writes_frida.txtis a literal 437-write replay of what G HUB does during init. It works (vendetta achieved 2026-05-05), but most of those writes are RGB streaming, profile-data paging, periodic state polling, etc. — NOT required to put the keyboard in event-emit mode.Goal
Find the smallest subset that still activates
feat=0x1B05event-emit, then ship that as the canonical sequence. Faster startup, less surface area for breakage on G HUB updates.Approach
feat=00ROOT lookups for0x1B05,0x8101,0x8051feat=0c fn=8LONG (14 calls) — the v4 missing piecefeat=0dcookie + setFKCState handshake (5 calls per FKC.start trace)feat=0eLogiModifiers configfeat=06RGB writesfeat=0c fn=cmemory paging reads (those are reads disguised as writes — probably state queries)feat=07PER_KEY_LIGHTING setupDone when
Files
peripherals/scripts/g915x_open_writes_frida.txt(current 437)peripherals/scripts/g915x_open.py(replay tool)peripherals/lghub-agent-handshake-findings-v4.md(Ghidra-derived call list)