Commit Graph
134 Commits
Author SHA1 Message Date
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
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 049824f489 Fix typo in a console log 2026-07-04 14:48:25 -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 971b04f677 Update CLAUDE.md documentation 2026-07-04 10:57:27 -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 6632ada3c3 Update image-sender to include a mode number 2026-06-28 18:08:54 -07:00
James Babcock 8f28ede647 Send a single large image rather than 4 tiles 2026-06-23 10:49:20 -07:00
James Babcock 401cf6d4c1 Support sending zlib-compressed images to modified firmware 2026-06-23 00:03:06 -07:00
James Babcock 7857e6337a Try to connect directly to the ring (requires ring to be unpaired) 2026-06-09 19:05:34 -07:00
James Babcock ec924f7909 Handle dismissed notifications 2026-06-07 11:57:13 -07:00
James Babcock 958861c24b Refactor 2026-06-01 15:53:14 -07:00
James Babcock 5da3b48c7d Refactor settings 2026-06-01 15:35:35 -07:00
James Babcock d67afcbfdb Refactor 2026-06-01 13:35:58 -07:00
James Babcock 8d99ea97b5 Refactor dashboard cards 2026-06-01 12:45:27 -07:00
James Babcock 7afb98f7f7 Refactor dashboard plugins 2026-06-01 11:48:36 -07:00
James Babcock 964cd11785 Refactor font handling; add image-compression estimation debug option 2026-06-01 11:36:46 -07:00
James Babcock 5a92637537 Turn on screen when Android notifications are received 2026-06-01 00:40:55 -07:00