I will try to improve my guide all the time. If anyone has a suggestion, I will add it.
Warning: I'm not responsible for any damage or problems to your system, lost of data and any other issues.
Be sure to have a backup of important parts of your system! (BIOS-rom(s), drivers, files, etc.)
I have tested most HW-parts on temperatures, (fault/warning) messages, etc. and believed this setup is safe to use. However their could be parts on your setup that don't work (properly) for you.
Last Update: 02/05/2013
My system specs:
ASUS P8H67-M Pro (Rev 3.0/B3) motherboard (BIOS 3806)
Intel i5-2400 @ 2.4Ghz
Kingston DDR3-1333 RAM 8GB
Samsung 830 SSD
EVGA GeForce 450 GTS (1GB)
OS X ML 10.8.3 booting in UEFI-mode
Audio: Working (VoodooHDA)
USB 3.0: Not working
Sleep: Not working, Clover-bug
EVGA GeForce 450 GTS: Working, but freezes can occur (Fermi bug, only nVidia/Apple can fix it)
(P)ATA: Not used
- Disable USB 3.0 Controller (also legacy-mode)
- Disable PATA/Serial/LPT-ports
- Disable EPU Power Saving
- Enable (no auto!) all available CPU State Reporting (C1E, C3, C6, etc.)
Basic Installation Steps:
You need a copy of a running Macintosh/Hackintosh 10.5, 10.6, 10.7, 10.8 system.
These steps are for a clean OS X installation (aka format). So backup your data before installing OS X 10.8!
I recommend to create a bootable USB-stick/External HDD, these are the files you need:
- Latest Enoch bootloader
- Chameleon.zip (see attachements below)
I have used this guide to create a bootable USB-stick and boot OS X. I did not apply the MBR-patch, because I recommend to install OS X on a GPT-table.
This however has one downside when dual-booting: You will have the install Windows 7/8 and/or Linux in UEFI-mode. A small guide how to do this can be found below.
Before booting the USB, org.chameleon.Boot.plist and SMBios.plist in the /Extra folder of the USB-stick. I also recommend to create a /Extra/Tools folder, where you can place all the required utilities/kexts, etc. needed for the OS X installation.
These are the files you can place in the Tools folder:
Kext Utility, HWSensors and the Realtek driver
If you can't boot after installation, try to boot with the flags -x -v.
I have added a DSDT.zip attachement. Their are two folders inside:
Copy DSDT.aml from the patched folder to the /Extra folder (Chameleon) or for (when installed) Clover to /EFI/CLOVER/ACPI/patched
I recommend to create your own DSDT with DSDT Editor and apply my Fix.txt that also can be found in the patched-folder.
After successful booting OS X ML, unzip all the downloaded files from the Tools that we placed on the USB-stick.
Install HWSensors, Realtek RTL and run Kext Utility to repair permissions.
Reboot and boot again with the ML USB-stick
You will now have a basic OS X setup. Follow the additioneel steps below to install a bootloader and patches to get more complete setup:
Install Clover (UEFI) Bootloader:
I'm using the UEFI bootloader Clover as default bootloader.
Use the following install options:
Schermafbeelding 2013-04-21 om 20.27.34.png 187.1K 69 downloads
Open a Terminal-window after installation and enter the following commands to mount the EFI-partition:
sudo mkdir /Volumes/EFI
sudo mount_msdos /dev/disk*s1 /Volumes/EFI
sudo mount_msdos /dev/disk0s1 /Volumes/EFI or sudo mount_msdos /dev/disk1s1 /Volumes/EFI
Replace the default config.plist contents in the CLOVER directory with the following:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com...yList-1.0.dtd"> <plist version="1.0"> <dict> <key>SystemParameters</key> <dict> <key>prev-lang:kbd</key> <string>nl:0</string> <key>boot-args</key> <string>npci=0x2000 darkwake=0 slide=0</string> <key>DefaultBootVolume</key> <string>Macintosh HD</string> <key>LegacyBoot</key> <string>PBR</string> </dict> <key>Graphics</key> <dict> <key>PatchVBios</key> <string>Yes</string> </dict> <key>PCI</key> <dict> <key>LpcTune</key> <string>Yes</string> <key>HDAInjection</key> <string>No</string> <key>USBInjection</key> <string>Yes</string> <key>InjectClockID</key> <string>Yes</string> <key>USBFixOwnership</key> <string>Yes</string> </dict> <key>ACPI</key> <dict> <key>DsdtName</key> <string>DSDT.aml</string> <key>DropOemSSDT</key> <string>Yes</string> <key>GeneratePStates</key> <string>Yes</string> <key>GenerateCStates</key> <string>Yes</string> <key>MinMultiplier</key> <string>16</string> <key>MaxMultiplier</key> <string>34</string> <key>PluginType</key> <string>0</string> <key>ResetAddress</key> <string>0x64</string> <key>ResetValue</key> <string>0xFE</string> <key>EnableC6</key> <string>Yes</string> <key>EnableC4</key> <string>No</string> <key>EnableC2</key> <string>Yes</string> <key>C3Latency</key> <string>0x03E9</string> <key>EnableISS</key> <string>Yes</string> <key>FixDsdtMask</key> <string>0x0000</string> <key>DropDMAR</key> <string>Yes</string> <key>DropBGRT</key> <string>Yes</string> </dict> <key>SMBIOS</key> <dict> <key>ProductName</key> <string>iMac12,2</string> </dict> <key>CPU</key> <dict> <key>Turbo</key> <string>Yes</string> </dict> <key>KernelAndKextPatches</key> <dict> <key>AsusAICPUPM</key> <string>Yes</string> <key>AppleRTC</key> <string>Yes</string> <key>KextsToPatch</key> <dict> <key>0</key> <dict> <key>Name</key> <string>IOAHCIBlockStorage</string> <key>Find</key> <data>QVBQTEUgU1NEAA==</data> <key>Replace</key> <data>AAAAAAAAAAAAAA==</data> </dict> </dict> </dict> <key>RtVariables</key> <dict> <key>MountEFI</key> <string>Yes</string> <key>LogLineCount</key> <string>3000</string> <key>LogEveryBoot</key> <string>No</string> </dict> </dict> </plist>
To install Clover as bootable-option (needed for ASUS-boards) format an USB-stick inside Windows with a FAT32-filesystem:
- Download this Shell.efi file and place it into the root of the USB-stick as Shellx64.efi
- Reboot your system, and enter the BIOS-settings screen
- Go to Advanced Settings > Exit > Launch EFI-shell from filesystem
- The EFI-shell should now automatically load.
- Run the following commands from the EFI-shell (# ... # are just comments):
> map fs* #choose the correct disk where OS X is installed# > fs1: #for me it's fs1# > cd \EFI\CLOVER #change to the \EFI\CLOVER directory on the EFI-partition, if you can't cd, you have the wrong fs*:# > bcfg boot dump #list current boot-menu settings# > bcfg boot add 0 CLOVERX64.efi "OSX" #add Clover as a boot-option# > bcfg boot dump #list the changed made to the boot settings# > reset #restart system#That's it, you can now boot into Clover-EFI (and boot OS X afterwards) by selecting OSX in the BIOS-menu.
If you cannot boot correctly, try to change Clover boot-settings by pressing the O key on the keyboard in the Clover-bootmenu.
Check /EFI/doc/UEFI boot with Clover.rtf for more info
- Flash the BIOS with EZ-Flash (risky! This can brick your MB!) with your own patched rom.
- Restore the BIOS settings that are listed on the top of this post
- Try to boot OS X
- Remove the NullCPUPowerManagement.kext in the /System/Library/Extensions folder
- Run Kext Utility
If it gives you a KP, restore NullCPU* from the USB to /System/Library/Extensions
- Open the file /System/Library/Extensions/IOPlatformPluginFamily.kext/Contents/Plugins/ACPI_SMC_PlatformPlugin.kext/Contents/Resources/iMac12_2.plist with TextWrangler.
- Replace the following lines:
<key>iMac12,2</key> <string>SP11</string> <key>SP11</key> <data>........................</data>With this from the MacPro3,1 model:
<key>iMac12,2</key> <string>SP11</string> <key>SP11</key> <data> xgYAAAAAAQIEAAACAgAAVQBuAHMAcABlAGMAaQBmAGkAZQBkDAAH/wcAACEAAAACAAAB//8A/wD/ AP8A/wD/AAYAAP8BAAP/AAsPAAD/AQAD/wALDwAA/wEAA/8ACw8AAP8BAAP/AAsPAAD/AQAD/wAL DwAA/wEAA/8ACw8AAP8BAAP/AAsPAAD/AQAD/wALDwAA/wEAA/8ACw8AAP8BAAP/AAsPAAD/AQAD /wALDwAA/wEAA/8ACw8AAP8BAAP/AAsPAAD/AQAD/wALDwAA/wEAA/8ACw8AAP8BAAP/AAsPAAD/ AQAD/wALDwAA/wEAA/8ACw8AAP8BAAP/AAsPAAD/AQAD/wALDwAA/wEAA/8ACw8AAP8BAAP/AAsP AAD/AQAD/wALDwAA/wEAA/8ACw8AAP8BAAP/AAsPAAD/AQAD/wALDwAA/wEAA/8ACw8AAP8BAAP/ AAsPAAD/AQAD/wALDwAA/wEAA/8ACw8AAP8BAAP/AAsPAAD/AQAD/wALDwAA/wEAA/8ACw8AAP8B AAP/AAsPAAD/AQAD/wALDwAA/wEAA/8ACw8AAP8BAAP/AAsPAAD/AQAD/wALDwAA/wEAA/8ACw8A AP8BAAP/AAsPAAD/AQAD/wALDwAA/wEAA/8ACw8AAP8BAAP/AAsPAAD/AQAD/wALDwAA/wEAA/8A Cw8AAP8BAAP/AAsPAAD/AQAD/wALDwAA/wEAA/8ACw8AAP8BAAP/AAsPAAD/AQAD/wAL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GAAACAAAABAAAAKAADwUAABYEAAAWAAAACQAAAAMAAAAWBgAACAoAABMAAAX/AAoC AAAXBgAAAQAAAAEAAADoAAMFAAAYAAAF/wALAgAAGAYAAAIAAAAEAAAAKAAKBQAAHAAAABkAAAAc AAAAGQAAAAsAAAABAAAAGQYAAAcAAAABAAAA9QABBQAAGgAABf8ACwAAAAIAAAAaBgAAAgAAAAQA AACgAA8FAAAbBAAAGwAAAAsAAAADAAAAGwYAAAgKAAAYAAAF/wAMAgAAHAYAAAEAAAABAAAA9AAB BQAAHQAABf8ADQIAAB0GAAACAAAABAEAAIAAwwC3AC4ANAALAAAAHQAAAB4AAAAdAAAAHgAAAA0A AAABAAAAHgYAAAcAAAABAAAA9QABBQAAHwAABf8ADQAAAAIAAAAfBgAAAgAAAAQAAACgAA8FAAAg BAAAIAAAAA0AAAADAAAAIAYAAAgKAAAdAAAF/w== </data>- Follow the additional steps from here to get speedstep to work properly
- Run Kext Utility
Use MSRDumper, to check how speedstep is working:
MSRDumper PStatesReached: 16 17 18 19 20 32 33
Update OS X to 10.8.3:
- Install the 10.8.3 combo-update (http://support.apple.com/kb/DL1640) - DON'T REBOOT AFTER INSTALLATION!
- Redo all the above patches to the kexts: IOPlatformPluginFamily, etc.
- Run Kext Utility
nVidia GeForce 4xxx (Fermi) Patch & Fix:
Windows 7/8 64-bit Dual Boot setup:
If you want to dual boot OS X and Windows, we first need to create an bootable UEFI USB-stick so that we can install Windows on a GPT-layout.
- install OS X first: Create a custom partition layout, and leave some disk space (30GB or more) for the Windows 7/8 installation (Don't make a partition, just let it empty)
If you have already installed OS X: You don't need to reinstall, just boot with the ML-USB stick, open Disk Utility, and shrink the OS X partition.
- Next step is to create a FAT32 USB-stick for Windows 7/8 (x64), format an USB-stick (inside Windows) with FAT32 and follow the steps below:
For Windows 8 this is easy: Just run the upgrade/setup advisor and let it create an USB-stick with Windows 8 Setup on it. (Download the Official Installer)
For Windows 7 this is more difficult, see one of the following guides: link link link
- If you have successfully created the Windows USB-stick, it is time to boot the USB-stick in UEFI-mode. Just plug-in the USB-stick, hit the F8 (BIOS)-key and select the option: *UEFI: USB-stick name*, and hit enter to boot. (If you don't see the *UEFI:* part, than your USB-stick is wrong created, try again)
- When successfully booted, install Windows as Custom Installation on the empty space we have created above. (Don't create a partition, just click on the empty space and click on the Next-button)
- After the installation, you need to set Clover back as first boot-option, and you should boot into OS X or Windows from the Clover-menu without any problems.
It should now also be possible to select the Startup Disk inside OS X. (Not tested)
Sources/Tools used for this guide:
All credits (and a big thank you!) goes out to the members that created the kexts, patches, dsdt edits (olarila.com), Clover (also to the members on ProjectOSX > Slice, apianti, dmazar, Revogirl, and all other unlisted members ), bios patch (samisnake), kozlek (HWSensors/FakeSMC), etc.
I only combined all information from other sources and my experiences to create this guide.
Please let me know if you're unlisted!