Jellyfin Forum
You can now Self-Host Jellyfin On Android via Termux! - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Off Topic (https://forum.jellyfin.org/f-off-topic)
+--- Forum: Self-hosting & Homelabs (https://forum.jellyfin.org/f-self-hosting-homelabs)
+--- Thread: You can now Self-Host Jellyfin On Android via Termux! (/t-you-can-now-self-host-jellyfin-on-android-via-termux)



You can now Self-Host Jellyfin On Android via Termux! - George-Seven - 2025-06-09

A few days ago Termux APT Repo officially made udocker(User-space Docker) package available!

Now, using this we're able to run Docker images of servers without needing root, custom kernels, or qemu. This includes running the official Jellyfin Docker image on the phone itself!

You can now make use of your old mobile devices lying around to self-host portable Jellyfin servers.



My announcement and setup

https://github.com/George-Seven/Termux-Udocker

The steps are in the Readme of the GitHub repo. I'll just highlight the ones for Jellyfin below:-

Install Termux from F-Droid and follow these instructions:-

Step-1

Step-2


RE: You can now Self-Host Jellyfin On Android via Termux! - Generator - 2025-06-09

This can be useful if you want a cheap low power (~10w) server/client, there's hundreds of Android boxes with USB3 and gigabit ethernet for $30-40.

Just be aware of chinese malware pre-installed on some boxes, some can be used with custom ROMs like SlimBoxTV.

Not recommended to use this 24/7 on battery devices like phones, battery can overheat and explode


RE: You can now Self-Host Jellyfin On Android via Termux! - marsousa75 - 2025-11-24

Step 1 goes ok. Step 2 throws error:

CANNOT LINK EXECUTABLE "/data/data/com.termux/files/usr/bin/proot": library "/usr/lib/jellyfin/libjemalloc.so.2" not found: needed by main executable


RE: You can now Self-Host Jellyfin On Android via Termux! - Inon Sinn - 2025-11-27

(2025-11-24, 10:31 PM)marsousa75 Wrote: Step 1 goes ok. Step 2 throws error:

CANNOT LINK EXECUTABLE "/data/data/com.termux/files/usr/bin/proot": library "/usr/lib/jellyfin/libjemalloc.so.2" not found: needed by main executable

In the jellyfin.sh file change line 6 from
IMAGE_NAME="jellyfin/jellyfin" to IMAGE_NAME="jellyfin/jellyfin:10.10.7"
Its only a Quick Fix, but i stil have not figured out how to fix it to work with V10.11

Inon


RE: You can now Self-Host Jellyfin On Android via Termux! - Eugen Enache - 2025-12-01

Hi, I've updated the line 6 from jellyfin.sh file to jellyfin/jellyfin:10.10.7, but i still receive the error CANNOT LINK EXECUTABLE "/data/data/com.termux/files/usr/bin/proot": library "/usr/lib/jellyfin/libjemalloc.so.2" not found: needed by main executable.
Is there anything else I can do to make it work?
Thanks in advance


RE: You can now Self-Host Jellyfin On Android via Termux! - George-Seven - 2025-12-14

(2025-12-01, 04:42 PM)Eugen Enache Wrote: Hi, I've updated the line 6 from jellyfin.sh file to jellyfin/jellyfin:10.10.7, but i still receive the error CANNOT LINK EXECUTABLE "/data/data/com.termux/files/usr/bin/proot": library "/usr/lib/jellyfin/libjemalloc.so.2" not found: needed by main executable.
Is there anything else I can do to make it work?
Thanks in advance

There was a missing dep search earlier in jellyfin image discussed here.

Have updated the fix in this commit.

You can update it now -

Code:
cd ~/Termux-Udocker; git pull

And remove old non-functional container -

Code:
udocker rm jellyfin-server

Code:
udocker rmi jellyfin/jellyfin

Done. Start it -

Code:
~/Termux-Udocker/jellyfin.sh



RE: You can now Self-Host Jellyfin On Android via Termux! - 云奕泽 - 2025-12-17

Thank you very much for the scripts you wrote in the Termux-UDocker repository. They have been a huge help to me. I was just planning to turn my old phone into a media server, and then I came across this post. I’m truly very grateful!