Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,738,603 Members 39,799 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Softcoded battery check in rom, to run on usb pwr only┐

Tip us?
 
NiTrOwow
Old
(Last edited by NiTrOwow; 1st March 2014 at 05:42 PM.) Reason: typo fixed.
#1  
NiTrOwow's Avatar
Member - OP
Thanks Meter 19
Posts: 89
Join Date: Jul 2010
Question [Q] Softcoded battery check in rom, to run on usb pwr only┐

Hey there,

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

Code:
Select Code
system.img
/system/resource/battery_pic
#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.

Thanks
HTC Sensation z710e (PG58130):
Rooted, S-OFF, HBOOT 1.27.1100, Unlocked BL, RADIO-11.22.3504.07_M
Recovery: 4EXT Touch v1.0.0.6 RC1
Kernel: 3.0.101-ChronicKernel-linaro-g1ef1ddd (Wed Jan 15 07:48:25 EST 2014)
Rom: CyanogenMod 11-20140115 kk 4.4.2
Battery: GI39100 35H00186-00M (3.8VDC= 6.08Whr 1600mAh)
Govner: Ondemand IO: SIO CPU: 2x1180mhz Antutu: 11931

Contributing;
http://forum.xda-developers.com/show...php?p=40918426
 
NiTrOwow
Old
#2  
NiTrOwow's Avatar
Member - OP
Thanks Meter 19
Posts: 89
Join Date: Jul 2010
Can nobody answer my question or did the right person not visited my topic who can answer it?
If somebody is willing to spend some time on helping me, i would appreciate it a lot. Since i have no idea where to look.
HTC Sensation z710e (PG58130):
Rooted, S-OFF, HBOOT 1.27.1100, Unlocked BL, RADIO-11.22.3504.07_M
Recovery: 4EXT Touch v1.0.0.6 RC1
Kernel: 3.0.101-ChronicKernel-linaro-g1ef1ddd (Wed Jan 15 07:48:25 EST 2014)
Rom: CyanogenMod 11-20140115 kk 4.4.2
Battery: GI39100 35H00186-00M (3.8VDC= 6.08Whr 1600mAh)
Govner: Ondemand IO: SIO CPU: 2x1180mhz Antutu: 11931

Contributing;
http://forum.xda-developers.com/show...php?p=40918426
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes