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 Updated: 31/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)
Working Status:
OS X ML 10.8.3 booting in UEFI-mode
Audio: Working
Ethernet: Working
Speedstep: Working
USB (2.0): Working
EVGA GeForce 450 GTS: Working, using older (DP3) drivers
USB 3.0: Not working
Sleep: Not working properly, Clover-bug(?)
(P)ATA: Not used
OS X Installation Steps
Requirements
- A running Macintosh/Hackintosh 10.6, 10.7 or 10.8 (VMware) Machine.
- An OS X ML 10.8 Installation (App) from the Apple Store
- An empty hard drive
- An empty 7.5GB> USB-stick/drive (Installation Media)
- An empty 256MB> USB-stick/drive (Clover)
- A lot of patience
- The following needed packages:
Clover
Kernel & System Caches updater
Realtek Driver
HWSensors
DSDT Editor
ssdtPRGen.sh
VoodooHDA_282ML
Creating a bootable USB
1. Follow Part 2 & 3 from this guide for creating an OS X 10.8 Installation Media USB.
We are not going to follow other parts of this guide, because we want a different setup.
2. Open Disk Utility and plugin the USB-sick that you want to use for Clover.
3. Format the USB-stick as follow:
1.png 143.71KB
35 downloads
2.png 191.43KB
34 downloads4. Exit Disk Utility
5. Unzip Clover_v*.zip and run the Clover_v*.pkg file
6. Choose Clover USB-stick as Installation Target and select the following Installation options:
3.png 167.8KB
32 downloads
4.png 316.99KB
41 downloads7. Open the created Clover USB-stick
8. Delete the files BOOTIA32.efi & CLOVERIA32.efi inside the BOOT and CLOVER directories.
9. Replace config.plist with the following content:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>SystemParameters</key> <dict> <key>prev-lang:kbd</key> <string>en:0</string> <key>LegacyBoot</key> <string>PBR</string> <key>boot-args</key> <string>-v -x npci=0x2000 slide=0 darkwake=0 WithKexts</string> <key>InjectSystemID</key> <true/> </dict> <key>SMBIOS</key> <dict> <key>ProductName</key> <string>MacPro3,1</string> </dict> <key>KernelAndKextPatches</key> <array> <string>AsusAICPUPM</string> <true/> <string>AppleRTC</string> <true/> <string>KextsToPatch</string> <dict> <key>0</key> <dict> <key>Find</key> <data>QVBQTEUgU1NE</data> <key>Name</key> <string>IOAHCIBlockStorage</string> <key>Replace</key> <data>AAAAAAAAAAAA</data> </dict> </dict> </array> <key>GUI</key> <dict> <key>Theme</key> <string>metal</string> <key>Mouse</key> <dict> <key>Enabled</key> <false/> </dict> </dict> <key>RtVariables</key> <dict> <key>LogEveryBoot</key> <false/> </dict> <key>Graphics</key> <dict> <key>PatchVBios</key> <true/> <key>GraphicsInjector</key> <true/> </dict> <key>PCI</key> <dict> <key>HDAInjection</key> <string>Detect</string> <key>USBInjection</key> <true/> <key>InjectClockID</key> <true/> <key>USBFixOwnership</key> <true/> <key>LpcTune</key> <true/> </dict> <key>ACPI</key> <dict> <key>ResetValue</key> <string>0x06</string> <key>EnableC4</key> <true/> <key>EnableC6</key> <true/> <key>GeneratePStates</key> <false/> <key>C3Latency</key> <string>0x3E7</string> <key>EnableISS</key> <true/> <key>DropDMAR</key> <true/> <key>DropBGRT</key> <true/> <key>EnableC2</key> <true/> <key>DsdtName</key> <string>DSDT.aml</string> <key>PluginType</key> <string>0</string> <key>ResetAddress</key> <string>0xCF9</string> <key>PLimitDict</key> <string>0</string> <key>UnderVoltStep</key> <string>0</string> <key>DoubleFirstState</key> <false/> <key>DropOemSSDT</key> <true/> <key>GenerateCStates</key> <false/> </dict> </dict> </plist>10. Place the kext FakeSMC.kext (From HWSensors) and NullCPUPowerManagement.kext inside the Clover USB kexts/10.8 folder.
You have now created a bootable Clover USB!
OS X Installation
BIOS Settings for target system:
- Disabled USB 3.0 Controller (also legacy-mode)
- Disabled PATA/Serial/LPT-ports
- Disabled EPU Power Saving
- Enable (no auto!) all available CPU State Reporting (C1E, C3, C6, etc.)
1. Boot in the target system with both the OS X Installation Media and the Clover USB-stick plugged, hit F8-key for BIOS-Menu, choose UEF: *Clover USB Drive Name*
Select Mac OS X Base System (or whatever you could your OS X Installation medium) and hit Enter.
Your system should be booted in a few minutes and show you the Installation Welcome screen.
Select your language and open up Disk Utility.
Select the target drive, click Partition-tab and select GPT-schema under Options.
Make one or more partitions (what your desire) and click on Apply.
Exit Disk Utility and follow the rest of the OS X Installation.
After installation, try to boot the new created OS X-partition with the Clover-USB.
If this all worked, congratulations! You just installed OS X!
OS X Extra's
DSDT
It is recommended to create your own DSDT.aml file.
There are two ways to get your DSDT: Inside OS X or with a Live (Ubuntu) Linux Installation USB-stick (recommended).
See the following howto for Ubuntu (It's recommended to also boot the USB in UEFI-mode).
When you have your DSDT.dsl file open it inside OS X with DSDT Editor.
Apply Fix.txt & ALC 892.txt (Menu > Patch > Open), choose IASL and click on Compile.
To fix the following warnings:
ResourceTag Larger than Field (Tag: 64 bits, Field 32 bits), change CreateDWordField to CreateQWordField in that line.
Not all control paths return a value (_HID):
Method (_HID, 0, NotSerialized) // _HID: Hardware ID
{
If (TCMF) {}
Else
{
Return (0x0201D824)
}
}
Return (Zero) // add this
Compile again and save the generated DSDT-file as DSDT.aml on your desktop (IASL > Save AML As)SSDT
Get the following ssdtPRGen.sh from Piker-Alpha. (Copy the contents, paste in into TextEdit or TextWrangler and save it as ssdtPRGen.sh)
Run the script in a terminal and it will automatically generate a SSDT file and place it on your desktop. (Choose No to install into /Extra):
cd Downloads ./ssdtPRGen.shThere will be two files placed on your desktop, keep the one with the .aml extension.
Patch IntelCPUPM
There are two ways to get IntelCPUPM to work (needed for speedstep).
One way is to patch it with this script or by patching your BIOS.
I have patched my BIOS so I never have to worry about IntelCPUPM. Please keep in mind patching is risky, so please be warned!
HWSensors (FakeSMC)
Run HWSensors.pkg and install it on the OS X Installation drive. You can select all plugins btw.
Realtek (Ethernet)
See instructions here
Clover Bootloader
If everything is working, you can install Clover as your default bootloader. Just run the Clover setup again, select the OS X partition and the following Installation Options:
5.png 309.88KB
37 downloads- 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 "OS X" #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 by selecting OS X in the BIOS-menu without the USB-stick.
I recommend to change config.plist on the EFI-partition, these are my (working) settings:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>SystemParameters</key> <dict> <key>prev-lang:kbd</key> <string>nl:0</string> <key>LegacyBoot</key> <string>PBR</string> <key>boot-args</key> <string>npci=0x2000 slide=0 darkwake=0 WithKexts</string> <key>InjectSystemID</key> <true/> </dict> <key>SMBIOS</key> <dict> <key>ProductName</key> <string>iMac12,2</string> </dict> <key>CPU</key> <dict> <key>BusSpeedkHz</key> <string>99790</string> </dict> <key>KernelAndKextPatches</key> <array> <string>AsusAICPUPM</string> <true/> <string>AppleRTC</string> <true/> <string>KextsToPatch</string> <dict> <key>0</key> <dict> <key>Find</key> <data>QVBQTEUgU1NE</data> <key>Name</key> <string>IOAHCIBlockStorage</string> <key>Replace</key> <data>AAAAAAAAAAAA</data> </dict> </dict> </array> <key>GUI</key> <dict> <key>Theme</key> <string>bluemac</string> <key>ScreenResolution</key> <string>1680x1050</string> <key>HideEntries</key> <dict> <key>Gentoo</key> <true/> <key>Duplicate</key> <true/> <key>WindowsEFI</key> <false/> <key>Ubuntu</key> <true/> <key>Recovery</key> <true/> <key>OpticalUEFI</key> <true/> <key>OSXInstall</key> <true/> <key>Grub</key> <true/> <key>ExternalUEFI</key> <true/> <key>InternalUEFI</key> <true/> </dict> <key>Volumes</key> <dict> <key>Legacy</key> <false/> </dict> <key>DebugLog</key> <true/> <key>Mouse</key> <dict> <key>Enabled</key> <false/> </dict> <key>Timeout</key> <string>5</string> <key>DefaultBootVolume</key> <string>Macintosh HD</string> </dict> <key>RtVariables</key> <dict> <key>LogEveryBoot</key> <false/> <key>MountEFI</key> <true/> <key>LogLineCount</key> <string>3000</string> </dict> <key>Graphics</key> <dict> <key>PatchVBios</key> <true/> <key>GraphicsInjector</key> <true/> </dict> <key>PCI</key> <dict> <key>HDAInjection</key> <string>Detect</string> <key>USBInjection</key> <true/> <key>InjectClockID</key> <true/> <key>USBFixOwnership</key> <true/> <key>LpcTune</key> <true/> </dict> <key>ACPI</key> <dict> <key>ResetValue</key> <string>0x06</string> <key>EnableC4</key> <true/> <key>EnableC6</key> <true/> <key>GeneratePStates</key> <false/> <key>C3Latency</key> <string>0x3E7</string> <key>EnableISS</key> <true/> <key>DropDMAR</key> <true/> <key>DropBGRT</key> <true/> <key>EnableC2</key> <true/> <key>DsdtName</key> <string>DSDT.aml</string> <key>PluginType</key> <string>0</string> <key>ResetAddress</key> <string>0xCF9</string> <key>PLimitDict</key> <string>0</string> <key>UnderVoltStep</key> <string>0</string> <key>DoubleFirstState</key> <false/> <key>DropOemSSDT</key> <true/> <key>GenerateCStates</key> <false/> </dict> </dict> </plist>
Edit IOPlatform
- 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 MacBookPro8,3 model:
<key>iMac12,2</key> <string>SP11</string> <key>SP11</key> <data> sAoAAAAAAQIEAAACAgAAVQBuAHMAcABlAGMAaQBmAGkAZQBkDAAH/wcAAEIAAAAjBAAAAgCBAHAA cwB0AGEAdABlAHMKAAAGAwAAgABtAGkAbgBwAHMAdABhAHQAZQ0AAIAAbQBuAHQAcABzAHQAYQB0 AGUNAACAAG4AcABzAHQAYQB0AGUAc/8A/wD/AP8A/wCyAAD/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/wALDwAA/wEA A/8ACw8AAP8BAAP/AAsPAAD/AQAD/wALDwAA/wEAA/8ACw8AAP8BAAP/AAsPAAD/AQAD/wALDwAA /wEAA/8ACw8AAP8BAAP/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/AAsPAA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ADQUAADgAAAA1AAAAOAAAADUAAAAKAAAAAQAAADUGAAAHAAAA AQAAAPUAAQUAADYAAAX/AAoAAAACAAAANgYAAAIAAAAEAAAAoAAPBQAANwAAACEAAAAhAAAANwAA AAoAAAADAAAANwYAAAgKAAA0AAAF/wALAgAAOAYAAAEAAAAOBAAAAQIAADkAAAX/AAwCAAA5BgAA AgAAAAQAAADQAAcFAAA9AAAAOgAAAD0AAAA6AAAADAAAAAEAAAA6BgAABwAAAAEAAAD1AAEFAAA7 AAAF/wAMAAAAAgAAADsGAAACAAAABAAAAKAADwUAADwAAAAhAAAAIQAAADwAAAAMAAAAAwAAADwG AAAICgAAOQAABf8ADQIAAD0GAAABAAAADggAAD4AAAX/AA4CAAA+BgAAAgAAAAQBAACAAMMAtwAu ADQACwAAAD4AAAA/AAAAPgAAAD8AAAAOAAAAAQAAAD8GAAAHAAAAAQAAAPUAAQUAAEAAAAX/AA4A AAACAAAAQAYAAAIAAAAEAAAAoAAPBQAAQQAAACEAAAAhAAAAQQAAAA4AAAADAAAAQQYAAAgKAAA+ AAAF/w== </data>- Follow the additional steps from here to get speedstep to work properly
- Copy your SSDT(-*).aml file to the ACPI/patched folder. But before you do, hit the F4 in the Clover GUI first! After booting, open the origin folder and check for the latest SSDT filename. If it is SSDT-6.aml, rename you generated SSDT file to SSDT-7.aml.
- Regenerate Cache
- Reboot
Use MSRDumper, to check how speedstep is working:
28-05-13 16:41:56,000 kernel[0]: MSRDumper CoreMulti(16) 28-05-13 16:41:56,000 kernel[0]: MSRDumper PStatesReached: 16 19 23 27 31 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.
- Regenerate Kernel-cache
- Reboot
nVidia GeForce 4xxx (Fermi) Patch & Fix
Step 1
Step 2
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:
Clover
ProjectOSX Forums
MSRDumper
TextWrangler
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
I only combined all information from other sources and my experiences to create this guide.
Please let me know if you're unlisted!



Sign In
Create Account










