has anyone here managed to repurpose an android phone as a server? how have you handled the battery problem?
>>108516568Only pain and suffering awaits you unless it's a $1,000 phone (requirement for jpeg xl). You're better off getting a used USFF PC, they only consume a few watts idling especially if you replace the spinning rust with an SSD. Which reminds me, phone storage IOPS is incredibly dogshit, that energy efficiency comes at a price to everything.
>>108516614can you post a picture of the power circuit you've built for it?
>>108516657you stupid retard just fucking find the battery voltage and max discharge rate and plug in an equivalent power supply there. How hard is this seriously?
>>108516568Yes actually, made too much heat and would auto close apps.It would also just autoclose apps after like 12 hours of runtime.It was overall dogshit and there wasn't root for that exact phone so there was nothing I could really do about it, also it used giga power and wasn't even powerful enough for the main usecase
why not just power it over usb like a normal person and keep the free ups?or are you talking about a pretty old phone that can't charge and connect a usb device at the same time?
>>108516568You would be better off just using a raspberry pi or some other sbc if you want a small and cheap solution
>>108516763Sir, raspberry pis now cost $160 for the cheap one
>>108516802there's still cheap chink sbcsworse mainline support thoand you can always buy an old generation Pi for cheap, can often be enough
>>108516726You battery will not live long if you keep it at 100 SoC for life. Besides, charging circuitry might be so bad it might overcharge it. But you will only know if you check.>>108516568Never actually solved it, but had some ideas and have it on the shelf.Easiest is to just keep the old one. Replace that battery if it's dead, it will serve as a backup in case of blackout. Ideal for li-ion and li-po is to keep them in 30-80% SoC, cycle them from time to time so they would be balanced.To do that get yourself a corresponding amount of mechanical, or solid state relays, an app on your phone that sends the SoC and some sort of SBC that would control the relays and receive SoC info.If your device idles on 100% SoC for week, this is ideal. You get a server with power backup. No disassembing and messing around with guts, charger also very standard. Mechanical relays are dirt cheap, just like wifi-capable SBCs.But that's easy. What I have not figured out is how do I unlock shit if there are no sources to build custom OS, often even bootloader is locked away from the user.Very old devices with root are not super useful for anything fancy, because that Linux is very restricted, they have features cut out completely, for security reasons or whatever.
>>108516761you don't want a server that runs on a battery, unless you want your house to catch fire
>>108516904yeah, no server would ever use a UPSthat's unheard ofno, your phone won't just randomly catch fireand if you're really that paranoid, just keep in a big metal can
OP is a tranny uwu
>>108517012there are only trannies on 4chan, nona
>>108517023true, what would be of this imageboard if it wasn't for white trannies
still waiting for someone to get postmarketos working for one of the phones in my closetall new ones I buy I make sure that they are supported, sadly I wasn't that wise in the past
Yep, shit ancient Samsung with broken digitiser. Runs postmarketOS after much fucking around. I just have docker with home assistant and mosquitto on it which just verks. Perfect for my energy monitoring autism. Constantly plugged in with battery intact...seems fine so far
>>108516568my phone has one pad internally that reads 5V when plugged in, so in theory I just needs to hook up an LDO and a capacitor to make the phone function again. havent bothered though
>>108517057how do you know if you are one?
>>108516568My old (5G) phone is my gateway. The router/server is a mini PC.The battery is still its original one, I removed and tested it, the capacity is now 60%, enough for a few good hours of runtime.
>>108516568There are a metric fuckton of cheap and completely open hardware/firmware SBCs from just about anywhere. BeagleBoard (Texas Instruments, USA), Libre Computer (China), Pine64 (HK), Odroid (Hard Kernel , South Korea), there is no justification for using a crappy phone board with no access to schematics, design files and firmware for that.
>>108516761Even if you rip out the battery some phones refuse to start without a battery even if you are supplying power via USB. You have to trick the phone into thinking the battery is connected
>>108516568i think with tmux and some addons/scripts for it you can have scripts/programs that run at startup. including linux distros with proot-distro >>108516568>how have you handled the battery problem?well if its a server you just keep it plugged in all day. battery will eventually degrade but if you
>>108519641by battery problem I meant that modern phones need to have the battery plugged in to work, you need to trick the phone to think that it has a battery and that this battery is being charged
>>108520201or just dont touch the battery
>>108516568look how much volt the batterie provide.remove batterie. connect powersupply with same voltage.i dont understand problem.
Bump this is an interesting thread