AICPMPatch

AICPMPatch

Postby Cassio » 19 Feb 2012, 21:52

Update: Clover boot loader includes this patch
http://clover-wiki.zetam.org/Configurat ... susAICPUPM

Script to patch the kext AppleIntelCPUPowerManagement to work with locked wrmsr BIOS

Download: AICPMPatch.zip

Written by el coniglio

Modified by RehabMan
viewtopic.php?f=9&t=1003&start=160#p30692

Thanks to flAked and dmazar
http://www.insanelymac.com/forum/index. ... pic=258611


How to use:

In terminal
Code: Select all
cd ~/Downloads/AICPMPatch

Find wrmsr (do not patch, just list)
Code: Select all
perl AICPMPatch.pl /System/Library/Extensions/AppleIntelCPUPowerManagement.kext/Contents/MacOS/AppleIntelCPUPowerManagement

Patch wrmsr
Code: Select all
sudo perl AICPMPatch.pl /System/Library/Extensions/AppleIntelCPUPowerManagement.kext/Contents/MacOS/AppleIntelCPUPowerManagement --patch

Update cache
Code: Select all
sudo touch /System/Library/Extensions
ASUS N53Jq • CPU: Intel Core i7-740QM 1.73GHz • RAM: 6,0GB • HD: 500GB • GPU: GeForce GT 425M 1GB 1920x1080 • OS: OS X 10.8.4 • Linux Mint 15 • Windows 8
User avatar
Cassio
Senior
 
Posts: 3766
Joined: 26 Aug 2011, 23:53

Re: AICPMPatch

Postby kissandtell » 21 Feb 2012, 15:01

Could you please explain very easily how to use it?
kissandtell
 
Posts: 9
Joined: 29 Jul 2011, 22:27

Re: AICPMPatch

Postby Cassio » 21 Feb 2012, 16:22

kissandtell wrote:Could you please explain very easily how to use it?


Download and unzip the attachment in Downloads folder.

Open terminal and run
Code: Select all
cd ~/Downloads/AICPMPatch


To list wrmsr (without patching)
Code: Select all
perl AICPMPatch.pl /System/Library/Extensions/AppleIntelCPUPowerManagement.kext/Contents/MacOS/AppleIntelCPUPowerManagement


To list and patch wrmsr
Code: Select all
sudo perl AICPMPatch.pl /System/Library/Extensions/AppleIntelCPUPowerManagement.kext/Contents/MacOS/AppleIntelCPUPowerManagement --patch
ASUS N53Jq • CPU: Intel Core i7-740QM 1.73GHz • RAM: 6,0GB • HD: 500GB • GPU: GeForce GT 425M 1GB 1920x1080 • OS: OS X 10.8.4 • Linux Mint 15 • Windows 8
User avatar
Cassio
Senior
 
Posts: 3766
Joined: 26 Aug 2011, 23:53

Re: AICPMPatch

Postby fc_candido » 21 Feb 2012, 20:29

Fiz o procedimento e funcionou perfeitamente com meu i5, Mobo DP55WB, agora não uso mais o NullCPUPowerManagement.kext.
E notei que o boot ficou muito mais rápido com meu SSD 120G, antes bootava em 19 segundos agora boota em 13 segundos.
O resultado é este agora...
Based on code by mercurysquad, superhai (C)2008
User defined TjMax=0
AppleACPICPU: ProcessorId=0 LocalApicId=0 Enabled
AppleACPICPU: ProcessorId=1 LocalApicId=2 Enabled
AppleACPICPU: ProcessorId=2 LocalApicId=4 Enabled
AppleACPICPU: ProcessorId=3 LocalApicId=6 Enabled
AppleACPICPU: ProcessorId=4 LocalApicId=0 Disabled
AppleACPICPU: ProcessorId=5 LocalApicId=0 Disabled
AppleACPICPU: ProcessorId=6 LocalApicId=0 Disabled
AppleACPICPU: ProcessorId=7 LocalApicId=0 Disabled

Obrigado.
fc_candido
 
Posts: 31
Joined: 20 May 2011, 02:22

Re: AICPMPatch

Postby magnifico » 27 Feb 2012, 22:42

Cassio sorry what is this?
What to serve?

To list wrmsr without patching

Code: Select all
perl AICPMPatch.pl /System/Library/Extensions/AppleIntelCPUPowerManagement.kext/Contents/MacOS/AppleIntelCPUPowerManagement
Asus rampage 4 Extreme - Intel i7 3930k @ 4,6 Ghz - 16 Gb DDR corsair Vengeance 1600 Cl9 - Two SSD Ocz Vertex 3- Gigabyte n660 oc gtx
User avatar
magnifico
Geek
 
Posts: 149
Joined: 08 Jul 2011, 18:13

Re: AICPMPatch

Postby Cassio » 27 Feb 2012, 22:59

As it says, to list offsets that need patching, but don't actually patch them, just list.
ASUS N53Jq • CPU: Intel Core i7-740QM 1.73GHz • RAM: 6,0GB • HD: 500GB • GPU: GeForce GT 425M 1GB 1920x1080 • OS: OS X 10.8.4 • Linux Mint 15 • Windows 8
User avatar
Cassio
Senior
 
Posts: 3766
Joined: 26 Aug 2011, 23:53

Re: AICPMPatch

Postby magnifico » 27 Feb 2012, 23:38

This script is good for lion and snow ...work for 10.7.3 and 10.6.8 ?
Asus rampage 4 Extreme - Intel i7 3930k @ 4,6 Ghz - 16 Gb DDR corsair Vengeance 1600 Cl9 - Two SSD Ocz Vertex 3- Gigabyte n660 oc gtx
User avatar
magnifico
Geek
 
Posts: 149
Joined: 08 Jul 2011, 18:13

Re: AICPMPatch

Postby Cassio » 28 Feb 2012, 00:01

Yes, it should work for any version.
ASUS N53Jq • CPU: Intel Core i7-740QM 1.73GHz • RAM: 6,0GB • HD: 500GB • GPU: GeForce GT 425M 1GB 1920x1080 • OS: OS X 10.8.4 • Linux Mint 15 • Windows 8
User avatar
Cassio
Senior
 
Posts: 3766
Joined: 26 Aug 2011, 23:53

Re: AICPMPatch

Postby magnifico » 28 Feb 2012, 08:03

Cassio wrote:Yes, it should work for any version.



Thanks for patch i use only this?
Code: Select all
sudo perl AICPMPatch.pl /System/Library/Extensions/AppleIntelCPUPowerManagement.kext/Contents/MacOS/AppleIntelCPUPowerManagement --patch
Asus rampage 4 Extreme - Intel i7 3930k @ 4,6 Ghz - 16 Gb DDR corsair Vengeance 1600 Cl9 - Two SSD Ocz Vertex 3- Gigabyte n660 oc gtx
User avatar
magnifico
Geek
 
Posts: 149
Joined: 08 Jul 2011, 18:13

Re: AICPMPatch

Postby Cassio » 28 Feb 2012, 12:47

Yes.
ASUS N53Jq • CPU: Intel Core i7-740QM 1.73GHz • RAM: 6,0GB • HD: 500GB • GPU: GeForce GT 425M 1GB 1920x1080 • OS: OS X 10.8.4 • Linux Mint 15 • Windows 8
User avatar
Cassio
Senior
 
Posts: 3766
Joined: 26 Aug 2011, 23:53

Next

Return to Downloads

Who is online

Users browsing this forum: No registered users and 1 guest