Repository navigation
Description
Product fit
Primary loop layer: Capture. This would let a Bee owner supply their own wearable audio to Omi's existing transcription and memory pipeline. This issue asks for feedback on integration scope, not a change to Omi's firmware compatibility warning.
Problem and prior art
Omi already has a Bee connector. PR #5744 added a warning that Bee firmware >=0.6.1 uses encrypted audio that Omi cannot process.
I tested a different path on my own Android device: copy completed audio frames inside the official Bee app, after its decryption/reassembly path and before upload. This supplies usable AAC without implementing Bee's pairing or key provisioning in Omi.
Verified capture results
Environment: rooted Android 16, official Bee Android app 1.0.3 (versionCode 76), Frida injector 17.22.2 with the prebuilt Java bridge from frida-tools 14.11.0. Earlier static APK analysis used versionCode 74; the same method resolved in the runtime test on 76. The wearable firmware version was not recorded in this test, so this is not a verified firmware-version compatibility claim.
Capture boundary:
com.bee.background.BeeStreamer.sendAudio(
byte[] frame,
String deviceName,
String captureId,
com.bee.background.protocols.CodecType codec
)The hook copies the frame and calls the exact original overload. The tested output was AAC-LC with ADTS headers, 16 kHz mono. Appending complete frames produced a playable file.
The final 30-second test produced 468 frames / 29,904 bytes. Frame timing gives 29.952 seconds. FFprobe recognized the stream, and FFmpeg decoded the complete file with error-on-decode-failure enabled.
There was a real lifecycle problem: abruptly detaching Frida intermittently crashed Bee's audio thread. Restoring the original Java method first, then allowing five seconds before detachment, passed three five-second tests and one 30-second test with an unchanged Bee PID and no new Android crash entry. This supports a teardown-race hypothesis; it does not prove the exact Frida defect or long-term stability.
Proposed integration direction
A possible path is:
Bee wearable -> official Bee app decrypts/reassembles -> opt-in bridge -> Omi
Omi's AAC decoder already accepts one ADTS AAC frame per call, and the listen receiver supports codec=aac. The captured format therefore appears compatible with existing ingestion without transcoding.
A small local replay prototype splits the saved file into intact ADTS frames and paces them at one frame per 64 ms. Offline checks passed for framing, truncated-input rejection, authentication gating, and pacing. The web listen endpoint was reachable, but no authenticated audio replay or Omi conversation creation has been tested. Its Firebase login flow still needs integration; a developer API key is not interchangeable.
Would maintainers welcome a narrowly scoped external-audio-source bridge, or documentation of this approach, before considering a larger Bee integration PR?
Alternatives and limitations
- Direct Bee-to-Omi BLE support still needs the encrypted protocol/key provisioning solved. This approach retains the official Bee app.
- The tested capture requires root and runtime instrumentation. It is a prototype, not production-ready support.
- A custom APK patch (for example, using Morphe) could make capture automatic, but installation, signing, login, pairing, and compatibility have not been tested. No rootless claim is being made.
- Normal Bee transcript delivery, independent STT, background endurance, reconnect recovery, bounded storage, and behavior across Bee updates remain unverified.
- An upstream implementation would need explicit user control and a supported authentication/export path.
No personal audio, transcripts, account tokens, or device identifiers are attached.
Metadata
Metadata
Assignees
Type
Projects
- StatusShow more project fieldsSomeday
Activity