Old Android phone as a home server

An old Android phone has a lot in common with a Raspberry Pi: an ARM CPU, 2 to 8 GB of RAM, built-in Wi-Fi and Bluetooth, and a battery that keeps it running through short power blips. The one thing it also has, and the Pi does not, is a screen you can leave face down on a shelf.

We picked seven Android apps that turn a phone off the shelf into a functional home server: Linux under Termux, a web server for personal projects, a Home Assistant node, an ADB bridge, and utilities to keep it healthy. Everything on this list runs on Android 10 or higher and does not need root.

What to look for in an “Android as server” app

Reusing a phone as a server has specific constraints Pi tutorials skip.

Quick comparison

App Best for Platforms Free plan Starting price Rating
Termux Linux CLI on Android Android 7.0+ Free Free 4.5
UserLAnd Full distro (Ubuntu, Debian, Kali) Android 7.0+ Free Free 4.3
AnLinux Guided proot Ubuntu setup Android 7.0+ Free Free 4.1
Servers Ultimate 60+ server services in one app Android 5.0+ Free tier 6 USD (Pro) 4.2
Simple HTTP Server Serve a folder over HTTP Android 5.0+ Free Free 4.4
PortMapper UPnP port forwarding from a phone Android 6.0+ Free Free 4.0
KDE Connect Bridge between phone and Linux desktop Android 6.0+ Free Free 4.6

The apps

1. Termux, the base you build on

Termux is a real Linux userland on Android. No root, no emulator, no proot. It ships with apt (via the termux repos), and you can install Python, Node.js, Rust, Go, sshd, nginx, Postgres, redis, and hundreds of other packages. If your goal is “run a small service on a phone I do not use,” start here.

Where it falls short: Not on Google Play anymore (get it from F-Droid or GitHub). Doze mode will kill sshd unless you configure a persistent notification service or use Termux:Boot. Terminal-only, no GUI.

Pricing:

Platforms: Android 7.0+.

Download: F-Droid | GitHub

Bottom line: The starting point. Every other CLI-first setup on Android runs through Termux.

2. UserLAnd, the full distro option

UserLAnd runs a full distribution (Ubuntu, Debian, Kali, Arch, Alpine) under proot. Slower than Termux for CPU-bound work because of the syscall translation, but you get a real apt-get and every package your desktop Linux has. Best fit for “I need Postgres 16 and Nextcloud running on a phone” cases where Termux’s package selection runs out.

Where it falls short: Slower than Termux by 15 to 30% for most workloads. First-time distro install downloads 400 MB to 1 GB.

Pricing:

Platforms: Android 7.0+.

Download: Google Play | F-Droid | GitHub

Bottom line: The pick when you need Debian or Ubuntu, not just Termux’s package set.

3. AnLinux, the guided proot setup

AnLinux is a UI-first wrapper around proot that installs Ubuntu, Debian, Kali, or Arch with tap-through prompts. It is UserLAnd’s rival, and the choice between them mostly comes down to which UI you prefer. AnLinux ships handy scripts for common tasks (start LAMP, run SSH, install a desktop).

Where it falls short: Also proot-based, so it inherits the same performance hit. Less active development than UserLAnd.

Pricing:

Platforms: Android 7.0+.

Download: Google Play | GitHub

Bottom line: Pick between UserLAnd and AnLinux by which UI clicks with you.

4. Servers Ultimate, one app that does 60 things

Servers Ultimate is the “Swiss Army knife” of Android server apps. It bundles a web server, FTP, TFTP, DNS, SMTP, POP3, IMAP, Bit Torrent client, RTMP, RTSP, IRC, Redis, and PostgreSQL, and about 50 more. Each service starts, stops, and monitors independently. It survives Doze because it is a single app with a foreground notification.

Where it falls short: Not open source. Not on F-Droid. The Pro tier removes an ad and enables some services.

Pricing:

Platforms: Android 5.0+.

Download: Google Play

Bottom line: The pragmatic pick if you want “many services, one app” and do not need custom Linux tooling.

5. Simple HTTP Server, “serve this folder”

Simple HTTP Server does exactly what it sounds like. Point it at a folder on internal or external storage; it serves it over HTTP or HTTPS with basic auth. WebDAV toggle for file browsing. Range-request support for large downloads. Under 30 MB installed.

Where it falls short: Only serves static files. No PHP, no reverse proxying, no dynamic content.

Pricing:

Platforms: Android 5.0+.

Download: Google Play

Bottom line: Static file sharing without terminal work.

6. PortMapper, UPnP from a phone

PortMapper manages UPnP port forwards on your home router straight from the phone. If you want to expose a Termux SSH server, an nginx dev instance, or a Home Assistant Web UI to the internet without SSHing into the router, this handles it in 30 seconds. Includes IPv6-friendly PCP mapping on routers that support it.

Where it falls short: UPnP is off by default on many ISP-provided routers. Some do not support PCP. Requires the router to actually cooperate.

Pricing:

Platforms: Android 6.0+.

Download: F-Droid | Google Play

Bottom line: Use it once per new service, then forget it exists.

7. KDE Connect, the phone-to-Linux bridge

KDE Connect pairs the phone with a KDE Connect client on Linux (or Windows or macOS via GS Connect, KDE Connect for GNOME). Shared clipboard, SMS from desktop, media controls, remote shell command trigger, mouse and keyboard control, file sharing over LAN. If the phone is a server and you have a Linux desktop, this is how you talk to it.

Where it falls short: Both devices must be on the same LAN. Some features (SMS relay) require Android extras.

Pricing:

Platforms: Android 6.0+.

Download: Google Play | F-Droid

Bottom line: The bridge you set up on day one and use daily forever after.

How to pick the right one

FAQ

Can an old Android phone really replace a Raspberry Pi? For light workloads (a personal web server, a small SSH box, a Home Assistant satellite), yes. For anything CPU-heavy, no. The Pi 5 has an unlocked 2.4 GHz Cortex-A76 that beats most Android SoCs older than 2020.

How do I keep the phone from killing background services? Disable battery optimization for Termux (Settings → Apps → Termux → Battery → Unrestricted). Set the phone to “keep screen off but stay awake while charging” or use Tasker to force wake-locks.

Is Termux still available on Google Play? No. Google Play’s target SDK requirements broke Termux’s package installation model in 2021. Install from F-Droid or the Termux GitHub release APK.

How long will a phone last as a 24x7 server? Two to three years before the battery bulges. Best practice: bypass the battery (charge-through mod), or accept that the battery is a wear item and replace it.

What Android version do I need? Android 7.0 for Termux, Android 10+ for the smoothest experience across every app on this list.

Does this work over cellular? Yes, but you will burn data. Use Wi-Fi and a static local IP.