15
submitted 2 days ago by ptt@lemmy.dbzer0.com to c/asklemmy@lemmy.ml

I have a rooted redmi note 11 pro 4g with unofficial lineageos installed. It is my personal device. But I barely use it. If someone calls I pick up, that's about it. The phone is completely clean too, no trace of whatsapp or anything like that. The most bloated app on the phone is brave. Like I said, squeaky clean. Now I want to turn this into a machine using plain termux or chroot to run piefed, gotosocial and stuff, and host my blog page, but I am undecided. Since it's rooted, I thought I could set up something that starts charging at 45% and cuts off at 75%. What do you think I should do?

The main question is in the title. If you run a server on your own device, what do you host on it?

top 11 comments
sorted by: hot top new old
[-] ptt@lemmy.dbzer0.com 1 points 1 hour ago* (last edited 1 hour ago)
==============================
 STATUS  August 18, 2026 12:39 AM
==============================

[off]  battlimit
[off]  sshd
[off]  caddy
[off]  cloudflared
[off]  boot automation
[off]  sleep lock

------ battery ------
level : 56%
status  : Discharging
limit  : 0
current  : -355,000 uA
temperature : 340 (tenths of a degree)


I set this up using Termux. When "battlimit" is enabled, it caps the battery charge at 60% and the device runs solely on USB power. I also had the chance to configure Caddy, Cloudflare, and others. With Termux, I can easily turn these on and off via a widget. They start up without any issues every time I reboot.

[-] AstroLightz@lemmy.world 3 points 1 day ago

If you use a Syncthing app on android, you're technically running a server (Syncthing) in the background.

That's pretty much the only server I run though.

[-] dihutenosa@piefed.social 3 points 2 days ago

Yes. Works fine. PostmarketOS, though, not Lineage. It runs an offsite monitoring system for the rest of my selfhosted stuff - Prometheus, Grafana, stuff.

[-] ByteMe@lemmy.world 4 points 2 days ago

I tried hosting podcasts but I didn't make it.

[-] OADINC@feddit.nl 2 points 2 days ago

Could you do something similar as this for your battery?

Newer phones don't open as easy.

Great Scott Video

[-] eldavi@lemmy.ml 2 points 2 days ago

i used to use my old phones as security cameras feeding into the motion app and set them up to buffer recordings if they lost contact. fwiw

[-] monovergent@lemmy.ml 2 points 2 days ago

No, I was fortunate enough to pick up a bunch of decommissioned Celeron mini PCs from work. I run a NAS with media server on one, pi-hole on another, and a test server on a third. I meant to make things accessible from outside with VPN, but was too lazy.

[-] muimota@lemmy.ml 2 points 2 days ago

Try tailscale, it is free and makes the whole process super easy.

[-] vortexal@lemmy.ml 2 points 2 days ago* (last edited 2 days ago)

I don't see why you couldn't use a phone as a server as long as the battery doesn't cause problems.

I've never done it but I have heard of people using their old phones as a NAS (network attached storage). The closest I've ever done was to connect two of my android devices together via Bluetooth and use that to transfer files between the two devices. It's slow but it works.

[-] hexagonwin@lemmy.today 2 points 2 days ago

i used to host some simple website and sftp/webdav fileshare a long time ago. it works. its just a computer

[-] anzo@programming.dev 2 points 2 days ago

I wouldn't trust an old battery, nope

(I rather use free tiers of paas providers or rent a vps that anyway is as cheap as electricity. The issue there is going to be storage, then you need a homelab or nas and setup tunnels for apps like nextcloud. That's what I am doing.)

this post was submitted on 15 Aug 2026
15 points (100.0% liked)

Asklemmy

55267 readers
239 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 7 years ago
MODERATORS