- Mount 10.7 or 10.8 image (the OSX InstallESD.dmg image found within the OSX installation bundle you downloaded from Apple's app store)
- open /Volumes/Mac OS X Install ESD/BaseSystem.dmg
- Run Disk Utility
- select 'Mac OS X Base System' (lower left of Disk Utility window)
- select restore
- select 'Mac OS X Base System' as source (should already be selected)
- select a partition on disk drive or usb thumb drive as destination, where partition has >= 5GB of space
- Click restore button
- Once the restore has been performed, from a terminal window:
rm /Volumes/Mac\ OS\ X\ Base\ System\ 1/System/Installation/Packages cp -R /Volumes/Mac\ OS\ X\ Install\ ESD/Packages /Volumes/Mac\ OS\ X\ Base\ System\ 1/System/Installation cp /Volumes/Mac\ OS\ X\ Install\ ESD/mach_kernel /Volumes/Mac\ OS\ X\ Base\ System\ 1/
Where "/Volumes/Mac OS X Base System 1/" is the name assigned to your newly restored thumb drive partition, your name may be different here. - Install current chameleon to your existing osx boot disk, or the partition you just set up above (/Volumes/Mac OS X Base System 1), or any other disk partition you can boot from. For chameleon, I recommend version 1992 or later (to include OSX 10.8 support and built-in halt/restart support). Current builds are here: http://www.insanelym...howtopic=231075
On the partition you installed chameleon, you will at the very least need netkas's fakesmc Version 4.2 is here:
FakeSMC.4.2.zip 44.78K
101 downloads from https://github.com/C...keSMC/downloadsIf you're using a system with a built-in, non-usb keyboard (for example, a laptop keyboard), VoodooPS2Controller is mandatory as well. Here's the version I built for 10.6 (still works with 10.7):
VoodooPS2.zip 139.69K
378 downloadsInstall fakesmc, VoodooPS2Controller in /Extra/Extensions
You will also need an smbios.plist and org.chameleon.Boot.plist in /Extra
1340 specific example versions of these plists can be found below.
At this point you should be able to boot chameleon, point it to your newly prepared lion install media, and proceed with an install. When you boot lion for the first time after installing, boot again via your new chameleon boot partition. The system should boot without the UseKernelCache=Yes option, and so chameleon will pick up your modded kexts from your existing /Extra partition. At this point you can copy over the modified kexts to /System/Library/Extensions and then add <key>UseKernelCache</key> <string>Yes</string> to your org.chameleon.Boot.plist. With UseKernelCache enabled, the system will boot faster but not pick up kexts from /Extra/Extensions.
Moving on to 1340 specific information...
For the 1340, other components you will need to complete your hackintosh configuration:
- For working battery status, LID close detection, you will need
- A modified DSDT
dsdt.lion.v5.zip 136.52K
325 downloads Use the included script to select which .aml file to install in /Extra (see readme.txt). - My patch fix for AppleACPIPlatform
AppleACPIPlatform.mcp79.v2.2.pkg.zip 46.65K
244 downloads - A battery monitoring kext, such as voodoobattery http://forum.voodoop...hp?topic=1092.0
- A modified DSDT
- smbios.plist and org.chameleon.Boot.plist
plists.v4.zip 858bytes
124 downloads Install these in /Extra
Some notable values
- I've set the product name to MacBookPro5,5. This setting is important if you use the AGPM graphics power level injector described later on.
- I've set SMmemtype; this is the only DIMM memory attribute that is not automatically obtained from the system's SMBIOS (the memory type, speed, etc).
- You need npci=0x2000 under kernel flags to avoid losing console output during boot after the "PCI Configuration begin" message appears.
- As of 10.7, you should have a SystemId defined as the 1340 doesn't have a UUID defined in its SMBIOS and booting hangs for a minute or so without it. I recommend you customize the template value I provided with the output from uuidgen (run from a terminal window).
- PS2RestartFix allows halt&restart to work without a separate kext such as OpenHaltRestart.
To allow chameleon to configure the nvidia graphics, be sure to configure <key>GraphicsEnabler</key><string>Yes</string>.I used to inject nvidia graphics strings in the DSDT but this is no longer necessary, so the current version no longer does. If you're using my current DSDT for 10.7, you must configure these keys to allow chameleon to auto generate the strings instea
- I've set the product name to MacBookPro5,5. This setting is important if you use the AGPM graphics power level injector described later on.
- For bluetooth with HCI, I've written a driver that enables HCI mode, an installer is available here
- For working built-in audio, here is my pkg installer that takes care of all 3 parts to patching AppleHDA
AppleHDA.idt.v3.pkg.zip 21.02K
58 downloads This package installer
- patches the AppleHDA binary codec ID using http://www.insanelym...-for-osx107108/
- updates the new format xml in AppleHDA's Resources directory
- installs HDAIDT in /S/L/E
- patches the AppleHDA binary codec ID using http://www.insanelym...-for-osx107108/
- To fix the CMOS reset issue described in this thread, you must patch AppleRTC.kext. For 10.7, use the patch from post #340:
sudo perl -pi -e 's|\x75\x30\x44\x89\xf8|\xeb\x30\x44\x89\xf8|; s|\x75\x3d\x8b\x75\x08|\xeb\x3d\x8b\x75\x08|' /System/Library/Extensions/AppleRTC.kext/Contents/MacOS/AppleRTC
For 10.8sudo perl -pi -e 's|\x75\x30\x89\xd8|\xeb\x30\x89\xd8|' /System/Library/Extensions/AppleRTC.kext/Contents/MacOS/AppleRTC
- For graphics power throttling (saves roughly 6 watts of power when GPU is idle), use my injector (based upon oleg/king's work): 10.7 version:
9400m_gstate_inject.kext.zip 1.34K
267 downloads 10.8 version:
9400m_gstate_inject.kext.10.8.zip 1.35K
106 downloads



Sign In
Create Account









