yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] jukyO:
Battery Calibrator

Hello girls and boys,

anyone managed to use Battery Calibrator tool on MIUI? I've downloaded it and installed it, but whichever values I enter inside, they are not accepted.

Tool HOWTO:

http://xdaforums.com/showpost.php?p=9583271&postcount=340

If I enter 1b,c and 2a,b press save, they are not shown in the tool. Or it can be only used on N1?

Market link:

https://market.android.com/details?id=net.jonrichards.batterycalibrator.ui

Thanks,

jukyO
[Desire Android Development] 1982Strand:
Weird... Hmm..

You familiar with ADB?

You make a logcat by writing adb logcat..

It gives more detailed info on what's going on on the phone :)
[Desire Android Development] Sinbad_NI:
Ended up ditching X-Part and going back to a2sd.

Was starting to get a lot of FC's and browser (which is my main app I use) was freezing a lot and my battery would get VERY hot when using some apps, browser especially. Maybe its my crappy class 2 sd card, not sure, but can't use the phone if it's too hot to hold LOL.
[Desire Android Development] demam:
I familiar with hearing it here in xda, hehe....but using it, I am still lowly noob in that area... However I did install logcat in market just now.... But still not know how to use it...
[Desire Android Development] 1982Strand:
Err..? Install from market?

Oh well, nvm..

Open up the command prompt on the pc, with your phone connected with the usb cable, goto the directory where adb is located. Usually in the android-sdk/tools directory, or similar to that..

adb is s small executable. When you run it you need to enter commands to make it work. In this case, you write adb logcat.

If nothing happens or you get an error message, write adb devices and see if it recognizes your phone..

If it doesn't connect at once, just try typing in the commands a few times, that sometimes helps. But if all this is pure gibberish to you, you might wanna google on how to install adb and how the basics of it works ;)
[Desire Android Development] demam:
thank you, will try to look into it when i have some time to spare...:p
[Desire Android Development] MKuiter:
Yeah, the A2SDGUI app says it's on. Oh well, it can't hurt to add it to the build.prop.
[Desire Android Development] flavviuss:
Hi there all.

Incredible rom !!. this is the first rom which last 3 days on my HTC desire since i had my phone for one year now. One question for you. Which is the highets quadrant score you obtained with the latest version for gingerbread > 1.8.12. I have only ~1300 without any cpu overclock . I saw here scores of over 2200!! now how the hack did you do that? I am interested in this because i want to obtain smoother graphics from the IGO application

Thanks
[Desire Android Development] flashjordan:
If you get a force close message hit the report button it generates a log cat, yoh can also copy and paste it
[Desire Android Development] 1982Strand:
Haha, didn't realize that, this makes it SO much easier! :D Thanks for the tip!

I feel like such a fool now!
[Desire Android Development] dragonithe:
Thanks for this respons,

But I don't have the option to fix permissions. I remember having it before my phone freeked out and had to use a ruu. but now I can't find it...
[Desire Android Development] shankly1985:
I never knew about this. Dont get FC that much but i'll keep this is mind thanks
[Desire Android Development] mikbe:
I have CM7r2 HBOOT. Any precautions installing MIUI A2SD+?

And ten minutes ago I installed it once and restored my apps. Then it nicely informed me that my storage is low. Doesn't look A2SD+ to me. :) Some commands are needed in terminal but I can't remember what. Why aren't them in first posts?
[Desire Android Development] bfikkert:
In terminal type,

a2sd reinstall (it will reboot when its done)

a2sd cachesd (not 100% sure ... but it will reboot when its done)

have fun.
[Desire Android Development] jukyO:
Use X-PART variant.
[Desire Android Development] shayne77:
I do get a FC as well when selecting "labels to notify"...

Edit: "IllegalArgumentException: account is empty"

Could be why?

sent from my phone

(so please excuse any typographical errors)
[Desire Android Development] mikbe:
Thanks. I eventually found the commands from Froyo post. Even though it said a2sd zipalign.

a2sd cachesd moves dalvik cache from nand to sd-ext. I believe A2SD is enough for me because of the CM7r2. There's plenty of room for dalvik on data partition.

Last question: Is

still needed?

E: Answering to myself: It is needed because my cache partition is still very small. :)
[Desire Android Development] shankly1985:
One thing I have noticed is battery now is very poor since updating? Not used phone that much today its been off charge for 10 hours setcpu shows phone is using 86% 128mhz so not much power there and my battery is at 35%.
[Desire Android Development] gifton1:
Yep, market cache fix still needed for CM7 r2 hboot i believe. I was having problems downloading from market using the same hboot for a bit untill I flashed this. all works amazing since flashing this :)

edit: sorry - just seen you had aleady answered your own question!
[Desire Android Development] registermyid:
Use x-part with class 6+ sd card with stock kernel or with manu axi bfs or cfs kernel n u will hit n cross 2200 benchmark test. Cheers
[Desire Android Development] mikbe:
Still nice to get confirmation for my thoughts. :)

Did you move dalvik to sd?
[Desire Android Development] registermyid:
Just downloaded few apps from market and using cm r2 hboot. Seems xj fixed it
[Desire Android Development] mikbe:
Were those apps over 5 megabytes? Because that's the size of our cache. :)

Dalvik cache fits perfectly on data partition. Rom seems great so far!
[Desire Android Development] flashjordan:
No dont feel like that, you dont always get the report option, somtimes you get the wait option.

Im not sure why,but if you do get the report button it will promt a logcat......no need to use additional app to generate logcat..

I think
[Desire Android Development] xavierjohn22:
Yeah the settings link to that is broken.

If you do menu >settings > application > gmail.... it will fc

If you open up gmail directly and go to settings > click your gmail account it wont fc.

Might have something to do with new mione account being readied.

Sent from my phone, please bear with message brevity
[Desire Android Development] techtechnique:
Yep, I used it successfully a couple of days ago.

The only thing I changed was the full40 value to 1400mA, as the Desire's battery is a little smaller than that of the N1 I think.

MIUI-XJ Desire
[Desire Android Development] shankly1985:
XJ you know this build.prop you have added windowsmgr.max_events_per_sec=260 etc Can this conflict with rams scripts in anyway?

Can I just delete the line from build.prop?

My battery is very bad and I mean bad, not used my phone at all today 15 hours of being idle with 86% cpu at 128 and my battery is at 15% with no real use.

thanks for any help.
[Desire Android Development] xavierjohn22:
I dont have the ram script by default in rom. Or any ota update. I let users flash it, so yeah you can remove it if you dont need it in your rom tweaking.

And even if i have that in mine i dont get worse battery than before.

It has been there since the last ota update aside from this friday.

Sent from my phone, please bear with message brevity
[Desire Android Development] sjknight413:
That tweak will not conflict with ram scripts or other tweaks in any way.

It also does not affect battery life in any way!

I extensively stress tested it before I made the suggestion and I can confirm it is totally safe :)
[Desire Android Development] shankly1985:
Ok thanks am just trying to find out whats killing the battery :( without even using the phone. I will remove the RAM script and see how phone is all day tomorrow.

Can I just delete the init.d file then reboot?
[Desire Android Development] xavierjohn22:
You mean the 97ramscript file not the init.d

Yes the ramscript file only

Sent from my phone, please bear with message brevity
[Desire Android Development] MKuiter:
Do you have the battery usage monitor on to see what's killing the battery?
[Desire Android Development] welshyoot:
Same problem here, I've never been able to get whatsapp to work with miui-xj's rom - if anyone has had this problem and was able to fix it please post!
[Desire Android Development] mikbe:
I come from Virtuous Unity and restored Whatsapp's apk+data with MyBackup Pro. No problemo. :confused:
[Desire Android Development] jukyO:
Hi tech,

So when you entered the values in the fields, after pressing save, the values were visible or not? In my case, when I press save, nothing is shown in the fields.

You followed instructions from the link I put successfully then?

Thanks,

jukyO
[Desire Android Development] jukyO:
Strange, I have similar setup as yours and my battery drains normally.

1-2 % overnight and I do not have setcpu profiles enabled.
[Desire Android Development] shayne77:
I get stuck at step 2a and 2b, I don't have those 2 items in my Learn Prep tab.

Edit:

I get age, full 40 and setreg. That's it.

sent from my phone

(so please excuse any typographical errors)
[Desire Android Development] techtechnique:
Juky0 and shayne - I got a bit confused with this too until I realised that these 2 register settings can only be seen by pressing Menu then Register. This brings up all the register values and you should see the two values you changed listed in there.

Then press Save, press Menu then Register...

MIUI-XJ Desire
[Desire Android Development] hobarr:
When multi language
[Desire Android Development] sterankin:
I updated to the latest version over the weekend, went from 1.8.12 to 1.8.19.

Its running fine but when I open an app for the first time, it takes like 6 - 7 seconds to open. But opens normally after this.

Anyone else have this delay in opening apps the first time they are run?>

Thanks
[Desire Android Development] []v[]o:
Is there a fix so that the contact pictures from facebook are synced all over the rom, so in sms, calls, ... and not only in contacts?
[Desire Android Development] xavierjohn22:
I dont know, im gonna watch movie in pc and im kinda enjoying making black and white icons and lockscreen right now. Lol

Sent from my phone, please bear with message brevity
[Desire Android Development] xavierjohn22:
Sorry i dont know, i gave up fb long time ago

Sent from my phone, please bear with message brevity
[Desire Android Development] shayne77:
That the wife mate?

sent from my phone

(so please excuse any typographical errors)
[Desire Android Development] shayne77:
In fb, settings.. Its got nothing to do with miui..

sent from my phone

(so please excuse any typographical errors)
[Desire Android Development] nickk67:
Isn't this for the nexus one only? Furthermore is the default x-part kernal supported?

Edit: tested it and it was just as you said. The values can't be entered!
[Desire Android Development] techtechnique:
Yes, it is originally for the N1 but works perfectly on the Desire, with the X-Part kernel.

As I wrote the few posts ago, I ran this a few days ago and it worked exactly as it should.

MIUI-XJ Desire
[Desire Android Development] laurmihai8607:
a quick question:A2sd script does not start automaticly when i install the rom or i need to start manual? becouse i installed a2sd+ version and i have a 512 mb EXT4 partition on my sd card. and all apps that i install go on phone internal storage and not on my ext partition.
[Desire Android Development] jukyO:
Strange, I cannot enter any values. i mean, I can, but they are not displayed. Also, Menu-->Register gives nothing.

@techtechnique and @shayne77:

Using default Xpart kernel or? Also, which version of APP are you using?
[Desire Android Development] []v[]o:
I did that, because that works with contacts, but not with SMS, calls, stuff like that.
[Desire Android Development] shayne77:
I checked my SMS's and it has some FB photos as my contact picture..
[Desire Android Development] shayne77:
Im using X-Part, MANU CFS kernel... maybe there's a screen we're not seeing? I didn't notice a change on the register screen?
[Desire Android Development] techtechnique:
@juky0 and @shayne77

I ran it with X-part kernel. The app version is 1.30...

Could you post a screenshot of the Register details after you've entered the two changes?

MIUI-XJ Desire
[Desire Android Development] shayne77:
No probs.

Only the top line changed I think..

Before:

After:

sent from my phone

(so please excuse any typographical errors)
[Desire Android Development] twics:
word suggestion.

Minor issue here I can't seem to get word suggestion working with the Android keyboard but works fine with gingerbread keyboard, word suggestion worked fine on 1.8.12 I noticed it since 1.8.17 how can I fix without going back to 1.8.12 cause I do prefer the Android keyboard.

Thanks.
[Desire Android Development] techtechnique:
They're in there!

If you look at the dump, down the left side you'll see 60: xx xx ... That represents register x60 (which is value 42, x61 is ff etc) so count along to registers x65 and x66 and you'll see your entered values of 06 and a4.

You're good to go!

MIUI-XJ Desire
[Desire Android Development] flavviuss:
Anyone has call delay lag when answering from lockscreen? the patch from the market did not solved this problem!!
[Desire Android Development] nickk67:
That's weird because mine shows nothing. It's empty in the register. Apart from that, when I enter the age and full40 it doesn't show that it has been set.
[Desire Android Development] shankly1985:
yes mean just the script I have updated to his latest one see how that go's
[Desire Android Development] shankly1985:
Yes but it not working properly even when I switch phone off and on again its still says battery been on over 6 days witch isnt true.
[Desire Android Development] xavierjohn22:
Lol,

yeah. He he better than getting wallpapers over at the home screen thread.

Sent from my phone, please bear with message brevity
[Desire Android Development] techtechnique:
That IS weird!

Are you using an original HTC battery?

MIUI-XJ Desire
[Desire Android Development] nickk67:
Yeah, the stock battery. I couldn't even set the age and full40.
[Desire Android Development] jukyO:
Yes, original.

Attached screenshots if calibrator attempts. Odd pics (1st, 3rd etc) are where values are entered, even ones (2nd, 4th etc) are after save is pressed. Last one is register after everything is entered.

Strange indeed. Can you invoke in adb shell or terminal following command:

find / -name setreg

If anything is found, please post your results.

Thanks.
[Desire Android Development] jbbandos:
Now we understand why you have less and less time to work on the ROM and the multi-language pack... :cool:
[Desire Android Development] nickk67:
Wow dude, she a model or something?

+1 :D
[Desire Android Development] xavierjohn22:
Yeah i mentioned ill have lesser time now.

Im working on it right now.

Ha ha ha ha.

Shes beside me laughing.

Im almost done to upload. Will flash first

Sent from my phone, please bear with message brevity
[Desire Android Development] xavierjohn22:
Nope, shes just on of those conscious gals during her college days. Cheerleading. Lol.

Sent from my phone, please bear with message brevity
[Desire Android Development] jukyO:
Some statement from original thread:

Maybe this is our issue? Will try with different kernel then default one.
[Desire Android Development] ySchaub:
still got this problem..lol this cant be normal
[Desire Android Development] jukyO:
With tiamat kernel it works. Will calibrate battery with this kernel and then revert to the default one.

Tiamat kernel download:

http://downloads.tiamat-dev.com/8x50/406/Tiamat_Bravo-v4.0.6.zip

flash in recovery, toggle sig. verification off.
[Desire Android Development] savale:
Running the 1.8.19 A2SD version and just wanted to say it's rock solid, fast and also have great battery performance. (2 - 3 days) Thanks :D
[Desire Android Development] nickk67:
Good catch. But I wonder why the other guy could use it with the default x-part kernel :confused:

Is our default kernel this?

MIUI_XJ_X-PART_Atroys_Kernel_GB_1.7.1

I tried checking in About Phone but it doesn't indicate 1.7.1
[Desire Android Development] xavierjohn22:
The latest is 1.8.17

atroy d2ext+ 2.6.37.6

http://htcfanboys.com/index.php?app=downloads&showcat=12
[Desire Android Development] jukyO:
Yes, this is what I had when it was not possible to use calibration of battery (flashed full ROM which has this kernel).
[Desire Android Development] MKuiter:
Switch the monitor off and on again right after completing charging to start fresh. Check after a number of hours to see if a process stands out with high power consumption.

I used to have a drain in Froyo MIUI with certain kernels. In my case it was Android OS that drained my battery dry in under 8 hours with minimal use.
[Desire Android Development] registermyid:
I have a confusion. I have CM7 R2 Hboot and running MIUI X-Part Gingerbread 1.8.19

Do i need to flash sd-ext-xpart.zip and Also what if i run Juwe_RAM_Script_Flashable ? I tried last time but Benchmark came too low after flashing RAM Script. Is it true or something got wrong? M using 8 GB Class 10.

Thanks in advance.
[Desire Android Development] []v[]o:
can you post a pic of that? also from your settings maybe?

Thanks mate!

***EDIT***

I have updated to the latest version (1.8.19 multi) and now all sync is oke!! Great work XJ! Thanks Shayne for your replies!
[Desire Android Development] nickk67:
Did you manage to bring the current down to 3201 mV? Mine shuts down by itself at about 3220 mV :(
[Desire Android Development] techtechnique:
So sorry, my big mistake!

I used this tool with Tiamat 4.0.6 kernel, not the stock MIUI one.

MIUI-XJ Desire
[Desire Android Development] jukyO:
Still under test, now at 3620 and 20%. Somehow I doubt it will manage to drop to 3201 before it shuts down. Maybe Desire needs to have different setup.

EDIT:

Managed to get 3201 from the first attempt. Now charging. Lets see how it will go.
[Desire Android Development] jukyO:
Thanks. What settings did you use on LearnPrep page?
[Desire Android Development] abhishek0704:
battery backup pr0blem.....drains yery fast

....
[Desire Android Development] nickk67:
After it auto shuts down, I let it charge for a minute (so I can boot it back on). I got a system warning saying battery low (4%). Then I opened the app and as the guide said it increased another 200mAh and the system indicated 20% instead of 4%. I managed to trigger the learning mode after letting it drain again for about 15-20 minutes.

Hope this helps you mate! :D

Edit: Forgot to mention, be ready to start charging when the pop-up appears or it will just shut down again!
[Desire Android Development] jukyO:
This is not enough to troubleshoot your problem. Which ROM type, Kernel, is it draining on standby, or at screen on? Is GPS on, WLAN, Data etc...Which apps do you use.....
[Desire Android Development] techtechnique:
I just followed that guide, so I changed the battery age to 100, changed the full40 to 1400, put in those two registry settings and then moved to the LearnMode tab where I just started the learn till I was told to plug in the charger.

It took quite a while to drain the battery but I'm pretty sure it didn't reach 3201 before the message came up to put it on charge.

MIUI-XJ Desire
[Desire Android Development] jukyO:
As I said above, I managed it from the first attempt. Will charge it to full as instructions said and post back how the battery life is now.
[Desire Android Development] daddyspud:
I've tried this kernel but when tryn to set the CPU with no frills CPU it freezes the phone when u press apply

Has any one else tried this kernel n managed to set the CPU speed
[Desire Android Development] 1982Strand:
Yes, i did :-) all settings worked, except the highest CPU setting, then the phone froze.. but, settings above 1.1152 makes it a bit unstable and make apps crash randomly and can freeze the phone... Although, I'm back on stock kernel as i get the feeling its still the most stable and i can get equally as good battery life on that as with tiamat or manu...

Sent from my HTC Desire
[Desire Android Development] faxe3:
Hi,

I want to flash the miui xj multilang(Danish) rom but I can't find out which file to download. Could you please give me that link to the file?

Thanks in advance!

Best Regards

Mads
[Desire Android Development] Raffie75:
Look in the sig above your post.
[Desire Android Development] Bananebieger:
Changed from xpart to a2sd+ and got a quadrant score from 1250. Framerate in every test is higher than in xpart... but score is only nearly half. Got no FCs,nice smooth interface feeling and a really fast startup.

What's gone wrong here?

Changed from 1.8.19 xpart to a2sd.... with fullwipe and SD card change. Apps were restored with Miui Backup.

Someone had a similar problem up to now?
[Desire Android Development] f4rell09:
Hello XJ., or anybody? Who can give me a help!? Just wondering what's. Happening to the default web browser! Just updated to miui xj xpart 1.8.19 and this happened and I can't. Access anything on the web that has a flash content! Thanks ., anybody having this issue??
[Desire Android Development] twics:
Your flash app/plugin may need updateing
[Desire Android Development] twics:
Phone seems to get hotter than normal when charging.
[Desire Android Development] flashjordan:
Hi did you update the browser with appshare????

If you did uninstall the update in manage application, clear data and force close app.
[Desire Android Development] bfikkert:
+1 here.

Went from a2sd to xpart.

Clean install. Phone was getting hot. Lots of fc's during the day.

Did a some reboots but problem was still there.

Did a wipe and restored the a2sd version. Phone is running smooth and no fc's any more.

Don't know what it is but I'm staying with a2sd version.
[Desire Android Development] flashjordan:
+2 ive updated to 1.8.19 xpart full rom, backed up via miui backup from 1.8.12 had to uninstall 50% of apps previously due to fc,s.

Even fresh installing apps from market fc...not all of them. Im still trying to get to the bottom off it.

Yes im considering going back to a2sd.
[Desire Android Development] xavierjohn22:
Lol. Very short info.

Change battery

Sent from my phone, please bear with message brevity
[Desire Android Development] jukyO:
+1. Totally agree. And correct.
[Desire Android Development] jukyO:
I have no problem with XPART. Using it since February this year. Maybe your partitioning is not good? I have 3 partitions, fat32+1Gb ext4+300 Mb swap which is converted to ext4 during system bringup after full ROM flashing.
[Desire Android Development] Ricki1977:
My mms is still not working .. info from denmark and i use OiSTER a sister to 3.... plese help My internet i working fine
[Desire Android Development] xavierjohn22:
He switch from xpart to a2sd not the other way around.

He does not have fc too and he said all is running smooth and well.

I think he is just wondering from the low quadrant which does not make sense if rom is smooth and performs okay.

At fresh install of xpart do you have fc?

None right? And as it stabilize it will get better.

Then when you restore if you got fc then thats where it came from. I havent had any provlem using miui backup to restore apps. Though i only restore few apps.

Sent from my phone, please bear with message brevity
[Desire Android Development] flashjordan:
Xj is there any checks i can perform that will root out the app thats causing the other apps to fc.

For instance i opened up supermarket for the first time tonight just for a look and i got a read write error followed by a fc.

What i have noticed is that if i get an fc then run quadrant standard it fails the read write test. If i delete the app that fc,s and run quadrant it passes the read write test.

Honestly if i had hair i would pull it out. Lol
[Desire Android Development] shankly1985:
My battery is back fine now. I I updated the ram script to latest version all good now