PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   Titan Development (http://forum.ppcgeeks.com/forumdisplay.php?f=57)
-   -   new battery.dll for the titan (http://forum.ppcgeeks.com/showthread.php?t=18711)

no2chem 02-20-2008 04:40 AM

new battery.dll for the titan
 
If you cook your own roms, then you'll be able to use this new battery.dll for the titan. It displays your battery status in 1% increments instead of 10%, so for example 74% instead of 70%. You can find it on http://www.weienterprises.com/nue

Be sure to g'relloc after you insert it. This is included in my 5048 rom.

edit: Stroths has posted a cab version if you don't want to cook a new rom. See http://forum2.ppcgeeks.com/showthrea...201#post188201

Zekeman 02-20-2008 09:26 AM

Re: new battery.dll for the titan
 
Damn that is beautiful.. is there a way to use that in uncooked roms?

stroths 02-20-2008 09:38 AM

Re: new battery.dll for the titan
 
I build a new ROM with this and it works perfectly. I copied the files over to my dogguy kitchen, ran g-relloc, buildos, then buildit.

I also included your LED fix and it works perfectly as well. Great work!

OmarBadu 02-20-2008 10:05 AM

Re: new battery.dll for the titan
 
very excited about this :D

motrid 02-20-2008 11:15 AM

Re: new battery.dll for the titan
 
Any solution for the multiple messages sent from the Mogul when using Exchange server? I have tried all the roms built on 3.16 and they all have this problem. The message remains in the outbox through multiple syncs causing the recipients to recive anywhere from 2 to 10 copies.

I really like the DCD an No2Chem roms, but I can't bury my boss in email copies

Thanks

motris

xweaponx 02-20-2008 12:21 PM

Re: new battery.dll for the titan
 
Is it not possible to package for .cab installation or for now is this a rom install only?

Zekeman 02-20-2008 12:26 PM

Re: new battery.dll for the titan
 
I know this sounds stupid but I am just using stock 3.16 rom is there a way to just cook that? I cant seems to find a basekit for that or the files needed, I have searched too... I want to install this battery dll in a fresh rom.

honan 02-20-2008 12:28 PM

Re: new battery.dll for the titan
 
You are just on a role. And you added this to your ROM! Great.

InvincibleLiving 02-20-2008 01:15 PM

Re: new battery.dll for the titan
 
wow man first the led fix and now this! C'mon tell us the truth, are you privy to alien technology that us mortals dont know of? You make this stuff look easy!

bigray327 02-20-2008 01:16 PM

Re: new battery.dll for the titan
 
n2c, thanks!

92GTA 02-20-2008 02:45 PM

Re: new battery.dll for the titan
 
I installed the new 5048 ROM and it appears the driver does not work in conjunction with the HTC battery metter that shows the exact % above the icon.

mrgeoff 02-20-2008 03:23 PM

Re: new battery.dll for the titan
 
Quote:

Originally Posted by 92GTA (Post 187895)
I installed the new 5048 ROM and it appears the driver does not work in conjunction with the HTC battery metter that shows the exact % above the icon.

My understanding is that you would need a new battery gauge. I know I found mine at XDA that had 1% increments.

stroths 02-20-2008 03:30 PM

Re: new battery.dll for the titan
 
For all contemplating just copying this dll over to your Windows directory, do not do it. Before building a custom ROM, I tried it to see what would happen. It copied fine, but my battery showed 0% and would not allow me to flash a ROM via ActiveSync since it thought I had 0% battery. I ended up flashing via the SD card method instead.

92GTA 02-20-2008 03:40 PM

Re: new battery.dll for the titan
 
Quote:

Originally Posted by mrgeoff (Post 187940)
My understanding is that you would need a new battery gauge. I know I found mine at XDA that had 1% increments.

Can you please post a link? I searched and could not find one like I'm using with 1% increments. I'm using this one currently:

http://forum.xda-developers.com/show....php?p=1421241

no2chem 02-20-2008 03:51 PM

Re: new battery.dll for the titan
 
to everyone who is thinking of dropping this on their device via cab: it can't be done in its present state - from what I understand the dll needs to be signed, and I don't have any idea how to do it.

besides, installing to ROM is supposed to be faster, since it is a module. If you have an idea on how to sign it with the oem certificate, you're welcome to shoot...

stroths 02-20-2008 03:54 PM

Re: new battery.dll for the titan
 
Quote:

Originally Posted by no2chem (Post 187995)
to everyone who is thinking of dropping this on their device via cab: it can't be done in its present state - from what I understand the dll needs to be signed, and I don't have any idea how to do it.

besides, installing to ROM is supposed to be faster, since it is a module. If you have an idea on how to sign it with the oem certificate, you're welcome to shoot...

If that's all it needs then I might be able to help when I get home from work. I have to sign exe's sometimes after hex editing for my Mogul to run them. I have a batch file setup to sign any file I want. I'll hit you up on chat after work if you haven't had anyone else try it before then.

stroths 02-20-2008 07:01 PM

Cabbed version here - Updated Installer
 
1 Attachment(s)
Here is a cabbed version I created from no2chem's excellent work. I have updated the installer to only require one file. The certificate cab is no longer needed as I figured out how to incorporate the cert directly in the single cab.

Install Instructions
1. Install no2chem 6800 Batttery Driver.cab
2. It will prompt you to reboot. After a reboot it should be working for you.

If you uninstall it will go back to the default driver.

NOTE: If you installed the previous version which required a 2 cab install then do not worry about updating to this. It is the same version but only requires a single cab to be installed.

Matt 02-20-2008 07:29 PM

Re: new battery.dll for the titan
 
Works great. In fact, it even works with Ariel Battery meter which just makes me happy as pie. Good work as always fells.

scoobdude 02-20-2008 07:36 PM

Re: new battery.dll for the titan
 
works fine for me. also works with vista hide battery. however my batt percentage just dropped from 86-84-81 in a span of about 20 seconds after unplugging. it seems steady now, but may have just been the program loading up and refreshing. other than that it looks like its alot more accurate and thanks once again for the great support from this community.

scoobdude 02-20-2008 08:01 PM

Re: new battery.dll for the titan
 
battery now at 76% (20 min later)and down from 81%) and phone has been in standby. Do you think the app is polling the battery to often? Is anyone with it installed on 5048 seeing decreased battery life?

hotbyz168 02-20-2008 08:29 PM

Re: new battery.dll for the titan
 
Quote:

Originally Posted by scoobdude (Post 188276)
battery now at 76% (20 min later)and down from 81%) and phone has been in standby. Do you think the app is polling the battery to often? Is anyone with it installed on 5048 seeing decreased battery life?

Nah, its driver files not an application. You ever notice when you restart your phone it can say 70% and than it will say 80% after restart...then like 10 min later its back at 70%. Its because of the amount of drain the battery has and the driver trying to estimate it acurately...so now instead of it being in increments of 10, its in increments of 1...I doubt it affects battery life at all... Maybe no2chem has more info?

lafester 02-20-2008 10:08 PM

Re: new battery.dll for the titan
 
Quote:

Originally Posted by motrid (Post 187669)
Any solution for the multiple messages sent from the Mogul when using Exchange server? I have tried all the roms built on 3.16 and they all have this problem. The message remains in the outbox through multiple syncs causing the recipients to recive anywhere from 2 to 10 copies.

I really like the DCD an No2Chem roms, but I can't bury my boss in email copies

Thanks

motris

not sure what this has to do with the battery meter.
just uncheck encryption in activsync to fix the multiple emails.

JKingGrim 02-20-2008 10:39 PM

Re: new battery.dll for the titan
 
If I installed TestCert_Privileged.cab for the LED killing dll, do I have to do it again for this one? I would assume no.

stroths 02-20-2008 11:59 PM

Re: new battery.dll for the titan
 
Quote:

Originally Posted by JKingGrim (Post 188435)
If I installed TestCert_Privileged.cab for the LED killing dll, do I have to do it again for this one? I would assume no.

No, one copy is sufficient but you can install it again if you like.

InvincibleLiving 02-21-2008 12:14 AM

Re: new battery.dll for the titan
 
So now that we got the led fix and batt meter tweak... what do you guys have in mind for an encore? lol

no2chem 02-21-2008 01:09 AM

Re: new battery.dll for the titan
 
Quote:

Originally Posted by hotbyz168 (Post 188302)
Nah, its driver files not an application. You ever notice when you restart your phone it can say 70% and than it will say 80% after restart...then like 10 min later its back at 70%. Its because of the amount of drain the battery has and the driver trying to estimate it acurately...so now instead of it being in increments of 10, its in increments of 1...I doubt it affects battery life at all... Maybe no2chem has more info?

er, i have no clue.. it shouldn't have an effect on battery life at all. perhaps the 10% accuracy was set because the battery meter isn't that accurate in the first place and htc didn't want to confuse people... *shrug*.... its not polling the battery more often at all, the driver actively polls the battery to check the temperature and voltage at preset intervals...

scoobdude 02-21-2008 01:45 AM

Re: new battery.dll for the titan
 
sorry for getting back to the discusion so late, i check 20 min after the above post and it was still at 76%. 6 hours later and i am at 37%. this included over an hour of phone time and another hour or so of wifi. so i think its its doing its best to be accurate.

once again thanks for the awesome work you guys have done.

initial 02-21-2008 03:28 AM

Re: new battery.dll for the titan
 
Is this compatible with Pre 3.16 ROMs?

Zekeman 02-21-2008 06:45 AM

Re: new battery.dll for the titan
 
Hmm, Unless were not use to the actual real numbers.. but I had 100% and went into the shower (7 mins at most) then came out it was at 96% just sitting there... doesnt really seem to right.... but then we are seeing numbers in true time on the phone... But I know usually it takes about an hr or more to get from 100% to 90% laying dormant.. Ill let ya know how fast it takes to get down to 90%. (Havent added anyting since the batt tweak)

jourabchid 02-21-2008 09:29 AM

Re: new battery.dll for the titan
 
thanks guys works great

mugsy77 02-21-2008 09:59 AM

Re: new battery.dll for the titan
 
Flawless. Awesome!

schettj 02-21-2008 10:11 AM

Re: new battery.dll for the titan
 
Quote:

Originally Posted by Zekeman (Post 188811)
Hmm, Unless were not use to the actual real numbers.. but I had 100% and went into the shower (7 mins at most) then came out it was at 96% just sitting there... doesnt really seem to right.... but then we are seeing numbers in true time on the phone... But I know usually it takes about an hr or more to get from 100% to 90% laying dormant.. Ill let ya know how fast it takes to get down to 90%. (Havent added anyting since the batt tweak)

Mine dropped from 100% to 97% with one 3 minute data session. It's holding steady @97% now.

The % is based off the voltage it reads off the battery, right? You and I are likely seeing that our batteries have lost a wee bit off their high-end voltage, which is pretty normal. Either that, or its not very accurate at all (lets guess +/- 2-5%) which is why HTC went with the 10 step units.

I'll see how mine does today. I used the LED killer as well, that should save a TON of power :P

sanjsrik 02-21-2008 02:14 PM

Re: new battery.dll for the titan
 
This works flawlessly on the Mogul I have.

Thank you.

Zekeman 02-21-2008 03:25 PM

Re: new battery.dll for the titan
 
Well its 8.5 hours later and down to 32% but I used the heck out of it today, and I am in an area where it harder to obtain a signal... so I guess all is on target... Also it weird to see real numbers too so I think all is good... The Led hack helps save battery too?

schettj 02-21-2008 04:12 PM

Re: new battery.dll for the titan
 
Quote:

Originally Posted by Zekeman (Post 189333)
Well its 8.5 hours later and down to 32% but I used the heck out of it today, and I am in an area where it harder to obtain a signal... so I guess all is on target... Also it weird to see real numbers too so I think all is good... The Led hack helps save battery too?

I was joking (though of course it does take some electricity to flash that led :D) about that.

Mine seem just the same. I've also got an ipod touch and it does its battery life as a real-time % or a stupid icon with 5 steps. Its a lot more disconcerting to watch that % drop 1-3 ticks every few minutes of heavy use, but it's correct :D Now I can watch them drop in lockstep when I'm using my mogul as the wifi gateway for the touch :D

azclown 02-21-2008 06:30 PM

Re: new battery.dll for the titan
 
Whats the chance of getting this into an OEM?

no2chem 02-21-2008 07:30 PM

Re: new battery.dll for the titan
 
Quote:

Originally Posted by azclown (Post 189594)
Whats the chance of getting this into an OEM?

i don't think oems can install modules, but im not sure... just replace battery.dll with the instructions i provide =)

ghettofreeryder 02-23-2008 01:20 AM

Re: new battery.dll for the titan
 
Will this work if cooked into a vogue rom? I know the hardware is similar.

no2chem 02-23-2008 01:24 AM

Re: new battery.dll for the titan
 
Quote:

Originally Posted by ghettofreeryder (Post 191105)
Will this work if cooked into a vogue rom? I know the hardware is similar.

er, wouldn't hurt to try? maybe test out stroths cab version first.

stroths 02-23-2008 09:29 AM

Re: new battery.dll for the titan
 
If it doesn't work, your battery should show 0%. If that happens, just uninstall the cab and reboot to go back to normal.


All times are GMT -4. The time now is 08:40 AM.

Powered by vBulletin® ©2000 - 2026, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0