<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/my-old-android-phone-became-a-linux-server-and-it-handles-more-than-i-expected-iv7qpxlnk" -->

---
title: My old Android phone became a Linux server, and it...
description: An old Android phone with 8GB RAM was repurposed into a Linux server using Termux, a terminal emulator that runs a Linux userland without rooting the device....
canonical: https://daily.dev/posts/my-old-android-phone-became-a-linux-server-and-it-handles-more-than-i-expected-iv7qpxlnk
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: My old Android phone became a Linux server, and it handles more than I expected | daily.dev
og:description: An old Android phone with 8GB RAM was repurposed into a Linux server using Termux, a terminal emulator that runs a Linux userland without rooting the device....
og:url: https://daily.dev/posts/my-old-android-phone-became-a-linux-server-and-it-handles-more-than-i-expected-iv7qpxlnk
og:image: https://api.daily.dev/og/posts/iV7QPxlNK.png
og:image:alt: My old Android phone became a Linux server, and it handles more than I expected
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# My old Android phone became a Linux server, and it handles more than I expected

**[XDA Developers](https://daily.dev/sources/xda-developers)** · 3 min read · 2 upvotes · 0 comments

## Summary

An old Android phone with 8GB RAM was repurposed into a Linux server using Termux, a terminal emulator that runs a Linux userland without rooting the device. Setup took about an hour and involved switching SSH to port 8022, disabling battery optimization, and using termux-wake-lock to prevent Android from suspending the app. The phone runs Jellyfin for media streaming (limited to direct play since hardware video decoding isn't accessible through Termux), plus lighter services like Syncthing, rclone, rsync backups, Nginx, and small Python/Node.js apps. The main limitation isn't hardware but Android itself, since Termux's sandboxed environment lacks systemd, Docker, and the full package ecosystem of a real Linux distro.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.xda-developers.com/old-android-phone-linux-server-handles-more-expected>

## Questions this post answers

### How do I run a Linux server on an old Android phone without rooting it?

Install Termux, a free open-source terminal emulator that provides a Linux userland running inside Android's standard app sandbox, no root required. It uses port 8022 for SSH instead of 22, and battery optimization should be disabled along with running termux-wake-lock to prevent Android from suspending it while idle.

_Explore more self-hosting setups and repurposing guides curated for developers on daily.dev._

### Can Termux on Android run Jellyfin for media streaming?

Yes, Termux has a jellyfin-server package that installs a working Jellyfin server accessible from other devices on the same network. Heavy transcoding is not well supported because Termux cannot properly access the phone's hardware video decoder, but direct play of original media files works reliably, covering most typical viewing needs.

_Developers evaluating lightweight media server options can find comparisons like this on daily.dev._

### What are the limitations of using Termux as a Linux server on Android?

Termux operates inside Android's application sandbox, so systemd, Docker, and many standard Linux applications are unavailable. Its package repository, while extensive, does not match the completeness of a full Ubuntu or Debian install, making it best suited for lighter services like Syncthing, rclone, rsync, Nginx, and small Python or Node.js apps rather than container-based workloads.

_daily.dev surfaces practical trade-off breakdowns for anyone weighing DIY server hardware choices._

## Similar posts on daily.dev

- [My old Android phone is a better always-on home server than most mini PCs I've tested](https://daily.dev/posts/my-old-android-phone-is-a-better-always-on-home-server-than-most-mini-pcs-i-ve-tested-ms3nqs7i8) · XDA Developers · 0 upvotes · 0 comments
- [I turned my old phone into a device that does something my $300 smart home gadgets can't](https://daily.dev/posts/i-turned-my-old-phone-into-a-device-that-does-something-my-300-smart-home-gadgets-can-t-tughk4r3c) · XDA Developers · 0 upvotes · 0 comments
- [I stopped treating old phones like e-waste and started treating them like tiny servers](https://daily.dev/posts/i-stopped-treating-old-phones-like-e-waste-and-started-treating-them-like-tiny-servers-bomo7pv5s) · XDA Developers · 2 upvotes · 0 comments
- [An old Android phone is a better first home server than a $100 Raspberry Pi in 2026, and you probably already own one](https://daily.dev/posts/an-old-android-phone-is-a-better-first-home-server-than-a-100-raspberry-pi-in-2026-and-you-probabl-kaywi3iss) · XDA Developers · 1 upvotes · 0 comments
- [my server is a phone now](https://daily.dev/posts/my-server-is-a-phone-now-qtzo1fdtc) · Hacker News · 0 upvotes · 0 comments

---

Tags: [#linux](https://daily.dev/tags/linux), [#android](https://daily.dev/tags/android), [#self-hosting](https://daily.dev/tags/self-hosting), [#jellyfin](https://daily.dev/tags/jellyfin)

[View this post on daily.dev](https://daily.dev/posts/my-old-android-phone-became-a-linux-server-and-it-handles-more-than-i-expected-iv7qpxlnk)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"My old Android phone became a Linux server, and it handles more than I expected","url":"https://daily.dev/posts/my-old-android-phone-became-a-linux-server-and-it-handles-more-than-i-expected-iv7qpxlnk","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/my-old-android-phone-became-a-linux-server-and-it-handles-more-than-i-expected-iv7qpxlnk"},"datePublished":"2026-08-26T15:03:21.858Z","dateModified":"2026-09-14T09:10:41.917Z","description":"An old Android phone with 8GB RAM was repurposed into a Linux server using Termux, a terminal emulator that runs a Linux userland without rooting the device....","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/3519276c057f3c3e6d6d04f08e82888d?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/3519276c057f3c3e6d6d04f08e82888d?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"XDA Developers","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"XDA Developers","logo":"https://media.daily.dev/image/upload/s--kCg6yyAP--/f_auto,q_auto/v1774964407/logos/xda-developers?_a=BAMAMiWQ0","url":"https://daily.dev/sources/xda-developers"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/my-old-android-phone-became-a-linux-server-and-it-handles-more-than-i-expected-iv7qpxlnk","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"linux,android,self-hosting,jellyfin","timeRequired":"PT3M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"XDA Developers","item":"https://daily.dev/sources/xda-developers"},{"@type":"ListItem","position":3,"name":"My old Android phone became a Linux server, and it handles more than I expected"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/my-old-android-phone-became-a-linux-server-and-it-handles-more-than-i-expected-iv7qpxlnk#faq","mainEntity":[{"@type":"Question","name":"How do I run a Linux server on an old Android phone without rooting it?","acceptedAnswer":{"@type":"Answer","text":"Install Termux, a free open-source terminal emulator that provides a Linux userland running inside Android's standard app sandbox, no root required. It uses port 8022 for SSH instead of 22, and battery optimization should be disabled along with running termux-wake-lock to prevent Android from suspending it while idle. Explore more self-hosting setups and repurposing guides curated for developers on daily.dev."}},{"@type":"Question","name":"Can Termux on Android run Jellyfin for media streaming?","acceptedAnswer":{"@type":"Answer","text":"Yes, Termux has a jellyfin-server package that installs a working Jellyfin server accessible from other devices on the same network. Heavy transcoding is not well supported because Termux cannot properly access the phone's hardware video decoder, but direct play of original media files works reliably, covering most typical viewing needs. Developers evaluating lightweight media server options can find comparisons like this on daily.dev."}},{"@type":"Question","name":"What are the limitations of using Termux as a Linux server on Android?","acceptedAnswer":{"@type":"Answer","text":"Termux operates inside Android's application sandbox, so systemd, Docker, and many standard Linux applications are unavailable. Its package repository, while extensive, does not match the completeness of a full Ubuntu or Debian install, making it best suited for lighter services like Syncthing, rclone, rsync, Nginx, and small Python or Node.js apps rather than container-based workloads. daily.dev surfaces practical trade-off breakdowns for anyone weighing DIY server hardware choices."}}]}
```

