Kinda bored in philosophy class RN so I guess I'll think of what OS I want to put on that Redmi Note 4X that I want to turn into a server.

Now, ideally I would just slap a Linux based OS on it but...
Ubuntu Touch developement for it died in alpha stage, half of it's features just don't work, also fuck Ubuntu, I hate that OS.
PostmarketOS is even more alpha than Ubuntu.

Considering all that, my choice will probably be some clean lineageos without any gapps/microg, and then just linux deploy on it and then a container with Arch Linux (my favorite server distro).

@lunareclipse out of curiosity why do you hate Ubuntu?

Honestly I still can't get over the fact you have an Arch container running on the thing.

@T0xF01AE
TL;DR: Package management. Canonical is kinda ass too.

Installing any non-standard package on Ubuntu is quite painful compared to Arch where I can get 98% of the stuff I need from the official repos and the rest from AUR. Or make a package myself if noone else has (this is very, very rare).

Besides that, Ubuntu loves having outdated packages. I remember when the side buttons on my wireless mouse wouldn't work, and I had to compile and install some DKMS module from a random github page manually to fix it.
Meanwhile it was fixed upstream a year ago and it worked just fine for a friend using the same mouse on Arch.

Also Canonical has been pushing snap heavily and I just find how Snap works antithetical to how a FOSS operating system should work. Mainly the part that the backend is closed source and centralized. That's my largest issue with snap really.
Granted, and this is my issue with both snap and flatpak, they take up way too much space because different packages might use different platform package versions and those are Large.
Flatpak is also bad at integrating with the OS, by design I imagine (since it wants to containerize it's packages heavily). Haven't had that issue in particular with snap.

I haven't ever done a major version upgrade in ubuntu but that must be hell since all the packages are OS version specific and some PPA you added might not have a newer version yet.

@lunareclipse I guess I should try out arch at some point then.

Considering I've also faced simmilar issues...

To the to-do list from hell it goes.

@T0xF01AE you might just want to go for Endeavour if you don't want to fuck around with configuring every single thing you install manually.
@lunareclipse if you just want it to be a stupid server that doesn't even need to call, sms, wwan but only do like Ethernet over a USB dongle [potentially even get powered vis PoE] then maybe #Armbian or some #Busybox / #Toybox distro may also work.
@kkarhan not gonna pay for another sim card to call/sms/etc but I just want it to be plugged into a charger and connect via WiFi probably. Don't think Ethernet over USB 2.0 would be particularly fast, especially compared to 5GHz WiFi.

I have no idea if I want to do anything with it's other capabilities but it would be cool to have the option.

@lunareclipse I mean I'd expect performance of that smartphone to be on-par with a @Raspberry_Pi #Pi3B with no added heatsink fitted to it...

So unless you want to make it a #clickfarm #bot #phone, it's less hassle to just get a somewhat recent #ThinClient and abuse that as a low-powered server.

I have one of them and at €0,62/kWh, a 2W SoC is the most reasonable option to use either @ubuntu / #UbuntuServer or any other #linux.

Plus, it's a regular-ass #amd64 system.
https://www.youtube.com/watch?v=XHtxzCWsDe4

Click Fraud Bots (Mobile Click Farm) Service

YouTube
@kkarhan I know there are better options for a server, but I just wanna repurpose what I have available tbh. It's more of a fun side project than anything serious. Main purpose I'm thinking of for it rn is just being a 24/7 server to run things like an IRC bouncer and some youtube playlist archival scripts on.

@lunareclipse
Okay...

I'd recommend to replace the battery with a DC/DC conversion board that outputs 3,7V DC so you don't end up with a danger pillow.

That being said I never expected you to do a #ClickFarm...
https://youtu.be/IwjCAM0XxzE?t=59

Inside the business of 'click farms'

YouTube

@lunareclipse I'm shure some minimalist #android distro and apps from @fdroidorg will satisly your need...

Even if it's just running #Termux and stuff...
https://search.f-droid.org/?q=termux&lang=en

F-Droid Search: termux

@kkarhan the battery does serve as a nice UPS though... I already have it set to never charge above 70%

Although I won't be surprised if it's already becoming a danger pillow... replacing it probably isn't a bad idea.

I could also go overkill and do things like adding a heatsink to the CPU

@lunareclipse hey, your device, your choices.

It's better you "Fuck around and find out" than it decying in a drawer or being improperly "recycled"...

@kkarhan It's been sitting in a drawer for about 2 years, I only now decided to actually get all my remaining data off of it and repurpose it.

@lunareclipse i should do the same with some older devices...

I'm kinda pissed that most [smart] phones refuse to boot without any battery inserted even if they get USB/Charging power...

I'm glad laptops don't do that shite -YET!

@kkarhan I know right? It's really annoying!

@lunareclipse I mean I know ~ why ~ they did it: it saves like 2 parts and 3 cents per device...

I just think it's bs and the fact that one has to get some DC/DC board and hope there isn't any #DRM on the batteries - yes that is a thing in this late-stage capitalist dystophia.

Personally, if I could I'd outlaw such #ReducedLifecycle shit just like soldering-down SSDs and having no toolfree remove- and hot-swappable batteries...

@lunareclipse But then again I'd not mind a dummy #thicc device if it's made out of #Nokianite and #Thinkpadnium, breaking floors instead of it's screen when it falls to the ground!

Like some chonky Iridium satellite phone!
https://youtu.be/sZWN65NqNOc?t=23

Iridium Extreme®

YouTube
@kkarhan I'm gonna remember the terms Nokianite and Thinkpadium