250 Commits
Author SHA1 Message Date
James Babcock 8cdee2a701 HTTP requests identify Faceclaw in their user-agent string 2026-08-20 11:32:50 -07:00
James Babcock 33b669ed41 Remove a stray merge conflict marker 2026-08-20 09:07:15 -07:00
James Babcock 0c0fc7d7f6 Merge branch 'evenhub-compatibility' 2026-08-20 08:46:47 -07:00
James Babcock f6035ea9ec Performance optimizations 2026-08-20 02:46:03 -07:00
James Babcock 96842ceb23 Use TTF fonts throughout the UI; also add some more functions to app extension API 2026-08-19 19:35:24 -07:00
James Babcock 90603b5aa4 Use the texture cache and builtin-font drawing firmware extensions 2026-08-19 10:36:16 -07:00
James Babcock 83e0fa919f Use the texture cache to avoid resending icons and font glyphs 2026-08-18 23:39:21 -07:00
James Babcock 526a236193 Display link to EvenHub apps' privacy policy on first run 2026-08-16 22:33:04 -07:00
James Babcock 6a9743d27c Fix an overly-strict validation firmware validatio
The flasher was validating that there are exactly 5 firmware segments
(which was true of 2.2.4 but not 2.2.6), causing it to reject the stock
firmware in the uninstall flow.

(This doesn't actually prevent uninstalling as you can still use the
stock Android app's OTA updater.)
2026-08-16 21:01:21 -07:00
James Babcock dcf35dd606 Fix issue with EvenHub apps freezing when not foregrounded on the phone 2026-08-16 21:01:20 -07:00
James Babcock b6785e5a5a Send cleanup messages on disconnect 2026-08-16 21:01:20 -07:00
James Babcock 5cd61da362 Virtualize timers in app webviews 2026-08-16 21:01:20 -07:00
James Babcock 1d00849eb2 Add font viewer 2026-08-16 21:01:17 -07:00
James Babcock b9f48c8e16 Allow backgrounding EvenHub apps 2026-08-16 20:59:42 -07:00
James Babcock 812c3f9b4a Add font viewer 2026-08-13 00:38:19 -07:00
James Babcock 5d29d91133 First-pass EvenHub compatibility layer 2026-08-11 22:52:32 -07:00
James Babcock 6f45888627 Add support for a local model (Qwen3) 2026-08-09 23:52:21 -07:00
James Babcock 9ade3503a0 Add a resource-usage monitor to debug app; fix excessive memory-usage from screen preview when not focused 2026-08-07 02:21:24 -07:00
James Babcock 2cfe511efb Ensure magnetometer compass is off when in suspend/sleep
<details>
<summary>Prompts Used</summary>
We recently added a magnetometer/compass app. I notice that, when I left it open, battery life was shorter (similar to what it was before we implemented screen-off powersave mode support). Let's ensure that we turn off magnetometer option off when turning the screen off.
</details>
2026-08-04 20:35:55 -07:00
James Babcock ba81e46624 Add Soniox as an API speech-to-text option 2026-08-04 20:15:39 -07:00
James Babcock 852626e950 Add a compass using the G2's magnetometer 2026-08-04 02:09:32 -07:00
James Babcock 1ec6b3ff83 Crop screenshots 2026-08-02 19:36:16 -07:00
James Babcock 960e2fd6e1 Add a lock screen, controlled by wear-detection 2026-08-02 15:38:07 -07:00
James Babcock 4302a506d4 On-device voice model: Normalize before input, place boundary cuts at silence
These changes hopefully improve transcription accuracy with the
on-device model
2026-08-02 02:43:53 -07:00
James Babcock 02c09ef889 Fix broken wakeword handling 2026-08-01 14:37:30 -07:00
James Babcock 6d42f0e65e Expand screen resolution to the full 640x480 2026-07-31 12:57:10 -07:00
James Babcock 818f33ce33 Increase screen size a little bit past 576x288, to exercise the corresponding new firmware 2026-07-30 00:45:31 -07:00
James Babcock e96011ef47 Remove remnants of BMP format from FaceclawBleCommunicator etc 2026-07-28 11:44:28 -07:00
James Babcock b738ce4bb2 Add screen-recording option 2026-07-28 10:16:44 -07:00
James Babcock dcf68cb09a Fix an issue in the on-device transcription that would cause it to break on longer inputs
Thanks. Let's move the Microphone button to the top-right position in the 3x3 arrangement.
2026-07-26 18:43:33 -07:00
James Babcock bde70ac380 Add a Navigate app (requires a Mapbox API token) 2026-07-25 23:32:01 -07:00
James Babcock 3c2f53ed75 Rename the Teleprompt app to Files, improve its navigation and add support for images 2026-07-25 21:33:58 -07:00
James Babcock d2c987d48a Add media-browser to Music app 2026-07-24 10:02:03 -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 a5c6f18795 Add silent-mode and low-battery indicators to Android preview form 2026-07-20 12:02:20 -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 161dbd104e Add wakeword support 2026-07-19 20:45:51 -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 1550c0ca32 Add support for voice-input refinement prompts, and other improvements to Temrinal 2026-07-14 15:57:14 -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 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 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