ServerBox

ServerBox

Turn old Android phones into Linux servers

Description

That retired phone in your drawer outguns plenty of entry-level cloud VPSes, but turning it into a Linux server usually means rooting or flashing it, and a night of tinkering that can end in a brick. ServerBox skips all of that: install the app and you get a full Linux distro running on Android, no root required, nothing to flash.

It builds its containers on PRoot and gives every distro an always-on SSH server on port 2022. One ssh command from your laptop drops you into Linux on the phone, ready for scripts, background services, a personal file host or a small automation node. The usual Android-server headaches, staying alive in the background and starting on boot, are handled for you.

Features



Five distros to pick from:Alpine, Arch, Debian, Kali and Ubuntu install in one tap, each in its own filesystem so they can live side by side.

Always-on SSH:A built-in SSH server with public-key login and a keys-only mode, listening either on the device alone or on your local network.

Stays alive:Holds a wake lock and a Wi-Fi lock, restarts after a crash, and can bring back the sessions that were running before a reboot.

Autostart scripts:Drop a script into /etc/serverbox/autostart.d and it runs whenever the session starts, handy for launching your own services.

Phone storage access:Read and write /sdcard straight from Linux to work on files stored on the phone.

Coding agent images:Extra images come with Claude Code and Codex CLI preinstalled, for 64-bit devices only. Requires Android 8.0 or newer.