- 版本
- v0.5.1
- 发布日期
- 2026-10-12
- 平台
- Android
- 安装包大小
- Android 5.8 MB
- 发布者
- aidanpark
openclaw-android
The standard approach to running OpenClaw on Android requires installing proot distro with Linux, adding 700MB 1GB of overhead. OpenClaw on Android eliminates this by installing just the glibc dynamic linker (ld.so), letting you run OpenClaw without a full Linux distribution.
README
OpenClaw on Android

Because Android deserves a shell.
No Linux install required
The standard approach to running OpenClaw on Android requires installing proot-distro with Linux, adding 700MB-1GB of overhead. OpenClaw on Android eliminates this by installing just the glibc dynamic linker (ld.so), letting you run OpenClaw without a full Linux distribution.
Standard approach: Install a full Linux distribution in Termux via proot-distro.
┌───────────────────────────────────────────────────┐
│ Linux Kernel │
│ ┌───────────────────────────────────────────────┐ │
│ │ Android · Bionic libc · Termux │ │
│ │ ┌───────────────────────────────────────────┐ │ │
│ │ │ proot-distro · Debian/Ubuntu │ │ │
│ │ │ ┌───────────────────────────────────────┐ │ │ │
│ │ │ │ GNU glibc │ │ │ │
│ │ │ │ Node.js → OpenClaw │ │ │ │
│ │ │ └───────────────────────────────────────┘ │ │ │
│ │ └───────────────────────────────────────────┘ │ │
│ └───────────────────────────────────────────────┘ │
└───────────────────────────────────────────────────┘
This project: No proot-distro — just the glibc dynamic linker.
┌───────────────────────────────────────────────────┐
│ Linux Kernel │
│ ┌───────────────────────────────────────────────┐ │
│ │ Android · Bionic libc · Termux │ │
│ │ ┌───────────────────────────────────────────┐ │ │
│ │ │ glibc ld.so (linker only) │ │ │
│ │ │ ld.so → Node.js → OpenClaw │ │ │
│ │ └───────────────────────────────────────────┘ │ │
│ └───────────────────────────────────────────────┘ │
└───────────────────────────────────────────────────┘
| Standard (proot-distro) | This project | |
|---|---|---|
| Storage overhead | 1-2GB (Linux + packages) | ~200MB |
| Setup time | 20-30 min | 3-10 min |
| Performance | Slower (proot layer) | Native speed |
| Setup steps | Install distro, configure Linux, install Node.js, fix paths... | Run one command |
Claw App
A standalone Android app is also available. It bundles a terminal emulator and a WebView-based UI into a single APK — no Termux required.
- One-tap setup: bootstrap, Node.js, and OpenClaw installed from within the app
- First install in the app (v0.4.5 or later): the app runs the first install itself and shows its progress in 7 steps; you can cancel during any step. An unfinished install (cancelled, the app was closed, or Android stopped it) is continued from where it stopped on the Continue the installation screen. Reinstall the base system repairs a broken base system without clearing the app's data (the home folder is kept). When the setup is done, a button types
openclaw onboardinto the terminal; press Enter to start onboarding - Built-in dashboard for gateway control, runtime info, and tool management
- Tool installation: Settings → Additional Tools installs tmux, ttyd, dufs, Android Tools, Playwright, Claude Code, Gemini CLI, and Codex CLI through the setup script (
post-setup.sh --tools-only); tmux, ttyd, dufs, and Android Tools are checked against the signed Termux package list. A tool whose install failed or whose--versioncheck fails is shown as not working, with a Reinstall button. code-server, OpenCode, the SSH server, and Chromium cannot be installed from the app yet; code-server can be installed in the app's terminal withoa --install - Install & Update: Settings → Install & Update runs
oa --updatefrom the app and shows its progress and result. It can be cancelled only in the early steps (before step 3, replacing the core files). The screen also shows the OpenClaw and Node.js versions, the result of the last update run from the app, and the gateway status with a Stop gateway button (only for a gateway started in the app's terminal) - Works independently of Termux — installing the app does not affect an existing Termux +
oasetup - The app and an existing Termux setup are independent installs, but both start the OpenClaw gateway on the same default port (18789). Run the gateway in only one of them at a time
Download the APK from the Releases page.
Requirements
- Android 7.0 or higher (Android 10+ recommended)
- ~2GB free storage (2000 MB; checked before a new install and before an update that changes the pinned versions)
- Wi-Fi or mobile data connection
What It Does
The installer automatically resolves the differences between Termux and standard Linux. There's nothing you need to do manually — the single install command handles all of these:
- glibc environment — Installs the glibc dynamic linker (via pacman's glibc-runner) so standard Linux binaries run without modification. The package list is verified against the Termux signing key before anything is installed
- Node.js (glibc) — Downloads official Node.js linux-arm64 and wraps it with an ld.so loader script (no patchelf, which causes segfault on Android)
- Path conversion — Automatically converts standard Linux paths (
/tmp,/bin/sh,/usr/bin/env) to Termux paths - Temp folder setup — Configures an accessible temp folder for Android
- Service manager bypass — Configures normal operation without systemd
- OpenCode integration — If selected, installs OpenCode using proot + ld.so concatenation for Bun standalone binaries
Step-by-Step Setup (from a fresh phone)
- Prepare Your Phone
- Install Termux
- Initial Termux Setup
- Install OpenClaw — one command
- Start OpenClaw Setup
- Start OpenClaw (Gateway)
Step 1: Prepare Your Phone
Configure Developer Options, Stay Awake, charge limit, and battery optimization. See the Keeping Processes Alive guide for step-by-step instructions.
Step 2: Install Termux
Important: The Play Store version of Termux is discontinued and will not work. You must install from F-Droid.
- Open your phone's browser and go to f-droid.org
- Search for
Termux, then tap Download APK to download and install- Allow "Install from unknown sources" when prompted
Step 3: Initial Termux Setup
Open the Termux app and paste the following command to install curl (needed for the next step).
pkg upgrade -y && pkg install -y curl
You may be asked to choose a mirror on first run. Pick any — a geographically closer mirror will be faster.
During the upgrade you may see questions about configuration files (
(Y/I/N/O/D/Z) [default=N] ?). Press Enter to keep the default.Don't skip the upgrade: installing curl alone on a fresh Termux can leave curl broken (
CANNOT LINK EXECUTABLE "curl"). If that already happened, see Troubleshooting.
Step 4: Install OpenClaw
Tip: Use SSH for easier typing From this step on, you can type commands from your computer keyboard instead of the phone screen. See the Termux SSH Setup Guide for details.
Paste the following command in Termux.
curl -sL https://myopenclawhub.com/install | bash && source ~/.bashrc
Everything is installed automatically with a single command. This takes 3–10 minutes depending on network speed and device. Wi-Fi is recommended.
Once complete, the OpenClaw version is displayed along with instructions to run openclaw onboard.
Step 5: Start OpenClaw Setup
As instructed in the installation output, run:
openclaw onboard
Follow the on-screen instructions to complete the initial setup.

Step 6: Start OpenClaw (Gateway)
Once setup is complete, start the gateway:
Important: Run
openclaw gatewaydirectly in the Termux app on your phone, not via SSH. If you run it over SSH, the gateway will stop when the SSH session disconnects.
The gateway occupies the terminal while running, so open a new tab for it. Tap the hamburger icon (☰) on the bottom menu bar, or swipe right from the left edge of the screen (above the bottom menu bar) to open the side menu. Then tap NEW SESSION.

In the new tab, run:
openclaw gateway

To stop the gateway, press
Ctrl+C. Do not useCtrl+Z— it only suspends the process without terminating it.
Keeping Processes Alive
Android may kill background processes or throttle them when the screen is off. See the Keeping Processes Alive guide for all recommended settings (Developer Options, Stay Awake, charge limit, battery optimization, and Phantom Process Killer).
Access the Dashboard from Your PC
See the Termux SSH Setup Guide for SSH access and dashboard tunnel setup.
The dashboard itself is at http://127.0.0.1:18789/. If it asks for a token (or shows "unauthorized"), print the token and open the dashboard with it:
node -p "require(process.env.HOME + '/.openclaw/openclaw.json').gateway.auth.token"
Then paste it into the dashboard's auth field, or open http://127.0.0.1:18789/#token=<token>. Keep the token private. Details: Dashboard asks for a token.
Managing Multiple Devices
If you run OpenClaw on multiple devices on the same network, use the Dashboard Connect tool to manage them from your PC.
- Save connection settings (IP, token, ports) for each device with a nickname
- Generates the SSH tunnel command and dashboard URL automatically
- Your data stays local — Connection settings (IP, token, ports) are saved only in your browser's localStorage and are never sent to any server.
CLI Reference
After installation, the oa command is available for managing your installation:
| Option | Description |
|---|---|
oa --update |
Update OpenClaw and Android patches |
oa --install |
Install optional tools (tmux, code-server, AI CLIs, etc.) |
oa --uninstall |
Remove OpenClaw on Android |
oa --backup |
Create a full backup of OpenClaw data |
oa --restore |
Restore from a backup (--force-no-safety: even if the safety backup cannot be saved) |
oa --status |
Show installation status and all installed components (including the state of the hard-link patch) |
oa --version |
Show version |
oa --help |
Show available options |
Update
oa --update && source ~/.bashrc
This single command updates all installed components at once:
- OpenClaw — Core package, kept at the pinned,