Use MultiBeast to install Clover to disk and essential kexts AppleHDARealtekALC269, AppleIntelE1000, FakeSMC
The 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 cache sudo 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.list
and 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.kext
open the kext, locate/Contents/PlugIns/AirPortAtheros40.kext/Contents/Info.plist
find<key>IONameMatch</key>
add a line<string>pci168c,2b</string>
in<array>
below the<key>IONameMatch</key>
- Blurtooth Configuration: open
/System/Library/Extensions/IOBluetoothFamily.kext
open/Contents/PlugIns/BroadcomBluetoothHostControllerUSBTransport.kext/Contents/Info.plist
, findidVender
which value equals2652
, just change theidProduct
to 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
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
\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 the Info.list
, then restart againMiniTaskUSB-DWA125
app to /System/Library/StartupItems/DWA125
, then the DWA125 panel will boot with the OSUse 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.sh
by 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 infomation
Update OS X
Update El Capitan 10.11.2
Update Clover
Download and Install Update from Appstore
Reboot
Common DSDT patches for Ivy/Sandy/Haswell laptops for running OS X
References may be useful for other machine models:
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.