Jump to content

About This File

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

 

Written by el coniglio

 

Modified by RehabMan

http://olarila.com/forum/viewtopic.php?f=9&t=1003&start=160#p30692

 

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

  • Thanks 1

User Feedback

Recommended Comments

Pimentel

Posted

Great Job!

 

Now i only patch my AICPUPM with this archive.

  • Like 1
plsh2me

Posted

Deleted Null CPUPowermanagement.kext & Evoreboot, Installed your patched kext. System running  fine but on system log got -

 

Sep 17 22:54:02 localhost com.apple.kextd[12]: Failed to load /System/Library/Extensions/AppleIntelCPUPowerManagement.kext - (libkern/kext) link error.

Sep 17 22:54:02 localhost com.apple.kextd[12]: Load com.apple.driver.AppleIntelCPUPowerManagement failed; removing personalities from kernel.

Sep 17 22:54:03 localhost kernel[0]: kxld[com.apple.driver.AppleIntelCPUPowerManagement]: The super class vtable '__ZTV9IOService' for vtable '__ZTV28AppleIntelCPUPowerManagement' is out of date. Make sure your kext has been built against the correct headers.

Sep 17 22:54:03 localhost kernel[0]: Can't load kext com.apple.driver.AppleIntelCPUPowerManagement - link failed.

Sep 17 22:54:03 localhost kernel[0]: Failed to load executable for kext com.apple.driver.AppleIntelCPUPowerManagement.

Sep 17 22:54:03 localhost kernel[0]: Kext com.apple.driver.AppleIntelCPUPowerManagement failed to load (0xdc008016).

Sep 17 22:54:03 localhost kernel[0]: Failed to load kext com.apple.driver.AppleIntelCPUPowerManagement (error 0xdc008016). 

 

Is it normal or something wrong? 

themacmeister

Posted

Apple changed something in 10.8.5 AICPM, do you think this will still work?

fspkwonx86

Posted (edited)

So Scrap everything i wrote... trying the BIOS Patching Method while its unlocked seems to be the only Logical Approach...

Whether Sandybridge Mobile actually requires this see im booted without it finally and with CState SSDT from SSDTPRGEN...

It uses the Old Method that Snow Leopard does ... So it would work from Sandybridge Down<-

I just have to see if my other board will still turn on

 

what did it patch i dont know but it was successful and flashed to the BIOS and reboots fine... and i can test cfg-lock through opencore debug log

which ill do on my 17" ... i just found the IDT Chip on the bottom of the board making the Paperclip Bridge impossible but ok.... just one problem...

the IDT Chip on the 13" is damaged as a result of the attempt so the only thing thats not working is HDA and SATA-CDROM probably a result of my own careless.. but k..

im working past this impossibility of modding without soldering so i buffered the region with tape and layed the pin down so that its contacting and then just taped it over...

its not possible without using clippers to cut the "Alluminum" section like a P or L Section by the fan out of the case .. unless you want to temporarily solder it

but i dont have a soldering pick so shame on me:

 

528373605_10162285560116284_3595339325341397253_n.jpg

526602376_10162274984611284_4236942674639331029_n.jpg

Edited by fspkwonx86
×
×
  • Create New...