An old Android phone with Termux makes a better tiny home server than a new Raspberry Pi
Repurpose an old Android with Termux into an underrated home server running Debian, Jellyfin and backup tools with ease.
By XDACross-checked on TMR

Story confidence
Single source
40/100
Reported by a single source so far
The story
Home servers can sound complex, especially if you are a beginner. Self-hosted software on a home server isn't convenient, but if you go through the process, the result is satisfying. You get complete control over your data, which is a luxury these days, and save money on countless monthly subscriptions. Of course, not every paid service is replaceable, but still, the concept of ownership, privacy, and saving money is quite alluring.
But before you rush to purchase a new Raspberry Pi, give a second chance to the devices you already own. There are a lot of devices that you can turn into a home server, but a phone is the last thing on your mind. It's possible to turn an old Android phone into a basic server with Termux, and I urge you to explore the idea once.
Your phone can work as a DIY Home server
It doesn't take much to build one
An Android phone runs Google's proprietary OS with a custom Android skin, depending on the brand you pick. Samsung has One UI, Xiaomi has HyperOS, and so on. Your phone already runs an operating system that provides the base for software and games, just like a computer or laptop.
Yes, the form factor is smaller, and performance is slower than a PC, but it's still a tiny computer. The Raspberry Pi is also a tiny computer, although its use case is different, and it can handle embedded computing projects as well. However, if you don't need GPIO pin connectivity and find it challenging, an old phone can also act as a server for running a few tools.
Every home server needs a lightweight operating system to run the self-hosted software, and there's a solution for Android OS as well, called Termux. It provides a lightweight, isolated environment to run Linux tools, utilities, and distributions alongside your phone OS, without any conflicts. If you are wondering about rooting your phone, that's a decision you can make later.
If you want to run a Linux distribution inside Termux, it has to be extremely lightweight with all the necessary files and permissions. PRoot-Distro can help with this, and you can install a lean version of Debian, Arch, or any other distro that you feel comfortable with. Once that's done, you'll have a solid base ready to install and run self-hosted tools.
Performance can be a concern
The phone's hardware matters a lot
When you use something like a Raspberry Pi or an old computer, the first thing that you’ll do is install a lightweight Linux distro on it. There are several options, including DietPi, Ubuntu Server, or something else. But you cannot do the same with an Android phone so easily. It has a default OS, and unless you plan to root the phone, it will stay and compete for your phone’s resources alongside Termux. Using a very old, basic phone with 4GB of memory can be challenging because Android's overhead leaves very little for the Termux server and the tools (distro and self-hosted apps).
So, if you want to go this route, a phone with 6GB or 8GB of memory and a better SoC can run more tools despite Android's performance overhead. I tested a Samsung Galaxy S21 FE and an older Samsung M10S, and the latter turned out better for tools like BentoPDF, Omnitools, and other lightweight solutions.
I converted my Samsung Galaxy S21 FE into a Jellyfin media server, and it could do Direct Play and rewatch personal videos on a TV. It can run other tools like a file backup server or a DNS sinkhole, but it needs some additional peripherals for it. A file backup server is a great use case for an old phone and one of the best DIY projects with real impact on your home. You can use it to save a copy of your personal files to the phone's storage.
It’s a cheap server with a battery backup
Although connectivity options are a bit constrained
Before addressing any other trait, it’s imperative to understand that an old phone is basically a free entry to the DIY home server segment. You already invested in it once, used it until it became slow, and upgraded to a new one. If you want to start with a Raspberry Pi, it’s not a great time to do so. The prices of the 4GB memory variants of both the Raspberry Pi 4 Model B and Raspberry Pi 5 are nowhere near their old prices.
You can blame AI advancements and rapidly rising memory and storage costs for this problem. Yet that doesn’t change the fact that it’s not a cheap board anymore. You are better off repurposing an old phone, laptop, or PC rather than buying a new one along with its accessories, just to build a small-scale home server.
Another edge that I believe an old smartphone has is its battery. Your home servers will go down during a power outage, and if you want to access a tool hosted on them, they need to have backup power. Your phone already has an inbuilt one and can provide a decent backup for a few hours, provided that your home network is also available.
Using a phone while plugged in might worry you, but most phones have overcharge protection. You can also connect the wall outlet to a cheap smart plug and set a schedule to power off the charger. Connectivity is a problem because phones usually have one port for both charging and data transfer. So you might have to invest in a powered OTG USB hub to expand the ports for connecting additional storage devices.
Put that old phone to good use
DIY means building with whatever you have, and an old phone can work as a home server. You can host tools on it and access them via your PC and other devices. It’s not inferior to a Raspberry Pi, and with Termux, the process becomes fairly easy.
Only XDA has reported this so far. New reports from every outlet are matched against it through the day.
BlindspotNo other outlet has reported this yet.
Coverage breakdown
01
Outlet
01
Report
01
Language
Coverage by language
Outlet reliability
National, local and international
Full coverage
1 outletXDA · EN · US
An old Android phone with Termux makes a better tiny home server than a new Raspberry Pi
Reliability unrated