Jump to content

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

Haswell-E i7-5820k i7-5930k speedstep

  • Please log in to reply
370 replies to this topic

#1
stinga11

stinga11

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 330 posts
  • Gender:Male
  • Location:Puerto Rico
  • Interests:Music teacher in public schools

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
Attached File  X99 USB2.0.zip.zip   14.03KB   418 downloads

 

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 theAttached File  X99 USB3.0.zip   20.68KB   783 downloads(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 

Attached File  X99Haswell.cfg.zip   1.01KB   593 downloads
 
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> 

Attached File  X99 1150 AppleHDA.kext.zip   839.18KB   368 downloads



#2
Moviemakergr

Moviemakergr

    InsanelyMac Sage

  • Donators
  • 453 posts
  • Gender:Male

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



#3
AsusFreak

AsusFreak

    InsanelyMac Sage

  • Donators
  • 375 posts

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?

 

Attached File  GB1.png   9.83KB   65 downloads   Attached File  GB2.png   21.14KB   47 downloads

 

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



#4
Moviemakergr

Moviemakergr

    InsanelyMac Sage

  • Donators
  • 453 posts
  • Gender:Male

Non confirmed my CPU run the same before and after.

 

Attached File  Before.jpg   51.57KB   58 downloads  Attached File  after.jpg   64.57KB   46 downloads



#5
nmano

nmano

    InsanelyMac Legend

  • Donators
  • 793 posts
  • Gender:Male

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.



#6
Moviemakergr

Moviemakergr

    InsanelyMac Sage

  • Donators
  • 453 posts
  • Gender:Male

i have inject front USB 3 but not at all i have probs with rear usb.

is a difficult story for me.. can't xplain..

The important is witch motherboard use  is different each the other.



#7
stinga11

stinga11

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 330 posts
  • Gender:Male
  • Location:Puerto Rico
  • Interests:Music teacher in public schools

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



#8
Moviemakergr

Moviemakergr

    InsanelyMac Sage

  • Donators
  • 453 posts
  • Gender:Male

Try this:

Major breakthrough for power management


Upload a dump of your hackintosh using the last darwindumper

I hope I did right :)

 



#9
stinga11

stinga11

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 330 posts
  • Gender:Male
  • Location:Puerto Rico
  • Interests:Music teacher in public schools

I updated the guide to fix your problem. turn on the KernelPm on clover



#10
Moviemakergr

Moviemakergr

    InsanelyMac Sage

  • Donators
  • 453 posts
  • Gender:Male

I updated the guide to fix your problem. turn on the KernelPm on clover

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

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



#11
stinga11

stinga11

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 330 posts
  • Gender:Male
  • Location:Puerto Rico
  • Interests:Music teacher in public schools

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.



#12
maleorderbride

maleorderbride

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 583 posts
  • Gender:Male

Is this only speedstep, or Intel Turbo Boost also?



#13
stinga11

stinga11

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 330 posts
  • Gender:Male
  • Location:Puerto Rico
  • Interests:Music teacher in public schools

Is this only speedstep, or Intel Turbo Boost also?

yes the turbo boost works too



#14
Balamut

Balamut

    InsanelyMac Sage

  • Donators
  • 299 posts
  • Gender:Male
  • Location:Classified
Stinga, looks like on Asus x99ws board with 5930k and that cpuid it won't stick to the max cpu but rather jump from 2.6 to 3.56

#15
stinga11

stinga11

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 330 posts
  • Gender:Male
  • Location:Puerto Rico
  • Interests:Music teacher in public schools

Stinga, looks like on Asus x99ws board with 5930k and that cpuid it won't stick to the max cpu but rather jump from 2.6 to 3.56


This board need kernelpm

#16
AsusFreak

AsusFreak

    InsanelyMac Sage

  • Donators
  • 375 posts

Stinga, looks like on Asus x99ws board with 5930k and that cpuid it won't stick to the max cpu but rather jump from 2.6 to 3.56

Try 0x0306E4


@stinga11- Could you test 0x0306E0 or 0x0306E4 (IvyBridge-E) in your current setup?  Thanks-



#17
Balamut

Balamut

    InsanelyMac Sage

  • Donators
  • 299 posts
  • Gender:Male
  • Location:Classified
E0 or E4, kernel panic on aicpm. Won't boot without nullcpu

#18
SammlerG

SammlerG

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 146 posts
  • Gender:Male
  • Location:Germany

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.



#19
nmano

nmano

    InsanelyMac Legend

  • Donators
  • 793 posts
  • Gender:Male

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.

Attached Files



#20
SammlerG

SammlerG

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 146 posts
  • Gender:Male
  • Location:Germany

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.

 

 

Attached Files








0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2017 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy