-6

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.

you are viewing a single comment's thread
view the rest of the comments
[-] d3Xt3r@lemmy.nz 2 points 1 year ago* (last edited 1 year ago)

you got the reparability totally wrong. if the motherboard fries, you have to replace basically the whole device. In a desktop you just replace the motherboard and keep the CPU, GPU and RAM

And? A replacement motherboard, or an entire phone, for an old Android phone is pretty cheap. Now how much would a replacement CPU/GPU/RAM cost for a PC? And how likely would a phone's motherboard fail in the first place? In my experience, modularity increases failure chances, which is why you typically see more part failures on PCs. I still have my HTC Desire from 2010 (as a keepsake) and it still boots up and works. Not that I use it for anything or course, but this is really a non-issue. When people complain about "repairability" of a phone, they're typically talking about the display or battery, which isn't a concern in our use case here.

but can you upgrade RAM? can you upgrade to a better CPU or replace your current CPU without replacing half of the phone components? No, you can't.

But why would you want to, when it already meets your needs? And when you're going to upgrade your main phone anyway? (it can replace your server phone).

and yes, Android uses the Linux kernel. But very few manufacturers release the kernel's code.

That is incorrect, because not releasing the code is a serious violation of the GPL. Typically rando Chinese manufacturers get away with this, but most mainstream OEMs do release the kernel sources.

And if you're already limiting yourself to devices supported by LineageOS, you're discarding 90% of all phones, which let's be honest, if the primary reason to use a flawed OS to self-host was to recycle hardware, you're discarding most phones anyway so not a great reason.

The kind of people who would even think of running a project like this (like running their own NextCloud etc) are usually the kind of people who'd most likely own a phone which is/can be supported by LineageOS. And once again, you can always sell your unsupported phone on eBay or something and get a supported one instead. The OnePlus 6 for instance goes for as low as $100, or even lower if you can find a faulty one like with a cracked screen or bad ESN or something, and it's good enough for most home server needs.

this post was submitted on 23 Oct 2023
-6 points (42.9% liked)

Android

28184 readers
181 users here now

DROID DOES

Welcome to the droidymcdroidface-iest, Lemmyest (Lemmiest), test, bestest, phoniest, pluckiest, snarkiest, and spiciest Android community on Lemmy (Do not respond)! 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:


We are Android girls*,

In our Lemmy.world.

The back is plastic,

It's fantastic.

*Well, not just girls: people of all gender identities are welcomed here.


Our Partner Communities:

!android@lemmy.ml


founded 2 years ago
MODERATORS