this post was submitted on 11 Mar 2025
335 points (99.1% liked)

Selfhosted

44210 readers
557 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 50 comments
sorted by: hot top controversial new old
[–] javilopezg@lemmy.world 10 points 1 day ago (4 children)

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

[–] dan@upvote.au 7 points 1 day ago* (last edited 1 day ago)

This has been supported on Samsung devices for years - it was first added to the Galaxy S8 (2017). It's called Samsung DeX. You can plug a phone or tablet into a monitor, keyboard, and mouse, and it gives you a full screen experience.

They have docking stations, but you can also just use a USB C hub.

[–] Lv_InSaNe_vL@lemmy.world 3 points 1 day ago

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

[–] lka1988@lemmy.dbzer0.com 2 points 1 day ago

I have a Steam Deck dock specifically for this. Except the mouse comes up on the phone screen instead of the monitor. Weird bug.

[–] Brickhead92@lemmy.world 1 points 1 day ago

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.

[–] merthyr1831@lemmy.ml 55 points 2 days 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 13 points 2 days ago (1 children)

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

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

Tbh a laptop is a "mobile" device

[–] towerful@programming.dev 13 points 2 days ago (3 children)

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

[–] valkyre09@lemmy.world 3 points 1 day 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

[–] lka1988@lemmy.dbzer0.com 1 points 1 day ago

In all seriousness, I think a "mobile server" in laptop-like form would be pretty nice. Have a giant battery attached to the bottom and program the controller to run on AC as it's primary power source while treating the battery as a secondary source. Definitely niche, but cool nonetheless.

@towerful @baatliwala For real though, I use old laptops for self-hosting so that I never have to dig up a monitor & keyboard.

[–] padook@feddit.nl 3 points 1 day 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 2 points 1 day 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 2 points 17 hours ago (1 children)

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

[–] Lv_InSaNe_vL@lemmy.world 1 points 17 hours ago

Ah okay. The Chromecast thing is a killer feature I've been looking for, my media PC that I have now is pretty good, just doesn't have that one thing.

[–] Akito@lemmy.zip 12 points 2 days ago (1 children)

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

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

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

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

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

load more comments (2 replies)
[–] ashaman2007@lemm.ee 54 points 3 days ago

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

[–] domi@lemmy.secnd.me 19 points 2 days 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 16 points 2 days ago (2 children)

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

[–] Appoxo@lemmy.dbzer0.com 2 points 2 days 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 8 points 2 days ago (1 children)

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.

load more comments (1 replies)
[–] tofu@lemmy.nocturnal.garden 23 points 3 days ago (1 children)

That's cool! I've always had the idea of a small k3s cluster on old phones with postmarketOS. I guess it doesn't work with older phones which don't have the latest Android Version but given the homelab trend generally goes towards small, low power devices, this could continue the trend with super small and low power phones. Probably in 2 years when current gen phones rotate out of company leasing contracts?

[–] Dust0741@lemmy.world 13 points 3 days ago (1 children)

Oh man that'd be super cool. An ARM cluster of androids would be awesome. Battery backups built in!

[–] lka1988@lemmy.dbzer0.com 1 points 1 day ago

Make sure you utilize the 80% charge feature

[–] Toribor@corndog.social 1 points 1 day ago* (last edited 1 day ago) (2 children)

I'm assuming your phone has to be rooted for this right? Or is docker running without root? I didn't realize anything like this was possible. This is interesting.

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

Nipe! Not rooted. In a VM though

load more comments (1 replies)
[–] solrize@lemmy.world 11 points 2 days ago (1 children)

latest release of android

Does that mean 15?

[–] Dust0741@lemmy.world 9 points 2 days ago (3 children)

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

load more comments (3 replies)
[–] mesamunefire@piefed.social 15 points 3 days ago (2 children)

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

[–] Dust0741@lemmy.world 29 points 3 days ago (1 children)

That's Debian in the screenshot

load more comments (1 replies)
[–] sugar_in_your_tea@sh.itjust.works 1 points 1 day ago* (last edited 1 day ago)

Um, what does that even mean?

Edit: Looks like it runs a VM. So some overhead, but still cool.

[–] node815@lemmy.world 7 points 2 days ago (3 children)

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! :)

[–] Auli@lemmy.ca 4 points 2 days ago

I do it. It has be DOT and you have to have a valid cert.

load more comments (2 replies)
[–] muelltonne@feddit.org 7 points 2 days ago (3 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?

[–] Lyra_Lycan@lemmy.blahaj.zone 4 points 2 days ago* (last edited 2 days ago)

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

In the past people used tasker to charge at a certain threshold. Check with homeassistant people to see what they do.

load more comments (1 replies)
[–] kratoz29@lemm.ee 5 points 2 days ago

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).

load more comments
view more: next ›