Page 2 of 2

Re: Power manager, disable "non genuine" battery warning?

Posted: Wed Nov 09, 2011 4:58 pm
by sashikawa
Does anyboby try to modify PM1.99l for XP 32-bit. I've tryed but it doesn't work.

Re: Power manager, disable "non genuine" battery warning?

Posted: Mon Apr 16, 2012 4:52 am
by aaqpublic
It worked with my T60, 32-bit PM version 3.20,
Thanks rrtdj, you're really awesome

Re: Power manager, disable "non genuine" battery warning?

Posted: Thu Jun 28, 2012 12:25 pm
by 31336
Rrtdj, you're my idol. Thank you so much!

I've replaced the battery in my T60 today, as the "genuine" Lenovo one genuinely stopped working and would in fact make the laptop freeze randomly (yet another testament to the Lenovo quality: the previous battery was also faulty, of the exploding kind) and suddenly I got this ridiculous, nagging message with the perpetual exclamation mark in the tray because I dared to use an "unauthorized" battery. "Unauthorized" is it really, Lenovo? I paid for this laptop, it is my property, and I authorized myself to do whatever I want with it.

Anyway, all of this is now gone, thanks to your patch. For anyone in need, here's the link to the last patchable version (3.61):
http://download.lenovo.com/ibmdl/pub/pc ... u408ww.exe

The patch does a great job for the tray, but it does not remove the message in the Power Manager window. The message is saved in the file (typically, for US English):

Code: Select all

C:\Program Files\ThinkPad\Utilities\US\pwmrov.dll
The message is located in String Table 45, and its ID is 709.

The file can be edited with XN Resource Editor, a free utility available from:
http://www.wilsonc.demon.co.uk/d10resourceeditor.htm

I have changed the message in my file to:
"You have made the right choice not purchasing a genuine Lenovo battery. In the recent years, hundreds of thousands of genuine Lenovo batteries have been recalled due to quality issues. Some of them have even been known to ignite spontaneously, which could cause human injury and damage to property."
Image

Thank you again, Rrtdj!

Re: Power manager, disable "non genuine" battery warning?

Posted: Thu Jul 05, 2012 3:37 am
by csk
hey guys, any idea for the xp version of the power manager? thx

Re: Power manager, disable "non genuine" battery warning?

Posted: Tue Sep 04, 2012 4:28 pm
by RRHODY
There may be a simpler way [WIN7 64bit]; try this:

Launch Power Manager

Click on OPTIONS

Uncheck “Periodically show message about battery charge capacity”

Click APPLY

Click OK

For me, the nag stopped and all I gave up was the popup messages about charge capacity, which I can otherwise get if I really need it.

Re: Power manager, disable "non genuine" battery warning?

Posted: Wed Sep 05, 2012 3:04 am
by csk
yup, that solves the pop up, but not the warning triangle

Re: Power manager, disable "non genuine" battery warning?

Posted: Fri Mar 29, 2013 12:45 pm
by kf_tam
I would like to add that I have sucess with power manager version 1.99a for winXP. The file is still available on Opendrivers.com or search for 8mu705ww.exe on the web.
I find the require string in the PWRMGRTR.DLL after the files unpacked itself into the directory \DRIVERS\WIN\PWRMGR. I actually patched the dll before installation, which went smoothly without complaining the altered file. And then it just worked with my third party batteries, no more complaints :D

Thanks again to RealBlackStuff for sharing the knowledge!

Re: Power manager, disable "non genuine" battery warning?

Posted: Fri Apr 19, 2013 3:30 pm
by kf_tam
I have just upgraded to Win7 x64 on my X61 to fully utilize its 4Gb ram, and found that in Power Manager version 3.67 ( http://download.lenovo.com/ibmdl/pub/pc ... u417ww.exe ) the PWMTR64V.DLL still has the required code segment while the PWMTR32V.DLL doesn't. So for 64 bit OS the ver 3.67 is still patchable to get rid of the third party batteries warning.

Re: Power manager, disable "non genuine" battery warning?

Posted: Thu Sep 12, 2013 4:12 pm
by Ember
Hey guys here's offsets for the latest Power Manager v6.61.1

PWMTR32V.dll
File offset 0x995D8 change from 0x74 to 0xEB
File offset 0x995F3 change from 0x74 to 0xEB

PWMTR64V.dll
File offset 0xB79BF change from 0x74 to 0xEB
File offset 0xB79D8 change from 0x74 to 0xEB

Please note I have not tested these yet and I will see about patching any other nags that may have been added.

Re: Power manager, disable "non genuine" battery warning?

Posted: Sat Mar 29, 2014 6:27 am
by Clathink
What are offsets for the latest version?

I cant find in DLL those offsets from previous post.

Re: Power manager, disable "non genuine" battery warning?

Posted: Sat Mar 29, 2014 8:53 am
by IbmPad
Assuming the patch given by Ember was working, the following should be working for version 6.64.4 :

PWMTR32V.DLL :
0x9B4B8 : change 74 to EB
0x9B4D3 : change 74 to EB

PWMTR64V.DLL :
0xB9B6F : change 74 to EB
0xB9B88 : change 74 to EB

Good luck, I cannot test it.

Re: Power manager, disable "non genuine" battery warning?

Posted: Sat Mar 29, 2014 2:26 pm
by Clathink
IbmPad wrote:Assuming the patch given by Ember was working, the following should be working for version 6.64.4 :

PWMTR32V.DLL :
0x9B4B8 : change 74 to EB
0x9B4D3 : change 74 to EB

PWMTR64V.DLL :
0xB9B6F : change 74 to EB
0xB9B88 : change 74 to EB

Good luck, I cannot test it.
Thanks, it works! 8)

Shame to Lenovo programmers that create those annoying messages.

Re: Power manager, disable "non genuine" battery warning?

Posted: Thu Jul 03, 2014 6:37 am
by whateverest
I have version 6.64.4 installed, but could not find these items to change. Tried a hex editor and a dll resource editor, but did not manage to apply the changes. Can somebody help how to do this exactly? Thanks.

Re: Power manager, disable "non genuine" battery warning?

Posted: Sat Aug 02, 2014 11:36 am
by jhullin
whateverest, this is how i got it to work for me. Might not be the best way but it was successful........


I pulled the hd that had power manager installed and edited in another computer (couldn't shut down all the processes)
I used HxD hex editor
Open files
Under search>goto I entered 9B4B8 which takes you to the exact place to change 74 to EB
Repeat with the other entries
save

Re: Power manager, disable "non genuine" battery warning?

Posted: Sat Dec 20, 2014 6:00 pm
by Clathink
Hello again guys. I've updated to Power Manager 6.66.3 and need to do the same operation again. But there is no the same values on previous offsets. Please tell me new offsets or teach how to find them by myself.

Re: Power manager, disable "non genuine" battery warning?

Posted: Sun Dec 21, 2014 2:17 am
by dr_st
The general approach in such cases is to find the old version (where it works), find the offset where the patch was applied, and search in the new version for the same sequence of hex values that was present around that offset in the original, unmodified old version.

Usually the same sequence is present, but somewhere else in the file. You may start searching for long sequences, let's say 16 bytes. If you can't find anything, try shorter sequences until you find what looks like the same sequence, and preferably appears only once in the file (so that you are certain it's the right spot).

Re: Power manager, disable "non genuine" battery warning?

Posted: Sun Dec 21, 2014 3:01 am
by Clathink
Thanks. I looked for "FF FF 85 C0 74 0A BF 09 00 00 00 E9", found it, and changed 74 to EB on B5F5C offset (PowerManager 6.66.3). It seems work.

Re: Power manager, disable "non genuine" battery warning?

Posted: Sat Feb 21, 2015 12:13 pm
by jandari
Can somebody please patch 6.67.2 version http://download.lenovo.com/ibmdl/pub/pc ... 4u403w.exe. Have tried it, but can't find a match.

Thank you