Public Welfare · Free · Forever Free

SamDocker · Phone to Server

Turn a dusty old Android phone into a publicly reachable Linux server. After installing the APK it auto-starts on boot, runs Alpine Linux via proot inside the phone, and exposes a browser terminal (ttyd) to the public internet through the aitun.cc tunnel service. Completely free, ad-free, no root required.

Why SamDocker

Give idle hardware a second life — a pocket Linux server that stays online, wherever you need it.

♻️
Reuse Old Phones
Turn an idle Android phone into a 7×24 public Linux server — make the most of it and cut e-waste.
🚀
Auto-Start on Boot
Foreground Service + BootReceiver auto-start; reliable background keep-alive on Android 8+.
🐧
proot + Alpine
No root needed; an ~5MB Alpine Linux environment — a mature, stable, and tiny approach.
💻
Browser Terminal (ttyd)
A browser-based terminal with a full shell — ls / cd / vim / apt — open it right from your PC browser.
🌐
aitun.cc Tunnel Service
Exposes the browser terminal to the public internet through the aitun.cc tunnel service — auto-assigned subdomain, auto-reconnect, home IP changes don't matter, no self-hosted public entry needed.
🔑
One-Time Token
A 32-byte random hex token generated each boot; URL uses a random subdomain and expires on restart — no long-lived credentials leak.
🤖
Built-in samcommand
Auto-starts samcommand --nop2p inside Linux — run commands and transfer files remotely over the tunnel.
🛡️
HTTPS Everywhere
Browser↔aitun.cc tunnel↔phone is all HTTPS; the terminal needs a token that expires on reboot, and proot gives basic isolation.

Get SamDocker

Installers are free. Source code is closed-source, © SamAI Group. Install the APK to get started.

Grab the latest APK build from GitHub Releases.

⬇️ Go to GitHub Releases

Download the APK and install it on your Android device to run SamDocker.