[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: image.png (862 KB, 1143x674)
862 KB
862 KB PNG
has anyone here managed to repurpose an android phone as a server? how have you handled the battery problem?
>>
File: 1759837800232712.png (377 KB, 1444x1511)
377 KB
377 KB PNG
>>108516568
Only 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.
>>
>>108516614
can you post a picture of the power circuit you've built for it?
>>
>>108516657
you 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?
>>
>>108516568
Yes 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?
>>
>>108516568
You would be better off just using a raspberry pi or some other sbc if you want a small and cheap solution
>>
>>108516763
Sir, raspberry pis now cost $160 for the cheap one
>>
>>108516802
there's still cheap chink sbcs
worse mainline support tho

and you can always buy an old generation Pi for cheap, can often be enough
>>
>>108516726
You 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.
>>108516568
Never 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.
>>
>>108516761
you don't want a server that runs on a battery, unless you want your house to catch fire
>>
>>108516904
yeah, no server would ever use a UPS
that's unheard of

no, your phone won't just randomly catch fire
and if you're really that paranoid, just keep in a big metal can
>>
OP is a tranny uwu
>>
>>108517012
there are only trannies on 4chan, nona
>>
>>108517023
true, 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 closet
all 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
>>
>>108516568
my 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
>>
>>108517057
how do you know if you are one?
>>
>>108516568
My 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.
>>
>>108516568
There 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.
>>
>>108516761
Even 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
>>
>>108516568
i 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
>>
>>108519641
by 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
>>
>>108520201
or just dont touch the battery
>>
>>108516568
look how much volt the batterie provide.
remove batterie. connect powersupply with same voltage.
i dont understand problem.
>>
Bump this is an interesting thread



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.