Pure-Rust Sovereign Household Voice Brain · 4-Repo Ecosystem

Pure-Rust Sovereign Voice Brain for Every Room.

One open Northbound v2 protocol connecting Phicomm R1 standalone nodes, Echo Dot 2, Xiaomi LX06, ESP32-S3 paper-and-ink displays, and Android — with calibrated multi-device wake arbitration, on-demand Full-Duplex S2S, and zero-ADB Web-OTA.

100% Local Edge Brain 1-Sec ADB Pure-HTTP R1 Installer AGPL-3.0 + Apache-2.0 Protocol
Home Mate Sovereign Voice Hardware Ecosystem

Pick Your Hardware, Copy One AI Prompt

Skip the 1,000-line manual. Select your device and whether you run an always-on NAS — we match the exact track and give you a verified prompt for your AI coding assistant.

1. What device do you have?
2. Always-on NAS / Server?

Phicomm R1 / Spare Android — Standalone All-in-One

Zero NAS · 1-Sec ADB Pure HTTP · Web-OTA

Runs companion/android-core + Android gateway on-device over loopback; zero NAS/Docker, future upgrades over Web-OTA.

  • Stock unrooted Phicomm R1 with ADB over Wi-Fi enabled on the same LAN.
  • Core companion APK (armeabi-v7a) + Android Gateway v2.6.0 universal APK.
  • Never run foreground adb install -r or large adb push against stock R1 adbd — use provision_r1.py pure-HTTP BootInstaller.
Copy to your AI coding assistant (Cursor / Claude Code / Codex / Gemini)
Help me deploy the Home Mate Standalone Companion Core onto my Phicomm R1 speaker (<R1_IP>, stock unrooted firmware with ADB over Wi-Fi enabled):
1. Build the companion APK from yes999zc/home-mate (./tools/build_android_core_apk.sh --abi armeabi-v7a) and get the universal APK from yes999zc/home-mate-gateway-android Release v2.6.0; verify SHA256SUMS.txt.
2. Provision with the shipped 1-sec ADB + pure-HTTP BootInstaller: clone yes999zc/home-mate-gateway-android as a sibling repo, then run python3 ../home-mate-gateway-android/tools/provision_r1.py --ip <R1_IP> --device-id r1-study --core-host 127.0.0.1 --room "Study" --core-apk <CORE_APK> --apk <GATEWAY_APK> (or guide me to double-click tools/install_r1_macos.command / tools/install_r1_windows.bat). ADB disconnects immediately after hm-dl.dex hello; never run foreground adb install -r on stock R1.
3. Confirm exit 0 and adb devices is empty; verify <R1_IP>:8930/api/v0/status reports profile phicomm-r1, gateway on 127.0.0.1:8932, and device id r1-study.
4. Guide me through ASR/LLM/TTS setup at <R1_IP>:8930 and note future upgrades run over Web-OTA with zero ADB. Never disable the loopback gateway lock or commit real tokens.
Prefer manual CLI commands? Click to expand
bash · r1standalone
# 1. 构建 R1 紧凑版伴侣核心 APK
./tools/build_android_core_apk.sh --abi armeabi-v7a

# 2. 使用 1 秒 ADB + 纯 HTTP BootInstaller 一键装机(或双击 tools/install_r1_macos.command)
python3 ../home-mate-gateway-android/tools/provision_r1.py \
  --ip <R1_IP> --device-id r1-study --core-host 127.0.0.1 --room "书房" \
  --core-apk build/android-core/apk/HomeMate-Core-v*-android-armeabi-v7a.apk \
  --apk HomeMate-Gateway-v2.6.0-universal.apk

Engineered for Real Living Rooms, Not Demos

Every capability is verified on physical multi-speaker hardware in real living rooms.

Wake Arbitration

Calibrated Multi-Device Arbitration — Zero Double Replies

SNTP clock alignment + RTT-normalized heard_ms timestamps + per-device mic_gain_offset_db calibration guarantee only the closest speaker answers while losers stay strictly silent.

Multi-device wake arbitration
Zero-ADB Lifecycle

1-Second ADB Pure-HTTP BootInstaller + Web-OTA

Pushes a 25 KB hm-dl.dex bootstrapper, disconnects ADB immediately on HTTP hello, transfers APKs over pure LAN HTTP, and hands future upgrades to autonomous Web-OTA with loopback adbd self-heal.

Xiao Rui Pixel Desktop Pet states
Acoustic Pipeline

On-Demand Full-Duplex S2S & Media-Period Wake

Everyday half-duplex stability with 1-sentence Full-Duplex S2S switching (60–71 dB ERLE), block-aligned sidecar VAD, media-only ducking, and KWS orphan watchdog on Linux speakers.

Zero-NAS Standalone · Track F

Turn a Phicomm R1 or Spare Android into an All-in-One Node

companion/android-core embeds libhmcore.so + Vue 3 console directly on-device with phicomm-r1 low-RAM tuning and loopback gateway locking — zero NAS, zero Docker.

4-Repository Open-Source Matrix

Core brain & gateways are AGPL-3.0; Northbound v2 protocol spec & codecs are Apache-2.0 for commercial hardware integration.

Pure-Rust edge voice brain (hm-core) + Vue 3 console + multi-device wake arbitration + Web-OTA + R1 standalone companion

AGPL-3.0 / Apache-2.0 (Protocol v2)
Hardware Research Notice: Adaptations for commercial third-party speakers (Xiaomi LX06, Echo Dot 2, Phicomm R1) are strictly for personal edge-AI research and acoustic validation. This project is not affiliated with any vendor and does not sell modified speakers. Standing on the shoulders of sherpa-onnx, silero-vad, open-xiaoai, EchoMuse, and firebreak.