EliteMacx86

Administrator
Staff member
Joined
Jul 22, 2018
Messages
2,603
Motherboard
Supermicro X11SPA-T
CPU
Intel Xeon W-3275 28 Core
Graphics
2xAMD RX 580 8GB
OS X/macOS
11.0.x
Bootloader
  1. OpenCore
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
  2. iOS
How to Enable Intel CPU Power Management on X79 Motherboards

An EliteMacx86 Exclusive Guide - This guide covers implementation of Intel CPU Power Management on X79 Motherboards. This guide is supported on Sandy Bridge-E and Ivy Bridge-E CPUs lineup.

Overview
When talking about a stable system with a balanced performance, it's very important that your system has a working CPU Power Management. The PM not only increase the performance but it also unlock and unleash the CPU speed and hence you can achieve full speed and reach to the maximum CPU speed when at full load.


Requirements


CPUSandy Bridge-E, Ivy Bridge-E
macOS Version10.12.x, 10.13.x,10.14.x, 10.15.x
AppleIntelCPUPowerManagement.kextVanilla/Original kext in S/L/E
IOPlatformPlugin.kextVanilla/Original kext in S/L/E

Before you start

Notes :

  • If you've used any other method remove those files to avoid conflicts.
  • If you're using any injector, make sure to remove it.
Patching AICPM


The very first step is to patch AICPM using OMNI patch. There are two ways to patch the AICPM.

Method 1: Perl Patch
Stinga11 made per patch using command file. All you need to do is to download the command as per your macOS version and enter your password and continue with the instructions.

Downloads

1. For macOS Sierra
2. For macOS High Sierra

Note:
For macOS Mojave and later, perl patch is not available.


Method 2: Kernel Patches

This is a second method if you don't want to use the perl patch method. We find this method more easy and is recommended to use this method. The patches for each macOS version from 10.12.x to 10.15.x has been mentioned below.

macOS Sierra (10.12.x)

If you're using Clover as a bootloader, use the following patches:


Name*Find* [HEX]Replace* [HEX]Comment
com.apple.driver.AppleIntelCPUPowerManagementFF0F842DFF0F852DPower Management Patch #1
com.apple.driver.AppleIntelCPUPowerManagement0100010F840100010F85Power Management Patch #2
com.apple.driver.AppleIntelCPUPowerManagementC974150F3225FF0F000048C9EB150F3225FF0F000048Power Management Patch #3
com.apple.driver.AppleIntelCPUPowerManagementC9740C0F3283E01F4289443BC9EB0C0F3283E01F4289443BPower Management Patch #4
com.apple.driver.AppleIntelCPUPowerManagement01746101EB61Power Management Patch #5
com.apple.driver.AppleIntelCPUPowerManagement3E75383E9090Power Management Patch #6
com.apple.driver.AppleIntelCPUPowerManagement7511B9EB11B9Power Management Patch #7


If you're using OpenCore, use the following patches:

ArchIdentifier*CommentFindReplaceEnabled
Anycom.apple.driver.AppleIntelCPUPowerManagementPower Management Patch #1FF0F842DFF0F852DYES
Anycom.apple.driver.AppleIntelCPUPowerManagementPower Management Patch #20100010F840100010F85YES
Anycom.apple.driver.AppleIntelCPUPowerManagementPower Management Patch #3C974150F3225FF0F000048C9EB150F3225FF0F000048YES
Anycom.apple.driver.AppleIntelCPUPowerManagementPower Management Patch #4C9740C0F3283E01F4289443BC9EB0C0F3283E01F4289443BYES
Anycom.apple.driver.AppleIntelCPUPowerManagementPower Management Patch #501746101EB61YES
Anycom.apple.driver.AppleIntelCPUPowerManagementPower Management Patch #63E75383E9090YES
Anycom.apple.driver.AppleIntelCPUPowerManagementPower Management Patch #77511B9EB11B9YES


macOS High Sierra (10.13.x)

If you're using Clover as a bootloader, use the following patches:


Name*Find* [HEX]Replace* [HEX]Comment
com.apple.driver.AppleIntelCPUPowerManagementFF0F84D3FF0F85D3Power Management Patch #1
com.apple.driver.AppleIntelCPUPowerManagement0100010F840100010F85Power Management Patch #2
com.apple.driver.AppleIntelCPUPowerManagementC974140F3225FF0F00006BC9EB140F3225FF0F00006BPower Management Patch #3
com.apple.driver.AppleIntelCPUPowerManagementC9740C0F3283E01F4289443BC9EB0C0F3283E01F4289443BPower Management Patch #4
com.apple.driver.AppleIntelCPUPowerManagement01746101EB61Power Management Patch #5
com.apple.driver.AppleIntelCPUPowerManagement3E75383E9090Power Management Patch #6
com.apple.driver.AppleIntelCPUPowerManagement7511B9EB11B9Power Management Patch #7


If you're using OpenCore, use the following patches:

ArchIdentifier*CommentFindReplaceEnabled
Anycom.apple.driver.AppleIntelCPUPowerManagementPower Management Patch #1FF0F84D3FF0F85D3YES
Anycom.apple.driver.AppleIntelCPUPowerManagementPower Management Patch #20100010F840100010F85YES
Anycom.apple.driver.AppleIntelCPUPowerManagementPower Management Patch #3C974140F3225FF0F00006BC9EB140F3225FF0F00006BYES
Anycom.apple.driver.AppleIntelCPUPowerManagementPower Management Patch #4C9740C0F3283E01F4289443BC9EB0C0F3283E01F4289443BYES
Anycom.apple.driver.AppleIntelCPUPowerManagementPower Management Patch #501746101EB61YES
Anycom.apple.driver.AppleIntelCPUPowerManagementPower Management Patch #63E75383E9090YES
Anycom.apple.driver.AppleIntelCPUPowerManagementPower Management Patch #77511B9EB11B9YES


macOS Mojave (10.14.x)

If you're using Clover as a bootloader, use the following patches:


Name*Find* [HEX]Replace* [HEX]Comment
com.apple.driver.AppleIntelCPUPowerManagementFF0F84CD 00FF0F85CD 00Power Management Patch #1
com.apple.driver.AppleIntelCPUPowerManagement0100010F 840100010F 85Power Management Patch #2
com.apple.driver.AppleIntelCPUPowerManagementC974140F 3225FF0F 00006BC9EB140F 3225FF0F 00006BPower Management Patch #3
com.apple.driver.AppleIntelCPUPowerManagementC974050F 3283E01F 4289443BC9EB050F 3283E01F 4289443BPower Management Patch #4
com.apple.driver.AppleIntelCPUPowerManagement01746001EB60Power Management Patch #5
com.apple.driver.AppleIntelCPUPowerManagement3E75383E9090Power Management Patch #6
com.apple.driver.AppleIntelCPUPowerManagement7511B9EB11B9Power Management Patch #7


If you're using OpenCore as a bootloader, use the following patches:

ArchIdentifier*CommentFindReplaceEnabled
Anycom.apple.driver.AppleIntelCPUPowerManagementPower Management Patch #1FF0F84CD 00FF0F85CD 00YES
Anycom.apple.driver.AppleIntelCPUPowerManagementPower Management Patch #20100010F 840100010F 85YES
Anycom.apple.driver.AppleIntelCPUPowerManagementPower Management Patch #3C974140F 3225FF0F 00006BC9EB140F 3225FF0F 00006BYES
Anycom.apple.driver.AppleIntelCPUPowerManagementPower Management Patch #4C974050F 3283E01F 4289443BC9EB050F 3283E01F 4289443BYES
Anycom.apple.driver.AppleIntelCPUPowerManagementPower Management Patch #501746001EB60YES
Anycom.apple.driver.AppleIntelCPUPowerManagementPower Management Patch #63E75383E9090YES
Anycom.apple.driver.AppleIntelCPUPowerManagementPower Management Patch #77511B9EB11B9YES


macOS Catalina (10.15.x)

If you're using Clover as a bootloader, use the following patches:


Name*Find* [HEX]Replace* [HEX]Comment
com.apple.driver.AppleIntelCPUPowerManagementFF0F840F 01FF0F850F 01Power Management Patch #1
com.apple.driver.AppleIntelCPUPowerManagement0100010F 840100010F 85Power Management Patch #2
com.apple.driver.AppleIntelCPUPowerManagementC974140F 3225FF0F 00006BC974140F 3225FF0F 00006BPower Management Patch #3
com.apple.driver.AppleIntelCPUPowerManagementC974050F 3283E01F 4289443BC9EB050F 3283E01F 4289443BPower Management Patch #4
com.apple.driver.AppleIntelCPUPowerManagement01745D01EB5DPower Management Patch #5
com.apple.driver.AppleIntelCPUPowerManagement3E75383E9090Power Management Patch #6
com.apple.driver.AppleIntelCPUPowerManagement7511B9EB11B9Power Management Patch #7


If you're using OpenCore as a bootloader, use the following patches:

ArchIdentifier*CommentFindReplaceEnabled
Anycom.apple.driver.AppleIntelCPUPowerManagementPower Management Patch #1FF0F840F 01FF0F850F 01YES
Anycom.apple.driver.AppleIntelCPUPowerManagementPower Management Patch #20100010F 840100010F 85YES
Anycom.apple.driver.AppleIntelCPUPowerManagementPower Management Patch #3C974140F 3225FF0F 00006BC974140F 3225FF0F 00006BYES
Anycom.apple.driver.AppleIntelCPUPowerManagementPower Management Patch #4C974050F 3283E01F 4289443BC9EB050F 3283E01F 4289443BYES
Anycom.apple.driver.AppleIntelCPUPowerManagementPower Management Patch #501745D01EB5DYES
Anycom.apple.driver.AppleIntelCPUPowerManagementPower Management Patch #63E75383E9090YES
Anycom.apple.driver.AppleIntelCPUPowerManagementPower Management Patch #77511B9EB11B9YES


Patching MSR Lock


The next step is to patch the MSR Lock.

Downloads

1. AICPMPatch

Download AICPMPatch
Open Terminal
Type:
Code:
cd ~/Downloads/AICPMPatch
To find wrmsr:
Code:
perl AICPMPatch.pl /System/Library/Extensions/AppleIntelCPUPowerManagement.kext/Contents/MacOS/AppleIntelCPUPowerManagement
To patch wrmsr:
Code:
sudo perl AICPMPatch.pl /System/Library/Extensions/AppleIntelCPUPowerManagement.kext/Contents/MacOS/AppleIntelCPUPowerManagement --patch

Notes:
  • Do not patch MSR if you're having an MSR unlocked Motherboard.
  • If you're using ASUS or AsRock motherboards, you can skip this step.
  • AICPM patching is only necessary for Sandy Bridge-E. If you have an Ivy Bridge-E CPU, you can skip this step.
  • For Clover, select "KernelPm" and "AppleIntelCPUPM" in Kernel and Kext Patches section.
  • For macOS Catalina, make sure your system directory is writable.
To verify whether your motherboard has a MSR Lock, follow the guide below.

Adding Dummy Kext


The next step is to use a dummy kext for loading x86PlatformPlugin.kext.

Downloads

1. For macOS Sierra
2. For macOS High Sierra
3. For macOS Mojave
4. For macOS Catalina

Creating SSDT for CPU PM


The final step is to generate a SSDT for CPU PM using Piker-Alpha script. For more information on creating SSDT for CPU PM, refer to the guide linked below.

Building Kext Cache


Once all the above steps completes, build the caches using the following command in Terminal.
Code:
sudo kextcache -i/

Restart your system


After performing all the above steps, restart your system for the applied changes to take effect.
After restarting your system, you'll have Power Management working on your X79 Motherboard.
 
Last edited:

Alex-k

New member
Joined
Jan 16, 2020
Messages
2
Motherboard
HP z620
CPU
Xeon E5 2697 V2
Graphics
Radeon RX590
OS X/macOS
11.0.x
Bootloader
  1. Clover (UEFI)
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
Tnx for your guide! Can i use (Mojave code) with Catalina?
 

EliteMacx86

Administrator
Staff member
Joined
Jul 22, 2018
Messages
2,603
Motherboard
Supermicro X11SPA-T
CPU
Intel Xeon W-3275 28 Core
Graphics
2xAMD RX 580 8GB
OS X/macOS
11.0.x
Bootloader
  1. OpenCore
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
  2. iOS
Tnx for your guide! Can i use (Mojave code) with Catalina?
Haven't checked it for Catalina. I'll be sparing some time this weekend and check if there's any related updated to it. If any, i'll add the patches to the thread.
 

Alex-k

New member
Joined
Jan 16, 2020
Messages
2
Motherboard
HP z620
CPU
Xeon E5 2697 V2
Graphics
Radeon RX590
OS X/macOS
11.0.x
Bootloader
  1. Clover (UEFI)
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
Haven't checked it for Catalina. I'll be sparing some time this weekend and check if there's any related updated to it. If any, i'll add the patches to the thread.
Thank You!
 
  • Like
Reactions: EliteMacx86

EliteMacx86

Administrator
Staff member
Joined
Jul 22, 2018
Messages
2,603
Motherboard
Supermicro X11SPA-T
CPU
Intel Xeon W-3275 28 Core
Graphics
2xAMD RX 580 8GB
OS X/macOS
11.0.x
Bootloader
  1. OpenCore
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
  2. iOS

d4vinder

New member
Joined
Dec 29, 2019
Messages
6
Motherboard
z620 HP so... Intel
CPU
E5 2830
Graphics
nVidia K600
OS X/macOS
10.15.x
Bootloader
  1. Clover (UEFI)
Mac
  1. iMac Pro
Mobile Phone
  1. iOS
Tnx for your guide! Can i use (Mojave code) with Catalina?

CATALINA 10.15.5

Name
: com.apple.driver.AppleIntelCPUPowerManagement
Find: D0050000 84C07446 E8
Replace: D0050000 84C0EB46 E8

;)

UPDATE: Also works on 10.15.6
 
Last edited:
  • Like
Reactions: EliteMacx86

EliteMacx86

Administrator
Staff member
Joined
Jul 22, 2018
Messages
2,603
Motherboard
Supermicro X11SPA-T
CPU
Intel Xeon W-3275 28 Core
Graphics
2xAMD RX 580 8GB
OS X/macOS
11.0.x
Bootloader
  1. OpenCore
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
  2. iOS
CATALINA 10.15.5

Name
: com.apple.driver.AppleIntelCPUPowerManagement
Find: D0050000 84C07446 E8
Replace: D0050000 84C0EB46 E8

;)
Only single patch?
 

EliteMacx86

Administrator
Staff member
Joined
Jul 22, 2018
Messages
2,603
Motherboard
Supermicro X11SPA-T
CPU
Intel Xeon W-3275 28 Core
Graphics
2xAMD RX 580 8GB
OS X/macOS
11.0.x
Bootloader
  1. OpenCore
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
  2. iOS

Frankovich

New member
Joined
May 15, 2020
Messages
6
Motherboard
Huananzhi v2.49pb
CPU
Intel Xeon E5-2690v1
Graphics
RX 590
OS X/macOS
11.0.x
Bootloader
  1. OpenCore
Mobile Phone
  1. iOS
CATALINA 10.15.5

Name
: com.apple.driver.AppleIntelCPUPowerManagement
Find: D0050000 84C07446 E8
Replace: D0050000 84C0EB46 E8

;)

UPDATE: Also works on 10.15.6
Tried it on Big Sur Beta and looks like speedstep start working, but not a turboboost. See photo. My CPU should have 3,3 for all cores. 2,9 it’s basic frequency. I think in 10.15.6 all the same, and we need one more patch for turboboost.
 

Attachments

  • 1EF96416-4353-47A7-879F-C55CA65D66EF.jpeg
    1EF96416-4353-47A7-879F-C55CA65D66EF.jpeg
    2 MB · Views: 174

Forum statistics

Threads
542
Messages
5,359
Members
4,782
Latest member
snowden