Kernel that fixes the 100%-90% discharge issue - Epic 4G General

Someone posted a kernel that has the discharge patch applied, where phone discharges only to 99% or 98% instead of 90%... now I can't find that post. It was in one of the threads discussing one of the ROM - long shot, I know.
Any help.. pls?

Related

[Q] Is there a way to override the battery capacity ?

I've recently tried a cheap high capacity battery, over twice the capacity of the original one (but, of course, twice as fat and heavy). While the battery charges to it's 4.2V and discharges down to about 3.5V properly (tested manually, with the multimeter), the phone keeps reporting the battery as 1230mAh, tracking it accordingly. This causes the phone to go from 100% down to 15% at about the speed it would with the original battery and then remain at 15% for a full day. Similarly, charging the battery makes it go to 100% twice as fast as it should, yet the battery keeps charging after it reaches those virtual 100%, up to the proper 4.2V, with the proper current (NOT trickle charging).
I've already tried the obvious (fully charge, delete the stats file, fully use the charge, then full recharge again), it didn't really help, it only distributed the estimation a tiny little bit.
Any solutions ? Is there a proper way to manually override the battery capacity either with or without recalibration ?
27 views and not a single freaking answer ? How familiar
bump.
InfX said:
27 views and not a single freaking answer ? How familiar
bump.
Click to expand...
Click to collapse
Maybee battery curent widget... inside you have settings/monitoring/battery capacity...
But with that attitude I'm almoust sorry to help you
I am familiar with that widget, overriding the capacity setting there only changes the displayed capacity in the app, it doesn't affect the estimations at all. Sorry, i should have mentioned trying this.
PS: What attitude ? Bumping a thread that got buried on a third page after just 2 days, without a single answer, while most other threads that bury it could be answered using a search button ?! I can assure you, i may do it once again after a week+ or something and then i'll just forget about it, you can check my others threads And yea, they usually remain either unanswered, or self-answered after all (rare, but if it happens, i post my findings in the thread)
PPS: If you consider it such a "bad attitude" just don't bother helping. Thanks.
Battery reading is indeed not 100% perfect. But what ever change we would make. It is not gonna give you extra battery life. Until some one fix it there is no way to read it 100% correct. So that is the whole story.
jan-willem3 said:
Battery reading is indeed not 100% perfect. But what ever change we would make. It is not gonna give you extra battery life. Until some one fix it there is no way to read it 100% correct. So that is the whole story.
Click to expand...
Click to collapse
Well, i don't bet on it to be 100% correct, but it should be something relatively close to the reality, while in case of this particular battery it's nowhere near that.
It assumes 1230mAh, calibrated or not, and i am 100% sure it takes this value from somewhere. In any case, it should be possible to patch, the question is where/how. Since i am not exactly an Android/Linux guru, the only things i did to find it out are searching this forum and doing simple google searches, finding nothing beyond the usual calibration thing. I though maybe someone may know something, that's why i posted the thread. I guess i was wrong about it.
PS: I guess i'll either abandon this, or start my own research, beginning at the source code of the ROM/kernel i use
InfX said:
I've recently tried a cheap high capacity battery, over twice the capacity of the original one (but, of course, twice as fat and heavy). While the battery charges to it's 4.2V and discharges down to about 3.5V properly (tested manually, with the multimeter), the phone keeps reporting the battery as 1230mAh, tracking it accordingly. This causes the phone to go from 100% down to 15% at about the speed it would with the original battery and then remain at 15% for a full day. Similarly, charging the battery makes it go to 100% twice as fast as it should, yet the battery keeps charging after it reaches those virtual 100%, up to the proper 4.2V, with the proper current (NOT trickle charging).
I've already tried the obvious (fully charge, delete the stats file, fully use the charge, then full recharge again), it didn't really help, it only distributed the estimation a tiny little bit.
Any solutions ? Is there a proper way to manually override the battery capacity either with or without recalibration ?
Click to expand...
Click to collapse
i think you just need a rom/kernel that support extended batteries.
Sent from my HTC HD2 using XDA Premium App
j4n87 said:
i think you just need a rom/kernel that support extended batteries.
Sent from my HTC HD2 using XDA Premium App
Click to expand...
Click to collapse
Tytung R10 does. All those kernels only support "official HTC extended battery" though, and i have yet to find out what does it really mean (read - what's the technical difference between the official and unofficial one). Note that the battery is charged/discharged properly, its just the stats/percentage remaining that go haywire.
mhh, just made some researches...
Stumbled over these threads:
Crazy, that there is a different behaviour if you have an orig. HTC or not...
http://forum.xda-developers.com/showthread.php?t=756513
http://forum.xda-developers.com/showthread.php?t=948181
Also read somewhere, that you really need to charge your phone to fully 100%, so that current widget shows 0ma...and then let the phone a few more hours at the charger, (DONT remove your charger) then manually delete the batterstats file in /data/system, turn off the device, REMOVE the charger, then boot the device.
Good luck
For those really interested to know what the technical difference between those bats... its the thermistor values range. Thats it.
The different batteries are identified by that thermistor value, all the batteries parameters are in the "ds2746_param_config.h", the table i am interested in modifying is the FL_25, one that defines the full battery capacity.
Sadly, this, most probably, requires a kernel recompilation, something i can't do, not without setting up all the required environment first Or, maybe it's possible to just patch the kernel image with hexeditor, i'll probably take a look.
PS: Thanks for everyone for trying to help.
EDIT: patching zImage would be harder than just recompiling it
not saying this is the right answer or that you haven't already tried but it didn't half help me out as i was only getting 8 hours before i used it, and i only got around 15 hours when i used to use wm, also left a print screen of what i get after i use the features in THIS page...
Sent from my HTC HD2 using XDA Premium App

For those with the battery reporting problems...def fix yet??

now ive been using KP's GB 2.3.4 beta 4 ROM for awhile and it works well, except for the battery reporting issue. now ive used the fix posted by jug6ernut but the battery jumping issue still isnt fixed. my phone will report a full charge at 100%, then immediately go to 99% when unplugged. then it will drain to lets say 78%. i can reboot and it will pop back up to 94%. some people say its working for them, some say it wont. ive done a full proper battery calibration using CWM Recovery and using the Battery Calibration app.
i would love to post in the dev thread below, but cannot yet. has anyone else had any success with the battery reporting issue or definitive fixes??
also, how often will the phone report my battery data as incorrect? if i charge to 100% then immediately reboot, reporting will now be correct from then forth until plugged in and charged to 100 again? im under the impression as long as i reboot after unplugged, the battery drain reporting will be correct.
http://forum.xda-developers.com/showthread.php?t=1174349
I don't think its as simple as that, I think a few cycles are required.
I wiped the stats and flashed the fix, been sitting at 1% battery listening to mp3s for half an hour ON ONE PERCENT lol.
well i flashed the fix days ago and it still isnt fixed after many charge/discharge cylces....not full 100-0% cycles, but normal use ones.
dictoresno said:
well i flashed the fix days ago and it still isnt fixed after many charge/discharge cylces....not full 100-0% cycles, but normal use ones.
Click to expand...
Click to collapse
I have found a fix and I have posted it in the General Section.
i was told that reflashing jug's batt fix over Alien will fix it; but the download in jug's battery fix thread seems corrupted or something
xploited said:
I have found a fix and I have posted it in the General Section.
Click to expand...
Click to collapse
ill give it another shot, thanks.

Battery Charging/Battery Life Changes in Latest OTA (4.54)?

I'm not sure if everyone has seen this:
http://www.goodandevo.net/2011/11/k...-supports-trickle-charging-on-htc-evo-4g.html
Basically, a G&E reader is claiming that the latest OTA has a kernel update that trickle charges.
I did some searching, but I couldn't tell from TT's thread here: http://forum.xda-developers.com/showthread.php?t=1320660 or crawform's thread here: http://forum.xda-developers.com/showthread.php?t=1319452 or brad's thread here: http://forum.xda-developers.com/showthread.php?t=1319881 whether or not the kernel was even updated in the latest OTA (guessing G&E wouldn't overlook something that simple, but who knows).
Somone (Biker1) commented on G&E (and elsewhere in the E4GT/SGS2 forum on XDA... not sure why it was posted there...) that rather than a true trickle charge, maybe the latest OTA allows our OG EVOs to get the battery into the so-called "Stage 2 Saturation phase" of charging, essentially getting the battery to 100% rather than 85%. This is just a hypothesis put forth by Biker1. If this was true, I think we'd expect longer charge times on the latest OTA when compared to the previous OTA along with a lack of the initial battery drop and overally a longer battery life.
I've just today updated to TT's Classic which has the latest OTA as a base, so I'll be doing a little bit of testing myself, but I was wondering: Has anyone noticed better battery life, longer battery charging, or anything else along those lines on the latest OTA?
And for those more experienced: If there are changes, would that mean new kernel source, or just different config parameters?

Need help with Franco Kernel..

Hi.
I have installed PA 3 (15 FEB Build) + Franco Kernel r72 (I heard about people talking about the r80 but i cant find it..).
I have been looking for a guide for this kernel, is the first time I flash one and people says battery life is awesome, but I cant agree with other people. So far I have noticed worst battery life, maybe because the r72 is not for 4.2.2, maybe because I need to do something else apart of flashing the kernel?, I bought the app, and the only changes I have made are some in the screen color and put the max. cpu to less 1188 MHz, i thought that putting it less will give me better battery life but it didn't.
So far I had better battery stats with stock, for example: Last night I completely discharge then charge it full and let it rest the hall night to see how the battery will be.. With franco it jumps from 100% to 85% when i saw it in the morning (I just did a little of web browsing before going to sleep but it doesnt mean 15% less??) and with PA original kernel (They use the stock kernel with some modifications) From 100% to 99%. I mean is a huge difference, maybe I'm doing something wrong or something but that cant be good.
I'm not saying that franco kernel is bad, what I would like to know is, if I need to do some adjustment in the app to get a good battery life. I have heard of undervolting but i cant find a guide for that and franco kernel.
I'm really new to all of this so any help would be appreciate
Attachments: 84% Was when i woke up, cheking all the stuff and taking screenshots then it was 80% you can see it in the attachtments and the phone idle time too.
DrawFist said:
Hi.
I have installed PA 3 (15 FEB Build) + Franco Kernel r72 (I heard about people talking about the r80 but i cant find it..).
I have been looking for a guide for this kernel, is the first time I flash one and people says battery life is awesome, but I cant agree with other people. So far I have noticed worst battery life, maybe because the r72 is not for 4.2.2, maybe because I need to do something else apart of flashing the kernel?, I bought the app, and the only changes I have made are some in the screen color and put the max. cpu to less 1188 MHz, i thought that putting it less will give me better battery life but it didn't.
So far I had better battery stats with stock, for example: Last night I completely discharge then charge it full and let it rest the hall night to see how the battery will be.. With franco it jumps from 100% to 85% when i saw it in the morning (I just did a little of web browsing before going to sleep but it doesnt mean 15% less??) and with PA original kernel (They use the stock kernel with some modifications) From 100% to 99%. I mean is a huge difference, maybe I'm doing something wrong or something but that cant be good.
I'm not saying that franco kernel is bad, what I would like to know is, if I need to do some adjustment in the app to get a good battery life. I have heard of undervolting but i cant find a guide for that and franco kernel.
I'm really new to all of this so any help would be appreciate
Attachments: 84% Was when i woke up, cheking all the stuff and taking screenshots then it was 80% you can see it in the attachtments and the phone idle time too.
Click to expand...
Click to collapse
I did PA3 + franco r80 (test version that you can find on the first thread) last night. This morning I checked the battery drop from 100% to 96% and 6min screen was on.
I can't find the r80, can you give me a link please?
Sent from my Nexus 4 using xda app-developers app
DrawFist said:
Hi.
I have installed PA 3 (15 FEB Build) + Franco Kernel r72 (I heard about people talking about the r80 but i cant find it..).
I have been looking for a guide for this kernel, is the first time I flash one and people says battery life is awesome, but I cant agree with other people. So far I have noticed worst battery life, maybe because the r72 is not for 4.2.2, maybe because I need to do something else apart of flashing the kernel?, I bought the app, and the only changes I have made are some in the screen color and put the max. cpu to less 1188 MHz, i thought that putting it less will give me better battery life but it didn't.
So far I had better battery stats with stock, for example: Last night I completely discharge then charge it full and let it rest the hall night to see how the battery will be.. With franco it jumps from 100% to 85% when i saw it in the morning (I just did a little of web browsing before going to sleep but it doesnt mean 15% less??) and with PA original kernel (They use the stock kernel with some modifications) From 100% to 99%. I mean is a huge difference, maybe I'm doing something wrong or something but that cant be good.
I'm not saying that franco kernel is bad, what I would like to know is, if I need to do some adjustment in the app to get a good battery life. I have heard of undervolting but i cant find a guide for that and franco kernel.
I'm really new to all of this so any help would be appreciate
Attachments: 84% Was when i woke up, cheking all the stuff and taking screenshots then it was 80% you can see it in the attachtments and the phone idle time too.
Click to expand...
Click to collapse
R80 is a test kernel that Franco release a couple days ago. If you ever read the OP, you'll find the link here.
http://forum.xda-developers.com/showthread.php?t=2002782
It's even written in bold letters "Test versions (if you don't know what this is PLEASE don't flash or ask what inside)"
And here's the link from the OP, http://minooch.com/franciscofranco/Nexus4/tests/
From time to time Franco likes to test a kernel that he just implemented before putting it off as a final release. For final nightly release, you can also find the link in the OP. http://forum.xda-developers.com/showthread.php?t=2002782
It's also written in bold letters "DOWNLOAD". There are two kernel versions now. For whatever android version you're using choose the correct link and download the latest one.
Last night, Franco released a nightly (r82) for verison 4.2.2.
You can find it here in the OP like I just told you. There's a .img file to push the kernel via command prompt but there's also a zip file if you click the link when you are in the 4.2.2 download link.
Next time, you should really take your time and read the thread. People will bash or ignore you.
Have fun and good luck!
P.S You're complaining about battery life and I noticed you didn't include that you have tried undervolting the frequencies. Undervolting will help you increase battery life if not a lot it should be an improvement.
scream4cheese said:
R80 is a test kernel that Franco release a couple days ago. If you ever read the OP, you'll find the link here.
http://forum.xda-developers.com/showthread.php?t=2002782
It's even written in bold letters "Test versions (if you don't know what this is PLEASE don't flash or ask what inside)"
And here's the link from the OP, http://minooch.com/franciscofranco/Nexus4/tests/
From time to time Franco likes to test a kernel that he just implemented before putting it off as a final release. For final nightly release, you can also find the link in the OP. http://forum.xda-developers.com/showthread.php?t=2002782
It's also written in bold letters "DOWNLOAD". There are two kernel versions now. For whatever android version you're using choose the correct link and download the latest one.
Last night, Franco released a nightly (r82) for verison 4.2.2.
You can find it here in the OP like I just told you. There's a .img file to push the kernel via command prompt but there's also a zip file if you click the link when you are in the 4.2.2 download link.
Next time, you should really take your time and read the thread. People will bash or ignore you.
Have fun and good luck!
P.S You're complaining about battery life and I noticed you didn't include that you have tried undervolting the frequencies. Undervolting will help you increase battery life if not a lot it should be an improvement.
Click to expand...
Click to collapse
Thanks a lot, and I noticed that part but I didnt think of it. I'm really new to all of this of flashing so this: "(if you don't know what this is PLEASE don't flash or ask what inside)" , just make me focus on the official release in the zips sections
Actually my question is if there's any guide on how to undervolt/increase battery life in this kernel, is the first kernel I've flashed so I dont have experience with voltages and things like that.
DrawFist said:
Thanks a lot, and I noticed that part but I didnt think of it. I'm really new to all of this of flashing so this: "(if you don't know what this is PLEASE don't flash or ask what inside)" , just make me focus on the official release in the zips sections
Actually my question is if there's any guide on how to undervolt/increase battery life in this kernel, is the first kernel I've flashed so I dont have experience with voltages and things like that.
Click to expand...
Click to collapse
There's no official guide. It's actually pretty simple.
But first you will need to find out what type of CPU bin you are using. What is that you say? I will try to explain it with the best of my knowledge.
Well, it's quite obvious that we have the same Snapdragon chip but not quite the same. Each one is somehow made differently based on it's quality. There are a few types, slow, nominal, fast and faster chips. What are the difference? For one, I know that they all have different voltages for each frequency and the quality of the chip will determine how much you can undervolt.
From here I am going to teach you how to find which chip you are using, you can follow this guide on the very very top section of the page.
http://forum.xda-developers.com/showthread.php?t=2048739
Second, you will need to download an app in the Play Store called "terminal emulator" (Link below).
https://play.google.com/store/apps/...251bGwsMSwxLDMsImphY2twYWwuYW5kcm9pZHRlcm0iXQ..
Here's how to find out the CPU bin:
1. Go to the app once you have finished installing it.
2. Type in "SU" to request Superuser root action
3. Type this in: "dmesg | grep PVS" (Without quotation marks) -----> http://forum.xda-developers.com/showthread.php?p=35547734&highlight=terminal+cpu+bin#post35547734
4. Finally, you should get something like this: "[ 0.873920] acpuclk-8064 acpuclk-8064: ACPU PVS: FAST"
5. At the very end of the command, you can see that the CPU quality like above. It's a fast CPU.
If you have a FAST cpu bin like 90% of Nexus 4 owners, you can undervolt up to -100mV just to be safe. You can test it farther but if your phone reboots, that means the value that you have entered is not stable.
Here are some articles on undervolting on android:
http://bigfatreality.blogspot.com/2012/03/guide-to-undervolt-android-safely.html
http://www.android.net/forum/android-rooting/58117-droid-x-guide-undervolting-guide.html
I hope this helped you in some way. Good luck!
P.S In addition to the Franco's test kernels, you can always wait until the official nightly release. Franco releases them when testing is complete. But it's nice to see what in store for us when the official nightly comes out. LOL

Battery Drops, need new files?

Hi, I'm running CM10.2 in my Defy, and the battery has some big ass drops, and then keeps working at 1% for a long time. Is it possible that I need new battd files? I've read the Battery Drops Explained Thread, but I didn't quite understand how to fix it. Can anyone help, please?
Anyone can help, please? Not even with a new battery this issue got fixed :/
I think i can help you..download xposed module and then use disable critical battery shutdown..
obbama said:
Hi, I'm running CM10.2 in my Defy, and the battery has some big ass drops, and then keeps working at 1% for a long time. Is it possible that I need new battd files? I've read the Battery Drops Explained Thread, but I didn't quite understand how to fix it. Can anyone help, please?
Click to expand...
Click to collapse
if this happens on ur new battery , the then below reply is from my experience which i posted to another thread...
----
Dont worry . this happens to me also.. im too bought a battery of 600rs from ebay and battery stays 1 % for a day...
For an investigation i checked the battery voltage (at 100% charge voltage will be 4.2) when it drops to 1%, its nearly 3.9 and phone will keep working till voltage reduces to 3.5... im getting 2 days minimum backup of moderate use...
now to explain why 1% , this is an answer i gt from FB group .. "dnt expect Original battery at 600rs wen its actually cost 1200rs, they are actually replica of real and the so battery circuit send false info to phone, and phone calculates percentage remaining on this "
i tried to switch some cm7 version but in all battery drop at 1% happens.... so i ignored it and my defy still rocks in daily usage after 3 years ...

Categories

Resources