Repository navigation
DuoDuo Pocket for Android 0.4.0 · Preview 3
Pre-releaseDuoDuo Pocket for Android 0.4.0 · Preview 3 adapts Sight to the released ambient 0.4.0-rc.2 room service, restores the E2-specific recording path in local array builds, and simplifies touch recording feedback. It includes the source changes since Preview 2 and pins Pocket Rust 0.1.1 at 86fae5df622ddefc436861bd0f0df7d1fa390864.
Changes since Preview 2
- Recording feedback: a stationary hold-to-talk button shows a recording label, timer, release-to-send hint and simple animated bars after capture starts. The animation indicates recording state, independently of microphone amplitude. Release inside to send; move outside and release to cancel. Hardware/accessibility recording retains explicit Send/Cancel controls.
- E2 capture correction: firmware 04319 requires its native array integration. The generic framework input opens but supplies no useful built-in microphone signal. Explicit local builds restore array input under the public package/signature; generic builds now report the limitation instead of sending invalid audio. A selected headset microphone retains framework routing. Local firmware artifacts are named
Pocket-E2.apk, separately from the generic publication artifact. - Sight service adaptation: preserve complete raw Opus downlink on media-v1 connections; only uplink has media kind bytes. When an encoder supports the requested landscape size but rejects its upright swap, rotate and aspect-fit YUV into a supported buffer with neutral black padding. This generic path has no device-model branch.
- Shared Rust protocol: pairing/endpoints, Chat/file/speech/live requests, voice framing, Ambient owners and retry rules execute through JNI. Android retains UI, SQLite transactions, network/audio resources and foreground-service ordering.
- Playback through screen lock: ongoing room replies and local reads keep receiving/playing after the Activity backgrounds; matching completion and native drain release idle service/wake-lock work. A localized Stop playback action is available.
- Passport 1.3: wire protocol, press/audio assembly, reply/WORK/quiet/replay handling and Android BLE integration, with upstream-generated differential fixtures. Physical accessory acceptance remains open.
- Keys, remotes and ownership: shared actions, editable foreground bindings, D-pad/OK/Back navigation and the E2 REC/MARK example; explicit composer/history/live/outbox/transfer/microphone/playback/read-aloud owners, session-notification scope checks and clearer missing-video-capability feedback.
Install or update
Download Pocket.apk for generic Android hardware. Android 8.0 / API26+, arm64-v8a and x86_64; Google Play Services is not required.
The package remains dev.openduo.pocket, version name 0.4.0, with versionCode 3 and the same public signing key. Update in place to preserve pairing, application data and the existing Tailscale node. No uninstall or fresh pairing is needed. The retired legacy application ID cannot transfer AndroidKeyStore credentials across packages.
E2 firmware 04319 must use the explicit local array build, Pocket-E2.apk, for the built-in microphone. Keep E2 on that adapted APK. The public Pocket.apk includes no proprietary E2 firmware, libraries or models. Those inputs and the adapted binary remain local. Both builds use the same public identity/signature.
Bring your own reachable ambient host and Tailscale network. Sight requires deployed media support and remains explicitly user-enabled.
Verification
- 2,634 actual-JNI JVM assertions pass, including YUV rotation/fit/stride/padding and raw-media-downlink regressions. The Passport suite includes 60 upstream scenarios / 1,050 comparisons plus Unicode conformance.
- Source/module/attribution checks, 653 localized catalog entries across 145 production Java sources, Go vet/tests, dual-ABI Debug and signed Release builds pass. The generic public-APK payload check passes.
- The same-signature public-identity E2 array APK is restored in place. Local voice/natural calibration captures the played tone through the native array, releases capture and sends no room audio. The generic-build unavailable-input guard reports its localized reason, emits zero packets and releases the microphone.
- The adapted E2 passes 34 bounded injected-event input assertions, including visible recording animation, fixed touch position, exactly one note per release, hardware controls, cancellation and capture release. Sends stay in Try; bindings/settings are restored and the actual paired room returns Online. The installed APK digest matches the local adapted artifact.
- The earlier public-package E2 build passes 14 real-service Sight guards: media confirmation, actual 1280×720 request/master seat, first key and five native video access units, cleared server vision-off state, camera off, microphone-setting restoration and retained pairing/composer/Online. Only replacement silence was transported as audio.
- Earlier bounded checks record 16 Rust/ART assertions, 22 Try application assertions and 15 separate E2 screen-off playback assertions. They retain their tested build identities.
- Matching Android CI passes source/contracts, Go checks and the generic dual-ABI APK build. SDK CI also passes its native/platform jobs.
The array calibration establishes restored input, not new human ASR accuracy. Earlier human speech/audible-reply and notification-receipt evidence belongs to the local original-package E2 array build. Scene recognition by the room, sustained Sight frame rate/thermal behavior, physical Passport/remote keys, target smart-speaker acoustics and full hands-free/background behavior remain unaccepted. Push remains deferred; this release does not claim full iOS parity.
Checksums
SHA256SUMS covers the signed generic APK:
cbf3fa0275cbffa2e46ba4e7cb55c7d860158e07e6153bb3cef12157af56063b Pocket.apk
中文
Preview 3 包含新版房间 Sight 适配、pocket-rs 0.1.1、锁屏续播、Passport 1.3、可编辑按键映射及所有权重构。按住说话时显示简单录音动画、时长与松开发送提示,按钮保持原位,无需向右上方滑动发送;动画不读取实时音量。公开包名与签名不变,versionCode 升为 3,可覆盖更新并保留配对和数据。
E2 固件 04319 的内置麦克风必须用本地 Pocket-E2.apk 阵列适配包,不能用通用包覆盖。适配版已恢复安装并通过本地校准采集及 34 条输入短检查,原房间恢复在线;此次不新增真人 ASR 准确率结论。通用包不含厂商私有库/模型,在该固件上会明确提示内置输入不可用,避免上传无效音频。真实 Sight 媒体协商/原生视频上传已验收,场景识别和持续帧率仍未验收。
Full changes · Current status · 中文说明 · Sight evidence
Code is FSL-1.1-Apache-2.0; OpenDuo brand assets are excluded. Upstream and dependency licenses are retained.