1. Download EI Capitan
- Install Mavericks in Virtual machine (How to setup)
- Login your Apple ID, and download the EI capitan from App Store
2. Create Bootable USB
- Follow the Guide UniBeast: Install OS X El Capitan on Any Supported Intel-based PC to create a bootable USB stick of EI Capitan
- Follow this Lenovo T430 - El Capitan to configure the EFI partition of the bootable USB (including replace config.plist, change files in drivers64UEFI folder and move the kexts files ) >- You may need to mount the EFI partition of bootable USB (How to mount a hidden partition) >- Files needed(Where to download, begain with "we need one EFI driver not included in the Clover installer")
3. BIOS Settings & Install EI Capitan
- According to the Guide, disable VT-d, Secure Boot Mode and set UEFI only mode. Moreover turn off the CSM support (Important!) (if you can not enter windows OS after, you should turn CSM on after the competition of OS X installation)
- Follow this to install EI Capitan (the keyboard may be unavailable, plug a USB keyboard. It will take about half an hour. Upon completion, the system will automatically restart)
- Use the USB to boot the computer and choose your new El Capitan installation at Clover screen, then complete OS X user setup
4. Post Configuration
- Change the files of EFI partition insert DSDT & SSDT to /EFI/CLOVER/ACPI/patched replace config.plist to /EFI/CLOVER/ make sure your drivers64UEFI folder inclueds FSInject-64.efi, HFSplus.efi, OsxAptioFixDrv-64.efi, OsxFatBinaryDrv-64.efi.
Use MultiBeast to install Clover to disk and essential kexts
AppleHDARealtekALC269, AppleIntelE1000, FakeSMCThe Ethernet adapter of X230 is Intel(R) 82579LM which could be driven by
AppleIntelE1000e, while the wireless adapter is Intel(R) Centrino(R) Advanced-N 6205 which needs to be replaced.Use Kext Utility to install extra kexts (including
ACPIBatteryManager, BrcmBluetoothInjector, VoodooPS2Controller, EAPD Codec Commander) and repair permissions & update cachesudo touch /System/Library/Extensions && sudo kextcache -u /, then restart maybe twice.(Optional) If you use other wireless adapters, for example AR9285, you just need to configure the
Info.listand then rebuild the kext cache with kext Wizard to make it work. To get the bluetooth to work properly, do the same process as wireless adapters.- wireless adapter info.list configuration (take AR9285 for example): cd to
/System/Library/Extensions/IO80211Family.kextopen the kext, locate/Contents/PlugIns/AirPortAtheros40.kext/Contents/Info.plistfind<key>IONameMatch</key>add a line<string>pci168c,2b</string>in<array>below the<key>IONameMatch</key> - Blurtooth Configuration:
open
/System/Library/Extensions/IOBluetoothFamily.kextopen/Contents/PlugIns/BroadcomBluetoothHostControllerUSBTransport.kext/Contents/Info.plist, findidVenderwhich value equals2652, just change theidProductto your personal ID (mine is 8678) Note: Before the configuration of Info.list, excutesudo chmod 777 Info.list, after the configurationsudo chmod 755 Info.list
- wireless adapter info.list configuration (take AR9285 for example): cd to
DSDT Patch (Where to find)
DSDT was patched:
Layout Fix - 28
IRQ Fix
SMBUS
rename_PCI0.VID_PCI0.IGPU
PNLF_ivy_sandy
battery_Lenovo-X220
HD4000_LowRes
7-series/8-series USB
PN0T FIX
system_OSYS_win8
usb_prw_0x0d_xhc
Note:Replaced the bluetooth kexts with the BrcmBluetoothInjector from RehabMans repo. Sleep works now, even if you close the lid. Patch with usb_prw_0x0d_xhc and code from post #47.To get audio working after sleep, use EAPD Codec Commander - https://github.com/RehabMan/EAPD-Codec-Commander
- Wireless adapters: I use Mi WiFi 1st gen,
- Donload RTUSB_D2870-4.2.9.2_UI-4.0.9.6_2013_11_29.dmg, install USBWireless-Install.pkg, restart.
- Open
\System\Library\Extensions\RT2870USBWirelessDriver.kext\Contents\Info.plist, changes the pid to 16646 and vid to 10007 which is the Mi Wifi's pid and vid. Replace theInfo.list, then restart again - In case control panel of RTUSB_D2870-4.2.9.10_UI-5.0.0.01 does not work, download DWA-125 MAC Driver, install DWA-125 driver, and delete the origin driver, add
MiniTaskUSB-DWA125app to/System/Library/StartupItems/DWA125, then the DWA125 panel will boot with the OS Use Kext Wizard to rebuild the system cache and restart the computer
Install native Power Management for Laptops
you can download the latest Beta of
ssdtPRGen.shby entering the following command in a terminal window:
curl -o ~/ssdtPRGen.sh https://raw.githubusercontent.com/Piker-Alpha/ssdtPRGen.sh/Beta/ssdtPRGen.sh
This will download ssdtPRGen.sh to your home directory (~) and the next step is to change the permissions of the file (add +x) so that it can be run.
chmod +x ~/ssdtPRGen.sh
When it asks if you want to copy to /Extra just respond 'n'. Same for opening ssdt.dsl... respond 'n'.The results are at~/Library/ssdtPRgen/SSDT.aml. Assuming your EFI partition is mounted at/Volumes/EFI, copy that file to EFI partition,/EFI/Clover/ACPI/patched/SSDT.aml
Be aware that hibernation (suspend to disk or S4 sleep) is not supported on hackintosh. You should disable it:
sudo pmset -a hibernatemode 0
sudo rm /var/vm/sleepimage
sudo mkdir /var/vm/sleepimage
For more infomationUpdate OS X
Update El Capitan 10.11.2
Update Clover
Download and Install Update from Appstore
Reboot
5. References
- Main references:
- Booting the OS X installer on LAPTOPS with Clover
- Lenovo T430 - El Capitan
- UniBeast: Install OS X El Capitan on Any Supported Intel-based PC
- install El Capitan on X230
- Install Yosemite on X230
- RehabMans repo
- Mi WiFi for Mac
Common DSDT patches for Ivy/Sandy/Haswell laptops for running OS X
References may be useful for other machine models: