yashsingh1/xdaforums huggingface dataset:
[Touch Pro2, Tilt 2 Themes and Apps] Quentin-:
As I explained in the technical information, this isn't really doing anything except returning the "true" 1% figure instead of running a subroutine to determine a 10% increment figure based on the "true" 1% one. In point of fact your example is quite interesting:

.text:1000C938 CMP R0, #0x3C
.text:1000C93C MOVHI R0, #0x46
.text:1000C940 BXHI LR

The above is a portion of that subroutine I spoke of that is most pertinent to your query. To explain briefly here the first line is comparing the "REAL" value (61%) with 0x3C (which in decimal is 60). Then it moves 0x46 into the high part of register R0 (0x46 happens to be 70). Then it does a conditional return. Basically if the test in the first line is true (i.e. the REAL value is > 60 decimal) it returns the high part of the register R0 (into which was written 70). Otherwise it continues (checks against >50 and returns 60, etc etc).

So as you can see your device will in fact show 70% up until the very moment your device is actually in the 51-60% range (at which point it will return 60%, etc.).

Interesting, and completely disingenuous. One would expect 65-74% to return 70% but as you can see that is clearly not the way it works.

The "fix" as mentioned in the first post is of course to just return the true 1% value in the first place.

Anyway, hope this explanation helps a bit. Cheers!

P.S. For what its worth, some of you may have noticed prior to installing the fix--there is actually such a thing as 5%. At 6-10% your device will display 10%, anything between 1-5% will display as 5% and 0% will display 0%. That is the only variation from the above 10% increment calculation I described.

P.P.S. Just to reiterate, after installing the fix, none of the above described behaviors happen. Whatever the exact percentage the firmware for the battery controller returns is what is returned by the "fixed" dll.
[Touch Pro2, Tilt 2 Themes and Apps] Oh SoS:
Same problem here; no change...and it's in technically a 20% increment by default, since there's only 5 bars in the battery icon?

So, um...can anyone recommend a Task Bar icon mod that will work with this??
[Touch Pro2, Tilt 2 Themes and Apps] b16b:
because the kitchen cooking the packages with alphabet line

when you add the Z before of the package name make the package final.. so no overwrite from other packages or OEM drivers

screenshot coming from TOPAZ

in my NOTIFICATION ENCHANTMENT show every 10%

please make a try to cook this package..

also the task bar works great showing every 1%
[Touch Pro2, Tilt 2 Themes and Apps] Quentin-:
All versions *.1

For those that subscribe to the thread, this is notification of a new version in the First Post.

Change Log

2009.09.24 All versions *.1

Updated Q-Mobile (Code) certificates to last until 2035.01.31.

Yes, I'm an idiot and the Q-Mobile certificates I created originally lasted 30 days. If yours is still working you don't need this until/unless you reinstall and need a new version. They won't expire again I promise ;)
[Touch Pro2, Tilt 2 Themes and Apps] seal_team_six:
Finally..., I can get the 1% driver works perfect on my unbranded TP2...

first you must install taskbar icon pack, i'm using Color Metal Taskbar by m6silver you can get it here http://xdaforums.com/showthread.php?t=520132

then install the 1% battery driver cab files on your device, mine is unbranded TP2 so i am using chainfire 1% battery driver by no2chem at the first post

as you can see my battery level at 61% on the attachment pics ;)

Thanks much
[Touch Pro2, Tilt 2 Themes and Apps] coykiam:
Hi guys I installed the battery for Tmo Tp2 and dont see anything in the task bar, it still shows the battery bars. I then tried installing NOTIFICATION ENCHANTMENT and it would say to try another storage location. I tried installing in my phones memory and in my storage card but still no luck. Anyone?
[Touch Pro2, Tilt 2 Themes and Apps] LifeStealer:
Did you also install a new battery icon or meter app? You need to do this in order for the change to show.
[Touch Pro2, Tilt 2 Themes and Apps] otap:
I'm having this problem as well. What battery icons or meter app do we need to install?
[Touch Pro2, Tilt 2 Themes and Apps] seal_team_six:
Hi Guys, please check my updated post at http://xdaforums.com/showpost.php?p=4623173&postcount=57

hope it can help you

Thanks
[Touch Pro2, Tilt 2 Themes and Apps] mwrood:
quesyion, does this taskbar ur using change the start menu to the old one???i like the new stock one and really want a new taskbar but it seems as tho all of them change the start menu,,thqnks in advance
[Touch Pro2, Tilt 2 Themes and Apps] seal_team_six:
yes it will change your start menu icon into HTC icon as you can see on my attached screen pics, may be you should mod the icon pack for start menu icon so it will suit with your taste :p
[Touch Pro2, Tilt 2 Themes and Apps] mwrood:
sorry, thats not really what i was asking...will this taskbar change the start menu into the old style start menu or will it keep it with the stock start menu (not the icon but the actual menu itself)i would rather keep the one that comes stock (verizon tp2)
[Touch Pro2, Tilt 2 Themes and Apps] seal_team_six:
Ohh sorry my miss understanding... :) you mean 'stock start menu' is manila start menu, right ? :) CMIIW , the answer is no, taskbar icon set won't change your stock (manila) start menu style into old style start menu , only set of taskbar icon was changed in order to you able see the 1% increment battery level
[Touch Pro2, Tilt 2 Themes and Apps] DarkDvr:
What about us AT&T Tilt 2 owners? Can we get some love too? =)
[Touch Pro2, Tilt 2 Themes and Apps] iboj007:
I second this :)
[Touch Pro2, Tilt 2 Themes and Apps] enisoc:
I tried to copy the battery.dll off to compare the checksum, but it seems like there is some extra protection in WM6.5. Even with Show All Files enabled, the file is hidden from File Explorer. I can see the file in Total Commander, but I cannot copy or access it in any way. No other programs seem able to open the file for read-only access either.
[Touch Pro2, Tilt 2 Themes and Apps] contentryder:
how about one for ATT?
[Touch Pro2, Tilt 2 Themes and Apps] rajuabju:
Count this as another vote for a 1% battery driver for us poor AT&T Tilt2 folk :)
[Touch Pro2, Tilt 2 Themes and Apps] LifeStealer:
Hows he going to do it for ATT if you guys don't post the file?
[Touch Pro2, Tilt 2 Themes and Apps] enisoc:
It seems like what we need to get the ball rolling for the Tilt2 is to extract the battery.dll, which is unfortunately protected somehow. I read somewhere that we will have to dump the stock ROM and extract the file from the dump. I have never done that before and I won't have time to search around for a few days. If anyone with a Tilt2 knows how to do that, I think it will get us on our way.

The other question is, if the file is protected even from reading, how will we be able to insert a new one?
[Touch Pro2, Tilt 2 Themes and Apps] clouser:
Does the Sprint version work with SPB?

I have a Sprint TP2 and have been annoyed with the 10% incr and this looks like a great fix. My question is, I have been using the battery widget from SPB, I don't really care too much about the 5 bar battery meter at the top of the phone. Has anyone tested this with SPB to see if it reflects the change? Only asking instead of just testing myself since I have had a WinMo device for all of 2 days and am still pretty timid about making changes.
[Touch Pro2, Tilt 2 Themes and Apps] catcraig:
Add me to the list of AT&T Tilt 2 users hoping for a 1% battery solution soon.
[Touch Pro2, Tilt 2 Themes and Apps] irus:
so i have the tilt 2 and im using a cooked rom with base 23071 and i don't want the 1% so i took the battery.dll out of the stock at&t rom and used msigner and copied it over to my device but then the battery just says 0% always so do i need to use the touch pro 2 battery.dll file? or did i just screw up somewhere? thanks for the help in advance.
[Touch Pro2, Tilt 2 Themes and Apps] enisoc:
AT&T Tilt2 battery.dll

Since I couldn't copy the battery.dll directly from my device, apparently due to OS protections, I extracted the file from eras2r's dump. Strangely, the file size seems different from what I see on my device. It seems to be systematically rounded up to, perhaps, the nearest 10KB.

File sizes:

battery.dll:

device: 58,148 (56.79KB)

dump: 61,440 (exactly 60KB)

battdrvr.dll:

device: 7,892 (7.71KB)

dump: 10,240 (exactly 10KB)

Any ideas?
[Touch Pro2, Tilt 2 Themes and Apps] Quentin-:
It'd be nice if someone could grab the original dll that comes with your device instead of a ripped one. But in the meantime why don't you see if the following works.

P.S. Thanks for sharing the DLL.
[Touch Pro2, Tilt 2 Themes and Apps] Quentin-:
This is due to the digital signing required for system files, IN ADDITION to the certificate you used for signing being trusted by an authority in the "Privileged Execution Trust Authorities" database on your device.

If you understand what that means, great. If not, this topic is beyond the scope of this thread.
[Touch Pro2, Tilt 2 Themes and Apps] Quentin-:
I use SPB Mobile Shell personally. And it shows in 1% increments.
[Touch Pro2, Tilt 2 Themes and Apps] enisoc:
Wow thanks for the quick turnaround. I was afraid you weren't watching this thread anymore.

Unfortunately it now reads 0% in HTC notifications and 1% on the custom battery icon. It also wouldn't charge when plugged in (no orange light or icon change). This seems similar to the problem irus had, where the dll seems to have been rejected by the OS. Uninstalling the cab returned everything to normal.

If anyone has an idea of how to get the original file off my device, I am more than willing to try it. I've never had a phone where files were read-protected like this. As I said in an earlier post, any normal program that tries to open it for read access gets permission denied. From reading elsewhere, I figured our only option was extracting it from a ROM dump, which is where I got the file above. Unfortunately it turned out to be a slightly different size for reasons I don't understand.

Thanks again for the help, Quentin-.
[Touch Pro2, Tilt 2 Themes and Apps] acolona:
You guys are probably way beyond my knowledge level of this, but as a tilt2 owner who wants this as well...I would be willing to try to help. My phone has completely stock ROM, just some theme changes and stuff.
[Touch Pro2, Tilt 2 Themes and Apps] tarroyo:
Can I see a screenshot of what this looks like?
[Touch Pro2, Tilt 2 Themes and Apps] CuzinBucksBx:
Great work!
[Touch Pro2, Tilt 2 Themes and Apps] strikeIII:
Will this work with the AT&T tilt 2?
[Touch Pro2, Tilt 2 Themes and Apps] acolona:
As of right now, it looks like no. Couple people seem to be working on it though.
[Touch Pro2, Tilt 2 Themes and Apps] lnoormohamed:
is there anything for the euro version of the touch pro2??
[Touch Pro2, Tilt 2 Themes and Apps] amwbt:
Any chance you could make a driver for AT&T, the HTC PURE?
[Touch Pro2, Tilt 2 Themes and Apps] khaytsus:
I'm using the original driver from here: http://xdaforums.com/showthread.php?t=527006

And it works fine on my Tilt 2! I can't say much about the accuracy, but the precision seems to be just fine. ArielBattery updates in 1% increments. However, it seems to stay at 100% for quite a bit longer than I'd expect, then fairly quickly goes from 100 to 80%'s under heavy use... Almost as if it really doesn't "stop being 100%" until it's really 90%, although ArielBattery *does* show 99, 98 etc... if any of this makes any sense.
[Touch Pro2, Tilt 2 Themes and Apps] sansnil:
Another vote for this to support the AT&T Tilt2 puh-leeze! :)

Thanks!
[Touch Pro2, Tilt 2 Themes and Apps] pistou:
+1 vote for Tilt2 driver! (plz)
[Touch Pro2, Tilt 2 Themes and Apps] enisoc:
There's really no need to wait apparently. I've been using the European driver that khaytsus linked to above on my Tilt2 for a few days, and everything is fine.
[Touch Pro2, Tilt 2 Themes and Apps] pistou:
In the thread for the European driver there are reports of not being able to uninstall the modified battery driver. I would like to know I could get my device back to the original batter.dll without a hard reset. Anyone with experience of this with the Tilt2 and the European driver?
[Touch Pro2, Tilt 2 Themes and Apps] enisoc:
I uninstalled the European driver and the meter went back to 10% increments. Reinstalled and I'm back to 1%.
[Touch Pro2, Tilt 2 Themes and Apps] pistou:
fantastic, thank you

[ edit ]

so far, working for me (I also did the install, uninstall, install again bit, just to be sure) :)
[Touch Pro2, Tilt 2 Themes and Apps] jdmtsx:
battery cab didn't work for me..... i have sprint hspl with mighty rom installed....

Any help? Please chime in
[Touch Pro2, Tilt 2 Themes and Apps] region777:
batter led?

hey!

i have a problem bat status shows full charge 100% but led still remains in orange and dont switch to green.

does anyone have a solution, same prob? and am I in danger of burning out the battery?

thanks!
[Touch Pro2, Tilt 2 Themes and Apps] mwrood:
just a quick question...do "drivers" like this and other things that tweak the appearance of the device consume battery power...im guessing that they only change the registry, but does that in turn use the battery power in any way???
[Touch Pro2, Tilt 2 Themes and Apps] Quentin-:
I have answered in extreme detail precisely what this driver (and ones like it) do in a few posts throughout this thread...

Also, for others looking for Tilt2 driver...as I don't have one I can't retrieve the original DLL myself, but indications are that other DLL's in this thread (try the T-Mobile one, as that is

most likely the closest match) should actually work.

Remember that my original intent in making separate DLL files is that I haven't actually researched WHAT the precise differences are between versions, only that there ARE differences.

That said, as I mentioned in my first post, it is quite likely that versions are for the most part interchangeable in terms of actually implementing the 1% increment, it may be that the changes in version from one device to another helps it run slightly more optimized, or it could be something more subtle.

My reason for creating individual drivers is due to the fact that there ARE differences, not that I knew those differences to be of a nature REQUIRING specific versions. As the DLL by nature is only an interface to a hardware driver, if the low level hardware drivers are programmed properly, then through software (DLL) we should not be able to actually damage hardware (at most a hard reset should be required in a worst-case scenario).

That said, by using *anything* you download that didn't come stock on your device (including anything here at XDA Developers) you are taking a risk, so don't hold anyone else accountable if by loading another driver (be it Chainfire's or one of mine) your device spontaneously turns into molten lava or some other such calamity ;)
[Touch Pro2, Tilt 2 Themes and Apps] dothem:
thanks for the app
[Touch Pro2, Tilt 2 Themes and Apps] cincy1020:
Hi:

I installed the T-Mo driver on my Tilt 2. It seems to be working perfectly.

THANKS!
[Touch Pro2, Tilt 2 Themes and Apps] hixmatt:
I have a Tilt2 with stock rom and cannot get the original or the TMo-specific driver to work.
[Touch Pro2, Tilt 2 Themes and Apps] pistou:
I've been quite happy with the European driver from the first post of this thread: http://xdaforums.com/showthread.php?t=527006.

Note that you also need something (such as a taskbar icon) that is able to /display/ 1% increments -- check this thread or the European one for lots more info.
[Touch Pro2, Tilt 2 Themes and Apps] hixmatt:
I'm not using custom taskbar icons, but when I click the top (notification) bar, the Battery meter always displays in 10% increments. I'm almost sure that is only text displayed and not an icon, but it still does not do 1% increments.
[Touch Pro2, Tilt 2 Themes and Apps] pistou:
The stock battery meter (as far as I know) is only capable of showing 10% increments. It is my understanding that you will /have/ to make some modification (taskbar icons or some other app) to show 1% increments.

As I suggested in the last post, read this and the European thread for more information.
[Touch Pro2, Tilt 2 Themes and Apps] hixmatt:
Oh, ok, I understand. I just thought it would show up in the stock meter. I knew that the taskbar had to have custom icons, but oh well. Thanks for the info.
[Touch Pro2, Tilt 2 Themes and Apps] mwrood:
hey, i just read this entire thread and it does not say whether or not this driver ( and other theme changes) CONSUME more battery power than the normal ones...i know what this driver does (gives you the 1% increments) but im wondering if this and other things of this nature like clear flip clocks, taskbars, sliders etc CONSUME more power than the ones that come stock...hopefully thatll help to clarify my question...thanks again in advance
[Touch Pro2, Tilt 2 Themes and Apps] enisoc:
I don't know about the other customizations you mentioned, but this particular modified driver does not consume any more power than its original version. This can actually be inferred from Quentin's first post on this thread, but perhaps it is too technical. The main idea is that this modified driver actually does very very slightly LESS work than the original. Here's an interpretation of Quentin's explanation of why that is:

The original driver does this:

Step 1) Read percentage in 1% increments from hardware

Step 2) Round value to 10% increments

Step 3) Give value to program that asked for it

This modified driver has simply had Step 2 neutered so the driver simply does:

Step 1) Read percentage in 1% increments from hardware

Step 2) Do nothing

Step 3) Give value to program that asked for it

Hope this helps some of the less technical readers of this thread.
[Touch Pro2, Tilt 2 Themes and Apps] mwrood:
yes, it did help..thanks again!!!!
[Touch Pro2, Tilt 2 Themes and Apps] The Jack of Clubs:
att tilt 2?
[Touch Pro2, Tilt 2 Themes and Apps] enisoc:
The T-Mobile version works fine on Tilt2. We tried to get one specific for Tilt2 just for peace of mind, but we were unable to directly copy the file from the phone. I uploaded a file from somebody's Tilt2 ROM dump, but for some reason the file size was different from the one on the phone (I might have made a mistake somewhere in extracting it). Quentin- made a cab for it anyway, but it didn't work; the DLL failed to load and the meter read zero.

Many people, including myself, have been using either the European or T-Mobile versions with no reported issues.
[Touch Pro2, Tilt 2 Themes and Apps] akashastrega:
n00b question...I am still in the learning phase of the Rhodium (coming from a Wizard), my rom is stock (and listed below)...after reading this thread I believe it would be safe to install the Tmo .dll that is posted on page one, but as it is for a different version rom I just wanted to double check.

Thanks in advance.
[Touch Pro2, Tilt 2 Themes and Apps] selyb:
Here is the stock AT&T battery.dll (module and file) file recmodded using nuerecmmod. I snatched the dll from this rebuilt rom and extracted the module using RIE 0.5.0.12

I suppose it's version is 1.59.67510

I'm wonder what the 0.10.10 is just before the version?
[Touch Pro2, Tilt 2 Themes and Apps] The Jack of Clubs:
http://xdaforums.com/showthread.php?t=527006 <- i installed this on my tilt2 and i assumed it didnt work because the notifications enhancement thing still said 10% increments. until i brought it up in voice command. the percentages where correct but it would always say the battery is critically low even if it was 100% charged, and that it was charging weather or not it actually was. i installed the tmobile driver from this thread and voice command is perfect but the notifications enhancement still says 10%. is there anyway to fix that?
[Touch Pro2, Tilt 2 Themes and Apps] enisoc:
Unfortunately, there's no way to get the notifications enhancement to show <10% increments. You'll have to get a custom battery icon package, or some other program that displays battery level.
[Touch Pro2, Tilt 2 Themes and Apps] ripnix:
im a noob :(

and i think i messed-up

i have a HTC touch diamond2, and i installed this TP2-Batt.cab

and now my phone wont start... its blocked in the Enter PIN window :(

what should i do?

how can i have my old battery back ... ?
[Touch Pro2, Tilt 2 Themes and Apps] dahauss:
How does this comare to the NUEBATTERY driver? I am running the driver in this thread but have the NUE CONTROL PANEL. I saw someone mention faster battery drain.. did anyone test this? is the NUE driver better or the same?

Thanks....

--- Dave
[Touch Pro2, Tilt 2 Themes and Apps] pieterbotes:
Hi all

Can anyone assist me to change this battery.dll... it is the Stock WWE WM6.5 driver and I can't seem to find one that works correctly. I've attached the extracted dll... unforetunately that is about where my programming (and hacking for that matter) skills end...

Please could someone help to change this?

Details: Windows 5.2.21854 (Build 21854.5.0.80)

Windows Mobile 6.5 Professional

Rom Version: 1.87.421.0 (67729) WWE

Rom Date: 10/01/09
[Touch Pro2, Tilt 2 Themes and Apps] fschambe:
Will this work on 6.5 t-mobile?
[Touch Pro2, Tilt 2 Themes and Apps] fschambe:
Pieter. Maybe try http://xdaforums.com/showthread.php?t=527006
[Touch Pro2, Tilt 2 Themes and Apps] prince.osu:
With great minds here, I hope I can get help here.

After upgrading my t-mobile TP2 (us version) to winmo 6.5, my battery power information is blank. No details under last full charge, etc...

Anyone have this problem and anyone have any solution.

Thanks you all and keep the good work.
[Touch Pro2, Tilt 2 Themes and Apps] nayr1482:
I'm on Verizon - but had the same issue when I upgraded to 6.5

I ended up uninstalling the 1% driver - then i let my battery run out completely, then charged it completely and all info is there again.

hope this helps...

does anyone know if there is a battery dll for vzw wm6.5 ???
[Touch Pro2, Tilt 2 Themes and Apps] kwill:
Thanks much Quentin. Wanted to try this on my Tilt2.
[Touch Pro2, Tilt 2 Themes and Apps] lubbad85@hotmail.com:
Thanks

Thanks much, it works well! on my tp2 Sprint
[Touch Pro2, Tilt 2 Themes and Apps] see_u_then:
I used it earlier with 6.1 rom and it worked fine.

Will it work with TMo 6.5 stock rom too?
[Touch Pro2, Tilt 2 Themes and Apps] txvet:
Just a note Quentin, to let you know this is really nice. I use SPB Software's mobile shell so my power icon was already conditioned to display the 1% increments when provided. I installed the T-Mobile version on a stock AT&T Tilt 2 that I've had about 6 weeks. It worked the first time. No anomolies that I have noticed, yet ............. I'll watch closely.

Thank you so much for all you Sr. Members do!
[Touch Pro2, Tilt 2 Themes and Apps] LHuisingh:
Works on the Tilt 2

I used the T-Mobile battery driver referenced on page 1 with my AT&T Tilt 2. It works fine on my phone. I am using the VistaHide driver and it does increment in less than 10% increments. The voice command also responds with battery level in single percent increments (mine last said 56%). As we all should know by now the native battery level indicators are programmed to round to 10% increments even though the driver may report in smaller increments.
[Touch Pro2, Tilt 2 Themes and Apps] jmarotto:
Are you using the stock ROM on your Tilt2?
[Touch Pro2, Tilt 2 Themes and Apps] catman51:
Just installed on my Sprint Touch Pro 2, and so far so good.

Will keep an eye on it.

Cannot understand why Microsoft felt people wanted 10% increments, when on older PPC's I've had it was 1%? Then again, it's Microsoft, why ask??
[Touch Pro2, Tilt 2 Themes and Apps] anthonyandrews:
Everytime that I try to use this, I start getting random freezes and system hangs. I will also get error reports for Filesys.exe.