Android Installation (Termux)
Run MalikClaw on your Android phone using Termux. Give your old phone a second life as an AI assistant!
Requirements
- • Android 7.0 (Nougat) or later
- • ARM64 processor (most modern phones)
- • At least 1 GB RAM (2 GB recommended)
- • 100 MB free storage
- • Termux app (from F-Droid or Play Store)
Important Notes
- • Termux from Google Play Store is outdated. Use F-Droid version for best results.
- •
termux-chrootrequires root access or Shizuku for full functionality. - • Battery optimization may need to be disabled for long-running processes.
Step 1: Install Termux
Option A: F-Droid (Recommended)
Download Termux from F-Droid for the latest version:
Download from F-DroidOption B: Google Play Store
Note: Play Store version may be outdated:
Get from Play StoreStep 2: Update Termux
Open Termux and update packages:
pkg update && pkg upgradeStep 3: Install Dependencies
Install proot and other required packages:
pkg install proot proot-distro wget curlStep 4: Download MalikClaw
Download the ARM64 binary:
wget https://github.com/AbdullahMalik17/malikclaw/releases/latest/download/malikclaw_Linux_arm64
chmod +x malikclaw_Linux_arm64Step 5: Run with Proot
Method A: Direct Execution (No Root)
Run MalikClaw directly:
./malikclaw_Linux_arm64 onboardMethod B: With Proot Chroot (Recommended)
For better compatibility, use proot chroot:
termux-chroot
./malikclaw_Linux_arm64 onboardIf termux-chroot is not available, install it:
pkg install termux-exec
$PREFIX/bin/termux-exec setupAlternative: Install Ubuntu/Debian in Termux
For a full Linux environment:
pkg install proot-distro
proot-distro install ubuntu
proot-distro login ubuntu
# Now install MalikClaw inside Ubuntu
curl -sSfL https://malikclaw.io/install.sh | shStep 6: Configure
After running onboard, configure your API keys:
nano ~/.malikclaw/config.jsonAdd your LLM provider API keys (OpenAI, Anthropic, etc.) and configure channels.
Running in Background
Keep MalikClaw running when Termux is in background:
Option 1: Use termux-wake-lock
termux-wake-lock
./malikclaw_Linux_arm64 gatewayOption 2: Use Boot Menu
Create a startup script:
mkdir -p ~/.termux/boot/
echo "./malikclaw_Linux_arm64 gateway" > ~/.termux/boot/start-malikclaw
chmod +x ~/.termux/boot/start-malikclawMobile-Specific Features
MalikClaw on Android can:
- • Control your phone via ADB commands
- • Take screenshots and analyze them
- • Automate taps, swipes, and text input
- • Run as a personal AI assistant 24/7
ADB Integration (Advanced)
Enable ADB and control your device:
pkg install android-tools
adb connect localhost:5555
malikclaw agent -m "Take a screenshot"Troubleshooting
Permission denied
chmod +x malikclaw_Linux_arm64termux-chroot not working
Some devices require root for full chroot functionality. Try:
- Using direct execution without chroot
- Installing Ubuntu via proot-distro instead
- Using Shizuku for non-root chroot access
Out of memory
Close other apps or reduce model size:
# In config.json, use smaller models
"model_name": "gpt-3.5-turbo"Battery optimization killing process
- Go to Android Settings → Apps → Termux
- Tap Battery → Battery optimization
- Select "All apps" → Find Termux → Select "Don't optimize"