johnrey Posted November 23, 2015 Share Posted November 23, 2015 OS X 10.11 El Capitan UEFI Clover on Sony VAIO S PLEASE REFER TO THE GUIDE. I WILL NOT ANSWER QUESTIONS IF ALREADY ANSWERED IN THE GUIDE!BY FOLLOWING THIS GUIDE YOU AGREE TO TAKE THE RISKS AND RESPONSIBILITIES OF LOSING DATA. ALWAYS BACKUP! This guide will give you step-by-step instructions on How to Install OS X 10.11 El Capitan on Sony VAIO SVS13. It will actually work with different VAIO models and with older OS X versions, too. You can refer to other guides, for example [GUIDE] Install Mavericks/Yosemite on Sony VAIO S (2012) -and other UEFI capable VAIOs- by midi ッ. Sony VAIO S13p (SVS13A2C5E) Specs: Intel Core i7-3520M 12GB SDRAM Intel HD Graphics 4000 NVIDIA GeForce GT 640M Samsung 850 Evo 250GB What's working? Intel HD4000 Graphics with QE/CI Acceleration HDMI Sound (Speakers, Microphone, Headphone Jack, HDMI, USB) Keyboard, Touchpad USB 2.0/3.0 Webcam Optical Drive Ethernet Bluetooth (Intel) Brightness Power button Sleep/Wake UEFI/NVRAM *WiFi (Broadcom/Atheros)*Airport Extreme 2,4GHz/5GHz*802.11ac/n/g/b/a *Bluetooth (Broadcom/Atheros)*Airdrop*Handoff & Hotspot with BT4LE What's partially working? BluetoothIntel BT worked OOB but does not feature Handoff since it's not a BT4LE.Replace your chip with an Atheros or Broadcom one. WebcamSince the Exmor sensor built in is not the best, you get a dark image in OS X. Windows uses software/drivers to increase the brightness. What's not working? Intel WiFiApple doesn't use Intel WiFi.Replace your chip with an Atheros or Broadcom one. Discrete graphics cardNVIDIA GeForce 640M uses NVIDIA Optimus for dual-configuration which is not supported the same way on OS X. VGAApple removed this feature in OS X 10.8.3 Mountain Lion SD-Card/Memory Stick Reader (no drivers for OS X) Speed/Stamina switch Fingerprint sensor (no drivers for OS X) Disc Eject/Assist/Web/VAIO buttons You need… ... an empty USB flash drive or an external hard drive (8gb at least) ... a Mac or a virtual machine with OS X (10.6.8 or later) On your Mac/OS X VM Download OS X 10.11 El Capitan from the App Store Create the OS X Installer You can actually create the OS X installer on the (external) hard drive but to keep things simple from now on I will refer to ‚USB‘. IF YOU HAVE IMPORTANT DATA ON YOUR USB, PLEASE MAKE A BACKUP! THE USB WILL BE FORMATTED AND EVERYTHING WILL BE DELETED! You can create the USB with either a MBR or a GPT partition scheme. If you select MBR, you will have to manually create a FAT partition for CLOVER EFI and a separate HFS+J partition for the OS X Installer. With GPT you just need 1 HFS+J partition and Disk Utility creates a hidden EFI partition. Since we will use this USB with a UEFI system, we can use GPT. On legacy system you need a MBR USB. Create Partition(s) on USB Open Disk Utility under /Applications/Utilities. Select the USB. Click on the Partition tab. Click on Partition Layout > 1 partition. Click on Options. Select GUID Partition Table. Apply with OK. Under Format select Mac OS Extended (Journaled). Under Name rename the partition to „install_osx“. Click on Apply. Click on Partition. When it’s finished creating the USB partition(s) close Disk Utility. Make OS X Installer on USB*1 Open Terminal and type this command, then press Enter:sudo /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia --volume /Volumes/install_osx --applicationpath /Applications/Install\ OS\ X\ El\ Capitan.app --nointeraction You need a password for this command*2. Type your password and press Enter.This process can take several minutes, depending on the USB write speed. Mine took 5 minutes to finish. Close Terminal. You now have a OS X installer for real Macs. We need the Clover bootloader to actually boot the OS X Installer on a non-Mac system. *1 The createinstallmedia method is not supported under OS X 10.6 Snow Leopard. Use alternative methods.*2 If you don't have a password (blank), you need to set one under System Preferences > User & Groups > Change Password Install Clover to USB Download Clover EFI bootloader. http://sourceforge.net/projects/cloverefiboot/ Open the Clover installer package. Click on Continue, Continue. Click on Change Install Location. Select your USB drive now called ‚Install OS X El Capitan’. Don't select the internal Hard Drive on your real Mac/VM! Click on Continue. Click on Customize. Check ‚Install for UEFI booting only‘. ‚Install Clover in the ESP‘ will be selected automatically and installed to the hidden EFI partition. Under Drivers64UEFI check ‚OsxAptioFixDrv2-64‘. Optional: Install BlueMac under Themes. Click on Install. Type your password. Click on Install Software. When it’s finished, press Close. Since the EFI partition is hidden, we need to mount it to copy some files. But the Clover installer already mounted it.*3 Go to the EFI partition (on your Desktop). Open the folder /EFI/CLOVER/drivers64UEFI Delete VBoxHFS.efi Download HFSPlus.efi https://github.com/JrCs/CloverGrowerPro/blob/master/Files/HFSPlus/X64/HFSPlus.efi?raw=true Copy HFSPlus.efi to /EFI/CLOVER/drivers64UEFI Go to the folder /EFI/CLOVER/kexts Delete all the folders inside /EFI/CLOVER/kexts except for ‚Other‘. Download FakeSMC https://bitbucket.org/RehabMan/os-x-fakesmc-kozlek/downloads Copy FakeSMC.kext to /EFI/CLOVER/kexts/Other Download VoodooPS2Controller https://bitbucket.org/RehabMan/os-x-voodoo-ps2-controller/downloads Copy VoodooPS2Controller.kext (Release) to /EFI/CLOVER/kexts/Other Download RealtekRTL8111.kext. https://bitbucket.org/RehabMan/os-x-realtek-network/downloads Copy RealtekRTL8111.kext to /EFI/CLOVER/kexts/Other If you have a RAID configuration, you will need HPRAIDInjector.kextDownload HPRAIDInjector.kextCopy HPRAIDInjector.kext to /EFI/CLOVER/kexts/Other Download a config.plist for your system with appropriate frame buffer for your display resolution.1366x768 config_HD4000_1366x768.plist1600x900/1920x1080 config_HD4000_1600x900.plist To download, select File > Save As Under Format select Page Source. Select Desktop as your location. Click Save. Click Don’t Append. Rename the config file on your desktop to ‚config.plist‘. Copy config.plist from your Desktop to /EFI/CLOVER and replace the default one. Make a backup of your /EFI/CLOVER folder to the other USB partition (‚Install OS X El Capitain‘). You’ll need it later. Create a folder for that. Eject the EFI partition. Eject the USB. *3 If you unmounted/ejected the EFI partition of the USB, read the Mouning EFI section under Post Installation of this guide. On the Sony VAIO S BACKUP ALL YOUR IMPORTANT DATA BEFORE PROCEEDING. THE HARD DRIVE WILL BE FORMATTED AND EVERYTHING WILL BE DELETED! BIOS Settings Shut down your laptop. Press the Assist button. Press F2 to boot into BIOS. Restore default settings under the Exit tab. Make sure ‚UEFI‘ is on. Make sure ‚Booting from external device‘ is on.*4 Save settings. Shut down your laptop.*4 This option External Device Boot applies when you set the external device to first boot priority. it doesn't affect pressing F11 to boot from External Device. Boot the OS X Installer Plug in your USB into a USB 3 port. The USB 2 port will not work without GenericXHCI (GenericXHCI does not work in OS X 10.11 El Capitan anyway). Press the Assist button. Press F11 to boot from external device.*5 Press ENTER to boot the OS X Installer. *5 If you have set the External Device as first Boot Priority you don't have to boot from Rescue Mode (Assist Button). Just connect the USB and boot your Laptop. Installing OS X El Capitan Select language. Continue. Launch Disk Utility. Erase your hard disk. Rename your partition and apply. Exit Disk Utility. Install OS X. Continue. Select your hard drive partition. Install.This process creates the Recovery partition.After a while the OS X Installer will automatically restart and beging the real installation.The real installation can take several minutes, depending on read/write speeds.When it’s finished you will again boot into your USB’s Clover Menu. Select your partition in Clover Boot Menu and boot into OS X. Configure OS X. Installing Clover to the Hard Drive To boot without USB you need to install Clover again - this time your Hard Drive. It’s a similar process to installing it to USB. Download Clover EFI bootloader. http://sourceforge.net/projects/cloverefiboot/ Open the Clover installer package. Click on Continue, Continue. Click on Change Install Location. Select your Hard Drive partition. Continue. Don't select your USB. Click on Customize. Check ‚Install for UEFI booting only‘. ‚Install Clover in the ESP‘ will be selected automatically. Under Drivers64UEFI check ‚OsxAptioFixDrv2-64‘. Check ‚Install RC scripts on target volume‘ (Optional) Check ‚Install Clover Preference Pane‘ Click on Install. When it’s finished, press Close. Enable ‚Hard disks’ under Finder > Preferences > General > Show these items on the desktop. You can disable it later. Open the folder /EFI/CLOVER/drivers64UEFI Delete VBoxHFS.efi Open your USB drive. Copy the contents of the EFI-backup to EFI partition of your hard drive. Replace the files. Open the folder /EFI/CLOVER/kexts. Rename ‚Other‘ to ‚10.11‘. Restart your laptop without the USB and boot into OS X. Post Installation Mounting EFI Whenever you install something to the EFI partition, you will need to first mount it. Download Clover Configurator. https://dl.dropboxusercontent.com/u/182149214/cloverconf/app/10.10/CCV.zip Launch Clover Configurator. Mount EFI partition. Select diskXsY for your hard drive. Patching DSDT & SSDTs Extracting native ACPI files Boot into Clover bootloader menu. Press F4 on your keyboard. This will dump your native DSDT/SSDT files to /EFI/CLOVER/ACPI/origin. You will get no feedback. Proceed. Boot into OS X. Mount EFI. Patching ACPI files Download MaciASL. http://sourceforge.net/projects/maciasl/ Launch MaciASL. Go to MaciASL > Preferences > iASL. Set ACPI 5.1 under Compiler Options > ACPI Specifications. I created an automated terminal command to patch your DSDT/SSDTs. Either follow this method or the manual way. Automatic Patching with Terminal Download iasl https://bitbucket.org/RehabMan/acpica/downloads Download patchmatic https://bitbucket.org/RehabMan/os-x-maciasl-patchmatic/downloads Download RehabMan’s Laptop DSDT patches repo https://github.com/RehabMan/Laptop-DSDT-Patch/archive/master.zip Open Terminal and enter this command:sudo -sThis will give sudo rights to perform the following actions automatically. Copy and paste this code into your Terminal window:cp ~/Downloads/iasl /usr/bin cp ~/Downloads/patchmatic /usr/bin cp -r /Volumes/EFI/EFI/CLOVER/ACPI/origin ~/Desktop/origin cd ~/Desktop rm -r ACPI mv origin ACPI cp -r ~/Downloads/Laptop-DSDT-Patch-master ~/Desktop/ACPI/patches-master cd ACPI rm APIC.aml rm ASF\!.aml rm ASPT.aml rm BGRT.aml rm BOOT.aml rm DBGP.aml rm FACP.aml rm FACS.aml rm FPDT.aml rm HPET.aml rm MCFG.aml rm MSDM.aml rm RSDP.aml rm RSDT.aml rm TCPA.aml rm UEFI.aml rm WDAT.aml rm XSDT.aml sleep 10 iasl -da -dl *.aml patchmatic DSDT.dsl patches-master/system/system_WAK2.txt DSDT.dsl patchmatic DSDT.dsl patches-master/system/system_HPET.txt DSDT.dsl patchmatic DSDT.dsl patches-master/system/system_SMBUS.txt DSDT.dsl patchmatic DSDT.dsl patches-master/system/system_IRQ.txt DSDT.dsl patchmatic DSDT.dsl patches-master/system/system_RTC.txt DSDT.dsl patchmatic DSDT.dsl patches-master/system/system_OSYS_win8.txt DSDT.dsl patchmatic DSDT.dsl patches-master/system/system_Mutex.txt DSDT.dsl patchmatic DSDT.dsl patches-master/system/system_IMEI.txt DSDT.dsl patchmatic DSDT.dsl patches-master/graphics/graphics_Rename-GFX0.txt DSDT.dsl patchmatic DSDT.dsl patches-master/graphics/graphics_PNLF_ivy_sandy.txt DSDT.dsl patchmatic DSDT.dsl patches-master/usb/usb_7-series.txt DSDT.dsl patchmatic DSDT.dsl patches-master/battery/battery_Sony-VAIO-S.txt DSDT.dsl patchmatic SSDT-2.dsl patches-master/syntax/fix_PSS.txt SSDT-2.dsl sleep 10 rm SSDT-0.dsl rm SSDT-1.dsl rm SSDT-3.dsl rm SSDT-7.dsl rm *x.aml rm *x.dsl rm DSDT.aml rm SSDT-2.aml rm -r patches-master rm DumpLog.txt exit exit #Finished. Now follow guide You should get a folder that looks like this. The dsl files are the ones that were patched and need to be compiled to aml files. Manual Way Create a folder called ACPI on your Desktop. Copy all the files inside /EFI/CLOVER/ACPI/origin to Desktop/ACPI. Launch MaciASL. Add RehabMan’s Laptop Repo to Preferences > Sources. http://raw.github.com/RehabMan/Laptop-DSDT-Patch/master Open ACPI on your Desktop. Patch DSDT.dsl with the following patches:[sys] Fix _WAK Arg0 v2[sys] HPET Fix[sys] SMBUS Fix[sys] IRQ Fix[sys] RTC Fix[sys] OS Check Fix [sys] Fix Mutex with non-zero SyncLevel[sys] Add IMEI[igpu] Rename GFX0 to IGPU[igpu] Brightness Fix (HD3000/HD4000)[usb] USB 7-series/8-series [bat] VAIO SVS Battery Patch SSDT-2.dsl with the following patch:[syn] Remove _PSS placeholders Compiling ACPI files Open DSDT.dsl in MaciASL. Save as ACPI Machine Language Binary (aml) „DSDT.aml“. Open SSDT-2.dsl in MaciASL. Save as ACPI Machine Language Binary (aml) „SSDT-2.aml“. Including patched ACPI files in Clover Use this Terminal command or follow the manual way: Automatic with Terminal Open a Terminal window and type:sudo -s Type this command to include the DSDT/SSDTs in Clover:cd Desktop/ACPI rm DSDT.dsl rm SSDT-2.dsl cp DSDT.aml /Volumes/EFI/EFI/CLOVER/ACPI/patched cp SSDT-0.aml /Volumes/EFI/EFI/CLOVER/ACPI/patched cp SSDT-1.aml /Volumes/EFI/EFI/CLOVER/ACPI/patched cp SSDT-2.aml /Volumes/EFI/EFI/CLOVER/ACPI/patched cp SSDT-3.aml /Volumes/EFI/EFI/CLOVER/ACPI/patched cp SSDT-7.aml /Volumes/EFI/EFI/CLOVER/ACPI/patched cd .. rm -r ACPI Manual way: Copy DSDT.aml, SSDT-0.aml, SSDT-1.aml, SSDT-2.aml, SSDT-3.aml and SSDT-7.aml to /EFI/CLOVER/ACPI/patched. Don’t copy the dynamic SSDTs (this with ‚x‘ at the end of the name). SSDT/Power Management Use ssdtPRGen to create a SSDT for your system. https://github.com/P...ha/ssdtPRGen.sh Open Terminal and type: curl -o ~/ssdtPRGen.sh https://raw.githubusercontent.com/Piker-Alpha/ssdtPRGen.sh/master/ssdtPRGen.sh chmod +x ~/ssdtPRGen.sh Type this command to generate an SSDT for your system:~/ssdtPRGen.sh Including created SSDT in Clover Use this Terminal command or follow the manual way: Automatic with Terminal Open a Terminal window and type:sudo -s Type this command to include the SSDT in Clover:cp ~/Library/ssdtPRGen/SSDT.aml /Volumes/EFI/EFI/CLOVER/ACPI/patched Manual way: Open a new Finder window. Press Shift+Command+G to navigate to a specific folder. Type „~/Library/ssdtPRGen“ and enter. Copy the SSDT.aml file inside ~/Library/ssdtPRGen to /EFI/CLOVER/ACPI/patched Restart. Power Management Verification Download ApplteIntelInfo.kext (built by pokenguyen #284 Verify Speedsteps in terminal:cd ~/Downloads sudo chown -R root:wheel ./AppleIntelInfo.kext sudo chmod -R 755 ./AppleIntelInfo.kext sudo kextload AppleIntelInfo.kext cat /var/log/system.log | grep "AICPUPMI:" sudo kextunload AppleIntelInfo.kext Sleep/Wake Real Macs use Hibernation Mode. You need to deactivate hibernation mode. Open a Terminal window. Type these commands and enter:sudo pmset -a hibernatemode 0 sudo rm /var/vm/sleepimage sudo mkdir /var/vm/sleepimage Backlight The backlight patch and kext in OS X El Capitan has changed. If you use an older DSDT with patches already applied, you need to re-apply the backlight patches. Download ACPIBacklight.kext https://bitbucket.org/RehabMan/os-x-acpi-backlight/downloads Copy ACPIBacklight.kext to /EFI/CLOVER/kexts/10.11 Battery Download ACPIBatteryManager.kext https://bitbucket.org/RehabMan/os-x-acpi-battery-driver/downloads Copy ACPIBatteryManager.kext to /EFI/CLOVER/kexts/10.11 USB USB in El Capitan has significantly changed. We can no longer use GenericXHCI or USB 3 Multiplex patch. Download FakePCIID_XHCIMux.kext https://bitbucket.org/RehabMan/os-x-fake-pci-id/downloads Copy FakePCIID_XHCIMux.kext and FakePCIID.kext to /EFI/CLOVER/kexts/10.11 Clover method: Open Clover Configurator. Mount EFI. Open config.plist Under ACPI section add these DSDT patches:Comment: Rename EHC1 to EH01 Find: 45484331 Replace: 45483031 Comment: Rename EHC2 to EH02 Find: 45484332Replace: 45483032 DSDT patch method: #Code from Rehabman's Lenovo U430 patch repo. # rename EHC1 to EH01 into device label EHC1 set_label begin EH01 end; into_all all code_regex EHC1\. replaceall_matched begin EH01. end; into_all all code_regex \.EHC1, replaceall_matched begin .EH01, end; # rename EHC2 to EH02 into device label EHC2 set_label begin EH02 end; into_all all code_regex EHC2\. replaceall_matched begin EH02. end; into_all all code_regex \.EHC2, replaceall_matched begin .EH02, end; Audio Download KextUtility. http://cvad-mac.narod.ru/index/0-4 Download DummyHDA.kext. https://www.dropbox.com/sh/u22fjjv499gax1u/AABuJriY_0xEA4fBmIswAFYka?dl=1 Install DummyHDA.kext with KextUtility. DummyHDA only works in /System/Library/Extensions Download CodecCommander.kext. https://bitbucket.org/RehabMan/os-x-eapd-codec-commander/downloads Install CodecCommander.kext with KextUtility. CodecCommanders (in OS X 10.11 El Capitan) only works in /System/Library/Extensions Add these patches to Clover under Kernel and Kext patches section:Name: AppleHDA Find: 8508EC10 Replace: 00000000 Comment: AppleHDA #1 of 3 Name: AppleHDA Find: 8419D411 Replace: 7502EC10 Comment: AppleHDA #2 of 3 AppleHDA #3 of 3 is not necessary in El Capitan anymore. It’s only for Yosemite/Mavericks. Name: AppleHDA Find: 8408EC10 Replace: 00000000 Comment: AppleHDA #3 of 3 In El Capitan there is a new codec 0x11D41983 which must not be loaded. Otherwise AppleHDA has no sound output. Name: AppleHDA Find: 8319D411 Replace: 00000000 Comment: Disable the new codec 0x11D41983 (El Capitan) Under Devices in Clover use Audio Layout 3. Additional steps after OS X 10.11.4: Copy DummyHDA.kext from System/Library/Extensions to your Desktop. Right click on DummyHDA.kext and Show package content. Open the file Info.plist inside the folder Contents with a Text Editor. Search these lines: <key>OSBundleLibraries</key> <dict> Add this below the lines: <key>com.apple.iokit.IOPCIFamily</key> <string>1.1</string> <key>com.apple.iokit.IOACPIFamily</key> <string>1.2.0a1</string> Save and exit. Install DummyHDA.kext with KextUtlity. Rebuild Cache for Audio.*6 *6 Necessary if even after a reboot there is no sound. Look at Tuning/Tips section at the end of this guide. HDMI Depending on the IGPlatform ID you use, you may already have partial HDMI output.If you use IGP=3, you already have HDMI video but no audio. IGP=4 has no HDMI at all. Add these patches to Clover under Kernel and Kext patches section:Name: AppleIntelFramebufferCapri Find: 020500000004000007040000 Replace: 020500000008000006000000 Comment: HDMI-audio HD4000, port 0205 Name: AppleIntelFramebufferCapri Find: 030400000004000081000000 Replace: 030400000008000006000000 Comment: HDMI-audio HD4000, port 0304 Name: AppleIntelFramebufferCapri Find: 040600000004000081000000 Replace: 040600000008000006000000 Comment: HDMI-audio HD4000, port 0406 For HDMI-Video on IGP=4 you’ll need additional patches: Name: AppleIntelFramebufferCapri Find: 040066010103010100000002 Replace: 040066010102040200000004 Comment: HDMI-video, 64MB BIOS, HD4000 0x01660004 #1 of 2 Name: AppleIntelFramebufferCapri Find: 00200000000000001000000400000000000000001000000400000000000000001000000400000000000000000000000 Replace: 300200000205000000040000070400000304000000040000810000000406000000040000810000000000000000020011 Comment: HDMI-video, 64MB BIOS, HD4000 0x01660004 #2 of 2 Under Clover > Devices check ‚UseIntelHDMI‘. Restart. You may have to rebuild cache. Check "Rebuild Cache (for AppleHDA)" under Tuning & Tips section. WiFi & Bluetooth The Intel Wireless Card is not compatible with OS X. Only Bluetooth will partially work. Replace it with a compatible one. Atheros AR5B195 For compatible Atheros cards download toledaARPT. https://github.com/toleda/wireless_half-mini/blob/master/Deprecated%20Files/airport_kext_enabler/toledaARPT.kext.zip?raw=trueThis method is deprecated. If you wish to use a new method, follow the Airport - PCIe Half Mini guide http://www.insanelymac.com/forum/topic/292542-airport-pcie-half-mini/ For Bluetooth download and install IOath3kfrmwr.kext. https://bitbucket.org/RehabMan/os-x-atheros-3k-firmware/downloads Broadcom BCM94352 HMB (AzureWave AW-CE123H) For BCM94352 download FakePCIID_BCM94352Z_as_BCM94360CS2.kext or Broadcom.kext (2015-11-02 and later versions) Copy FakePCIID_BCM94352Z_as_BCM94360CS2.kext or Broadcom.kext to /EFI/CLOVER/kexts/10.11 Restart. Bluetooth/Handoff Patch Name: IOBluetoothFamily Find: 4885FF7447488B07 Replace: 41BE0F000000EB44 Comment: 10.11 BT4LE Handoff Hotspot 5GHz AirPort Patch Select only one patch appropriate for your country. Name: AirPortBrcm4360 Find: 4183FCFF742C48 Replace: 66C7065553EB2B Comment: 10.11-BCM94352-5GHz-US-FCC-dv Name: AirPortBrcm4360 Find: 58 54 00 25 18 2B 21 00 20 Replace: 58 54 08 0A 32 1B 43 00 0A Comment: 5 GHz Fix for BCM94352HMB with XT country Name: AirPortBrcm4360 Find: 4183FCFF742C48 Replace: 66C7064445EB2B Comment: 10.11-BCM94352-5GHz-de You can change the country code as you like. Read this post to. #329 Tuning & Tips Bootscreen Glitch Fix Name: IOGraphicsFamily Find: 0100007517 Replace: 010000EB17 Comment: OS X10.10.x/10.11.x Boot graphics glitch Alternative patch: Name: IOGraphicsFamily Find: 0100007517 Replace: 0100007417 Comment: OS X 10.11 Second Stage Boot Glitch fix SSD TRIM If you have an SSD, be sure to enable TRIM. SSHD doesn't count as an SSD. See below. Clover method Name: IOAHCIBlockStorage Find: 004150504C452053534400 Replace: 0000000000000000000000 Comment: Enable TRIM for SSD Terminal method In OS X 10.10.4 and later you can enable TRIM by using this Terminal command: sudo trimforce enable Verify under System Information SSD Check TRIM Support: YesSSHD As you can see, it's not like the SSD above. It (Seagate SSHD 500GB) uses an HDD and has it own access to the SSD inside. The controller probably has TRIM support. No need for TRIM patch for SSHD. TurboDisable/DisableTurboBoostBattery.kext (deprecated) This kext will increase battery life by disabling TurboBoost speeds on battery. Increases battery life by disabling TurboBoost speeds on battery. Since Clover Rev. 3350 there is an option TurboDisable. You can find it in CloverConfigurator 4.28.0+ under CPU Section. Rebuild Cache (for AppleHDA) Boot into Clover Press Spacebar. Boot without Caches. Run KextUtility. Reboot. Modding VoodooPS2Controller - Keyboard - ISO Layout - Open VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Keyboard.kext/Contents/Info.plist Change <key>Use ISO layout keyboard</key> from <false/> to <true/> - Keyboard - Swipe Left/Right - For Swipe Left/Right the VoodoPS2Controller uses Ctrl + Command + Left/Right. Yes, you can configure the shortcuts in System Prefences to perform swipes as you wish but as a Wacom Tablet user, when I connect it my laptop, the shortcuts used are the standard ones (Ctrl+Left/Right).The 2nd patch swaps the left and right buttons. They are reversed in VoodooPS2Controller. Open VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Keyboard.kext/Contents/Info.plist Remove „37 d, „ and „, 37 u“ under <key>ActionSwipeLeft</key> and <key>ActionSwipeRight</key>. Swap „7c“ with „7b“ under <key>ActionSwipeLeft</key> and <key>ActionSwipeRight</key>. - Trackpad - Drag Exit Delay - I find the Drag Exit Delay too long, so I changed the integer for that to a lower number. Open VoodooPS2Controller.kext/Contents/Plugins/VoodooTrackpad.kext/Contents/Info.plist Change <integer>1000000000</integer> under <key>DragExitDelayTime</key> to <integer>400000000</integer> (or a different value - a higher number results in longer drag delay) Sources http://www.insanelymac.com/forum/topic/282787-clover-v2-instructions Booting the OS X installer on LAPTOPS with Clover - Guide by RehabMan 10.11+ USB changes and solutions - Guide by RehabMan[Fix] 10.11.4 broken audio with AppleHDA injector (dummyHDA) - Guide by RehabManhttp://www.insanelymac.com/forum/topic/295587-power-management-for-sandyivy-bridgehaswell-cpus/ http://www.insanelymac.com/forum/topic/292542-airport-pcie-half-mini Updated: 19:08 Tuesday May 10, 2016 11 Link to comment Share on other sites More sharing options...
peppershaker Posted November 23, 2015 Share Posted November 23, 2015 dude, this is the best guide I've ever read. "[sys] OS Check Fix" can you specify which one? Windows 7 , 8 , or Vista? or does it not matter. If I'm only running OSX, do I still need this patch? "curl -o ~/ssdtPRGen.sh https://raw.githubusercontent.com/Piker-Alpha/ssdtPRGen.sh/master/ssdtPRGen.sh"needs to be in code format, the site is shortening the url so copy/past will result in error. also, for manual copying over ssdt/dsdt you missed the dsdt 1 Link to comment Share on other sites More sharing options...
johnrey Posted November 23, 2015 Author Share Posted November 23, 2015 dude, this is the best guide I've ever read. "[sys] OS Check Fix" can you specify which one? Windows 7 , 8 , or Vista? or does it not matter. If I'm only running OSX, do I still need this patch? The OS Check Fix has nothing to do with your Windows installation. It makes the DSDT perform certain actions when recognizing a Windows version. On some systems, the battery node for example is dependent on the Windows version, etc. I have used Windows 7 and on another occasion Windows 8 OS Check Fix. You can try different versions and see what's changing. Link to comment Share on other sites More sharing options...
peppershaker Posted November 23, 2015 Share Posted November 23, 2015 So i am now finally able to put the machine to sleep, however, upon wake, i loose audio. I copied CodecCommaner to S/L/E and still not fixing the problem. I left out OS Check Fix in the dsdt patch. do you think that's the problem? Link to comment Share on other sites More sharing options...
cloud1250000 Posted November 23, 2015 Share Posted November 23, 2015 Hi !! Nice to see your guide! I'll attempt it once I receive my Samsung 500gb evo 850. I'll make sure to give you proper feed back once I'm done 1 Link to comment Share on other sites More sharing options...
midi-sama Posted November 23, 2015 Share Posted November 23, 2015 Great Guide Just for correction: sudo touch /var/vm/sleepimage It's a file not a folder And for trim: use terminal and type : sudo trimforce enable Then leave it for a while it will reboot the system and enable trim without the clover patching. 1 Link to comment Share on other sites More sharing options...
johnrey Posted November 23, 2015 Author Share Posted November 23, 2015 Great Guide Just for correction: sudo touch /var/vm/sleepimage It's a file not a folder The command for sleepimage works this way. It's okay for a file, too. Try it. It just doesn't have an extension. To delete a folder you would need to type "sudo rm -r /var/vm/sleepimage". But sudo touch /var/vm/sleepimage/ may work, too. It creates an empty file instead of a folder. The alternative command looks like this: sudo pmset -a hibernatemode 0 sudo rm /var/vm/sleepimage sudo touch /var/vm/sleepimage And for trim: use terminal and type : sudo trimforce enable Then leave it for a while it will reboot the system and enable trim without the clover patching. Yes, I know this method and already used it. It was introduced in OS X 10.10.4. I can't remember if it still works when you multi boot or have an older version of OS X. So i am now finally able to put the machine to sleep, however, upon wake, i loose audio. I copied CodecCommaner to S/L/E and still not fixing the problem. I left out OS Check Fix in the dsdt patch. do you think that's the problem? Try OS Check Fix. It doesn't harm your DSDT. As for Sleep&Wake, I may have forgotten one step. Did you install both AppleHDA/DummyHDA and CodecCommand to S/L/E? Link to comment Share on other sites More sharing options...
midi-sama Posted November 23, 2015 Share Posted November 23, 2015 So i am now finally able to put the machine to sleep, however, upon wake, i loose audio. I copied CodecCommaner to S/L/E and still not fixing the problem. I left out OS Check Fix in the dsdt patch. do you think that's the problem? Try this too, click on the power button as if you gonna put the computer to sleep, usually it takes 20 secs to start the sleep process after that, so just leave the screen black for 10 secs then click on the power button again after that, you should get sound back (make aure the computer doesnt sleep, it's just in the delay time before it starts the sleep process). Link to comment Share on other sites More sharing options...
johnrey Posted November 23, 2015 Author Share Posted November 23, 2015 Try what midi ッ suggests. Let your Laptop sleep (orange blinking LED indicates Sleep, up to 30 seconds delay). Wake it and check Audio. Link to comment Share on other sites More sharing options...
cloud1250000 Posted November 23, 2015 Share Posted November 23, 2015 oh! I was wondering if you managed to disable the nvidia discrete card in osx? Thank you! Link to comment Share on other sites More sharing options...
midi-sama Posted November 23, 2015 Share Posted November 23, 2015 Try what midi ッ suggests. Let your Laptop sleep (orange blinking LED indicates Sleep, up to 30 seconds delay). Wake it and check Audio. Actually it shouldn't let it get to the sleep state, just click on Sleep, the screen will turn off, leave it for 10 secs (the computer should be still awake) then wake it again and press the volume buttons (make sure you check "make a bip on volume change" under sound prefpan). This usually happen when it wakes without a connected headphones (sound always works if headphones are plugged in, from experience, it can change on your device) or when you wake it just after sleep state (like just after the orange led turn on) or when it's a really long time (like overnight ~8 hours). if you leave it for like 2 to 4 or bit more, it doesn't usually happen. Other issues you may encounter: when it wakes, sound is only on speakers, even after attaching headphones, solution: do the same as when you dont have sound. For Nvidia (only if you have the option to disable it in the UEFI Setup): IF YOU MADE YOUR DSDT WHEN IT'S ENABLED, REMAKE ANOTHER ONE AFTER DISABLING IT, YOU WILL GET SLEEP ISSUES IF YOU KEEP THE SAME DSDT (instant reboot after wake, or black screen and iGPU not recognized). That's all @Johnrey, for the GFX0 to iGPU renaming, is it really needed? I tried w/ & w/o and nothing changed (backlight and performances not affected, sleep/wake works fine). Link to comment Share on other sites More sharing options...
johnrey Posted November 23, 2015 Author Share Posted November 23, 2015 oh! I was wondering if you managed to disable the nvidia discrete card in osx? Thank you! There is a way to disable it in OS X but I actually disabled it in UEFI. I don't see any disadvantages as my system is very cool and has longer battery life than in Windows. And to be honest, I think my discrete graphics card is broken. I can't use it in Windows anymore.. Actually it shouldn't let it get to the sleep state, just click on Sleep, the screen will turn off, leave it for 10 secs (the computer should be still awake) then wake it again and press the volume buttons (make sure you check "make a bip on volume change" under sound prefpan). This usually happen when it wakes without a connected headphones (sound always works if headphones are plugged in, from experience, it can change on your device) or when you wake it just after sleep state (like just after the orange led turn on) or when it's a really long time (like overnight ~8 hours). if you leave it for like 2 to 4 or bit more, it doesn't usually happen. Other issues you may encounter: when it wakes, sound is only on speakers, even after attaching headphones, solution: do the same as when you dont have sound. For Nvidia (only if you have the option to disable it in the UEFI Setup): IF YOU MADE YOUR DSDT WHEN IT'S ENABLED, REMAKE ANOTHER ONE AFTER DISABLING IT, YOU WILL GET SLEEP ISSUES IF YOU KEEP THE SAME DSDT (instant reboot after wake, or black screen and iGPU not recognized). That's all @Johnrey, for the GFX0 to iGPU renaming, is it really needed? I tried w/ & w/o and nothing changed (backlight and performances not affected, sleep/wake works fine). Renaming GFX0 to iGPU gives better power management. It's more like a real Mac. Do you use ACPIBacklight kext? Link to comment Share on other sites More sharing options...
midi-sama Posted November 23, 2015 Share Posted November 23, 2015 Renaming GFX0 to iGPU gives better power management. It's more like a real Mac. Do you use ACPIBacklight kext? Umm... no, ACPIBacklight is optional (read the patch text), and it actually break the "smooth fade" when I get to the lowest level of brightness or get to sleep, yes it gives you a smoother sliding, but breaks that other stuff (LOL pls don't kill me, I just like the effect xD). Other than that, the SSDT I generate makes my laptop fire hot (really bad PM) so I reverted back to -xcpm and KernelPM which give the same P-Stats as a real MBP9,2/10,1. (I'm still to this time trying to know what's wrong). oh! I was wondering if you managed to disable the nvidia discrete card in osx? Thank you! Upload your SSDTs so that I look in them, I'll try patch the GPU one. A lil correction: in Automatic Patching (for DSDT/SSDT) cp -r /Volumes/EFI/EFI/CLOVER/ACPI/origin Desktop/origin change it to cp -r /Volumes/EFI/EFI/CLOVER/ACPI/origin ~/Desktop/origin Link to comment Share on other sites More sharing options...
johnrey Posted November 23, 2015 Author Share Posted November 23, 2015 Other than that, the SSDT I generate makes my laptop fire hot (really bad PM) so I reverted back to -xcpm and KernelPM which give the same P-Stats as a real MBP9,2/10,1. (I'm still to this time trying to know what's wrong). You have an Intel i7 3520m, right? The same CPU I have. Try Clover>ACPI>SSDT>Drop OEM. 1 Link to comment Share on other sites More sharing options...
midi-sama Posted November 23, 2015 Share Posted November 23, 2015 and Desktop to ~/Desktop (line 4) You have an Intel i7 3520m, right? The same CPU I have. Try Clover>ACPI>SSDT>Drop OEM. ok will check it later (I'm trying some stuff atm, just playing around ) And for iasl command line, it gives me "-dl" unknown option Link to comment Share on other sites More sharing options...
johnrey Posted November 23, 2015 Author Share Posted November 23, 2015 A lil correction: in Automatic Patching (for DSDT/SSDT) cp -r /Volumes/EFI/EFI/CLOVER/ACPI/origin Desktop/origin change it to cp -r /Volumes/EFI/EFI/CLOVER/ACPI/origin ~/Desktop/origin It will work both ways because the Terminal window starts in User's directory (~). But it's better to give absolute paths. Nice. And for iasl command line, it gives me "-dl" unknown option Did you extract your ACPI files? Are they inside /EFI/Clover/ACPI/origin? Did you download iasl & patchmatic? Try to enter the commands in parts.. It gave me some weird errors earlier... Link to comment Share on other sites More sharing options...
midi-sama Posted November 23, 2015 Share Posted November 23, 2015 Yes, the command line is wrong, change the -dl to -d and another thing, why dont you just do "iasl -da -d DSDT.aml SSDT-2.aml" since it's the only tables the patches gonna be applied to (and since I got a problem because of other tables, I donno why, I get AE_ALREADY_EXISTS, but if I specify DSDT.aml & SSDT-2.aml it goes smoothly) bash-3.2# iasl -da -f -d *.aml Intel ACPI Component Architecture ASL Optimizing Compiler version 20140926-64 [Oct 16 2014] Copyright (c) 2000 - 2014 Intel Corporation Ignoring all errors, forcing AML file generation Loading Acpi table from file DSDT.aml - Length 00033723 (0083BB) ACPI: DSDT 0x0000000000000000 0083BB (v01 Sony VAIO 20130313 ACPI 00040000) Acpi table [DSDT] successfully installed and loaded Loading Acpi table from file SSDT-8.aml - Length 00000839 (000347) ACPI: SSDT 0x0000000000000000 000347 (v01 Sony VAIO 20130313 ACPI 00040000) Acpi table [SSDT] successfully installed and loaded Pass 1 parse of [SSDT] Pass 2 parse of [SSDT] Loading Acpi table from file SSDT-7.aml - Length 00000839 (000347) ACPI: SSDT 0x0000000000000000 000347 (v01 Sony VAIO 20130313 ACPI 00040000) Acpi table [SSDT] successfully installed and loaded Pass 1 parse of [SSDT] ACPI Error: [\_SB_.PCI0.LPCB.TPM_] Namespace lookup failure, AE_ALREADY_EXISTS (20140926/dswload-451) ACPI Exception: AE_ALREADY_EXISTS, During name lookup/catalog (20140926/psobject-305) Could not parse external ACPI tables, AE_ALREADY_EXISTS OR Maybe you should remove the other SSDTs first (in the long rm list) OR add to the iasl command line the SSDTs needed. (Just suggesting .. ) 1 Link to comment Share on other sites More sharing options...
johnrey Posted November 23, 2015 Author Share Posted November 23, 2015 Yes, the command line is wrong, change the -dl to -d and another thing, why dont you just do "iasl -da -d DSDT.aml SSDT-2.aml" since it's the only tables the patches gonna be applied to (and since I got a problem because of other tables, I donno why, I get AE_ALREADY_EXISTS, but if I specify DSDT.aml & SSDT-2.aml it goes smoothly) OR Maybe you should remove the other SSDTs first (in the long rm list) OR add to the iasl command line the SSDTs needed. (Just suggesting .. ) No, it's not wrong. It's the legacy decompiling. Readme/Help show this: -dl Emit legacy ASL code only (no C-style operators) -d <f1 f2 ...> Disassemble or decode binary ACPI tables to file (*.dsl) (Optional, file type is automatically detected) I tried my commands and they work perfectly. You need to delete all the other ACPI files except for DSDT and SSDT ones. Link to comment Share on other sites More sharing options...
midi-sama Posted November 23, 2015 Share Posted November 23, 2015 Check mine please ... why don't I have it iaslhelp.txt Dumped this using iasl -h > iaslhelp.txt Link to comment Share on other sites More sharing options...
johnrey Posted November 23, 2015 Author Share Posted November 23, 2015 Check mine please ... why don't I have it iaslhelp.txt Dumped this using iasl -h > iaslhelp.txt Indeed.. Maybe you have an older version of iasl. Try removing it from /usr/bin and download© the newest one. iasl.zip Link to comment Share on other sites More sharing options...
cloud1250000 Posted November 23, 2015 Share Posted November 23, 2015 I've just received my evo 500gb! So.. I'm attempting to install osx again. This time, I'm using your guide to create my installer.. Once again, the installer just doesn't start (plain black screen). Here's my clover config that I made following your guide. Also, I'm giving my old clover that made the osx installer to actually boot and install. My laptop : SVS131190S, no ips screen mod, atheros wifi card. EFI.zip OLD.zip Link to comment Share on other sites More sharing options...
johnrey Posted November 23, 2015 Author Share Posted November 23, 2015 I've just received my evo 500gb! So.. I'm attempting to install osx again. This time, I'm using your guide to create my installer.. Once again, the installer just doesn't start (plain black screen). Here's my clover config that I made following your guide. Also, I'm giving my old clover that made the osx installer to actually boot and install. My laptop : SVS131190S, no ips screen mod, atheros wifi card. You laptop has 1366x768 resolution. You need IGP=3. Did you try it with this config? Explain "black screen". Do you see the Apple logo and loading bar? It can take a very long time to boot into the Installer. It's important to connect to a USB 3 port. Boot in verbose mode and read output. Link to comment Share on other sites More sharing options...
cloud1250000 Posted November 23, 2015 Share Posted November 23, 2015 Well, I selected the osx installer in clover, I saw my usb flashing for a moment while on a plain black screen (no loading, no verbose output). Then, the usb drive stopped blinking and it remained on the black screen with nothing displayed. I used the clover.config you shared in your post for 1366x768. Link to comment Share on other sites More sharing options...
midi-sama Posted November 23, 2015 Share Posted November 23, 2015 Indeed.. Maybe you have an older version of iasl. Try removing it from /usr/bin and download© the newest one. iasl.zip wait isn't there only one, I just downloaded the latest one today LOL I just downloaded this one and still the same thing. Well, I selected the osx installer in clover, I saw my usb flashing for a moment while on a plain black screen (no loading, no verbose output). Then, the usb drive stopped blinking and it remained on the black screen with nothing displayed. I used the clover.config you shared in your post for 1366x768. Cloud, please remove the battery for 1 minute and reinsert it and try again, or reset the UEFI Setup and try again, happened to me before, I donno how it worked back. (make sure you dont have SecureBoot enabled and CsmVideoDxe in Drivers64UEFI) Link to comment Share on other sites More sharing options...
johnrey Posted November 23, 2015 Author Share Posted November 23, 2015 Well, I selected the osx installer in clover, I saw my usb flashing for a moment while on a plain black screen (no loading, no verbose output). Then, the usb drive stopped blinking and it remained on the black screen with nothing displayed. I used the clover.config you shared in your post for 1366x768. Do you have extra RAM installed? Or just the stock 4GB? I saw an entry in your config file. Remove those lines. Or add correct ones. I couldn't boot either until I added correct info here and tried different OsxAptioFix driver. PLUS USB 3.0!!! No USB 2 port. Also try this: Delete OsxAptioFix2Drv-64.efi Install OsxAptioFixDrv-64.efi wait isn't there only one, I just downloaded the latest one today LOL I just downloaded this one and still the same thing. Cloud, please remove the battery for 1 minute and reinsert it and try again, or reset the UEFI Setup and try again, happened to me before, I donno how it worked back. (make sure you dont have SecureBoot enabled and CsmVideoDxe in Drivers64UEFI) That's weird.. You can try the Manual Way. I don't know why it's not available for you. Link to comment Share on other sites More sharing options...
Recommended Posts