this post was submitted on 11 Mar 2025
8 points (100.0% liked)

Selfhosted

46265 readers
196 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

With the latest release of android it now supports some Linux functionality. I got docker installed simply by following Docker's docs.

Any thoughts or uses for a mobile homelab? What would be useful to have mobile?

top 47 comments
sorted by: hot top controversial new old
[–] merthyr1831@lemmy.ml 4 points 1 month ago (1 children)

my friends complaining that my plex server because I left my phone on the bus and it ran out of charge

[–] perishthethought@lemm.ee 1 points 1 month ago (1 children)

The lines between mobile device and server get blurred even more.

[–] baatliwala@lemmy.world 2 points 1 month ago (1 children)

Tbh a laptop is a "mobile" device

[–] towerful@programming.dev 2 points 1 month ago (1 children)

It's a server with integrated UPS and KVM console.

[–] valkyre09@lemmy.world 1 points 1 month ago

Except for that time I took out the battery because it was swollen and took the screen off to help with cooling. At least I still have my K and M

[–] ashaman2007@lemm.ee 3 points 1 month ago

Lmao this is amazing. The future is now...

[–] node815@lemmy.world 1 points 1 month ago

Maybe your own adblocker, I thought about doing that myself, I use the public one from adguard on my phone (dns.aguard-dns.com) but having it on your own device would be pretty slick perhaps. But thinking about it more, Google wouldn't just let you use an internal IP for the private DNS. I have tried it with my locally hosted adblocker and it rejects it.

Or you could set up a dashboard like Homepage or Dashy, or Flame or ? Ultimately, your imagination would do! :)

[–] shyguyblue@lemmy.world 1 points 1 month ago (2 children)

Oh nice! I'd love to run an ad blocker/dns/reverse proxy on something with a little more beef than the Pi zero I've got now.

Jellyfin and or Pi zero does not like streaming through the video.local address I've got setup, so i have to use IP address to get anything without stuttering.

[–] lka1988@sh.itjust.works 1 points 1 month ago* (last edited 1 month ago)

The VM eats through the battery, that's the only hangup I have with this. Otherwise that's a fantastic idea.

[–] merthyr1831@lemmy.ml 0 points 1 month ago (1 children)

pi zero for streaming is insane not gonna lie. What sort of resolution do you stream it at?

A decently newish phone would blow even a pi 5 out of the water I bet. Modern GPU drivers from snapdragon or mediatek plus core designs that arent 7 years old out of the factory would be a godsend for low-watt homelabbers

[–] shyguyblue@lemmy.world 0 points 1 month ago (1 children)

Dang, I just realized I didn't explain the setup well enough:

An old laptop runs the Jellyfin server, but the Pi runs the reverse proxy. For some reason, trying to use the reverse proxied address causes problems, but connecting directly to the laptop via IP address and port runs fine.

I tried a Jellyfin server with a pi 2 or 3 and it couldn't serve more than one client at a time. So i imagine a zero wouldn't even be able to load the app, much less serve anything :/

My main reason for running my DNS/ad block/nginx through the zero, sometimes the laptop goes down, freezes, or fails to clear the transcodes folder, so having that stuff separate keeps at least part of the network running.

[–] macattack@lemmy.world 1 points 1 month ago

Are you using DNS Rewrites for jellyfin? I am using that (via AdGuard Home) w/ my Reverse Proxy (Zoraxy) and most of the apps work outside of jellyfin. Wondering if I need to configure the domain in the compose/env file 🤔

This is simultaneously cool and cursed af.

[–] shadowtofu@discuss.tchncs.de 0 points 1 month ago (2 children)

While this is very exciting, I just tried it, and the network connectivity seems to be broken. No IPv6.

[–] Dust0741@lemmy.world 1 points 1 month ago* (last edited 1 month ago) (2 children)

Hmm I was messing with its networking. External vpns break stuff on GrapheneOS. Its internal IP was 192.168.0.2, and my network is different.

[–] macattack@lemmy.world 1 points 1 month ago (1 children)

Any other tips for the VM and/or GrapheneOS compatibility? Ie: did you use a different profile? I run Debian throughout my house as is, but plan on integrating the VM for better integration but was a little hesitant to be an early adopter due to the potential nuances. (lemme know if you have a blog/gist/etc covering it too)

[–] Dust0741@lemmy.world 2 points 1 month ago

I used the owner profile. Idk much about it tbh, I have yet to do more in depth testing as my phone doesn't have displayport functionality so I am a little discouraged to be an early adopter too. I couldn't get SSH setup so typing a lot on the small keyboard wasn't ideal.

I'd check Google/GOS docs for more info for now. I'll bet there'll be a lot in the coming years as fast as usecases

[–] shadowtofu@discuss.tchncs.de 1 points 1 month ago

Yes, Linux is running in a VM, and the network interface is a virtualized veth interface connected to a host bridge. The host android system has IP address 192.168.0.1, and this network interface is called avf_tap_fixed (as seen from termux).

[–] shadshack@sh.itjust.works 1 points 1 month ago (1 children)

I can't get it to have network connection while my phone is on cellular data. On wifi it's fine.

[–] shadowtofu@discuss.tchncs.de 1 points 1 month ago (1 children)

I just checked, and I have connectivity while on cellular. Maybe (just wild speculation) your mobile network is IPv6-only? Android (not Linux) should list 192.0.0.4 as an IP address in that case.

[–] shadshack@sh.itjust.works 1 points 1 month ago

It's probably that. While on cellular my IP isn't 192.0.0.4 (but it is in 10. space), but there's probably some v6 somewhere in the way.

[–] solrize@lemmy.world 0 points 1 month ago (1 children)

latest release of android

Does that mean 15?

[–] Dust0741@lemmy.world 0 points 1 month ago (1 children)

Yea kinda. Android is switching to quarterly releases, so my phone now says "Android 15" but this was QPR2 specifically

[–] NeoNachtwaechter@lemmy.world 0 points 1 month ago (1 children)

"Android 15" but this was QPR2 specifically

How can we bring that to a real world (read: cheap Chinese) phone?

[–] Dust0741@lemmy.world 1 points 1 month ago

Not sure, but if LineageOS supports it, that should be all you need

[–] mesamunefire@piefed.social 0 points 1 month ago (1 children)

Debian is supposedly coming to android. That would be cool.

[–] Dust0741@lemmy.world 2 points 1 month ago

That's Debian in the screenshot

[–] Akito@lemmy.zip 0 points 1 month ago (1 children)

The day Docker works on Android, I'm settled.

[–] lka1988@lemmy.dbzer0.com 2 points 1 month ago (1 children)

Docker does work on Android. That's what OP is showing off.

[–] yarr@feddit.nl 2 points 1 month ago (1 children)

Well, if they manage to get it working on Android I'll be really impressed.

[–] dan@upvote.au 1 points 1 month ago (1 children)

Maybe one day it'll even work on Android!

[–] yarr@feddit.nl 1 points 1 month ago

Even better, maybe it will support Docker.

[–] mrhenry77@lemmy.world 0 points 1 month ago (1 children)

these are the times when I get jealous, as an iOS user

[–] turnip@sh.itjust.works 0 points 1 month ago (1 children)

I dont know how you can stand using iOS. Its just so unintuitive, theres no back button and I can't even figure out copy/paste.

[–] valkyre09@lemmy.world 1 points 1 month ago (1 children)

Copy paste is easy. You just tap on the, no wait you tap on the, fuck hold on. You tap, there we are, on the word and hold until it highlights. No wait hold on. Fuck. There we are. Ok now you tap on the highlighted word to copy, fuck wait Ah fuck it just type it again yourself

[–] turnip@sh.itjust.works -1 points 1 month ago* (last edited 1 month ago)

Haha my feelings exactly, I can work in Linux cli and program rust with ease, but I can't copy and paste on an iPhone.

[–] domi@lemmy.secnd.me 0 points 1 month ago (1 children)

With the latest release of android it now supports some Linux functionality.

Wait, it does? Gonna have to check that out.

[–] Dust0741@lemmy.world 1 points 1 month ago (1 children)

Early alpha, but yea it's full on Linux in Android. Quite slick

[–] Appoxo@lemmy.dbzer0.com 0 points 1 month ago (1 children)

Is it an app I should be able to just find in my installed apps or do I need to enable it?
Because as of now (Pixel 7, Android 15) I can only find Termux.

[–] SteveTech@programming.dev 1 points 1 month ago

You have to be on the March update, then go to Developer options -> Linux environment, and enable it. Then 'Terminal' will appear in your apps drawer.

[–] padook@feddit.nl 0 points 1 month ago (1 children)

I dont think I so much want this for my phone as for my homemade AndroidTV boxes. Losing the Linux functionality after switching from Kodi/libreelec had been my biggest pain point.

Can't wait to see my TV boxes show up in my Beszel dashboard!

[–] Lv_InSaNe_vL@lemmy.world 0 points 1 month ago (1 children)

Can you tell me more about these homemade android TV boxes? I built a really shitty front end to "turn" my Linux based mini PCs into a media streamer but it lacks things like Chromecast and reliability haha

[–] padook@feddit.nl 1 points 1 month ago

I have two TV boxes, one is a Raspberry pi 4, the other is a pi 5. I installed KonstaKANG's android port for the Pi's. Depending on your familiarity with flashing the Pi's this video from Explaining Computers offers a way to get Konsta installed through PINN. Once they're up and running they act just like a cellphone. This remote works really well.

Install f-droid, and/or obtainium, and/or Aurora Store and you can install whatever apps you want on the box.

I don't personally use Chromecast, so I can't vouch for that working. Mine is more centered around consuming Jellyfin (jellyfin android tv app), youtube (newpipe), podverse, and Radiodroid

I really liked Kodi, but could never get it to correctly sync across devices so I finally went the android route. I've been pretty happy

Feel free to pick my brain if you have more questions

[–] muelltonne@feddit.org 0 points 1 month ago (1 children)

What is the current wisdom about having an android device always plugged in? Some people say that it will kill and pillow the battery, but does it really?

[–] Dust0741@lemmy.world 1 points 1 month ago

I don't know. I think they are pretty good at managing battery, and have a new setting for maxing it out at 80% charge, but I don't think I'd put it near anything expensive for years on end.

[–] knF@lemmy.world 0 points 1 month ago* (last edited 1 month ago) (1 children)

Impressive! Can you please link the instructions you followed?

Some time ago I was hosting the full ARR suite, bitwarden, AdGuard etc, but it was usually a mess with direct installs. With docker it might be worth revisiting it.

My only advice, buy a usb-ETH dongle, it will make a huge difference in stability

[–] Dust0741@lemmy.world 1 points 1 month ago

https://docs.docker.com/engine/install/debian/#install-using-the-repository

That's it lol. To turn on the terminal, it's a developer option for now, and is very alpha, just search for Linux in settings after turning on dev mode