Commit Graph
104 Commits
Author SHA1 Message Date
James Babcock 8cc29acaea Add scripts/update_deltas.sh for updating in-app firmware updater to latest custom firmware versions 2026-07-25 01:20:08 -07:00
James Babcock fe205c0164 Add app tool registration for voice assistant; voice assistant can read and send to terminals 2026-07-25 01:19:07 -07:00
James Babcock 0aeb24ed00 Implement a basic voice assistant 2026-07-25 00:44:04 -07:00
James Babcock d2c987d48a Add media-browser to Music app 2026-07-24 10:02:03 -07:00
James Babcock d42e11e2a5 Fix scrolling in Terminal 2026-07-24 01:52:12 -07:00
James Babcock 8ffccad7f0 Use extended CFW options for sleep/wake handling to wake from sleep without a flash of dashboard 2026-07-23 23:54:56 -07:00
James Babcock e5649e9782 Add experimental option to end EvenHub session when the screen is off for power saving 2026-07-23 18:40:48 -07:00
James Babcock 7455775390 Add brightness setting 2026-07-23 10:48:35 -07:00
James Babcock afc05d6a19 Redesign handling of long-press gesture and context menus 2026-07-22 22:45:14 -07:00
James Babcock 3452945322 Voice input suspends the screen-off timer; add menu to Nightscout; fix defocused highlight style in Terminal menu 2026-07-21 09:40:43 -07:00
James Babcock 026a8ed439 UI refinements to Music app 2026-07-20 18:34:49 -07:00
James Babcock a5c6f18795 Add silent-mode and low-battery indicators to Android preview form 2026-07-20 12:02:20 -07:00
James Babcock bbd3bbcf13 Updated embedded firwmare patches from g2flash 2026-07-20 10:57:22 -07:00
James Babcock 5c73ba2a4d Add Timer, Weather apps; build out UI of music app; add wakeword action setting 2026-07-20 02:04:21 -07:00
James Babcock 008f2277ca Add OpenAI Whisper Realtime integration 2026-07-20 00:19:31 -07:00
James Babcock 161dbd104e Add wakeword support 2026-07-19 20:45:51 -07:00
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 9b05c20c1b Add RLE to compressed image format 2026-07-17 01:21:51 -07:00
James Babcock 89ff59ca6b Quantize rendered icons for better screen-image compressibility 2026-07-16 13:50:06 -07:00
James Babcock 0d4905ff28 Multi-rect optimization and pipelining 2026-07-15 12:39:19 -07:00
James Babcock ddec2a7b39 Add scripts for pulling/pushing configs, frame timings; update ackrc 2026-07-14 15:58:12 -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 915aa78653 Fixed doubled border on terminal app 2026-07-13 03:11:22 -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 3cdc5ba262 Fix notifications app unfocused styling 2026-07-11 13:31:50 -07:00
James Babcock c71dbbc9f2 Notifications app checks for and requests notifications access 2026-07-10 23:44:17 -07:00
James Babcock 17cc0bba83 Repaint top bar on settings changes; add 12/24-hour time setting 2026-07-10 23:39:36 -07:00
James Babcock d97429a21a Autoconnect on reaching main screen; play sound effect on first launch 2026-07-10 23:24: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 2c04d99dfb Change Nightscout icon, app-switcher sidebar highlight style 2026-07-08 13:51:59 -07:00
James Babcock 3a10c9b13e Update README to reflect current status of the project 2026-07-08 11:00:36 -07:00
James Babcock 22c779553c Sidebar uses icons for apps 2026-07-08 10:45:56 -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 c83448873e Add a simple worker thread to validate worker-thread setup 2026-07-06 14:45:28 -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 2bc53b8c0e Debug recording 2026-07-05 23:17:46 -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 7b8fc8f37f Add long-press and long-press-release events 2026-07-05 01:19:20 -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