-5

cross-posted from: https://packmates.org/users/Wander/statuses/111280488886937575

The future of selfhosted services is going to be... Android?

Wait, what?

Think about it. At some point everyone has had an old phone lying around. They are designed to be constantly connected, constantly on... and even have a battery and potentially still a SIM card to survive power outages.

We just need to make it easy to create APK packaged servers that can avoid battery-optimization kills and automatically configure an outbound tunnel like ngrok, zerotrust, etc...

The goal: hosting services like #nextcloud, #syncthing, #mastodon!? should be as easy as installing an APK and leaving an old phone connected to a spare charger / outlet.

It would be tempting to have an optimized ROM, but if self-hosting is meant to become more commonplace, installing an APK should be all that's needed. #Android can do SSH, VPN and other tunnels without the need for root, so there should be no problem in using tunnels to publicly expose a phone/server in a secure manner.

In regards to the suitability of home-grade broadband, I believe that it should not be a huge problem at least in Europe where home connections are most often unmetered: "At the end of June 2021, 70.2% of EU homes were passed by either FTTP or cable DOCSIS
3.1 networks, i.e. those technologies currently capable of supporting gigabit speeds."

Source: https://digital-strategy.ec.europa.eu/en/library/broadband-coverage-europe-2021

PS. syncthing actually already has an APK and is easy to use. Although I had to sort out some battery optimization stuff, it's a good example of what should become much more commonplace.

cc: @selfhosted
#selfhosted #selfhosting

Saw this post on !selfhosted@lemmy.world, want to get some thoughts on it, because the idea seems a bit crazy to me.

all 17 comments
sorted by: hot top new old
[-] sir_reginald@lemmy.world 15 points 2 years ago* (last edited 2 years ago)

a security nightmare, phones are updated from 2 to 4 years and then left for dead. after that no more security updates and apps will eventually stop supporting your version.

also, android lacks proper networking tools. no root access is also a big problem when selfhosting.

oh and let's not forget the unlockable bootloaders that will lock your "server" into an Android version full of spyware and whatever crap the manufacturer decided to include.

but even on a a clean Android like Lineage OS, Android is unsuitable for an OS because it's ultimately designed as a phone OS which are too restricted for self-hosting or doing serious computing at all.

they also have zero reparability and upgradability. if my storage runs short, I just buy a larger HDD and replace the old one. Cloning the disk is as easy as using one command, good luck cloning your whole system in Android. If my CPU dies or I need more processing power, I buy a new one and plug it in.

[-] MargotRobbie@lemmy.world 3 points 2 years ago

Understandable. Seems like Android software and hardware are too limited to do this kind of work by design then.

[-] BroBot9000@lemmy.world 11 points 2 years ago

Android = Google

People concerned with self hosting don’t want spyware on their servers.

[-] MargotRobbie@lemmy.world 2 points 2 years ago

What about a customized deGoogle'd AOSP distro like GrapheneOS then?

[-] sir_reginald@lemmy.world 11 points 2 years ago

then the idea becomes ever less viable because only a handful of devices will be able to be used.

for the price of a Pixel you can buy a competent desktop PC that supports a real OS with networking tools, without an EoL cycle imposed by the manufacturer, with upstream kernel support, with replaceable and upgradable components and a long etc.

[-] BroBot9000@lemmy.world 4 points 2 years ago

Works until google releases a locked down android and all new devices are forced on it. Slowly killing off the older devices usability.

Privacy on android is a closing door.

[-] pirat@lemmy.world 1 points 2 years ago

This is scary.

[-] evo@sh.itjust.works 7 points 2 years ago* (last edited 2 years ago)

Android is great as a general use phone/TV/watch etc OS for running apps but it's fundamentally not designed for this use case. Installing ProxMox on an old computer is going to simply work better for every self hosted use case. Most people that are remotely interested in this probably have something laying around that could be used. For those that don't, decent x86 machines can be had for super cheap second hand.

I get the point of this is hardware reuse since people have old phones laying around but it feels the same as all those "turn your old phone into a security camera!" posts. Nice idea but ultimately impractical.

Hopefully Google is promising 7 years of support will start a trend that leads to people having less old phones in the drawer collecting dust.

[-] MangoPenguin@lemmy.blahaj.zone 4 points 2 years ago

It's a neat idea, there are some generic HTTP/FTP server apps out there, and you can kind of tinker around in the CLI to run other things. But it would be cool to see 'one click' APKs for popular services.

Avoiding battery management killing them would be the hardest part I imagine.

[-] MargotRobbie@lemmy.world 2 points 2 years ago

Hypothetically, it would be a device that's always plugged in, right?

[-] MangoPenguin@lemmy.blahaj.zone 3 points 2 years ago

Yes but most android phones these days have super aggressive background app killing, even when plugged in. It's hard/impossible to disable depending on the brand of phone.

[-] macallik@kbin.social 4 points 2 years ago

My limited understanding is that ARM usually is a lower priority for devs and so software is often harder to come by?

My personal hope is that people start to turn used desktops/laptops into servers.

[-] pirat@lemmy.world 1 points 2 years ago

Some people are turning used SFF/USFF office PCs into servers.

this post was submitted on 23 Oct 2023
-5 points (44.2% liked)

Android

34666 readers
49 users here now

DROID DOES

Welcome to the Android community on Lemmy. Here you can participate in amazing discussions and events relating to all things Android.

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules


1. All posts must be relevant to Android devices/operating system.


2. Posts cannot be illegal or NSFW material.


3. No spam, self promotion, or upvote farming. Sources engaging in these behavior will be added to the Blacklist.


4. Non-whitelisted bots will be banned.


5. Engage respectfully: Harassment, flamebaiting, bad faith engagement, or agenda posting will result in your posts being removed. Excessive violations will result in temporary or permanent ban, depending on severity.


6. Memes are not allowed to be posts, but are allowed in the comments.


7. Posts from clickbait sources are heavily discouraged. Please de-clickbait titles if it needs to be submitted.


8. Submission statements of any length composed of your own thoughts inside the post text field are mandatory for any microblog posts, and are optional but recommended for article/image/video posts.


Community Resources:


founded 3 years ago
MODERATORS