RSS Amplifier

Ali Solanki’s Newsletter · Mar 1, 2026

How I Turned an Old Android into a 24/7 AI Employee? (OpenClaw)

0
Sign in to vote or save

This page did not load. You can still read it on the original site — the toolbar below keeps your place in the directory.

No need for mac-minis or any expensive hardware when all you need is an internet connection and an old Android phone.

Subscribe for free to receive new posts and support my work.

Watch the above video and follow the steps below:

In this guide, you’ll learn how to run OpenClaw locally on your Android phone using Termux.

This lets you control the agent directly from your android device and chat with it without needing a PC or cloud server.


Requirements

  • Android phone (preferably Android 10 or above)

  • Termux installed (from F-Droid, not Playstore)

  • Gemini or OpenAI or Anthropic or any LLM’s API key


Step 1: Set Up Environment

Open Termux and run:

pkg update && pkg upgrade -y
pkg install proot-distro -y

Install and enter Ubuntu:

proot-distro install ubuntu
proot-distro login ubuntu

Step 2: Install Dependencies

Inside the Ubuntu shell:

apt update && apt upgrade -y
apt install curl git build-essential -y

Install Node.js 22:

curl -fsSL <https://deb.nodesource.com/setup_22.x> | bash -
apt install -y nodejs

Install OpenClaw:

npm install -g openclaw@latest

Step 3: Fix Android Network Error

Create a hijack script:

cat <<EOF >/root/hijack.jsconst os = require('os');
os.networkInterfaces =() => ({});EOF

Make it permanent:

echo'export NODE_OPTIONS="-r /root/hijack.js"' >> ~/.bashrcsource ~/.bashrc

Step 4: Run Setup Wizard

Start onboarding:

openclaw onboard

When asked for Gateway Bind, select (very important to run Openclaw on phone):

127.0.0.1 (Loopback)

Step 5: Launch the Agent

Start the gateway:

openclaw gateway --verbose

Useful Commands (WhatsApp/Telegram)

/status   → Check agent health
/think high → Deep reasoning mode
/reset    → Clear session memory

Access the Web Dashboard

Open in your browser:

<http://127.0.0.1:18789>

To get your gateway token:

openclaw config get gateway.auth.token

Tips

  • Run this to keep Termux active:

termux-wake-lock
  • Disable battery optimization for Termux.

  • Never share API keys or tokens publicly.

Thanks for reading Ali Solanki’s Newsletter! Subscribe for free to receive exclusive guides and more!

Instagram - https://www.instagram.com/ali.1cr/

Youtube - https://www.youtube.com/@AliSolanki

Read on alisolanki.substack.com

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.