| Post Reply | RetroFed Forum Forum Index
» Selfhosted
Page 1 of 3 Goto page 1, 2, 3 Next Last » |
| Author | Message | ||
|---|---|---|---|
tradicije
lemmy.zip
tradicije@lemmy.zipJoined: 2026-09-09 |
This post is an update of the second part of my Moto server series: https://lemmy.zip/post/72142441 Rumor has it that keeping an 8-year-old phone permanently plugged in with its equally ancient Li-ion battery might not be the greatest idea ever conceived. Some even claimed that a phone needs a battery to work. Very negative people. Anyway, I removed it. Pettyl did not care. nginx: UP The battery is currently sitting next to the phone, contributing absolutely nothing to the project. Pettyl is now running entirely from USB power, at around 37°C, while continuing to serve the website like this is completely normal. There is, however, one tiny detail the haters may enjoy: It can’t boot without the battery. So the official Pettyl disaster recovery procedure is now:
The battery is no longer a battery. It is the starter motor. I see no problems with this architecture. Anyway, Part 3 is going great. |
||
| 686 Original | |||
viertesauge
feddit.org
viertesauge@feddit.orgJoined: 2026-05-10 |
What did you put in place of the battery? nothing or a cap? i tried this with a moto g6 but there is not enough power delivered through its own usb port so i have to use a 5volt source+capacitor connected to the bms i saved from the battery. |
||
| 11 | |||
tradicije
lemmy.zip
tradicije@lemmy.zipJoined: 2026-09-09 |
What did you put in place of the battery? nothing or a cap? i tried this with a moto g6 but there is not enough power delivered through its own usb port so i have to use a 5volt source+capacitor connected to the bms i saved from the battery.
I did not need to fake battery presence, just needed the battery as a starter, once the phone is booted just removed the battery. Although the real test is yet to come, I have to leave it like this for a day or two, to see if it powers off when CPU spikes…
|
||
| 30 | |||
|
zzffyfajzkzhnsweqm
sh.itjust.works
zzffyfajzkzhnsweqm@sh.itjust.works Joined: 2025-02-07 |
Awesome! Keep us updated! |
||
| 9 | |||
|
SuspiciousCarrot78
aussie.zone
SuspiciousCarrot78@aussie.zone Joined: 2026-05-14 |
I did not need to fake battery presence, just needed the battery as a starter, once the phone is booted just removed the battery. Although the real test is yet to come, I have to leave it like this for a day or two, to see if it powers off when CPU spikes…
[deleted]
|
||
| 26 | |||
tradicije
lemmy.zip
tradicije@lemmy.zipJoined: 2026-09-09 |
[deleted]
Lol thank you so much, and I absolutely love what you said: “MOTO ÜBER ALLES” I want to use it on the website instead of the boring copyright text lol, if it’s cool with you, I’ll even credit you! |
||
| 7 | |||
dual_sport_dork 🐧🗡️
lemmy.world
dual_sport_dork@lemmy.worldJoined: 2023-07-20 |
My old Galaxy S5 would work without the battery, including bootup. So it's not entirely unexpected that other phones could also do so. I would say I can't imagine who would take the time out out of their day to just talk out their ass and claim something like this wouldn't work without trying it first. Except then I remember this is the internet, and people do that all the time. Regardless, good on you for making this all work! |
||
| 23 | |||
tradicije
lemmy.zip
tradicije@lemmy.zipJoined: 2026-09-09 |
My old Galaxy S5 would work without the battery, including bootup. So it's not entirely unexpected that other phones could also do so. I would say I can't imagine who would take the time out out of their day to just talk out their ass and claim something like this wouldn't work without trying it first. Except then I remember this is the internet, and people do that all the time. Regardless, goo...
Hahaha, thank you for defending me! 😄 Just to clarify though, the “they said it couldn’t be done” part was mostly me being ironic and unnecessarily dramatic for the post lol. The comments on this whole project have actually been overwhelmingly positive and helpful. People here are the reason I even tried some of this stuff in the first place. But I genuinely appreciate you having my back. And the S5 being able to cold boot without a battery is really interesting — Pettyl unfortunately needs its battery as a starter motor. 😂 |
||
| 16 | |||
0485
lemmy.world
0485919158191@lemmy.worldJoined: 2023-06-10 |
Since when does a phone need a battery to run? It needs power, doesn’t matter where the power comes from. |
||
| 62 | |||
tradicije
lemmy.zip
tradicije@lemmy.zipJoined: 2026-09-09 |
Awesome! Keep us updated!
Aye aye, captain🫡 |
||
| 3 | |||
tradicije
lemmy.zip
tradicije@lemmy.zipJoined: 2026-09-09 |
Since when does a phone need a battery to run? It needs power, doesn’t matter where the power comes from.
well ACKSHUALLY 🤓☝️ Unfortunately Pettyl is stupid enough to need the battery to boot, but smart enough to forget about it immediately afterwards. I don’t make the rules, I just host WordPress on an 8-year-old Motorola. |
||
| 95 | |||
ryannathans
aussie.zone
ryannathans@aussie.zoneJoined: 2023-09-20 |
Since when does a phone need a battery to run? It needs power, doesn’t matter where the power comes from.
Since their burst power consumption started using more current than a capacitor in the charging circuitry could provide |
||
| 57 | |||
tradicije
lemmy.zip
tradicije@lemmy.zipJoined: 2026-09-09 |
Since their burst power consumption started using more current than a capacitor in the charging circuitry could provide
Yeah, what he said. I was just about to say the exact same thing… |
||
| 30 | |||
|
SuspiciousCarrot78
aussie.zone
SuspiciousCarrot78@aussie.zone Joined: 2026-05-14 |
Lol thank you so much, and I absolutely love what you said: “MOTO ÜBER ALLES” I want to use it on the website instead of the boring copyright text lol, if it’s cool with you, I’ll even credit you!
[deleted]
|
||
| 6 | |||
tradicije
lemmy.zip
tradicije@lemmy.zipJoined: 2026-09-09 |
[deleted]
And we’re live!
|
||
| 7 | |||
|
surewhynotlem
lemmy.world
surewhynotlem@lemmy.world Joined: 2023-06-13 |
I did not need to fake battery presence, just needed the battery as a starter, once the phone is booted just removed the battery. Although the real test is yet to come, I have to leave it like this for a day or two, to see if it powers off when CPU spikes…
Awww... I remember back when batteries were removable. Good times. |
||
| 8 | |||
|
oaoaoe
thebrainbin.org
oaoaoe@thebrainbin.org Joined: 2026-09-26 |
Damn, I wish they still made phones with a removable battery |
||
| 36 | |||
|
foggy
lemmy.world
foggy@lemmy.world Joined: 2023-07-02 |
Damn, I wish they still made phones with a removable battery
I used to keep a charged spare on me. And this was back when a phones battery life was like 3-7 days. Stop making phones thinner God dammit. I don't want a thinner phone. I want longer battery life and a removable battery so I can fucking double the shitty longer battery life I get. |
||
| 33 | |||
|
ominous ocelot
leminal.space
probable_possum@leminal.space Joined: 2025-08-14 |
About the not booting issue: What if you soldered a fitting power supply directly to the phones battery pins? Is this a horrible idea? I don't know. Or 3d-print a power supply to dummy battery adapter... |
||
| 5 | |||
|
non_burglar
lemmy.world
non_burglar@lemmy.world Joined: 2023-06-16 |
Nice. There is often a check for battery that is effectively a check of resistance between sense and ground. Looks like that battery is labelled, you might be able to bodge a resistor between sense and ground on the phone and get it to boot without the battery? |
||
| 16 | |||
|
ThePantser
sh.itjust.works
ThePantser@sh.itjust.works Joined: 2025-02-19 |
Nice. There is often a check for battery that is effectively a check of resistance between sense and ground. Looks like that battery is labelled, you might be able to bodge a resistor between sense and ground on the phone and get it to boot without the battery?
Here I was thinking you should add a capacitor so there is some juice if the phone draws more than the USB can supply. Maybe even a super cap so you get a more robust drain discharge cycles. |
||
| 11 | |||
tradicije
lemmy.zip
tradicije@lemmy.zipJoined: 2026-09-09 |
Update! Apparently removing the battery also removes half the CPU lol. I’ll keep you posted! |
||
| 15 | |||
Axolotl
feddit.it
Axolotl_cpp@feddit.itJoined: 2025-10-10 |
Usually phones have 3 pins on the back for the battery, one of them - usually the one at the center - reads the battery resistance, so if you add a resistor between that pin and another pin, it will fool the phone to belive it has a b Edit: spelling |
||
| 11 | |||
r4venw
sh.itjust.works
r4venw@sh.itjust.worksJoined: 2024-09-10 |
I'm currently reading this on my nearly 8 year old phone. I guess when I finally get round to replacing it I'll have a new server! Sweet |
||
| 5 | |||
|
Mouselemming
sh.itjust.works
Mouselemming@sh.itjust.works Joined: 2023-07-12 |
I used to keep a charged spare on me. And this was back when a phones battery life was like 3-7 days. Stop making phones thinner God dammit. I don't want a thinner phone. I want longer battery life and a removable battery so I can fucking double the shitty longer battery life I get.
And a big enough pocket to hold it securely, no matter what gender clothing you wear! |
||
| 10 | |||
vext01
feddit.uk
vext01@feddit.ukJoined: 2023-07-05 |
Remember the days when hou could just pop the back off and take the battery out? |
||
| 52 | |||
|
Joined: 2023-06-09 |
And a big enough pocket to hold it securely, no matter what gender clothing you wear!
Here here! |
||
| 5 | |||
|
neidu4
piefed.social
neidu4@piefed.social Joined: 2026-09-10 |
Anything made to be run from battery can work fine without one. Worst case scenario requires you to spoof some I²C communication to properly emulate a battery, but most devices and batteries are far dumber than that. DC is DC, and sometimes you just need to graft something on top for the other pins. Source: My old laptops charging circuit failed, so I soldered the charger onto the battery pins instead. Then I replaced the actual battery with an Adafruit Itsybitsy 32u4 (because that what I happened to have available) that emulated the battery status of "Charging, nothing to see here, move along" and sent it via I²C |
||
| 25 | |||
|
WhoIzDisIz
lemmy.today
WhoIzDisIz@lemmy.today Joined: 2026-04-27 |
Here here!
There, there. It's "hear, hear." |
||
| 16 | |||
|
WhoIzDisIz
lemmy.today
WhoIzDisIz@lemmy.today Joined: 2026-04-27 |
Remember the days when hou could just pop the back off and take the battery out?
Still have my LG Optimus on Android 2.x somewhere. With 512MB RAM I dunno what to do with it outside of a clock display, but I have it (and a spare battery). |
||
| 7 | |||
|
WhoIzDisIz
lemmy.today
WhoIzDisIz@lemmy.today Joined: 2026-04-27 |
Usually phones have 3 pins on the back for the battery, one of them - usually the one at the center - reads the battery resistance, so if you add a resistor between that pin and another pin, it will fool the phone to belive it has a beattery Edit: spelling
Any idea what ohm value would be best? |
||
| 8 | |||
|
nullroot
lemmy.world
nullroot@lemmy.world Joined: 2024-08-12 |
And a big enough pocket to hold it securely, no matter what gender clothing you wear!
That's kinda hard when women's pants often have no pockets, fake pockets, or pockets so small they're functionally useless. |
||
| 4 | |||
|
ikidd
lemmy.dbzer0.com
ikidd@lemmy.dbzer0.com Joined: 2026-04-23 |
put one lead from the battery on a transistor so you can disconnect it with a little ESP or something when you go to power cycle it. Or even just hold down a button to connect it while you plug the phone back in. |
||
| 4 | |||
Axolotl
feddit.it
Axolotl_cpp@feddit.itJoined: 2025-10-10 |
Any idea what ohm value would be best?
Nope, i think the ideal one changes with the phone manufacter, you should try to test the battery ohm value and use that one |
||
| 8 | |||
|
jaybone
lemmy.zip
jaybone@lemmy.zip Joined: 2025-02-08 |
I’ve run laptops without a battery, constantly plugged in. I assume this is not a fire hazard. |
||
| 3 | |||
|
frongt
lemmy.zip
frongt@lemmy.zip Joined: 2025-07-31 |
I’ve run laptops without a battery, constantly plugged in. I assume this is not a fire hazard.
No more than any other electrical device. |
||
| 7 | |||
|
ShortN0te
lemmy.ml
ShortN0te@lemmy.ml Joined: 2023-06-09 |
Anything made to be run from battery can work fine without one. Worst case scenario requires you to spoof some I²C communication to properly emulate a battery, but most devices and batteries are far dumber than that. DC is DC, and sometimes you just need to graft something on top for the other pins. Source: My old laptops charging circuit failed, so I soldered the charger onto the battery pins ...
The charging cirtuit that also tries to guess the battery percentage can be the problem. The 'guessed percentage' will depending on the chip and programming go down even if you solder in a dc power supply. When it hits the 0% it will shutdown. Thats the case for some smart phones. |
||
| 6 | |||
|
hexagonwin
lemmy.today
hexagonwin@lemmy.today Joined: 2026-02-07 |
nice phone! all of my phones i tested (with replacable battery) refuse to work without battery attached and almost instantly turns off if i ever detach it while running, even with power connected. |
||
| 3 | |||
|
undefinedTruth
lemmy.zip
undefinedTruth@lemmy.zip Joined: 2025-09-25 |
Damn, I wish they still made phones with a removable battery
Didn't EU pass a regulation regarding that? If I recall correctly all portable devices sold in the EU after February will will need to have a user replaceable battery. |
||
| 11 | |||
|
morto
piefed.social
morto@piefed.social Joined: 2025-07-03 |
Awesome! I will try it too! |
||
| 2 | |||
Gagootron
feddit.org
gagootron@feddit.orgJoined: 2025-03-12 |
When the battery in my wall mounted android tablet swelled i had to add a 10k resistor to the sense line, inject the 5V directly into the battery port and add a few capacitors to get it to work. But at least it won't cause a fire now. |
||
| 22 | |||
Potato Lover 💾 No brain found
lemmy.sdf.org
user224@lemmy.sdf.orgJoined: 2023-06-17 |
I used to keep a charged spare on me. And this was back when a phones battery life was like 3-7 days. Stop making phones thinner God dammit. I don't want a thinner phone. I want longer battery life and a removable battery so I can fucking double the shitty longer battery life I get.
There's at least one Chinese brand that has smartphone with hot-swappable battery: https://rugone.net/products/xever-8
Unfortunately, software from these brands tends to be shit. I feel like they just outsource it to the cheapest company. Especially following this recent thing:
|
||
| 5 | |||
redjard
reddthat.com
Redjard@reddthat.comJoined: 2023-08-06 |
Yeah, what he said. I was just about to say the exact same thing…
I once soldered a usb wire into the terminals where the battery of my moto g4 used to be, and it kept crashing on boot. So I added a large capacitor right across the terminals, and even with that and being at 5V (on a 5 amp supply), some apps still overloaded it and got it to crash. Would love if there was some package that just attached like a battery with a usb wire coming out the bottom, that could supply any spikes if the usb provided enough average power. |
||
| 5 | |||
|
ayyy
Moderator
ayyy@sh.itjust.works Joined: 2024-06-20 |
DO NOT skip step 5. It is VERY IMPORTANT. |
||
| 10 | |||
TropicalDingdong
lemmy.world
TropicalDingdong@lemmy.worldJoined: 2023-07-29 |
How do I sign up for the pateron? |
||
| 3 | |||
|
Joined: 2023-06-09 |
There, there. It's "hear, hear."
Where, where? |
||
| 5 | |||
JustEnoughDucks
feddit.nl
JustEnoughDucks@feddit.nlJoined: 2023-06-12 |
Damn, I wish they still made phones with a removable battery
I just got a fairphone 6. Removable battery! |
||
| 18 | |||
4grams
awful.systems
4grams@awful.systemsJoined: 2023-06-28 |
I just have to say, I really enjoy your writing style. Fun project, great post! |
||
| 6 | |||
|
affiliate
lemmy.world
affiliate@lemmy.world Joined: 2023-07-02 |
Well you better go catch it! |
||
| 6 | |||
|
ruuster13
lemmy.zip
ruuster13@lemmy.zip Joined: 2025-07-09 |
Remember bezels? |
||
| 4 | |||
|
cmnybo
discuss.tchncs.de
cmnybo@discuss.tchncs.de Joined: 2023-06-11 |
I’ve run laptops without a battery, constantly plugged in. I assume this is not a fire hazard.
That's perfectly fine. The only issue is that it may limit performance on some laptops. |
||
| 3 | |||
| Post Reply |
Page 1 of 3
Goto page
1, 2, 3
Next
Last »
Back to top |