OpenClaw • Setup Guide • ADB Bridge • Use Cases • Local LLM
Every other guide tells you to run Ubuntu inside Termux via proot-distro before installing OpenClaw.
It works — but it's slow, bloated, and laggy.
This repo documents running OpenClaw directly on Termux's native environment — no proot, no Ubuntu, no container layer.
| proot + Ubuntu (common method) | Native Termux (this repo) | |
|---|---|---|
| Boot time | 10–30 seconds | ~2 seconds |
| Extra RAM | ~300MB+ for Ubuntu layer | Minimal |
| OpenClaw speed | Slow, laggy | Fast, snappy |
| Setup complexity | High | Low |
| Root required | No | No |
The only thing you need on top of Termux is a small Node.js patch that fixes Android's Bionic libc incompatibilities. That's it.
Discovered, tested, and documented by @Mohd-Mursaleen. No official docs cover this method.
👉 SETUP.md — complete step-by-step installation, from F-Droid to openclaw onboard
Once OpenClaw is running, you can connect it to the Android OS via ADB and control any app with natural language.
I built a dedicated skill for this — android-automation-agent.
It comes with a SKILL.md file specifically created for OpenClaw. Drop it into OpenClaw and it sets up the Android automation agent for you — ADB bridge, preferences system, multi-step task decomposition, everything.
👉 ADB-BRIDGE.md — how to connect Termux to Android OS via ADB
An old Android phone mounted in the kitchen, running OpenClaw 24/7. The camera feed is monitored by the AI agent — detects activity, logs events, sends alerts.
Running Gemma 4 on the phone via Google's LiteRT-LM (GPU + CPU) — not llama.cpp (CPU only, unusably slow).
Exposes the model on a local port so OpenClaw can use it as a fully offline LLM backend.
👉 LOCAL-LLM.md — full breakdown, architecture, and why llama.cpp doesn't work
Real things built with this setup:
- 📱 Android app automation via ADB + AI
- 🎟️ Movie ticket booking bot (BookMyShow, autonomously)
- 📷 Kitchen surveillance agent
- 🔄 Always-on AI gateway on an old phone
👉 USE-CASES.md — all use cases with LinkedIn posts and details
- android-automation-agent — ADB-powered Android automation skill built for OpenClaw
- OpenClaw — the AI agent gateway this repo runs
- Blog: Running Local LLM on Android
openclaw android termux ai-agent no-root no-proot llm agent-gateway android-automation adb nodejs-android termux-setup self-hosted-ai mobile-ai gemma litert local-llm-android
If this helped you, drop a ⭐ — it helps others find this.