V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Rorysky
V2EX  ›  Apple

Install EI Capitan on Thinkpad X230 from scratch for testing purpose only

  •  
  •   Rorysky · 2015-12-20 21:09:41 +08:00 · 3344 次点击
    这是一个创建于 3261 天前的主题,其中的信息可能已经有所发展或是发生改变。

    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

    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, 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, find idVender which value equals 2652, just change the idProduct to your personal ID (mine is 8678) Note: Before the configuration of Info.list, excute sudo chmod 777 Info.list, after the configuration sudo 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

    • 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 the Info.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.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

    5. References

    8 条回复    2015-12-21 09:00:48 +08:00
    20015jjw
        1
    20015jjw  
       2015-12-20 21:16:13 +08:00
    网卡得自己换才行吧 笔记本 hackintosh 一直不是特别完美 只搞台式机..
    Rorysky
        2
    Rorysky  
    OP
       2015-12-20 21:18:34 +08:00
    @20015jjw 各种 usb 网卡 可用,发这个好担心,一不小心万一又把我拉进小黑屋了。。。

    我用 小米随身 wifi 上面有写

    特意标注 for testing purpose only...for testing purpose only...
    lsmgeb89
        3
    lsmgeb89  
       2015-12-20 21:25:38 +08:00
    相当的折腾
    Cavolo
        4
    Cavolo  
       2015-12-20 22:35:02 +08:00
    @20015jjw 台式机也不完美, icloud ,查找我的 mac 照样不能开,更新一次提心吊胆,所以还是白的靠谱
    pandachow
        5
    pandachow  
       2015-12-20 22:51:26 +08:00
    @Cavolo 台式机选对了配件就好弄。 iCloud , App Store ,声显网卡均完美。
    Rorysky
        6
    Rorysky  
    OP
       2015-12-21 00:00:22 +08:00 via Android
    @lsmgeb89 还行就看了十几个帖子

    @Cavolo 台式机更方便,文档内核扩展什么的都很全, tonymac 主推台式机 macx86
    Tink
        7
    Tink  
       2015-12-21 02:20:45 +08:00
    @Cavolo 台式机 icloud 和 find my mac 是完美的啊
    pH
        8
    pH  
       2015-12-21 09:00:48 +08:00
    为啥会被小黑屋=-=
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2802 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 08:35 · PVG 16:35 · LAX 00:35 · JFK 03:35
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.