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?

  • @[email protected]
    link
    fedilink
    English
    5724 days ago

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

          • @[email protected]
            link
            fedilink
            English
            322 days 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
            link
            fedilink
            English
            122 days 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.

  • @[email protected]
    link
    fedilink
    English
    2124 days ago

    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?

    • @[email protected]OP
      link
      fedilink
      English
      1324 days ago

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

      • Lka1988
        link
        fedilink
        English
        122 days ago

        Make sure you utilize the 80% charge feature

  • Domi
    link
    fedilink
    English
    1923 days ago

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

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

      • Domi
        link
        fedilink
        English
        423 days ago

        Dope, seems to not have landed yet in LineageOS but the Terminal app is already installed. Just missing the toggle in the developer options.

      • @[email protected]
        link
        fedilink
        English
        223 days ago

        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.

  • mesa
    link
    fedilink
    English
    1324 days ago

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

    • @[email protected]OP
      link
      fedilink
      English
      924 days ago

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

  • javilopezg
    link
    fedilink
    English
    1022 days ago

    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

    • @[email protected]
      link
      fedilink
      English
      7
      edit-2
      22 days 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
      link
      fedilink
      English
      322 days 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
      link
      fedilink
      English
      222 days 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.

    • @[email protected]
      link
      fedilink
      English
      122 days ago

      But then how would I look at my phone while using my Desktop.

      I’ll need a dummy phone to doom scroll on.

    • @[email protected]
      link
      fedilink
      English
      423 days ago

      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.

      • @[email protected]
        link
        fedilink
        English
        822 days ago

        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

        • @[email protected]
          link
          fedilink
          English
          3
          edit-2
          22 days 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.

        • Lka1988
          link
          fedilink
          English
          222 days ago

          I feel this. My work phone is an iPhone 12, and typing is a pain compared to Android.

  • @[email protected]
    link
    fedilink
    English
    723 days 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! :)

    • trevor (he/they)
      link
      fedilink
      English
      223 days ago

      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.

      • Lka1988
        link
        fedilink
        English
        122 days ago

        I’ll have to give this a shot with pi-hole later tonight.

  • kratoz29
    link
    fedilink
    English
    523 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).

  • @[email protected]
    link
    fedilink
    English
    5
    edit-2
    24 days ago

    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

  • @[email protected]
    link
    fedilink
    English
    424 days ago

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

    • @[email protected]OP
      link
      fedilink
      English
      7
      edit-2
      24 days ago

      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.

      • @[email protected]
        link
        fedilink
        English
        524 days 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).

      • @[email protected]
        link
        fedilink
        English
        114 days ago

        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)

        • @[email protected]OP
          link
          fedilink
          English
          214 days 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

    • @[email protected]
      link
      fedilink
      English
      423 days ago

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

      • @[email protected]
        link
        fedilink
        English
        323 days ago

        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.

        • @[email protected]
          link
          fedilink
          English
          223 days 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.