Jump to content

10.9.4 Mach_Kernel Patched For Intel Z87 Haswell Motherboards


About This File

This is a patched version of an official vanilla mach_kernel from Mavericks 10.9.4, allowing Z87 Haswell motherboards capable of booting without reboot loops or kernel panics.

 

The following perl scripts have been applied to the vanilla mach_kernel for 10.9.4:

#1

perl -pi -e 's|\x74\x6c(\x48\x83\xc7\x28\x90\x8b\x05..\x5e\x00\x85\x47\xdc)\x74\x54(\x8b\x4f\xd8\x45\x85\xc0\x74\x08\x44\x39\xc1\x44\x89\xc1)\x75\x44(\x0f\x32\x89\xc0\x48\xc1\xe2\x20\x48\x09\xc2\x48\x89\x57\xf8\x48\x8b\x47\xe8\x48\x85\xc0\x74\x06\x48\xf7\xd0\x48\x21\xc2\x48\x0b\x57\xf0\x49\x89\xd1\x49\xc1\xe9\x20\x89\xd0\x8b\x4f\xd8\x4c\x89\xca)(\x0f\x30\x8b\x4f\xd8\x0f\x32\x89\xc0\x48\xc1\xe2\x20\x48\x09\xc2\x48\x89\x17\x48\x83\xc7\x30\xff\xce)\x75\x99(\x5d\xc3)\x90{7}|\x74\x73${1}\x74\x5b${2}\x75\x4b${3}\x66\x81\xf9\xe2\x00\x74\x02${4}\x75\x92${5}|g' mach_kernel

#2

perl -pi -e 's|(\x25\x1c\x00\x00\x00\x48\x8d\x0d..\x5e\x00\x3b\x01)\x74(\x11\x48\x8d\x3d...\x00\x44)|${1}\xeb${2}|g' mach_kernel

I take no credit for the creation of the perl scripts used.

 

Patches #1 & #2 have been documented on this blog by the original owner here. Shout outs to Pike R. Alpha whose code the patches are based on, he lives here.

 

Tested on EVGA Z87 FTW

 

Please let me know if it works well for you so I can confirm the amount of success users are having. Thanks

 Share


User Feedback

Recommended Comments

- Can you explain how to apply - replace the original one? I think we need a couple of instruction in the Terminal.

- This is after an upgrade? 

- THanks

Link to comment
Share on other sites

- Can you explain how to apply - replace the original one? I think we need a couple of instruction in the Terminal.

- This is after an upgrade? 

- THanks

 
Copy over patched mach_kernel onto the root of a secondary USB stick. Boot into Mavericks using USB installer. Open Terminal. You will be replacing the vanilla 10.9.4 by running the following commands:
a.       Verify secondary USB stick location:
diskutil list
b.      Mount it:
diskutil mount /dev/diskXsY
         e.g.: diskutil mount /dev/disk2s1
         Terminal will confirm the name of the disk mounted
c.       Select directory of USB stick's root:
cd /Volumes/USBStick/
         e.g.: cd /Volumes/CRUZER/
d.      Copy over patched mach_kernel
cp /mach_kernel "/Volumes/NameOfOSXDisk/mach_kernel"
         e.g.: cp /mach_kernel "/Volumes/MAVS/mach_kernel"
 
You do this after update. Hope this helps
Link to comment
Share on other sites

wow thank you so much works perfect on quo computer motherboard thats a Z77 great job !

No problem, man. Glad I could help

Link to comment
Share on other sites

×
×
  • Create New...