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?
The change maker feature would be to arrive home and plug your phone in a dock station and have a desktop to use as a pc
I’ve been talking about this for years! I got the idea from razer but I’m imagining the laptop chassis adds a nice screen, enormous battery, better IO, and then it just uses the touch screen as the track pad.
It could be so cool
But then how would I look at my phone while using my Desktop.
I’ll need a dummy phone to doom scroll on.
This is simultaneously cool and cursed af.
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.
Tbh a laptop is a “mobile” device
It’s a server with integrated UPS and KVM console.
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
these are the times when I get jealous, as an iOS user
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.
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
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.
Lmao this is amazing. The future is now…
The day Docker works on Android, I’m settled.
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
Thanks. My phone is on 14 and won’t get another update, oh well.
“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
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).
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! :)
I do it. It has be DOT and you have to have a valid cert.
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.
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
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
How do we activate this feature? I have it enabled after going into the developer settings menu but nothing seems to happen, I see mentions of an app but idk what the app is. I am on grapheneOS though instead of normal android so there could be something with that here.
Oh nvm I figured it out, it just took a bit for me to realize there was a new terminal app on my phone
Just installed arch with chroot on my old rooted phone a week ago.
Seeing this is great because it means there’s no need for complicated workarounds or even root access! Plus the distro runs natively and not with difficulties like with chroot :D
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.
The VM eats through the battery, that’s the only hangup I have with this. Otherwise that’s a fantastic idea.
If I trusted the battery tech more, I would use an old phone. But I’ve had one of those white plastic Mac books hooked up to power so long, the battery swelled out of its enclosure :/
Maybe there’s a way to disconnect the battery, or an app that switches off charging, so it drains enough to keep that from happening
There are root apps that can limit battery charge level. If you have an older phone that’s rootable, I would look into that.
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.
I wish all the logs at my company were as beautiful as these terminal logs
Please no. I can’t grep that. (Nor ingest it to splunk for more powerful searching.)
If its an application I run locally, I rarely grep logs (they’re small enough that I can just ctrl+f). If it’s something running in production with millions of lines of logs, then I agree
That’s super cool! I’ve been wanting to setup an offsite backup rig at my parents place and using an old phone to run it would be super ideal but I just don’t have any hardware that’s compatible with postmarketOS. Maybe one day ill bite the bullet and just buy a compatible used phone to do it with.