1. download yosemite via macbook air
2. use a usb cable to connect hard disk to macbook air and just click install yosemite( make sure choose your hard disk as target)
3. install clover on EFI of your disk
make folder 10.10 at /EFI/CLOVER/kexts and put following kexts:
FakeSMC.kext
GenericUSBXHCI.kext (make sure use 10.10 version)
VoodooPS2Controller.kext
config.plist
<?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>ACPI</key>
<dict>
<key>DSDT</key>
<dict>
<key>Debug</key>
<false/>
<key>DropOEM_DSM</key>
<false/>
<key>Fixes</key>
<dict>
<key>DeleteUnused_400000</key>
<true/>
</dict>
<key>Name</key>
<string>DSDT.aml</string>
<key>ReuseFFFF</key>
<false/>
</dict>
<key>SSDT</key>
<dict>
<key>DropOem</key>
<true/>
<key>Generate</key>
<dict>
<key>CStates</key>
<false/>
<key>PStates</key>
<false/>
</dict>
</dict>
</dict>
<key>Boot</key>
<dict>
<key>Arguments</key>
<string>-gux_defer_usb2 kext-dev-mode=1</string>
<key>CustomLogo</key>
<string>Alternate</string>
<key>DefaultVolume</key>
<string>Yosemite HD</string>
<key>Legacy</key>
<string>PBR</string>
<key>Log</key>
<false/>
<key>NeverHibernate</key>
<true/>
<key>Secure</key>
<false/>
<key>Timeout</key>
<integer>5</integer>
<key>XMPDetection</key>
<string>Yes</string>
</dict>
<key>Devices</key>
<dict>
<key>Audio</key>
<dict>
<key>Inject</key>
<string>No</string>
</dict>
<key>FakeID</key>
<dict>
<key>ATI</key>
<string>0x0</string>
<key>IMEI</key>
<string>0x0</string>
<key>IntelGFX</key>
<string>0x04128086</string>
<key>LAN</key>
<string>0x0</string>
<key>NVidia</key>
<string>0x0</string>
<key>SATA</key>
<string>0x0</string>
<key>WIFI</key>
<string>0x0</string>
<key>XHCI</key>
<string>0x0</string>
</dict>
<key>USB</key>
<dict>
<key>AddClockID</key>
<true/>
<key>FixOwnership</key>
<false/>
<key>Inject</key>
<true/>
</dict>
</dict>
<key>DisableDrivers</key>
<array>
<string>CsmVideoDxe</string>
</array>
<key>GUI</key>
<dict>
<key>Custom</key>
<dict>
<key>Entries</key>
<array>
<dict>
<key>CustomLogo</key>
<string>Alternate</string>
<key>Disabled</key>
<false/>
<key>FullTitle</key>
<string>Mac OS X Yosemite</string>
<key>Hotkey</key>
<string>m</string>
<key>Ignore</key>
<false/>
<key>InjectKexts</key>
<true/>
<key>NoCaches</key>
<false/>
<key>Type</key>
<string>OSX</string>
<key>Volume</key>
<string>Yosemite HD</string>
<key>VolumeType</key>
<string>Internal</string>
</dict>
<dict>
<key>Disabled</key>
<false/>
<key>FullTitle</key>
<string>Windows 8.1 Professional</string>
<key>Hotkey</key>
<string>w</string>
<key>Ignore</key>
<false/>
<key>Path</key>
<string>\EFI\Microsoft\Boot\bootmgfw-orig.efi</string>
<key>Type</key>
<string>Windows</string>
<key>VolumeType</key>
<string>Internal</string>
</dict>
<dict>
<key>Disabled</key>
<false/>
<key>FullTitle</key>
<string>UEFI Internal</string>
<key>Hidden</key>
<string>Always</string>
<key>Ignore</key>
<false/>
<key>NoCaches</key>
<false/>
<key>Type</key>
<string>Other</string>
<key>VolumeType</key>
<string>Internal</string>
</dict>
<dict>
<key>Disabled</key>
<false/>
<key>FullTitle</key>
<string>Recovery HD</string>
<key>Hidden</key>
<true/>
<key>Ignore</key>
<false/>
<key>InjectKexts</key>
<true/>
<key>NoCaches</key>
<false/>
<key>Type</key>
<string>OSXRecovery</string>
<key>VolumeType</key>
<string>Internal</string>
</dict>
</array>
</dict>
<key>Language</key>
<string>en:0</string>
<key>Mouse</key>
<dict>
<key>Enabled</key>
<false/>
<key>Mirror</key>
<false/>
</dict>
<key>Scan</key>
<dict>
<key>Entries</key>
<true/>
<key>Legacy</key>
<false/>
<key>Tool</key>
<false/>
</dict>
<key>Theme</key>
<string>thinkpad</string>
</dict>
<key>Graphics</key>
<dict>
<key>Inject</key>
<dict>
<key>ATI</key>
<false/>
<key>Intel</key>
<true/>
<key>NVidia</key>
<false/>
</dict>
<key>ig-platform-id</key>
<string>0x0A260006</string>
</dict>
<key>KernelAndKextPatches</key>
<dict>
<key>AppleRTC</key>
<true/>
<key>KernelPm</key>
<true/>
<key>KextsToPatch</key>
<array>
<dict>
<key>Comment</key>
<string>Fix Bluetooth 30 seconds commandWakeup</string>
<key>Find</key>
<data>
AAAAD4UHAQAA
</data>
<key>Name</key>
<string>IOBluetoothHostControllerUSBTransport</string>
<key>Replace</key>
<data>
AAAAD4QHAQAA
</data>
</dict>
<dict>
<key>Comment</key>
<string>External icons patch</string>
<key>Find</key>
<data>
RXh0ZXJuYWw=
</data>
<key>Name</key>
<string>AppleAHCIPort</string>
<key>Replace</key>
<data>
SW50ZXJuYWw=
</data>
</dict>
<dict>
<key>Comment</key>
<string>HD4600 Fix</string>
<key>Find</key>
<data>
PYaAEgR0EOtd
</data>
<key>Name</key>
<string>AppleIntelHD5000Graphics</string>
<key>Replace</key>
<data>
PYaAFgR0EOtd
</data>
</dict>
<dict>
<key>Comment</key>
<string>Enable Trim on SSD</string>
<key>Find</key>
<data>
QVBQTEUgU1NE
</data>
<key>Name</key>
<string>IOAHCIBlockStorage</string>
<key>Replace</key>
<data>
AAAAAAAAAAAA
</data>
</dict>
<dict>
<key>Comment</key>
<string>Disable ECC Memory in MacPro SMBIOS</string>
<key>Find</key>
<data>
cgoATWFjUHJvNCwxAE1hY1BybzUsMQBY
</data>
<key>Name</key>
<string>AppleTyMCEDriver</string>
<key>Replace</key>
<data>
cgoAAAAAAAAAAAAAAAAAAAAAAAAAAABY
</data>
</dict>
<dict>
<key>Comment</key>
<string>Enable USB3 after wake for Intel 8</string>
<key>Find</key>
<data>
xoDIAAAAAQ==
</data>
<key>Name</key>
<string>AppleUSBXHCI</string>
<key>Replace</key>
<data>
xoDIAAAAAA==
</data>
</dict>
<dict>
<key>Comment</key>
<string>HD4600 Fix</string>
<key>Find</key>
<data>
PYaAEgQ=
</data>
<key>Name</key>
<string>AppleFramebufferAzul</string>
<key>Replace</key>
<data>
PYaAFgQ=
</data>
</dict>
</array>
</dict>
<key>SMBIOS</key>
<dict>
<key>BiosReleaseDate</key>
<string>10/18/13</string>
<key>BiosVendor</key>
<string>Apple Inc.</string>
<key>BiosVersion</key>
<string>MBP112.88Z.0138.B02.1310181745</string>
<key>Board-ID</key>
<string>Mac-3CBD00234E554E41</string>
<key>BoardManufacturer</key>
<string>Apple Inc.</string>
<key>BoardType</key>
<integer>10</integer>
<key>ChassisAssetTag</key>
<string>MacBook-Aluminum</string>
<key>ChassisManufacturer</key>
<string>Apple Inc.</string>
<key>ChassisType</key>
<string>08</string>
<key>Family</key>
<string>MacBook Pro</string>
<key>Manufacturer</key>
<string>Apple Inc.</string>
<key>Mobile</key>
<true/>
<key>ProductName</key>
<string>MacBookPro11,2</string>
<key>SerialNumber</key>
<string>C02LV67QFD56</string>
<key>Trust</key>
<false/>
<key>Version</key>
<string>1.0</string>
</dict>
<key>SystemParameters</key>
<dict>
<key>InjectKexts</key>
<string>Detect</string>
<key>InjectSystemID</key>
<false/>
</dict>
</dict>
</plist>
4. make an ubuntu live-cd usb stick, boot with it and copy all acpi binary files at /sys/firmware/acpi/tables
5. use your macbook to decompile: iasl -da DSDT SSDT* dynamic/SSDT*
(iasl:
https://github.com/RehabMan/acpica)
only ssdt2, ssdt6, ssdt9 are useful.
rename ssdt to clover format, for example: SSDT2 to SSDT-2
generate SSDT via script:
https://raw.githubusercontent.com/Piker-Alpha/ssdtPRGen.sh/master/ssdtPRGen.sh
./ssdtPRGen.sh
n
n
it will generate bin/src on your desktop.
modify ssdt.asl, replace _SB to _PR
save your dsdt & ssdt(s) (DSDT, SSDT-2, SSDT-6, SSDT-9) to binary and place them at /EFI/CLOVER/ACPI/patched
6. patch your ssdt & dsdt
patch via tool:
https://bitbucket.org/RehabMan/os-x-maciasl-patchmatic/downloads/RehabMan-MaciASL-2014-1019.zip
add source:
https://github.com/RehabMan/Laptop-DSDT-Patch at this tool
1) apply "7-series/8-series USB"
2) apply "Haswell LPC"
3) apply "Rename PCIO.VID to PCIO.IGPU"
4) apply "Fix Mutex with non-zero SyncLevel"
5) apply "Lenovo T440p"
6) apply the following code:
into method label _Q15 replace_content
begin
// Brightness Down\n
Notify(\_SB.PCI0.LPC.KBD, 0x0205)\n
Notify(\_SB.PCI0.LPC.KBD, 0x0285)\n
end;
into method label _Q14 replace_content
begin
// Brightness Up\n
Notify(\_SB.PCI0.LPC.KBD, 0x0206)\n
Notify(\_SB.PCI0.LPC.KBD, 0x0286)\n
end;
7) apply common patches: "IRQ Fix", "SMBUS Fix", "OS Check Fix", "HPET Fix", "Fix PNOT/PPNT", "Add IMEI”, “Shutdown Fix 2”, “RTC Fix”, “Fix _WAK arg0 2”, “AC Adapter Fix”
8)apply “Brightness fix (Haswell)” to ssdt-6
PS: if patch “Fix PNOT/PPNT” error then ignore it!
7. install kexts
VoodooPS2Controler.kext:
https://github.com/RehabMan/OS-X-Voodoo-PS2-Controller
GenericUSBXHCI.kext:
https://github.com/RehabMan/OS-X-Generic-USB3
ACPIBatteryManager.kext:
https://github.com/RehabMan/OS-X-ACPI-Battery-Driver
ACPIBacklight.kext:
https://github.com/RehabMan/OS-X-ACPI-Backlight
i use EDUP EP-N8508GS usb wifi, if you are same, download it:
http://www.edup.cn/dl/rtl8188cus/mac108.rar
i made a bluetooth driver:
View attachment YekkiBluetoothInjector.kext.zip
it should be ok!