Android Self hosting
-
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?
my friends complaining that my plex server because I left my phone on the bus and it ran out of charge
-
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.
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
-
latest release of android
Does that mean 15?
Yea kinda. Android is switching to quarterly releases, so my phone now says "Android 15" but this was QPR2 specifically
-
Yea kinda. Android is switching to quarterly releases, so my phone now says "Android 15" but this was QPR2 specifically
Thanks. My phone is on 14 and won't get another update, oh well.
-
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?
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?
-
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?
With the latest release of android it now supports some Linux functionality.
Wait, it does? Gonna have to check that out.
-
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?
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.
-
With the latest release of android it now supports some Linux functionality.
Wait, it does? Gonna have to check that out.
Early alpha, but yea it's full on Linux in Android. Quite slick
-
Early alpha, but yea it's full on Linux in Android. Quite slick
Dope, seems to not have landed yet in LineageOS but the Terminal app is already installed. Just missing the toggle in the developer options.
-
my friends complaining that my plex server because I left my phone on the bus and it ran out of charge
The lines between mobile device and server get blurred even more.
-
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
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.
-
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?
I can see my 5 year old android mobile struggling being a suitable self hosting machine... (Because of the battery).
But not gonna lie, having it working as a more advanced travel router connect to Tailscale sounds like a neat idea (which I think it is already possible? The other day I saw the client app that supports subnet routers? I just haven't tried it, and it has a disclaimer that it drains the battery... So I didn't end up doing that at that moment when I was away).
-
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?
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!
-
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?
In the past people used tasker to charge at a certain threshold. Check with homeassistant people to see what they do.
-
Yea kinda. Android is switching to quarterly releases, so my phone now says "Android 15" but this was QPR2 specifically
"Android 15" but this was QPR2 specifically
How can we bring that to a real world (read: cheap Chinese) phone?
-
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?
The trick of retrofitting any battery powered device into a wired one is to remove the battery. No matter what, Li-ion batteries cannot sustain permanent power. Expensive adapters and new Androids can regulate power well, as can automations, but the best worry-free option is battery removal.
Edit: I've just remembered Fairphone, they're bossing the mobile repair ability front and have removable batteries like pre-2012. Could get one of those
-
"Android 15" but this was QPR2 specifically
How can we bring that to a real world (read: cheap Chinese) phone?
Not sure, but if LineageOS supports it, that should be all you need
-
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!
Unfortunately, from trying this myself, I don't think you can forward port 53 to the Android host, so that won't work (easily). It seems that privileged ports aren't allowed to be forwarded.
-
Early alpha, but yea it's full on Linux in Android. Quite slick
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. -
The lines between mobile device and server get blurred even more.
Tbh a laptop is a "mobile" device