#How to install on Android:
1 messages · Page 1 of 1 (latest)
How to install on Android:
Improve it, figure it out. It's quite limited because we can't do full access things, but it works.
Use the F-droid APKs or it won't work properly.
https://f-droid.org/packages/com.termux/
https://f-droid.org/packages/com.termux.api/
Here’s the step-by-step command set that will actually install successfully, even on Termux, without relying on pkg reset.
Do it exactly in this order.
- Update and install basics
pkg update && pkg upgrade -y
pkg install -y tmux which git python nodejs-lts clang make cmake pkg-config termux-api
- Start tmux (do everything from here inside tmux)
tmux
- Quick Termux:API test (proves API wiring)
termux-torch on
termux-torch off
termux-battery-status
termux-tts-speak "Termux API working"
- Storage access
termux-setup-storage
- Install OpenClaw (attempt #1)
npm install -g openclaw@latest
- Verify OpenClaw exists
openclaw --version
If this prints a version, continue.
- Set Termux temp vars (required on Android)
echo 'export TMPDIR="$PREFIX/tmp"' >> ~/.bashrc
echo 'export TMP="$TMPDIR"' >> ~/.bashrc
echo 'export TEMP="$TMPDIR"' >> ~/.bashrc
source ~/.bashrc
mkdir -p "$PREFIX/tmp/openclaw"
- One-shot patch of hardcoded /tmp/openclaw
grep -R "/tmp/openclaw" "$PREFIX" | cut -d: -f1 | sort -u | xargs -r sed -i 's|/tmp/openclaw|'"$PREFIX"'/tmp/openclaw|g'
Verify (should print nothing):
grep -R "/tmp/openclaw" "$PREFIX"
- Onboarding (skip system service)
openclaw onboard
- Start gateway
openclaw gateway
- Discord (UI steps you must do)
In Discord Developer Portal → your app → Bot:
- Enable MESSAGE CONTENT INTENT
- Enable SERVER MEMBERS INTENT
- Enable PRESENCE INTENT
- Save
Re-invite bot with scopes bot + applications.commands.
Then restart gateway:
openclaw gateway restart
You have to grant Android Permissions to the Termux: API app.
I never had to install the API.
Also this works fine on the Play Store. Like swimmingly well
The API is for doing device level things, such as turning on the flashlight.
Yeah all I had to do was install the package via pkg and it worked
I could turn flashlight on and off with just the play store app
The reason why I installed the F-Droid version was the AIs were saying the Google Play one is out of date and limited in features.
AI is not always le smartest
last update was in January
relax liberal /s
Is the Google Play store version newer?
I didn't check.
It works just fine for me. AI is just not quite bright
hm, the termux version on playstore is newer?
F-Droid - Version 0.119.0-beta.3 (1022) - Added on May 29, 2025
Termux on Play Store = Jan 6, 2026
ChatGPT:
No — the Termux version on Google Play isn’t better. In fact:
- The official Termux on Google Play has not been actively maintained for years.
- It lacks many updates, features, and package support compared to the versions distributed outside of Google Play.
- Most users install Termux from F-Droid or use the Termux:API, Termux:Boot, etc., from F-Droid to get full functionality and up-to-date packages.
So the standalone Termux from F-Droid (or its official GitHub builds) is generally considered superior.
ChatGPT:
Yes — that’s accurate for the Play Store listing, but here’s the key clarification:
- Google Play now shows Termux as “updated Jan 6, 2026.”
- This means the Play Store build is no longer abandoned, unlike in past years.
- However, the Play Store version is still a restricted build:
- Limited by Google Play policies
- Fewer packages
- Some functionality removed or constrained
- F-Droid/GitHub Termux is still the fully featured, preferred version for development and power use.
So:
- Play Store Termux: maintained, safer for casual use, policy-restricted
- F-Droid/GitHub Termux: more capable, more packages, more control
Both statements can be true at the same time.
F-Droid probably has the same functionality if the phone isn't rooted
Which, hi hello, mine isn't
I literally don't see a difference
idk, if you aren't trying to do device-level things, it doesn't really make too much sense to use OpenClaw
What??? No I'm not gonna be using it to control my flashlight or do crazy gizmo nutsack shit
If anything I could probably use Shizuku and tinker with it to make uh
you might as well use other chatbots then such as the ChatGPT app which works the same way
crazy gizmo nustack shit
ChatGPT does not do me taxes. Openclaw does /s
What do you mean? What do you do with Openclaw?
I put it on the cloud, and it does everything essentially
It controls my HA instance at home
and it basically is the dude I can call up and say stupid stuff at
with the smartphone openclaw?
I usually talk to him on the way to work tbh, it's a little silly but
The smartphone thing was just a tinker tbh
It's not my go to
did you create a skill for the home assistant?
No I just used an existing one.
Works just fine

you connected it with your apikey for home assistant?
Nah, I made its own account, it accesses it via the browser, and it can only control the safe appliances
so you had the openclaw create that for you?
It usually just turns on my lights, TV, crank up the heat/AC, turn on the ice maker, etc
I created its account.
The skill I did not make nor did Openclaw.
I found it on... awesome-openclaw-skills
so it's an openclaw skill?
Yes
what home assistant do you use?
HAOS
i use proot-distro debian inside termux. no hassle.
that's another layer of nonsense you must do, however
are you running as a node, or a gateway? I wanted to run it as a node, so that my agents could control it remotely (e.g read / send sms)
I haven;t' been able to get sms read / send working either.
any tips?
Node
Did you get sms working?
Yes.
It's a setup I coded and I will open source it when I die