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 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.
@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@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