i need to figure out what the name of the file is for the battery charge when the phone is off
Related
Ok we all know we need to calibrate the battery after each ROM flash now me I am always thinking outside the box but sometimes can't answer my own questions. Battery bin file is deleted so another one can be generated but here is my question. Do one really good charge, delete file, drain and charge to 100% and now make a copy of the batterystats.bin file and if you ever flash a new Rom instead of repeating this process just reuse the file. Is this possible or should I stop thinking?..... Please only answer if you know for sure I can make guesses.
Sent from my Thunderbolt using XDA App
can anyone help me figure out how to make my ported rom boot.
the first txt file is the init.rc from the rom i want to port
the second is init.rc from my device
anyone knows what to do to make them compatible???
edit invalid battery command?
hi ,
right now i got the invalid battery issue. and i had found that one of the resistor is burned. the phone still on but shut down in 10 seconds after the invalid battery noticed. i cant repair the resistor .. and not afford to take it to the technician. can i use other alternative like software tool etc WindowsLGFirmwareExtract to edit the kdz or tot file and erase the invalid battery command ? if it is possible can some one help me to show it how.
thanks
i have managed extracted system files using WindowsLGfirmwareextract .. and opened using Winhex and found some "invalid battery" words in thous files . but i dont know what to do .. next . i thought to change it with 0000000 ? :laugh: .
please help me , get this trough. i dont want to have more problem if i modify the file.
ertanabe said:
i have managed extracted system files using WindowsLGfirmwareextract .. and opened using Winhex and found some "invalid battery" words in thous files . but i dont know what to do .. next . i thought to change it with 0000000 ? :laugh: .
please help me , get this trough. i dont want to have more problem if i modify the file.
Click to expand...
Click to collapse
so?? u did it or not? it works?
ferchu91 said:
so?? u did it or not? it works?
Click to expand...
Click to collapse
I have the same problem with LGV20 after installing an extended battery 10000 mah. It seems to be rom specific. I changed my rom and this started happening. I would like to know how to remove this battery check from the rom.
Hi, guys. Can someone remake boot.img file for me?
I need to do auto boot.img when charger is plugged.
It can really help me. Maybe i will send some donation, if u will have success. because it can save my phone.
Thanks.
David
I found way to extract boot.img on windows. Now i just dont know what i have to add to init.rc
I need to add something under on charge or somewhere to take effect...
Stock battery stats is located here (its like a log)
/sys/class/power_supply/battery/
In uevent, charge_full and charge_full_design have this value 3150000(3150mAh)
As I added another battery in parallel with stock battery
I want it to be 6200mAh but it still shows 3150mAh which cannot be modified so, where can battery capacity be edited?
Aka where to find and change battery capacity?
I am pretty sure it's in system partition and I can't find anything related to this after searching on google.
I also have triple checked the connection nothing wrong.
Solution
You need to navigate to /system/framework/framework-res.apk
Then you can decompile the apk by changing the extension .apk to zip.
After extracting go to res/xml/power_profile.xml
There will be many unreadable this showing an null would be there.
You need to find the word battery capacity and after that there will be the current battery percentage
Change it to the number you want.
After that save an repack the zip and rename it to .apk
After that copy and replace the apk to the the/system/framework in recovery mode.
Don't replace while you are using the rom.if you do you'll get force close warnings.
I helped you bro.
Please help me
Please contact me in telegram at https://t.me/The_God_Speed
Please bro help me!