[Q] Softcoded battery check in rom, to run on usb pwr only┐
I have a question towards XDA devs. I myself am not a dev, but just a hobbyist.
I got a small tablet already managed to run transmission(client) port with web interface on it.
Its a JXD S18 (cheapest device on the www). And it gets stuck/looped just after the manufacturer logo (logo.img) i guess this is the bootloader what in case i already have extracted..
Can someone point me to the right direction i would like to know more about
#is there any way to get rid of the entire function that checks the bat levels and displays the battery_pic when bat level below <x> % after the ?bootloader??
Where this function is used and if there is an easy way to just get rid of this battery level check on boot
The reason why i want to do this is because i want to make a small server out of the device and i don't need the battery anymore.
However the device does not turn on without battery.... It loops infinite at the battery_pic image as if its charging the battery.
If i hook up a battery to it i can still get it running but this is so... Clumsy and takes me 2 minutes to get it working. And if the lithium ion battery is empty i need to charge it first to get the device working... I added a small switch between the battery. So when started and running on usb power i can switch off the battery.
I would appreciate it if somebody can point me to the right direction.
HTC Sensation z710e (PG58130):
Rooted, S-OFF, HBOOT 1.27.1100, Unlocked BL, Firmware 3.32
Recovery: 4EXT Touch
Kernel: 3.0.57-Swagg-RC-g998d6e5-ditry frankinstine-roms
Rom: AOKP Initiate Your Swagger 4.1.2 JZO54K Mar 3
Battery: GI39100 35H00186-00M (3.8VDC= 6.08Whr 1600mAh)