This is so cool you've actually inspired me to try out the same thing. Ive just finished setting up port forwarding and got the nginx page, but this has been fun as my first time hosting a website
post
Since when does a phone need a battery to run? It needs power, doesn’t matter where the power comes from.
Remember the days when hou could just pop the back off and take the battery out?
That's where I am today with my Fairphone.
I honestly held on to my old Nokia, replacing batteries and cases until Fairphone came along and then I jumped from 90's tech to modern day.
0-->100% in 10 seconds (with a 2nd battery)
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).
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.
And a big enough pocket to hold it securely, no matter what gender clothing you wear!
I just got a fairphone 6. 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.
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
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!
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. 😂
The HTC Aria at least could also cold boot from USB power. The first method developed for bootloader unlocking on it required an SD card with the unlocking software be inserted at a particular time during the boot process. And the SD card slot was under the battery!
Edit: now I have to double check myself; signing back into some old posts maybe I'm not remembering the process correctly. It was maybe 16 years ago, and I'm getting old! :-)
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.
Now plug the phone into a UPS so if the power goes out you're good for awhile.
This is obviously ridiculous.
So I’ll do it.
I'm honoured to have my idea contributed to this project!
Your contribution is noted and landed you a new position at Pettyl Industries!
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?
Update! Apparently removing the battery also removes half the CPU lol.
I’ll keep you posted!
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
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…

Ghetto engineering is best engineering.
I love this. Deeply.
Moto uber alles.
PS: My daily driver phone is from 2019 and it's going great (Samsung Galaxy A20...I know, I know...but I lobotomized it). When it dies...I will grab an equivalent 2019 Moto.
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!
Awww... I remember back when batteries were removable. Good times.
Perhaps replace its aging battery with a new one. Then you have a built in UPS for ideal disaster recovery
Nah, an actual UPS with 7kg batteries is way cooler.
But I really appreciate the feedback!
Perhaps then some solar power as well. I think those ecoflow battery + solar can act as UPS too. Could power that server indefinitely 😂
Well... I was obviously wrong. Sorry.
Don't know if my knowledge was just outdated or plain wrong from the start, but good on you for still trying and respect for pulling that off.
You are absolutely fine!
People here, including you, have been very respectful and thoughtful, and I am all for feedback.
I don’t have the knowledge of the whole universe, do I? So please, by all means, I want to hear your critiques, it makes the project better and I learn along the way!
Awesome! Keep us updated!
I just have to say, I really enjoy your writing style. Fun project, great post!



top 50 comments