A Raspberry Pi 5 set up costs around $100 once you factor in a high-speed SD card, a proprietary power brick, and a case for the device. Your old phone, on the other hand, is essentially free because it's sat at the back of a junk drawer doing nothing anyway, and it already has better specs than any Raspberry Pi 5 setup while contributing highly to your smart home.

The biggest advantage is that a phone has a battery, meaning that when your power flickers and the Raspberry Pi crashes, corrupting your SD card, the phone stays online, leaving you with less hassle and trouble. Your old phone is a high-density ARM server with a built-in UPS, a touch-screen console, and a sophisticated sensor array that a Raspberry Pi could only dream of. The price-to-performance ratio of a Raspberry Pi 5 has made enthusiasts look elsewhere, and the e-waste in your drawer is often a Snapdragon-powered beast that destroys a Pi in single-core performance and power efficiency.

Does a phone actually perform better?

And how can you use it?

Before getting into the nitty-gritty, let's actually look at the performance comparison.

When looking at your old phone's CPU and RAM, even a mid-range phone from 2022 has faster UFS storage than a Pi's MicroSD. There's also a stark contrast between a Pi's 2.4GHz Cortex-A76 and a Snapdragon's BigCores that you'll find in an old mobile phone.

Alongside this, there's a general power efficiency gap. An idle phone pulls sub-1W of power, while a Pi 5 idles at around 3–4W. While this doesn't sound like a major discrepancy, in a 2026 home lab, every watt counts toward your always-on footprint.

Pair this with the fact that you get a whole range of pretty sophisticated sensors as features, too, and it's clear why using an old phone is the true power move. A Pi needs $50 in HATs to get GPS, an accelerometer, and an ambient light sensor, but your phone already has all of these sensors baked into the kernel and ready to go.

There are a multitude of use cases for something like this. The first could be a home system voice satellite. In the Home Assistant 2026.3 update, it brought high-performance local-only wake word detection to the Android app, meaning that you can use your old phone in a similar way to an Amazon Alexa or Google Nest.

8 Questions Β· Test Your Knowledge

Turning an old Android phone into a home server
Trivia challenge

Think you know what it takes to run a home server from a dusty old Android phone? Put your knowledge to the test.

AndroidHardwareNetworkingSoftwareDIY
01 / 8Software

Which Android app is most commonly used to run a Linux environment on an Android phone without root access, making it a popular choice for home server setups?

Correct! Termux is a powerful terminal emulator and Linux environment for Android that requires no root access. It lets you install packages like nginx, Python, and SSH servers, making it ideal for lightweight home server use.
Not quite β€” the answer is Termux. While Linux Deploy and UserLAnd are also valid tools, Termux is by far the most popular and actively maintained option for running server software on Android without needing root.
02 / 8Hardware

One major advantage an old Android phone has over a Raspberry Pi as a home server is its built-in hardware feature. Which feature is that?

Correct! An Android phone has a built-in battery, which effectively acts as an uninterruptible power supply (UPS). This means your home server stays online during brief power outages, something a Raspberry Pi can't do without extra hardware.
Not quite β€” the answer is the built-in battery. A phone's battery acts like a mini UPS, keeping your server running through power blips. A Raspberry Pi requires an external UPS hat or battery pack to achieve the same resilience.
03 / 8Networking

When hosting a home server on an Android phone, which method allows you to securely access it remotely without exposing ports directly to the internet?

Correct! Tunneling services like Tailscale or Cloudflare Tunnel create encrypted connections to your home server without requiring open ports or a static IP. This is one of the safest and easiest ways to access a home server remotely.
Not quite β€” the answer is a tunneling service like Tailscale or Cloudflare Tunnel. Port forwarding exposes your device directly to the internet, which carries security risks. Tunneling services route traffic securely without opening firewall ports.
04 / 8Software

Which lightweight web server is commonly installed via Termux on an Android home server due to its low memory footprint?

Correct! nginx is widely favored for Android-based servers because of its asynchronous, event-driven architecture that consumes very little RAM. On a phone with limited memory, nginx can serve web content efficiently where Apache might struggle.
Not quite β€” the answer is nginx. Apache is more resource-hungry and less ideal for constrained devices. Microsoft IIS only runs on Windows, and while Caddy is modern and capable, nginx remains the go-to for lightweight Android server setups.
05 / 8Android

What Android setting must typically be disabled or managed to prevent the phone from killing background server processes during inactivity?

Correct! Android's battery optimization aggressively kills background apps and processes to save power. For a home server, you need to exempt your server apps from battery optimization so they keep running even when the screen is off.
Not quite β€” the answer is battery optimization. Android is designed to prioritize battery life by suspending background tasks, which is the opposite of what you want for a server. Disabling or whitelisting your apps from this feature is a critical setup step.
06 / 8DIY

To prevent battery degradation when running an Android phone as a 24/7 home server plugged into power, what is a recommended practice?

Correct! Keeping a lithium battery between 40% and 80% significantly reduces long-term degradation from heat and constant trickle charging. Some Android phones and apps like AccA (with root) let you set charge limits to preserve battery health over months of server use.
Not quite β€” the answer is limiting charging to around 40–80%. Keeping a lithium-ion battery at 100% continuously causes stress and swelling over time. Charge control tools or built-in manufacturer settings (like Samsung's 85% cap) help extend the phone's lifespan as a server.
07 / 8Networking

What is the purpose of assigning a static local IP address to your Android home server on your router?

Correct! Without a static local IP (usually via DHCP reservation on your router), your phone's local address can change after a reboot, breaking any bookmarks, scripts, or services pointing to it. A reserved IP keeps everything consistently reachable on your home network.
Not quite β€” the answer is that it keeps the phone's local IP consistent. DHCP normally hands out addresses dynamically, so your server's address could change unexpectedly. Reserving an IP in your router settings ties the phone's MAC address to a fixed local address permanently.
08 / 8Hardware

Compared to a Raspberry Pi 4, what is a notable hardware limitation of using an old Android phone as a home server?

Correct! The Raspberry Pi 4 has full-size USB-A ports that make attaching external drives, keyboards, and other peripherals straightforward. Most Android phones rely on USB-C with OTG adapters, and storage expansion is less flexible than plugging a drive into a Pi.
Not quite β€” the answer is the lack of standard USB-A host ports. Android phones are actually capable of impressive server tasks, and Termux brings Linux-like functionality. The real limitation is expandability: attaching external storage or peripherals requires OTG adapters and isn't as seamless as on a Raspberry Pi.
Challenge Complete

Your Score

/ 8

Thanks for playing!

But using your phone gives you a significant advantage. Instead of buying a voice assistant that spies on you, you can mount your old phone to the wall, and it's now a touch-screen dashboard and a privacy-focused microphone for your smart home. As a bonus, you can use the phone's front camera for presence detection or the light sensor to trigger sunset scenes, too.

Another use case is the tiny Docker node by combining Termux (which is not just an app but a Linux environment) with proot, you can run containers, including a full Debian or Ubuntu instance. After doing this, you can host a Pi-hole instance for ad blocking, a Navidrone music server, or a Vaultwarden password manager. These lightweight services run significantly smoother on 6 GB of LPDDR4x RAM than they do on a struggling SBC, as you'd get with a Raspberry Pi.

These are just a couple of simple use cases; there are tons more based on your specific setup and what you'd like to use and add to your home server.

Protect yourself from battery bloat

It will save your hardware in the long run

When you use an old phone as an accessory on your home server, there's obviously a major elephant in the room that needs to be addressed: battery bloat. If you leave an old Android phone plugged into a charger 24/7, you aren't just killing the battery; you're actually inviting battery bloat to ruin your hardware, too. For a device that's meant to stay top-heavy in a closet as a server, you need a strategy to mitigate heat and electrochemical stress.

The easiest way to keep a battery healthy is to stop it from sitting at 100% or 0% for extended periods. This means using the 20-80 rule. Using Tasker and a smart plug, you can create a simple automation that monitors the battery level. When it hits 80%, have it trigger an automation to cut power to a smart plug. When it then drops to 20%, have it toggle the power back on. This means you're cycling the battery and ensuring it stays on at all times without risking battery bloat. By doing this, you're also automating the process, so you don't have to monitor it or deal with it yourself.

You might also want to manage the thermals of your device. Phones are designed to dissipate heat through their screens and glass backs, which isn't ideal if they're sitting face down on a shelf or mounted to a wall. This means that you may need to take some steps to protect it from overheating. Passive cooling is a great first step; ensure the phone isn't in a case, as this can act like a thermal blanket.

If you want a more efficient method of heat dissipation, then you can DIY a heat sink by buying a small adhesive copper heat sink (the kind meant for Raspberry Pi's or laptop NVME drives) and then stick it directly on the back of the phone over the SoC area (usually near the cameras).

Don't invest in new tech that you don't need

Just give your current tech a new lease of life

The Raspberry Pi is for hobbyists who want GPIO pins, but the old phone is for people who want a robust, resilient server for the cost of a USB-C cable. If you've already got the device sitting at the back of a junk drawer, don't let it just become e-waste; give it a new lease of life. We're entering the era of second-life computing. Don't let a perfectly good quad-core CPU rot in a drawer when it could be running your digital life.