yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] jmcclue:
Hi, it has been said many times in threads that the best way is to nandroid backup, flash a AOSP rom because it works better coz sense roms die before learn mode is detected. Once u have done the calibration u can restore ur nandroid backup. The changes r made to the battery so when u restore ur nandroid, ur battery will be still calibrated. Thats the way i done it and loads of other users and im now using runnymede aio and the battery life is great.

Sent from my HTC Desire
[Desire Android Development] WatsonDue:
I don't remember the thing. It should be correct. Only a few kernels have the fix.. Like droidzone, speaking of sense kernels.

Aosp kernels should be fine. :)

Correct. :)
[Desire Android Development] impactor:
Thanks but you totally misunderstood what I was asking for.

Well, that sucks, because although I can do calibration on one of those kernels, I am not gona keep them as my main kernel.

So if I install a kernel like manU or cronosMod AFTER calibration, will the calibration disappear?

EDIT:

I just noticed the topic of this thread is [GB SENSE Kernel] Calibration under Sense

I have never used a Sense kernel or rom. How does that impact me? Should I still calibrate using this method if I'm on, say, MIUI XJ (GB-based rom)?

And is it going to work on JellyBean roms/kernels?
[Desire Android Development] jmcclue:
Not sure bout those roms but like i said, nandroid backup, flash an AOSP rom like oxygen, do the calibration and once thats done u can restore ur nandroid (after full wipe ofcourse) u will NOT lose calibration after u restore nandroid. Most people would recommend u do it that way coz it works pretty much first time. Ul need the jon richards battery calibration app from play store for nexus 1 if u flash AOSP rom

Sent from my HTC Desire
[Desire Android Development] impactor:
Are you saying that if I do calibration on an AOSP rom and then restore my old nandroid backup, the calibration is gong to stick no matter what rom/kernel is in the backup?
[Desire Android Development] jmcclue:
Thats the way i done it and lots of other uses and my battery is fine and shuts down as it should and iv flashed a good few roms after i done the calibration. In the OP somewhere r one of the links it says u only need to do this once. If the calibration didnt stick after flashing a new rom or that im pretty sure in the OP it would say u need to do this everytime u change roms and that would just be a balls

Sent from my HTC Desire
[Desire Android Development] impactor:
I agree. But that is exactly opposite to what another user said.

:confused:
[Desire Android Development] WatsonDue:
It will stick only if you restore/use a non-sense ROM. The problem of calibration is born due to a bug in sense kernel by HTC.
[Desire Android Development] yzhang16632:
Is this fix working on BravoC (CDMA version)?
[Desire Android Development] djfm:
sorry if this is a stupid question,

witch file must i use from the first post, for my htc desire to install thru recovery ??

currently running on mw7 from mildwild
[Desire Android Development] :
My HTC Desire with Mildwild 4.9 shuts down at 3496 Mv... Is this ok? What registry values should I use?
[Desire Android Development] hanonongia:
[MENTION=3016405]theGanymedes[/MENTION] Need help here. I'm using VJ CM10.1 now. There are so many files so which kernel.zip file should i flash? Is the battery calibrator apk in the OP exactly same as the one in playstore or it has been modified?
[Desire Android Development] maelstrom2001:
Use Google Play version, no need to flash another kernel, use it with kernel that comes with VJ's firmware.
[Desire Android Development] jmcclue:
Theres 2 in the playstore, make sure u use the 1 for the Nexus
[Desire Android Development] hanonongia:
After installing, do i have to follow the instructions on this link http://xdaforums.com/showpost.php?p=9583271&postcount=340
[Desire Android Development] maelstrom2001:
Yes.
[Desire Android Development] hanonongia:
I can't find aEvolts and stop charging current under the Learn Prep tab.
[Desire Android Development] tom0769:
There is no explicit Evolts or stop charging current.

It's selcted by the address and value you type in "Register: 0x...":

- 0x66 means you set the Evolts

- 0x65 means you set stop charging current

The corresponding values must be typen in "Value: ..."

You can verify your settings afterwards in the "General" tab.
[Desire Android Development] aledex:
I've done everything, after the reboot in showed battery age 100%, but the phone turned off at 24%.

Now battery age is again at 94%
[Desire Android Development] PuffMaN:
When you plug in to charge the phone when its off, it will reset itself to 94% automaticly. You may have to do the calibration a couple of times. When using the phone, use the calibration app to keep an eye on ur voltage level. Do not make it go below 3.2v, it will shut down. Start calibration process again at about 3.3v - 3.4v. Make shure ur charger is near. When plugged in, leave it for at least 4hrs, even if its at 100%. Best to do it in the evening, do calibration process, plug it in, go to sleep and reboot in the morning. Do this 3 or 4 days in a row, to make shure. If the phone still shuts down too soon, ur battery is as good as dead. If it is, word of advice, order a mugen power 1600mah batt. Takes a while before you get it, but well worth the wait.

Good luck!

Sent from my Nexus 7 with Tapatalk Red
[Desire Android Development] aledex:
Thanks! Yes I'm thinking about that battery...
[Desire Android Development] Ewors:
Cant get lower than 3500mV

hey guys I tried to follow this calibration tutorial, but I think it it doesnt work for me.. I did everything described in http://xdaforums.com/showpost.php?p=9583271&postcount=340 post, but my battery cant get lower than 3300mV to switch Learn mode active...

Does it mean that I did something wrong or do I have to edit any more registers in order to calibrate it correctly?

Thanks in advance :)

EDIT: It worked for now.. Dont know what did happen to my battery but I finally works.. I will wait to charge it to full 100% and give a feedback if it works or not. Thanks
[Desire Android Development] pc boy:
Hey guys!

Does this work for JB roms? like CM 10?
[Desire Android Development] PuffMaN:
Worked fine under JB. Has issues with kitkat roms. FC upon entering learning tab.

Verzonde jonge! Van mijne Nexus 7! Verrekte kut!
[Desire Android Development] standal.10:
two way call recording

Can somebody add two way call recording in this kernel?

http://xdaforums.com/showthread.php?t=993793

Many many thanks.
[Desire Android Development] Yukikaze_nuce:
Use Droidzone kernel. It support 2way record.
[Desire Android Development] standal.10:
Thanks, but I cannot get acces on droidzone forum to get kernel. Can you help me with it? Or paste the kernel here.
[Desire Android Development] tom0769:
I've got 2 versions on a backup disk, see attached
[Desire Android Development] standal.10:
Thank you very much.
[Desire Android Development] Saf98:
Do I flash both and anyway it might b useless to try this cos my battery dies anytime it wants like 70 or 50%
[Desire Android Development] tom0769:
Unless you don't calibrate your battery with the app, changing kernel won't help!
[Desire Android Development] Saf98:
I've calibrated my battery before and its still the same as before so that's what I'm saying it won't work on mine cos my battery is old, need a new one.
[Desire Android Development] Saf98:
Ok so how do i use this, fo I just install apk and calibrate and then what.
[Desire Android Development] PuffMaN:
How about reading the second post of the thread...

Sent from my Nexus 5
[Desire Android Development] Saf98:
I've installed apk and there's no values in the app etc.
[Desire Android Development] PuffMaN:
That means you've got an incompatible kernel. I recommend you use a blank ICS or JB rom for calibration. This app always worked for me with evervolv roms, i cant give you feedback with other roms.

The app's description in the play store gives you compatible kernels. I can tell you the evervolv kernel works too.

Calibration itself has nothing to do with an installed rom. It writes directly to the battery's eprom. It is safe to backup the current rom, install a new, calibrate, and restore the backup. Calibration will not be corrupted.

For exact tutorial see this post.

Sent from my Nexus 5
[Desire Android Development] Saf98:
Hmm can't get 4+ roms cos there's still bugs, I might need a new battery because my battery sometimes die at 70% 50% or even 90% ?
[Desire Android Development] PuffMaN:
As i said, you dont need to stay on the 4.x rom. You only need it for the calibration. If you backup the current rom, you can restore it after you calibrate. Try this first before you buy a new battery. When calibration does not work, ur battery really is too far gone. If you buy a new, get a mugen power. Its the same dimensions as a stock battery, but you get 1600mah instead of 1400, and you dont need a new rear cover.

Sent from my Nexus 5
[Desire Android Development] Saf98:
So ur sayin first backup current, then go onto 4+ rom and do the fix and return to current?
[Desire Android Development] PuffMaN:
Exactly. The calibration will be written to the battery's internal memory. Flashing other roms will not compromise it. You are running a custom rom, right? So you know how to make a full rom backup in recovery?

Sent from my Nexus 5
[Desire Android Development] Saf98:
Yep I know how to but its gna take some time just to do that

Cos I'm on cm7r2 hboot and I will need to go to stock hboot for the new rom and then flash cm7r2 for the rom now...
[Desire Android Development] Saf98:
ok ive downloaded stock hboot for the 4+ rom and cm7r2 when i restore the backup and the rom, ive got the BatteryCalibrator.apk too, im confused what to do, do i just install the apk and follow the instructions(http://xdaforums.com/showpost.php?p=7850480&postcount=3) for that or do i have to flash the kernel then do it (http://xdaforums.com/showthread.php?t=1534892), also it says for flashing kernel Do I have to compile kernel myself? I'm not a geek like you, man!

Flashable recovery zip for kernel is added to the post (named ahmet-exp4_*.zip)!

there are three different ahmet-exp4 files which do i flash?
[Desire Android Development] PuffMaN:
No, you don't need the ahmet files. These are correct instructions, I was to fast posting a link. http://xdaforums.com/showthread.php?p=24599586

Just flash the Rom, install the app, follow instructions, and calibrate. No need to flash kernels.You might wanna do this 2 or 3 times, calibration didn't work for me from the first try.

Sent from my Nexus 5
[Desire Android Development] Saf98:
OK I'm on vijendrahs cm10 jellybean and still no values in that app?
[Desire Android Development] PuffMaN:
That is strange . But I never tested on vj's Rom. Try this one:

http://nikez.nu/?jellybean_4-3

I am absolutely sure that works.

Sent from my Nexus 5

---------- Post added at 10:43 PM ---------- Previous post was at 10:35 PM ----------

Proof:

Verstuurd vanaf mijn HTC Desire met Tapatalk
[Desire Android Development] Saf98:
I'll try that tomoroow but here's the kernel info
[Desire Android Development] PuffMaN:
Heh, that's an evervolv kernel... ok this is weird. If things do not work tomorrow, with Nikez' Rom, I am out of options. So I hope it works tomorrow :p

Sent from my Nexus 5
[Desire Android Development] Saf98:
Fixed the problem the apk I had was prob old version which was on this thread so I downloaded from play store and it shows it now :)
[Desire Android Development] PuffMaN:
Aaight, cool. Phew. Ok. Now let's hope calibration works too :) [MENTION=3016405]theGanymedes[/MENTION] can you please alter the download link for the calibration app in the op, redirect it to the app in the play store, so the error I was trying to troubleshoot in the posts above does not happen again for future desire/N1 users. Ty!

Sent from my Nexus 5
[Desire Android Development] Saf98:
In the instructions it says to check all boxes in settings then make the battery thing 100 and the full40 to 1452 I think and them to do that other bit on register x66 but it says I don't have them other bits in the app. Its the stop charging bit I don't have that anywhere and I'm confused what to do to do on the -200 bit?
[Desire Android Development] PuffMaN:
If I understand correctly:

This is the settings page

Everything is checked?

This is the second tab:

Now scroll up, and you get this:

Now, all you have to do is wait until the battery is almost going to die, and hit the "on" switch to begin learn process. Also scroll down in the third tab. If all settings are entered correctly, the app should automatically add mAh's to the battery until you reach 3200 mV. This is the point where you HAVE to be near your charger! When it reaches 3.2v, it will give a popup that says to plug in the phone. You have LESS THAN 10 SECONDS TO DO THIS!! So keep a close eye on the phone when u are getting at about 3.4V (3400mv) better do this at night. Plug in the phone, go to sleep, and in the morning, reboot. When you open the app after booting, the real battery age should be there.

Sent from my Nexus 5
[Desire Android Development] Saf98:
Thanks so shall I leave the learn prep alone cos I already done that and just do the next step.

---------- Post added at 05:31 PM ---------- Previous post was at 04:56 PM ----------

im on the app ive added the values again in learn prep, and my battery was on 5% then i went on learnmode and turned on detect learn mode and then my battery is on 20% ?? no msgs saying to plug in charger.
[Desire Android Development] PuffMaN:
That's normal. The mAh will increase, and so will the percentage. The app will re-learn the battery which percentage corresponds with the voltage. Just let the app do it's thing, and keep an eye on the voltage, ignore mAh and percentage.

Sent from my Nexus 5
[Desire Android Development] Saf98:
ok so its on 16 percent atm can i use other apps while it is running in the background?
[Desire Android Development] maxens63:
Should the full40 be at 1650mAh or 1452mAh ?
[Desire Android Development] Saf98:
1452 if u got the original htc battery but if u got 1600 then go for the 1650.
[Desire Android Development] PuffMaN:
Would not recommend it. If you send it to background, it could be you have to re set the learn option.

Sent from my Nexus 5

---------- Post added at 07:09 PM ---------- Previous post was at 07:08 PM ----------

He is correct. Mine has 1650 because I have the mugen power 1600mAh battery. Stock battery has 1400mAh

Sent from my Nexus 5
[Desire Android Development] Saf98:
ok battery just died at around 10% so shall how much shall i charge the battery to start the process again?
[Desire Android Development] PuffMaN:
Ok you went too far. Plug it in for 2 mins, and if you boot up you have to set the battery age to 100 again. It will be reset to 94. As I said, keep an eye on ur voltage. On the top right of the learn tab, you see how much power you are using. (Probably something like -500) when you reach 3.4v, in detect mode, put the phone on airplane mode, and stop using it. Try to lower the usage number to about -200. Just hold it with charger cable ready and watch the voltage. Do not touch screen, push buttons, nothing. Once it passes 3.3v it goes quite fast. The moment you see the popup plug it in and leave it alone.

Sent from my Nexus 5
[Desire Android Development] Saf98:
do you mean the box that says curr.(mA) it was on 7% now 14% is on -89.57 on learn detect is on.
[Desire Android Development] PuffMaN:
Correct. The current s what you are using now. Now watch the voltage. It won't take long now. You should be around. 3.4v now. The lower the current is, the more chance you got to plug it in in time.

Sent from my Nexus 5
[Desire Android Development] Saf98:
ok the current just went up -106 now it is- 83.48 11%.

edit the real time voltage uv is 3649842

and the brghtness is low just in case.
[Desire Android Development] PuffMaN:
That's normal, ur phone is doing things in the background. Ignore percentage, and mAh, look at voltage. Do not make it go below 3200mv. When it reaches around 3200mv learn tag should activate and phone will ask to plug it in.

Sent from my Nexus 5
[Desire Android Development] Saf98:
i looked away and looked at phone and it looks likes the message quickly popped up and the current was -1.209 i think. the chargers in now at 19%

---------- Post added at 08:01 PM ---------- Previous post was at 07:55 PM ----------

edit: is the mv the same thing as uV? i pulled charger out in message(s) it still says waiting and the instructions so yh i think te message i saw was probably supersu permissions.

where is the mv box i dont see it and i think i plugged it in wrong moment because i saw a message but quickly went?
[Desire Android Development] maxens63:
I've been doing this operation 3 times but no succes...:crying:

Still shuts down arriving to 30% or 29
[Desire Android Development] Saf98:
did yours show the message to plug charger in mine hasnt?
[Desire Android Development] maxens63:
yep. Did ask me to charge.
[Desire Android Development] Saf98:
but where in the notification bar or in messages where it says waiting, and if it didnt work on urs maybew u need a new battery
[Desire Android Development] maxens63:
A window appears saying to plug in or you can see the grey icon "LEARNF" witrh a green light switchs on.
[Desire Android Development] Saf98:
yess just happened now!!! charging
[Desire Android Development] maxens63:
Tried for the 4th time but now crashes... Each time I switch "Learn mode" I have a FC.
[Desire Android Development] Saf98:
Mine died at 50%
[Desire Android Development] PuffMaN:
what version of android are you on? And are you using xposed?

After calibration? Try a couple of times, if it really doesn't work, the battery is too far gone and you need a new one.

Verstuurd vanaf mijn Nexus 5 met Tapatalk
[Desire Android Development] maxens63:
I'm under Evervolv's rom 4.4.2. And yes I have Xposed installed. Do you think it's Xposed messing around ?
[Desire Android Development] PuffMaN:
I have noticed the app is being a female dog with xposed. First I thought it was 4.4.2, but then it fc'd on 4.3 too. With xposed installed. Could be it works on 4.4.2 but not sure. I am certain xposed is to blame here. Take a backup of the Rom in recovery, install a fresh Rom with only the app, calibrate, and restore the backup. This will not affect the calibration.

Verstuurd vanaf mijn Nexus 5 met Tapatalk
[Desire Android Development] maxens63:
That's a good idea.. Will take a try ;)
[Desire Android Development] PuffMaN:
(Kinda off-topic, but relevant) I also noticed xposed drastically decreases performance on the good old desire. My opinion: don't use it. It's all cool 'n stuff, you can do great things, but it makes the phone annoyingly slow. Face it, it's getting aged. Just my two cents :)

Sent from my Nexus 5.
[Desire Android Development] maxens63:
So I uninstalled Xposed and Gravity etc... But still the same.. When I switch Learn mode.. Fc:eek:

Sure it should work on a brand new rom cleaned before
[Desire Android Development] PuffMaN:
To be sure, use a fresh evervolv 4.3 Rom. That definitely works.

Sent from my Nexus 5.
[Desire Android Development] Saf98:
It didn't work for me so I went back to mildwild 5 I installed the battery calibrater app from play store and the values show up so it might work again.
[Desire Android Development] PuffMaN:
Ok. Like I said, the advice I give is based on personal experiences. Other roms/kernels might work too, but I don't know which. In your case it was an outdated app link.

Sent from my Nexus 5.
[Desire Android Development] theGanymedes:
So long...

Wow, it seems so long ago I've did this. I hardly recall what I did back then :)

Due to this, when you have something to be done, you need to explain it carefully; cause I need to refresh my memory first :) Ever since I got into Arduino and gave my Desire away for an S3, I've been quite afar from the topic.

It's kinda good thing that this post still used, but also a bad thing that I cannot keep track :)

Thanks anyways guys,
[Desire Android Development] PuffMaN:
Yea, little over 2 years :) I know how you feel, I had to do some serious thinking to get it back. I still use my desire, even though I have an N5 now. Calibration has not been needed since I have my mugen power battery. Anyway, the thread you made here is just awesome, and we love to keep it alive. So if tiny things need to be adjusted, we will let u know. This still is one of the most useful threads for our desire!

Sent from my Nexus 5.
[Desire Android Development] Saf98:
I tried doing this in the night so when the battery increased uptown 17% and dropped to 11 and then increased again it took so long and the voltage was around 3800 which was different to jb so I think I might have to get anew battery...
[Desire Android Development] PuffMaN:
Well, if the battery cannot find the strength to come to the correct voltage, it's time for a replacement. Might as well go for a mugen power battery then, you will not regret it.

Sent from my Nexus 5.
[Desire Android Development] Saf98:
That battery is quite expensive, any other recommendations that are less than £10?
[Desire Android Development] ze7zez:
Battery calibration is a myth.

Android Battery Tips

Myth debunking

My comment is in the title.

.
[Desire Android Development] Saf98:
Thanks but I need a new battery.
[Desire Android Development] PuffMaN:
Best thing you can do is browse ebay. the battery for a Nexus one fits too. But under £10? Not likely.

Swyped with my Nexus 5.
[Desire Android Development] maxens63:
Tried to calibrate will a couple of different roms(Been testing froyo roms... Back to the Future..lol) And the only way to be able to use from 100% to 0, is that the battery age indicates 72 %. So sure the battery is tired.

And sure it is 72%, because, when discharging till 28%, it turns of. And when I charge, it stops at 72% then all of a sudden it indicates 100%.

So if I put battery age to 72%, it will work.
[Desire Android Development] Saf98:
Finally bought a battery from a local phone shop for £8 and original.
[Desire Android Development] theGanymedes:
You did wipe your dalvik-cache, right? Flashing kernel rules still apply :)
[Desire Android Development] nomatterbv:
Yes, I did that :) I know the basic flashing methods/rules but still...the device it's not that laggy like before but it opens the apps very slow, un unlock or while entering into the menu it's laggy.

I'll wait more and see how it behaves, maybe it just needs some time to settle down and work properly.

I'll post back any problems/issues.
[Desire Android Development] mondilv:
Do you use lonaro toolchain?

v.12.02 is strange.

Roll back to the january's version - all OK.
[Desire Android Development] nomatterbv:
Unfortunately no change, the device is very slow and laggy.I'm switching back to the original kernel, it was better and the battery life too, with this kernel I lost 10% in 15 mins.

Waiting for better fixes, I'll be glad to download and test.
[Desire Android Development] beanbean50:
I experienced exactly the same problems and had to flash back to a previous kernel
[Desire Android Development] theGanymedes:
Well, you did wipe your cache, but did you check the governor? Maybe it was the reason?

Your battery lost 10% - calibrated battery or not? Maybe that was the reason - weird thing is I didn't change anything in bananacakes's sources beside this small patch, and also funny thing is I recompiled it with SoftFP support - which should be more snappy; yet your problems really amaze me. Which kernel were you using before?

EDIT: Rebuilding dalvik-cache is a hard task, give device some time to settle.
[Desire Android Development] Alex-V:
Maybe he but swap in...if...its not a good idea in gb...i have the same if i change it in my kernels...

And delete dalvik is not needed...never make this..and also a bad idea..i read in the past of many bootprobs...because of iit