ZOXER

Termux WhatsApp Bot Setup Guide

Complete setup guide to prepare your Android terminal environment for hosting Node.js WhatsApp bots, Telegram bots, and automated scripts without root.

Download Termux from F-Droid

* Note: The Google Play Store build is deprecated. Always use the maintained F-Droid build.

Required Setup Commands

Fetching Commands...

Pro Tip

Always run pkg update && pkg upgrade -y before cloning repositories to ensure libc, openssl, and package repositories are up to date.

Running Bots 24/7 on Android Without Interruption

Disable Battery Optimization

Android power saving kills background sockets after 10-15 minutes. Go to Android Settings > Apps > Termux > Battery > Set to “Unrestricted”.

Termux Wakelock

Pull down your Android notification shade while Termux is active and tap “Acquire Wakelock”. This keeps CPU cores awake during socket operations.

Need a bot package and session ID to get started?

Frequently Asked Questions

Why should I download Termux from F-Droid instead of the Google Play Store?

The Google Play Store version of Termux is deprecated and has not been updated since 2020 due to Android SDK restrictions. The official F-Droid build receives ongoing maintenance, modern repository URLs, and package updates.

Why does Termux stop running when I lock my phone or switch apps?

Android battery management aggressively closes background terminal processes. To keep your WhatsApp bot running 24/7, disable battery optimization for Termux in Android Settings and acquire a wake lock by tapping "Acquire Wakelock" in the Termux notification pull-down.

How do I start my WhatsApp bot in Termux after installation?

Navigate to your bot directory using `cd <bot-folder>`, ensure your session creds.json file is inside the session directory, and run `npm start` or `node index.js`.

Can I run both Mazari Bot and Zoxer Mini on Termux?

Yes. Both bot packages are fully compatible with Termux Node.js environments and can be managed directly on your Android phone.