Contribute
Register

Successfully patched Z170X-UD5 TH CFG Lock (MSR Ex02)

Status
Not open for further replies.
Joined
May 30, 2016
Messages
980
Motherboard
Gigabyte Z490 Vision G
CPU
i9-10900K
Graphics
RX 5700 XT
Mac
  1. iMac
  2. MacBook
  3. MacBook Pro
  4. Mac mini
Classic Mac
  1. PowerBook
  2. Quadra
Mobile Phone
  1. iOS
I was able to patch the bios to disable CFG Lock (MSR Ex02) to enable native power management, and whatever else OSX needs it for. I did this following the directions here:

https://github.com/vit9696/AptioFixPkg

Not sure what else that register is used for but hey, another successful experiment.

EDIT: User @iLikeHackintosh (Thank you!) has created an incredibly detailed walk-through of the process. You can find that here:

How to change hidden CFG Lock setting
 
Last edited:
Last edited:
https://github.com/acidanthera/AptioFixPkg#verifymsre2

Still unclear. What it exactly gives? Whats the gain here? I suppose most of people couldn't figure out from this short section what it's about at all. So please can you give some light here, whats the actual/real gain here?

User @kgp explains it best at the beginning of section B of his guide here:

https://www.tonymacx86.com/threads/...ojave-successful-build-extended-guide.255082/

EDIT: In the guide, @kgp writes "the MSR 0xE2 BIOS Register of all Gigabyte mainboards is anyway unlocked by factory default." which is true for X299 boards, but of course NOT true for Z170.
 
Sadly you were not able to explain whats the gain here. For other readers I will do it for you:

KernelPm patch on Glover is needed for any system that uses XCPM and has MSR_PKG_CST_CONFIG_CONTROL locked.

Starting with Haswell Macs, CPU power management functionality was moved into the kernel (known as XNU CPU Power Management). KernelPm patches the kernel to prevent writes to MSR_PKG_CST_CONFIG_CONTROL (MSR 0xE2), which is frequently locked on many systems (can usually be disabled by disabling the firmware option "CFG Lock"). Without this patch, you will encounter a kernel panic if MSR 0xE2 is locked (which appears to be the case for your system).

Using patched BIOS eliminates need for KernelPm patch. With this patch is possible to get fully native HWP (Intel SpeedShift Technology) CPU Power Management for all Skylake-X processors on all X299 mainboards with unlocked MSR 0xE2 BIOS Register, resulting in absolutely brilliant and top-end CPU performance.

clover-configuration-010-2.jpg
 
Which BIOS version you patched?

The latest BIOS for Z170X-UD5 TH is 22g, which I attached to this post.

Please can you upload the latest patched BIOS?
 

Attachments

  • Z17XU5TH.22g.zip
    5.5 MB · Views: 271
Which BIOS version you patched?

The latest BIOS for Z170X-UD5 TH is 22g, which I attached to this post.

Please can you upload the latest patched BIOS?

Sadly it doesn't work like that, you need to patch the BIOS while it's already running on your motherboard.

Try to follow the steps provided here:

https://github.com/acidanthera/AptioFixPkg#verifymsre2

Steps 1-5 are self-explanatory.
Perhaps somewhat ambiguous is step 6. The modified GRUB shell (bootx64.efi) needs to copied to the EFI partition of a USB key or other temporary boot device. Boot from that device to be able to execute step 7.

All good?
 
Status
Not open for further replies.
Back
Top