Turn a Rabbit R1 into a de-Googled, hold-to-talk voice terminal.
A toolkit that turns a Rabbit R1 into a de-Googled, hold-to-talk voice terminal for any OpenAI-compatible chat gateway (e.g. a self-hosted OpenClaw instance reached over Tailscale) — plus the ROM/root plumbing that makes it usable as a real pocket device.
The centerpiece is ClawPTT (developed in its own repo — github.com/mthelpme/clawptt): press and hold the R1's side button, speak, release, and your words are transcribed, sent to your gateway, and the reply is streamed back and spoken aloud. Around it are the device tweaks we needed to make the R1 pleasant: hide the status bar, control the camera motor, remap the PTT key, an idle "airplane when locked" power saver, and self-hosted speech-to-text / text-to-speech services.
⚠️ Read this first — this is an advanced, root-only project.
- Targets a Rabbit R1 (MediaTek MT6765) running a LineageOS 21 (Android 14) GSI with an unlocked bootloader and Magisk root. It is not a drop-in app for a stock R1.
- Flashing custom firmware can brick your device. You do this at your own risk — there is no warranty (see
LICENSE).- Several features require root and/or the LSPosed/Vector Xposed framework (a third-party root component). Each is optional and clearly labeled.
- Unofficial. Not affiliated with, endorsed by, or supported by Rabbit Inc. "Rabbit" and "rabbit r1" are trademarks of their respective owner.
- No secrets live in this repo. All tokens/URLs are entered on-device (encrypted) or set as environment variables on your own server. Never commit yours.
The quick pop-up panel (hold the side button anywhere), and the persistent chat page:
![]() Listening |
![]() Thinking |
![]() Speaking |
![]() Chat page |
![]() Conversations |
![]() In-app volume |
![]() Settings |
![]() STT / TTS engines |
![]() Async reply |
| Path | What it is |
|---|---|
| ClawPTT (own repo) | ClawPTT — the hold-to-talk voice bridge (Android, Kotlin). The star of the show. Developed in its own repository: github.com/mthelpme/clawptt. |
apps/r1-immersive |
R1 Immersive — a small LSPosed/Vector module that force-hides the status bar in every app. |
apps/r1-tools |
R1 Tools — camera-motor control + accelerometer auto-rotate for the R1's single motorized camera. |
magisk-modules/ |
Magisk modules: PTT key remap, hide IME nav-bar, hide status bar, camera-motor sepolicy, enable app widgets. |
services/stt-service |
Self-hosted OpenAI-compatible speech-to-text (faster-whisper) for your server. |
services/tts-service |
Self-hosted OpenAI-compatible text-to-speech (Kokoro) for your server. |
docs/ |
Setup guide · Caveats · Third-party notices |
┌──────────────────────── Rabbit R1 (LineageOS 21 GSI + Magisk) ────────────────────────┐
│ side button ─▶ ClawPTT (accessibility + foreground service) │
│ │ │ STT (on-device Vosk OR your self-hosted Whisper) │
│ │ ▼ │
│ │ transcript ──▶ OpenAI-compatible /v1/chat/completions (your gateway) │
│ │ ▲ (streamed reply) │
│ │ │ │
│ ▼ TTS (on-device Sherpa OR self-hosted Kokoro / Venice) │
│ R1 Tools · R1 Immersive · Magisk modules (device polish) │
└───────────────────────────────────────┬────────────────────────────────────────────────┘
│ Tailscale (private, no public ports)
┌───────────────────────────┴────────────────────────────┐
│ Your server: OpenClaw (or any OpenAI-compatible API) │
│ + optional services/stt-service & services/tts-service │
└──────────────────────────────────────────────────────────┘
ClawPTT only needs an OpenAI-compatible /v1/chat/completions endpoint and a bearer token,
so it works with your own gateway, a local LLM server, or any compatible provider.
All third-party pieces are publicly available — grab the current versions here:
| Piece | Link | Notes |
|---|---|---|
LineageOS 21 GSI (arm64_bvN) |
Andy Yan's builds (SourceForge) | Pick a recent lineage-21.0-*-arm64_bvN.img.gz. bvN = A/B, vanilla (no GApps), no root. |
| Magisk (root) | topjohnwu/Magisk releases | Enable Zygisk in settings (needed for Vector). |
| mtkclient (unlock / recover MT6765) | bkerler/mtkclient | Bootloader unlock + partition flash/restore. |
Android platform-tools (adb/fastboot) |
developer.android.com | |
| Vector (LSPosed successor) | JingMatrix/Vector releases | Xposed framework — required for R1 Immersive. |
| microG (de-Googled play services) | microg/GmsCore releases | Optional. |
| Tailscale (private networking) | tailscale.com/download/android | Reach your gateway/services with no public ports. |
| SherpaTTS (on-device TTS engine) | F-Droid: org.woheller69.ttsengine | ClawPTT routes to this for offline TTS. |
| Vosk models (on-device STT) | alphacephei.com/vosk/models | ClawPTT auto-downloads the small English model on first use. |
- Get the R1 onto a LineageOS 21 GSI with Magisk root — see docs/SETUP.md.
- Flash the Magisk modules you want (at minimum the PTT key remap) —
magisk-modules/. - Install ClawPTT — grab the APK from its Releases, or build from source:
git clone https://github.com/mthelpme/clawptt && cd clawptt && ./gradlew assembleDebugthenadb install -r app/build/outputs/apk/debug/app-debug.apk. Build the R1 helper apps the same way (cd apps/r1-immersive,apps/r1-tools). - (Optional) Run the STT/TTS services on your server and expose them over Tailscale —
services/. - Open ClawPTT, enter your gateway URL + token (and STT/TTS if self-hosting), grant the accessibility service, and hold the side button.
Full details and the many gotchas live in docs/SETUP.md. Please skim docs/CAVEATS.md before you flash anything.
MIT. Third-party components and assets are credited in docs/THIRD_PARTY.md.









