Jump to content

Haswell-E 5820k 5930k installation guide with full speedstep working


stinga11
 Share

358 posts in this topic

Recommended Posts

I leave a video with my results

 

Update 12/12/2015

I have updated the mini guide of USB 3.0 to work with all X99 motherboards. see step 5.B for details.

 

This guide it was tested with a i7-5820k and Gigabyte Ga-X99-UD3P
 
 
First for install Mac OS X 10.11 in our hackintosh we need to disable a usb 3.0 in the bios. Then we need to use a iMac13,2 definition. When the system has finished installing we boot the first time and install clover. Then we go to the EFI partition and changed the VBoxHfs-64.efi with the HFSPlus.efi that we can download in the following site HFSPlus.efi
 
 
Ok let get ready for the magic.

1.
Well here is the magic with this CPUID we convert our Haswell-E into a IVY BRIDGE CPU.(For this guide works it is important that don't change the fakecpuid number because IvyBridge is the only processor that works with XCPM the IvyBridge-E doesn't works with XCPM)

	<key>KernelAndKextPatches</key>
	<dict>
		<key>FakeCPUID</key>
		<string>0x0306A0</string>
	</dict>

2.
This arguments is for use XNU Power Management instead AICPM.


	<key>Boot</key>
	<dict>
		<key>Arguments</key>
		<string>-xcpm</string>
	</dict>

3.
Now we can changed the definition to MacPro6,1


	<key>SMBIOS</key>
	<dict>
		<key>ProductName</key>
		<string>MacPro6,1</string>
	</dict>

4.
When you switch to MacPro6,1 definition you may not be able to boot your Hackintosh, because the monitor turns off after the boot process. How to solve this problem? Easy, go to System/Library/Extensions/AppleGraphicsControl.kext/Contents/PlugIns/AppleGraphicsDevicePolicy.kext/ copy the info.plist to Desktop and change:


<key>ConfigMap</key>
<dict>
    <key>Mac-F60DEB81FF30ACF6</key>
    <string>Config1</string>
</dict>

To

<key>ConfigMap</key>
<dict>
    <key>Mac-F60DEB81FF30ACF6</key>
    <string>none</string>
</dict> 

Then replace the original info.plist with the modified version.
 
5.A
I made a couple of dummy kext for this guide. These kext are to fix the USB, AHCI, LPC and PlatformPlugin. You need to download and put into the /Library/Extensions
X99 USB2.0.zip.zip

 

5.B

To get all USB3.0 working you need to use this binary patch and download my X99 injector. Put the injector into the /Library/Extensions theX99 USB3.0.zip(NOTE: IF YOU USE THIS KEXT DON'T USE THE KEXTS FROM 5A)

 
6.
For Haswell-E is necessary to use the VoodooTSCSync.kext, that you put in /Library/Extensions/ (Download VoodooTSCSync.kext)
Open the info.plist of the VoodooTSCSync.kext and edit the IOCPUNumber.

            <key>IOPropertyMatch</key>
            <dict>
                <key>IOCPUNumber</key>
                <integer>11</integer>
            </dict>

7.
The only thing left to do is create a ssdt for our processor.
 
a. Download the Piker-Alpha/ssdtPRGen.sh


curl -o ~/ssdtPRGen.sh https://raw.githubusercontent.com/Piker-Alpha/ssdtPRGen.sh/Beta/ssdtPRGen.sh

b. The next step is to set the execute/search bits by entering this terminal command:

chmod +x ~/ssdtPRGen.sh

c. Run the ssdtPRGen.sh for first time.

~/ssdtPRGen.sh -c 2

d. As we are using a FAKE CPUID in our processor the ssdtPRGen.sh doesn't works automatic. so we downloaded the missing information manually and put into the ~/library/ssdtPRGen/Data. You can use the terminal for open the folder.

open ~/library/ssdtPRGen/Data 

X99Haswell.cfg.zip
 
e. Run again the ssdtPRGen.sh using the board-id of iMac14,2 to get C7 state:

~/ssdtPRGen.sh -c 2 -b Mac-27ADBB7B4CEE8E61

Once finished you will have the ssdt.aml on the ~/Library/ssdtPRGen/. Move it to /EFI/CLOVER/ACPI/patched
 
9.
Download InsanelyRepairPermission and repair and touch with

sudo InsanelyRepairPermission -rt /

Restart your hackintosh.

 

10.

It's time to know if your motherboard has MSR 0xE2 locked. Download the DarwinDumper run it and when it finished open the BootLog section and look for the MSR 0xE2 section.

MSR 0xE2 is locked, PM patches will be turned on 

If you found the same text you need to turn on the KernelPm on clover

	<key>KernelAndKextPatches</key>
	<dict>
		<key>KernelPm</key>
		<true/>
	</dict> 

 
11.
If your motherboard has a 1150 audio chipset I will leave a AppleHDA.kext modified for works after sleep. Remember for this kext works you need to use the DSDT fix and device injection on clover.

		<key>DSDT</key>
		<dict>
			<key>Fixes</key>
			<dict>
				<key>FixHDA_8000</key>
				<true/>
			</dict>
		</dict> 
	<key>Devices</key>
	<dict>
		<key>Audio</key>
		<dict>
			<key>Inject</key>
			<string>01</string>
		</dict>
	</dict> 

X99 1150 AppleHDA.kext.zip

  • Like 13
Link to comment
Share on other sites

Nice write up, thanks!  :)  Though, I still have the same problem I've tried to resolve for weeks. When the box wakes from sleep the cpu will no longer run at full speed. GB scores drop from 26K to 10K.  Can anyone else verify this?

 

post-922667-0-88372700-1449379673.png   post-922667-0-58970900-1449379691.png

 

Interesting, goes to sleep as a MacPro, wakes up as a Macmini. haha

  • Like 1
Link to comment
Share on other sites

Nice stinga, now we need USB 3 fixes only..  :wink_anim:

USB 3 still not work for me.

How to Enable that

How to disable bios

Thank you.

Link to comment
Share on other sites

Nice write up, thanks!  :)  Though, I still have the same problem I've tried to resolve for weeks. When the box wakes from sleep the cpu will no longer run at full speed. GB scores drop from 26K to 10K.  Can anyone else verify this?

 

attachicon.gifGB1.png   attachicon.gifGB2.png

 

Interesting, goes to sleep as a MacPro, wakes up as a Macmini. haha

Try this:

Major breakthrough for power management

Non confirmed my CPU run the same before and after.

 

attachicon.gifBefore.jpg  attachicon.gifafter.jpg

Upload a dump of your hackintosh using the last darwindumper

Link to comment
Share on other sites

I did not feel I have a problem outside USB 3 :)

nevertheless I made the change I suggested,and thanks  :yes:

If you do not turn on the KernelPm on clover, the power management and speedstep does not works.

  • Like 1
Link to comment
Share on other sites

For my setup - 5930K and GA UD5 - this does´t work. 

 

When i use 0x0306A0 with -xcpm my cpu speed jumps around, no max. frequency - permanent drops down to 1.2 oder 1.6 GHz....

 

Using -xcpm with E0 or E4 brings me a kernel panic.

 

Only workaround for full speed and "little PM" is turn on Bios PM and using nullCPUPM + fakecpuid without -xcpm or kernelPM.

Link to comment
Share on other sites

USB3 worked x99gamingG1

 

8086, 8D26, 1458, 7270, Intel Corporation, Wellsburg USB Enhanced Host Controller #1

8086, 8D2D, 1458, 7270, Intel Corporation, Wellsburg USB Enhanced Host Controller #2

1B21, 1142, 1B21, 1142, ASMedia Technology Inc.(usb extensible Host Controller)

# Rename DSDT USB devices for OSX 10.11  support (remember to use injector with this)

into device label EHC1 set_label begin EH01 end;

into device label EHC2 set_label begin EH02 end;

into device label XHC1 set_label begin XH01 end;

into_all all code_regex EHC1 replaceall_matched begin EH01 end;

into_all all code_regex EHC2 replaceall_matched begin EH02 end;

into_all all code_regex XHC1 replaceall_matched begin XH01 end;

 

Set bios iMac14,1 and install this kexts.

Thank you for ALL.

post-413859-0-93983200-1449509684_thumb.png

kexts.zip

  • Like 2
Link to comment
Share on other sites

USB 3.0 also works with GA-X99-UD5 Wifi

 

 

here are the patches and kexts, for 4 working USB 3.0 ports with MacPro6,1 SMBIOS on Gigabyte GA-X99-UD5.

USB is fully working on the back panel (white and blue one, the 4 blue ports with the LAN ports are 2.0)

Front panel (internal connectors) not tested.

Do the following DSDT patches (HEX) with Clover:
Title 
EHC1 to EH01 find 45484331 replace 45483031
EHC2 to EH02 find 45484332 replace 45483032
XHCI to XH01 find 58484349 replace 58483031

and put the kexts in EFI/CLOVER/kexts/10.11

Thx to manor who made this for X99GamingG1 and iMac14,1.

 

 

kexts.zip

  • Like 1
Link to comment
Share on other sites

USB 3.0 also works with GA-X99-UD5 Wifi

 

 

here are the patches and kexts, for 4 working USB 3.0 ports with MacPro6,1 SMBIOS on Gigabyte GA-X99-UD5.

USB is fully working on the back panel (white and blue one, the 4 blue ports with the LAN ports are 2.0)

 

Front panel (internal connectors) not tested.

 

Do the following DSDT patches (HEX) with Clover:

Title 

EHC1 to EH01 find 45484331 replace 45483031

EHC2 to EH02 find 45484332 replace 45483032

XHCI to XH01 find 58484349 replace 58483031

 

and put the kexts in EFI/CLOVER/kexts/10.11

 

Thx to manor who made this for X99GamingG1 and iMac14,1.

Nice Bro Enjoy :)

Link to comment
Share on other sites

After some testing this is what I've found;

Cpu: 5930k OC to 4.2 on Asus X99-E WS board.

 

When using Geekbench the cpu jumps from 2.6 to 3.56, CPU usage never goes above 70%, but with Cinebench I get 100% CPU usage and the line stays right around the line of 3.56, going between 3.0 and 3.56. Also looks like the turbo doesn't work correctly.

 

But, when I add -x 1 key to ssdt script (this adds XCMP support), I get full turbo, and running Cinebench gets me 3.9-4.2 and almost flatlines.

 

 

Look at the screenshot, on the Intel Power Gadget l have Geekbench at the beginning and Cinebench and the end.
On Cinebech #2 is with -x key, and #6 without. This is just with moderate OC to 4.2

 

The odd thing is Power, according to IPG CPU draws less power then my mouse :)

 

post-6786-0-70289100-1449528220_thumb.jpg

 

 

On the side note: can anyone help me with tuning Rampagedevs SSDT for X99 boards to Asus X99-E WS?

Link to comment
Share on other sites

Yeah, Clover been working with X99-e ws since 10.10.3. The problem was and is 5960x on El Capitan, I end up getting 5930k so I can at least use the system.

 

Now only thing left to do is get all the USB ports working and not just 4. :)

Link to comment
Share on other sites

5820k here with a Gigabyte UD3 motherboard. 

Seems like the SSDT is causing my USB Sound Card to boot really really late.  System boots up fine, power management and speed step work fantastically.  Just can't get my Apogee Duet2 to power up when the system does. 

Link to comment
Share on other sites

Hi,

 

since the 10.11.2 Update my system works without the VoodooTSCSync.kext. 

 

I cleaned the kext and system caches and bootet again without the VoodooTSCSync.kext, and my system is up and running 

 

09.12.15 20:36:30,000 kernel[0]: AppleACPICPU: ProcessorId=0 LocalApicId=0 Enabled

09.12.15 20:36:30,000 kernel[0]: AppleACPICPU: ProcessorId=2 LocalApicId=2 Enabled
09.12.15 20:36:30,000 kernel[0]: AppleACPICPU: ProcessorId=4 LocalApicId=4 Enabled
09.12.15 20:36:30,000 kernel[0]: AppleACPICPU: ProcessorId=6 LocalApicId=6 Enabled
09.12.15 20:36:30,000 kernel[0]: AppleACPICPU: ProcessorId=8 LocalApicId=8 Enabled
09.12.15 20:36:30,000 kernel[0]: AppleACPICPU: ProcessorId=10 LocalApicId=10 Enabled
09.12.15 20:36:30,000 kernel[0]: AppleACPICPU: ProcessorId=1 LocalApicId=1 Enabled
09.12.15 20:36:30,000 kernel[0]: AppleACPICPU: ProcessorId=3 LocalApicId=3 Enabled
09.12.15 20:36:30,000 kernel[0]: AppleACPICPU: ProcessorId=5 LocalApicId=5 Enabled
09.12.15 20:36:30,000 kernel[0]: AppleACPICPU: ProcessorId=7 LocalApicId=7 Enabled
09.12.15 20:36:30,000 kernel[0]: AppleACPICPU: ProcessorId=9 LocalApicId=9 Enabled
09.12.15 20:36:30,000 kernel[0]: AppleACPICPU: ProcessorId=11 LocalApicId=11 Enabled
09.12.15 20:36:30,000 kernel[0]: FakeSMCKeyStore: started
09.12.15 20:36:30,000 kernel[0]: IOAPIC: Version 0x20 Vectors 88:111
09.12.15 20:36:30,000 kernel[0]: IOAPIC: Version 0x20 Vectors 64:87
09.12.15 20:36:30,000 kernel[0]: ACPI: sleep states S3 S4 S5
09.12.15 20:36:30,000 kernel[0]: CPUSensors: CPU family 0x6, model 0x3f, stepping 0x2, cores 6, threads 12, TJmax 95
09.12.15 20:36:30,000 kernel[0]: CPUSensors: setting platform keys to [j43     ]
09.12.15 20:36:30,000 kernel[0]: CPUSensors: base CPU multiplier is 35
09.12.15 20:36:30,000 kernel[0]: CPUSensors: started
09.12.15 20:36:30,000 kernel[0]: pci (build 20:14:53 Nov 13 2015), flags 0xe1000, pfm64 (44 cpu) 0xfff80000000, 0x80000000
 
 

and i have a new motherboard for testing here, ASUS X99 Deluxe, and with the USB injectors for Gigabyte, all USB 3 Ports on the backplane are working perfect.  

 

But the 5960X from a friend won´t boot el capitan.... hangs on PCI configuration

Link to comment
Share on other sites

Hi,

 

since the 10.11.2 Update my system works without the VoodooTSCSync.kext. 

 

I cleaned the kext and system caches and bootet again without the VoodooTSCSync.kext, and my system is up and running 

 

09.12.15 20:36:30,000 kernel[0]: AppleACPICPU: ProcessorId=0 LocalApicId=0 Enabled

09.12.15 20:36:30,000 kernel[0]: AppleACPICPU: ProcessorId=2 LocalApicId=2 Enabled
09.12.15 20:36:30,000 kernel[0]: AppleACPICPU: ProcessorId=4 LocalApicId=4 Enabled
09.12.15 20:36:30,000 kernel[0]: AppleACPICPU: ProcessorId=6 LocalApicId=6 Enabled
09.12.15 20:36:30,000 kernel[0]: AppleACPICPU: ProcessorId=8 LocalApicId=8 Enabled
09.12.15 20:36:30,000 kernel[0]: AppleACPICPU: ProcessorId=10 LocalApicId=10 Enabled
09.12.15 20:36:30,000 kernel[0]: AppleACPICPU: ProcessorId=1 LocalApicId=1 Enabled
09.12.15 20:36:30,000 kernel[0]: AppleACPICPU: ProcessorId=3 LocalApicId=3 Enabled
09.12.15 20:36:30,000 kernel[0]: AppleACPICPU: ProcessorId=5 LocalApicId=5 Enabled
09.12.15 20:36:30,000 kernel[0]: AppleACPICPU: ProcessorId=7 LocalApicId=7 Enabled
09.12.15 20:36:30,000 kernel[0]: AppleACPICPU: ProcessorId=9 LocalApicId=9 Enabled
09.12.15 20:36:30,000 kernel[0]: AppleACPICPU: ProcessorId=11 LocalApicId=11 Enabled
09.12.15 20:36:30,000 kernel[0]: FakeSMCKeyStore: started
09.12.15 20:36:30,000 kernel[0]: IOAPIC: Version 0x20 Vectors 88:111
09.12.15 20:36:30,000 kernel[0]: IOAPIC: Version 0x20 Vectors 64:87
09.12.15 20:36:30,000 kernel[0]: ACPI: sleep states S3 S4 S5
09.12.15 20:36:30,000 kernel[0]: CPUSensors: CPU family 0x6, model 0x3f, stepping 0x2, cores 6, threads 12, TJmax 95
09.12.15 20:36:30,000 kernel[0]: CPUSensors: setting platform keys to [j43     ]
09.12.15 20:36:30,000 kernel[0]: CPUSensors: base CPU multiplier is 35
09.12.15 20:36:30,000 kernel[0]: CPUSensors: started
09.12.15 20:36:30,000 kernel[0]: pci (build 20:14:53 Nov 13 2015), flags 0xe1000, pfm64 (44 cpu) 0xfff80000000, 0x80000000
 
 

and i have a new motherboard for testing here, ASUS X99 Deluxe, and with the USB injectors for Gigabyte, all USB 3 Ports on the backplane are working perfect.  

 

But the 5960X from a friend won´t boot el capitan.... hangs on PCI configuration

 

VoodooTSCSync has not been necessary since 10.10.3.

 

However, it was required for wake from sleep. I assume that your wake from sleep work since you have speedstep and turbo working? Does it?

Link to comment
Share on other sites

no, speedstep or turbo only working buggy with 5930k, and sleep worked with Gigabyte X99-UD5 not 100%. Computer does sleep,

but the after wakeup my board does not boot to AA or A2 (signal LED on Motherboard), it boot´s only to 73.

 

Working was possible, but after the next shutdown... system powered up itself and booted again. So i don´t use sleep.

 

 

And before 10.11.2 my system crashed without using VoodooTSCSync. Don´t know why... 

Link to comment
Share on other sites

Thank you!! Working great for me on an i7 5820k - ASUS X99/A 3.1 - both Speedstep and USB.

Am I the only one getting random reboots since 10.11.1? No issues at all on 10.11 or 10.10.x. I am now installing 10.11.3 beta, hope it gets better...

 

Andrea

Link to comment
Share on other sites

 Share

×
×
  • Create New...