Jump to content
Cassio

AICPMPatch

Recommended Posts

Update: Clover boot loader includes this patch

http://clover-wiki.zetam.org/Configuration/KernelAndKextPatches#AsusAICPUPM

 

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

 

Download: AICPMPatch.zip

 

Written by el coniglio

 

Modified by RehabMan

https://www.olarila.com/topic/834-aicpmpatch/?do=findComment&comment=27581

 

Thanks to flAked and dmazar

http://www.insanelymac.com/forum/index.php?showtopic=258611

 

How to use:

 

In terminal

cd ~/Downloads/AICPMPatch
 

Find wrmsr (do not patch, just list)

perl AICPMPatch.pl /System/Library/Extensions/AppleIntelCPUPowerManagement.kext/Contents/MacOS/AppleIntelCPUPowerManagement
 

Patch wrmsr

sudo perl AICPMPatch.pl /System/Library/Extensions/AppleIntelCPUPowerManagement.kext/Contents/MacOS/AppleIntelCPUPowerManagement --patch
 

Update cache

sudo touch /System/Library/Extensions
 

-Donations-

PayPal HERE - Stripe HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com

Premium Users HERE - Problems with Paypal HERE

xcd5u2Y.png

Link to comment
Share on other sites

Could you please explain very easily how to use it?

 

Download and unzip the attachment in Downloads folder.


Open terminal and run

cd ~/Downloads/AICPMPatch

 

To list wrmsr (without patching)

perl AICPMPatch.pl /System/Library/Extensions/AppleIntelCPUPowerManagement.kext/Contents/MacOS/AppleIntelCPUPowerManagement

 

To list and patch wrmsr

sudo perl AICPMPatch.pl /System/Library/Extensions/AppleIntelCPUPowerManagement.kext/Contents/MacOS/AppleIntelCPUPowerManagement --patch

-Donations-

PayPal HERE - Stripe HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com

Premium Users HERE - Problems with Paypal HERE

xcd5u2Y.png

Link to comment
Share on other sites

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 ©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.

Link to comment
Share on other sites

As it says, to list offsets that need patching, but don't actually patch them, just list.

-Donations-

PayPal HERE - Stripe HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com

Premium Users HERE - Problems with Paypal HERE

xcd5u2Y.png

Link to comment
Share on other sites

Yes.

Cassio , sorry dont work please look

 

/System/Library/Extensions/AppleIntelCPUPowerManagement.kext/Contents/MacOS/AppleIntelCPUPowerManagement

arch: x86_64

found 11 wrmsr, should be 10, file is already patched or untested version


arch: i386

found 9 wrmsr, should be 10, file is already patched or untested version

Mac-di-magnifico:AICPMPatch magnifico$ 

:mrgreen::mrgreen: Without PC :mrgreen::mrgreen:
Link to comment
Share on other sites

If your problem was KP due to write operations to MSR 0xE2, yes you can.

-Donations-

PayPal HERE - Stripe HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com

Premium Users HERE - Problems with Paypal HERE

xcd5u2Y.png

Link to comment
Share on other sites

No, there are other mobos (like Intel and ECS) and laptops (most of the Sandy Bridge I have seen) that need this patch.

-Donations-

PayPal HERE - Stripe HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com

Premium Users HERE - Problems with Paypal HERE

xcd5u2Y.png

Link to comment
Share on other sites

HI GUYS, im new here and i need your help

im stuck in the patching of sleep for my lion 10.7.3

im dsdt ok made with help of Kyndeer can you explain me ALL the steps for make sleep work?

i do the patching but doesnt work...

i dont erase any kext....i dont make any pther patch...


thanks!

ASUS N53SC 234 SV LAPTOP

I CORE 7 - NVIDIA 520MX - INTEL HD3000 - HITACHI 500GB

Link to comment
Share on other sites

This patch is ONLY intended to avoid KP caused by write operations to MSR 0xE2, it's not directly related to sleep problems.

-Donations-

PayPal HERE - Stripe HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com

Premium Users HERE - Problems with Paypal HERE

xcd5u2Y.png

Link to comment
Share on other sites

This patch is ONLY intended to avoid KP caused by write operations to MSR 0xE2, it's not directly related to sleep problems.

 


ahh ok! thanks!

ASUS N53SC 234 SV LAPTOP

I CORE 7 - NVIDIA 520MX - INTEL HD3000 - HITACHI 500GB

Link to comment
Share on other sites

Sorry, I don't understand.


If you use patched BIOS, you don't need to patch AICPM kext.

-Donations-

PayPal HERE - Stripe HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com

Premium Users HERE - Problems with Paypal HERE

xcd5u2Y.png

Link to comment
Share on other sites

Sorry, I don't understand.


If you use patched BIOS, you don't need to patch AICPM kext.

 


No, I'm not using the patch bios, I ask you if you have news about a patch bios asus.....

I read a news article that you just change the hex values ​​of the two CPU Pei mmtools with the bios, and 'All this safe?

:mrgreen::mrgreen: Without PC :mrgreen::mrgreen:
Link to comment
Share on other sites

I've heard about these BIOSes, but never used, don't know what's edited or if it's safe

http://bios4asus.blogspot.com/

-Donations-

PayPal HERE - Stripe HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com

Premium Users HERE - Problems with Paypal HERE

xcd5u2Y.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.





×
  • Create New...