xxx02/android-home-server — explained in plain English
Analysis updated 2026-05-18
Turn an unused rooted Android phone into a free always-on home server.
Access files and SSH on the phone remotely without opening router ports.
Host small personal apps or bots that need to run continuously.
Get Telegram alerts for battery status and server uptime.
| xxx02/android-home-server | 100/dotfiles | abdellaouiamir/palworld-server | |
|---|---|---|---|
| Stars | 1 | 1 | 1 |
| Language | Shell | Shell | Shell |
| Last pushed | — | 2016-11-18 | — |
| Maintenance | — | Dormant | — |
| Setup difficulty | hard | easy | moderate |
| Complexity | 4/5 | 1/5 | 3/5 |
| Audience | vibe coder | developer | ops devops |
Figures from each repo's GitHub metadata at analysis time.
Requires a rooted Android phone, an SD card, and a Cloudflare account with a domain you control.
This project is a guide and set of scripts for turning an old, rooted Android phone into an always-on home server you can reach from anywhere on the internet. The idea is that an unused phone already has many things a small server needs: it uses little power, has a built-in battery that acts like a backup power supply, and runs quietly, so instead of buying a small cloud server you repurpose the phone sitting in a drawer. The guide walks you through installing a full Ubuntu Linux system inside the phone using a technique called chroot, which runs Linux alongside Android without flashing a new operating system onto the device. Once set up, the phone can run an SSH server so you can connect to it from your home network, and it can also be reached securely from anywhere using Cloudflare Tunnel, which avoids the need to open ports on your router or have a fixed internet address. A web based file manager called filebrowser lets you upload and download files from any browser, and an optional Telegram bot sends notifications about battery level and whether the server is online. A watchdog script keeps everything running and restarts services automatically if the phone reboots. Setup requires a rooted Android phone, ideally a spare one since rooting carries some risk of data loss, along with the Termux terminal app and an SD card to hold the Linux files. Reaching the server from the internet needs a free Cloudflare account and a domain name you control. The step by step instructions are provided in both English and Turkish, and cover everything from rooting and formatting the SD card through configuring the system, setting up the tunnel, and enabling auto start on boot. The repository also includes an optional skill file meant for use with AI coding assistants like Claude Code, which explains this specific setup's quirks, such as the lack of a standard systemd init system, so that apps built later on the server keep running after a reboot. The project is released under the MIT license, so it can be freely used, modified, and shared.
A step by step guide and scripts for converting an old rooted Android phone into a self hosted home server reachable over the internet via Cloudflare Tunnel.
Mainly Shell. The stack also includes Shell, Android, Ubuntu arm64.
Use freely for any purpose, including commercial use, as long as you keep the copyright notice.
Setup difficulty is rated hard, with roughly 1h+ to a first successful run.
Mainly vibe coder.
This repo across BitVibe Labs
Don't trust strangers blindly. Verify against the repo.