sodcalculator

10 Tech How-To

Old Samsung Galaxy as Jellyfin Server? Yes, Here’s How

Guide 10-32469 · Updated · Step by step

Yes, you can turn an old Samsung Galaxy phone into a Jellyfin media server, and it works surprisingly well for a small household. You’ll install a Linux environment (like Termux) on the phone, run the Jellyfin server inside it, and point it at movies and music stored on the device or an external drive. The main limitations are storage, battery heat, and the phone’s ARM processor, but for a bedroom TV or a single-family setup, it’s a legitimate, low-power server.

Why a Phone Is a Viable Server

Modern Samsung Galaxy phones ship with octa-core ARM processors, 4–8 GB of RAM, and fast UFS storage. That’s comparable to a Raspberry Pi 4, which is a common DIY media server. Jellyfin’s server software is lightweight on its own—the heavy work is transcoding video. The phone’s GPU (Mali or Adreno) can handle a single 1080p transcode with the right settings, and direct playback (no transcoding) uses almost no CPU. For a phone that’s sitting in a drawer, the power draw is under 5 watts, versus 30–50 watts for an old PC.

How Jellyfin Works on Android

Jellyfin offers an official Android app, but that app is a client—it plays media from a server. The server itself is a Java/Python/.NET application that normally runs on Windows, Linux, or macOS. Android isn’t a supported server platform, so you need to create a Linux-like environment. The two practical ways are:

  • Termux – a terminal emulator that provides a minimal Linux userland without root. You install Jellyfin via its package repository and run it as a background process.
  • UserLAnd – a GUI app that runs a full Ubuntu or Debian distribution in a chroot. More familiar, but heavier and slower to start.

Termux is the most common choice because it’s lighter and has a package manager that includes Jellyfin. You’ll need to allow background activity in Android settings, disable battery optimization for Termux, and keep the phone plugged in.

What You Need Before Starting

Before you begin, gather these:

  • A Samsung Galaxy phone with Android 10 or newer (Android 12+ works best with background restrictions).
  • A microSD card (if your phone has a slot) or a USB-OTG drive for media storage. Phone internal storage fills up fast with movies.
  • A stable Wi-Fi connection. The phone will act as a server on your local network.
  • The Jellyfin app on the client devices (TV, tablet, another phone).
  • Optional: a USB Ethernet adapter for better stability and faster transfers.

You do not need root access. Termux runs entirely in userspace. However, Android’s aggressive process management can kill the server if you don’t configure the phone properly.

Step-by-Step Setup (Termux Method)

  1. Install Termux from F-Droid (the Play Store version is outdated).
  2. Open Termux and run pkg update && pkg upgrade.
  3. Install Jellyfin: pkg install jellyfin-server (or jellyfin). This pulls the server and its dependencies.
  4. Start the server: jellyfin – it will run in the foreground. For a background service, use tmux or screen to keep it alive after you close the terminal.
  5. Find your phone’s IP address (Settings → Wi-Fi → tap the connected network). Jellyfin listens on port 8096 by default.
  6. On a computer or TV, open a browser and go to http://:8096. Complete the initial setup wizard, add your media folders (e.g., /storage/emulated/0/Movies), and you’re done.

To make the server start automatically after a reboot, you’ll need an app like Termux:Boot (from F-Droid) and a small script. That’s optional but recommended if you plan to leave the phone as a permanent server.

Common Problems and Fixes

The most frequent issue is the server stopping when the screen locks. Fix that by going to Settings → Apps → Termux → Battery and selecting “Unrestricted.” Also disable “Put app to sleep” in the same menu. On some Samsung phones, you must also go to Settings → Battery and device care → Battery → Background usage limits and add Termux to the “Never sleeping apps” list.

Another problem is transcoding stutter. If Jellyfin tries to transcode a 4K video, the phone will struggle. Set the client to “Direct Play” whenever possible, and if transcoding is unavoidable, lower the bitrate in the client settings. For a smoother experience, stick to H.264 video with AAC audio—these play natively on most devices without transcoding.

Storage can also be a pain. Android restricts apps from writing to external SD cards in recent versions. You can use the SD card as “portable storage” and Jellyfin can read it, but writing requires a file manager with proper permissions. The easiest workaround is to store media on the internal storage or use a USB-OTG flash drive formatted as exFAT.

Performance and Limits

What can you realistically expect? A Galaxy S10 or newer can handle:

  • Direct playback of 1080p and most 4K H.264 files (no transcoding).
  • One 1080p transcode (e.g., from MKV to MP4) with hardware acceleration enabled in Jellyfin settings.
  • Two or three simultaneous direct streams over Wi-Fi.

You cannot expect to transcode 4K HDR content or serve five users at once. The phone’s CPU will throttle under sustained load, and the battery will heat up. Keep the phone in a well-ventilated area and remove its case if it gets warm. Also, note that the phone’s Wi-Fi is the bottleneck—a 4K movie requires 25–50 Mbps, which is fine on 5 GHz Wi-Fi, but a USB Ethernet adapter gives a more stable connection.

Alternatives to a Phone

If the phone doesn’t work out, consider these options:

  • Raspberry Pi 4 or 5 – similar ARM performance, but with Ethernet and USB 3.0, and no battery to swell.
  • Old laptop or mini PC – x86 processors handle transcoding better, and you can install Linux natively.
  • NVIDIA Shield TV – an Android TV box that runs Jellyfin server natively, with excellent hardware transcoding.
  • Cloud server – for remote access, but you pay monthly and need good upload speed.

The phone is a zero-cost option if you already have it. Just be aware that it’s a hobbyist setup, not a production server. If you need reliability, a dedicated device is better.

Safety and Longevity

Leaving a phone plugged in 24/7 can cause the battery to swell over time. To mitigate this, use a smart plug to charge the phone only when the battery drops below 50%, or remove the battery if you’re comfortable with hardware mods (not recommended for most). Also, keep the phone away from flammable surfaces and ensure it has airflow. The phone’s battery is the only real safety concern—the software side is harmless.

Frequently Asked Questions

Will this void my phone’s warranty? No, installing Termux and running Jellyfin doesn’t require rooting or modifying the system. It’s just an app. However, if you leave the phone plugged in and the battery swells, the physical damage might not be covered.

Can I access the server from outside my home? Yes, but you’ll need to set up port forwarding on your router or use a VPN like Tailscale. Jellyfin supports remote access, but exposing port 8096 to the internet is a security risk—use a VPN or a reverse proxy with HTTPS.

How do I add media from my computer? You can use ADB over Wi-Fi to push files, or set up an FTP server in Termux. The easiest way is to copy files to the phone’s internal storage via USB cable, then point Jellyfin to that folder.

Why does Jellyfin keep stopping? Android’s battery optimization is the usual culprit. Make sure Termux is set to “Unrestricted” and disable “App power management” for it. Also, check that the phone isn’t in “Optimized” battery mode—set it to “High performance” or “Unrestricted” for Termux.

Can I use the phone while it’s a server? Yes, but heavy use (like gaming) might cause the server to stutter. For best results, dedicate the phone to server duty and use another device for browsing.

Is there a way to run Jellyfin without Termux? You can try UserLAnd, but it’s slower and more prone to crashes. Some people have run Jellyfin in a Docker container via Termux, but that’s more complex and not officially supported.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →