Commit Graph
41 Commits
Author SHA1 Message Date
James Babcock 4401a4a416 Add a brief delay between terminal voice input text and the trailing newline, so that claude code doesn't interpret the newline as part of a paste 2026-07-19 18:24:22 -07:00
James Babcock 1550c0ca32 Add support for voice-input refinement prompts, and other improvements to Temrinal 2026-07-14 15:57:14 -07:00
James Babcock abfec1b372 Terminal supports g2mirror scrollback 2026-07-13 01:58:31 -07:00
James Babcock 7ca3735c23 Add voice input support to terminal 2026-07-13 00:27:03 -07:00
James Babcock b2c90bc043 Performance optimizations; add TerminusV variable-width font 2026-07-11 23:41:57 -07:00
James Babcock ff447d5161 Add calendar app and accelerometer demo 2026-07-11 14:15:10 -07:00
James Babcock c71dbbc9f2 Notifications app checks for and requests notifications access 2026-07-10 23:44:17 -07:00
James Babcock ea80d05607 Detect custom firmware during onboarding; add uninstall option 2026-07-10 23:08:15 -07:00
James Babcock cb78841a9d Add (NOT YET TESTED) firmware flashing/OTA-updating
We're going to extend the Faceclaw app onboarding process to include checking for and installing the custom firmware (currently handled externally with the scripts in ../g2flash). We'll add script scripts/resetOnboarding.sh that uses adb to reset the app on the attached phone to default/pre-onboarding state for testing. The onboarding process will explain that it's only compatible with custom firmware, with options to either skip and try out the app using only the phone-screen preview (instead of pairing with glasses), or proceed with flashing.
If the user proceeds with flashing, we first connect to the glasses (with the existing mechanism), and display an on-glasses confirmation prompt. Because this prompt needs compatibility with stock firmware, it will use a different subset of the BLE protocol than the main app does (in particular, no image containers), so we'll have a separate bluetooth communication class rather than extending FaceclawBleCommunicator. We'll send an init message to start a Hub app, initialize a layout with a text container and a list, populate the text container with a message saying that flashing will void warranty and the list with No and Yes, set up a keepalive/heartbeat message timer, and wait for a menu selection. (Refer to ../g2-kit-unofficial/ble/docs and ../g2-kit-unofficial/ble/gen for protocol details). If the prompt is approved, we go to the flashing screen.
On the flashing screen, we first download the official firmware, apply patches to it, and check that it has the expected result hash. See ../g2flash/build_cfw.sh and ../g2flash/apply_patches.py for details.
Let's implement everything prior to the update itself now, ie, the on-device confirmation prompt, and downloading, patching and verifying the modded firmware.
scripts/resetOnboarding.sh is meant to reset a pref so that Faceclaw reruns its first-run onboarding on next launch, but fails with "No onboarding keys were set. App is already in pre-onboarding state." (And onboarding doesn't trigger on next launch)
Thanks. I tested the on-glasses prompt on real hardware and it worked as expected. Next up, let's port the flashing procedure itself.
One detail of the flashing procedure worth noting: the two lenses get updated separately, and at the end of updating either lens, both lenses get rebooted, creating a brief period when neither is reachable, so the timeout to look for the second lens should not be too short.
2026-07-10 12:07:15 -07:00
James Babcock d0c30f9ca9 Port Transcribe to new UI; remove legacy dashboard 2026-07-07 22:11:28 -07:00
James Babcock 56d0f8c351 Sound effects demo, and music controller 2026-07-07 21:21:02 -07:00
James Babcock 5f82981b92 Continued UI redesign 2026-07-07 12:06:11 -07:00
James Babcock 68ab599856 Migrate things into new UI design 2026-07-07 00:52:47 -07:00
James Babcock 1133f952e9 App-switchign UI: Sidebar, top bar, launcher 2026-07-06 20:06:29 -07:00
James Babcock 1533c550b4 Enable incremental frames; add config setting for controlling custom firmware debug flags 2026-07-06 12:42:58 -07:00
James Babcock 7fcab243a3 Debugged ElevenLabs STT; added debug-recording option 2026-07-05 21:00:40 -07:00
James Babcock 097d40efb2 Work on voice input 2026-07-05 20:59:53 -07:00
James Babcock 4b73cbff35 Add charging mode 2026-07-05 00:35:03 -07:00
James Babcock 875956e140 Background battery permission; incremental images 2026-07-04 19:57:41 -07:00
James Babcock fab6f6689e Terminal feature; raw screenshots. 2026-07-04 17:38:53 -07:00
James Babcock d2a942f5a3 UI improvements
Menus can paginate and be taller than quarter-screen. Text config
setting editor selects all on enter, exits on confirm. Notification
icons are displayed on the notifications-list and single-notification
pages.
2026-07-04 15:02:09 -07:00
James Babcock 3532b1f437 Compatibility check; notification icon fixes
* Display a warning if paired glasses do not have a compatible custo firmware
 * Fix certain notification icons being missing on system card
 * Rescale large notification icons with proper sampling; don't send unnecessary
2026-07-04 14:27:25 -07:00
James Babcock c9fe92dc1c Massively improve framerate 2026-07-04 12:29:50 -07:00
James Babcock 630b511d32 Add a performance tracing system (FrameTimings) and fix a big that would cause 6-second stalls 2026-07-04 12:20:13 -07:00
James Babcock acda9cdd7e Add sound demo to Faceclaw; use CFW mode 6 (headerless 4bpp) for images 2026-07-03 23:32:46 -07:00
James Babcock 116e8891e7 Add a wake-lock when the G2 screen is on 2026-07-03 13:03:03 -07:00
James Babcock 8f28ede647 Send a single large image rather than 4 tiles 2026-06-23 10:49:20 -07:00
James Babcock 5da3b48c7d Refactor settings 2026-06-01 15:35:35 -07:00
James Babcock 7afb98f7f7 Refactor dashboard plugins 2026-06-01 11:48:36 -07:00
James Babcock 5a92637537 Turn on screen when Android notifications are received 2026-06-01 00:40:55 -07:00
James Babcock 8d6fe60c79 Notifications menu; UI refinements; teleprompt by sharing a text file 2026-05-17 17:05:54 -07:00
James Babcock bcb162ecaf Refactor 2026-05-12 12:41:52 -07:00
James Babcock e853f0ea5d Refactoring 2026-05-06 16:12:34 -07:00
James Babcock 05775a927c Improve connection resiliency
Remove some spurious locking around NativeScript/Java interfaces that
were added while debugging something that turned out to be unrelated.
Don't send messages to the left lens while a heartbeat is pending on the
right lens.
2026-05-02 00:48:08 -07:00
James Babcock bcc30545ad Add Transcribe screen 2026-05-01 15:00:53 -07:00
James Babcock 9996b09e9c First-pass G2 microphone streaming support 2026-04-30 20:00:16 -07:00
James Babcock 7cbcbf7c90 More conservating locking around Android bluetooth APIs, to try to address SIGSEGV seen on Galaxy Tab A9+ 2026-04-29 10:12:00 -07:00
James Babcock aa0b1d6874 Connection reliability and thread safety fixes 2026-04-28 02:22:11 -07:00
James Babcock 9fbb985db6 Add initial voice-command support
Adds a single wakeword-style voice command, "screen on", and deals with
all the wiring and permissions that entails. Currently this only
supports using the phone's mic (or a bluetooth headset), not the G2 mic.
2026-04-27 16:45:09 -07:00
James Babcock b5273715ae UI changes, system status icons 2026-04-27 03:05:53 -07:00
James Babcock 6e442e7faa Initial publishable release 2026-04-26 23:07:54 -07:00