Jump to content

johnrey

Members
  • Content Count

    52
  • Joined

  • Last visited


Reputation Activity

  1. Like
    johnrey got a reaction from Mestiso in El Capitan UEFI Clover on Sony Vaio S   

    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.
     

     
    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?
    Bluetooth
    Intel BT worked OOB but does not feature Handoff since it's not a BT4LE.
    Replace your chip with an Atheros or Broadcom one.
      Webcam
    Since 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 WiFi
    Apple doesn't use Intel WiFi.
    Replace your chip with an Atheros or Broadcom one.
      Discrete graphics card
    NVIDIA GeForce 640M uses NVIDIA Optimus for dual-configuration which is not supported the same way on OS X.
      VGA
    Apple 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.kext
    Download HPRAIDInjector.kext
    Copy 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.plist

    1600x900/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
     
     
     
    Manual Way
     
     
     
    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
     

     
    Manual way:
     
     
     
    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
     

     
    Manual way:
     
     
     
    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:
     
     
     
    DSDT patch method:
     

     
    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.
     

     

    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:
     

     
    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=true

    This 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

     
      Terminal method

      Verify under System Information   SSD Check TRIM Support: Yes


    SSHD 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
     
     
     
     
    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
  2. Like
    johnrey got a reaction from Mestiso in El Capitan UEFI Clover on Sony Vaio S   

    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.
     

     
    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?
    Bluetooth
    Intel BT worked OOB but does not feature Handoff since it's not a BT4LE.
    Replace your chip with an Atheros or Broadcom one.
      Webcam
    Since 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 WiFi
    Apple doesn't use Intel WiFi.
    Replace your chip with an Atheros or Broadcom one.
      Discrete graphics card
    NVIDIA GeForce 640M uses NVIDIA Optimus for dual-configuration which is not supported the same way on OS X.
      VGA
    Apple 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.kext
    Download HPRAIDInjector.kext
    Copy 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.plist

    1600x900/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
     
     
     
    Manual Way
     
     
     
    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
     

     
    Manual way:
     
     
     
    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
     

     
    Manual way:
     
     
     
    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:
     
     
     
    DSDT patch method:
     

     
    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.
     

     

    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:
     

     
    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=true

    This 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

     
      Terminal method

      Verify under System Information   SSD Check TRIM Support: Yes


    SSHD 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
     
     
     
     
    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
  3. Like
    johnrey got a reaction from Mestiso in El Capitan UEFI Clover on Sony Vaio S   

    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.
     

     
    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?
    Bluetooth
    Intel BT worked OOB but does not feature Handoff since it's not a BT4LE.
    Replace your chip with an Atheros or Broadcom one.
      Webcam
    Since 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 WiFi
    Apple doesn't use Intel WiFi.
    Replace your chip with an Atheros or Broadcom one.
      Discrete graphics card
    NVIDIA GeForce 640M uses NVIDIA Optimus for dual-configuration which is not supported the same way on OS X.
      VGA
    Apple 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.kext
    Download HPRAIDInjector.kext
    Copy 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.plist

    1600x900/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
     
     
     
    Manual Way
     
     
     
    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
     

     
    Manual way:
     
     
     
    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
     

     
    Manual way:
     
     
     
    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:
     
     
     
    DSDT patch method:
     

     
    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.
     

     

    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:
     

     
    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=true

    This 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

     
      Terminal method

      Verify under System Information   SSD Check TRIM Support: Yes


    SSHD 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
     
     
     
     
    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
  4. Like
    johnrey got a reaction from Mestiso in El Capitan UEFI Clover on Sony Vaio S   

    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.
     

     
    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?
    Bluetooth
    Intel BT worked OOB but does not feature Handoff since it's not a BT4LE.
    Replace your chip with an Atheros or Broadcom one.
      Webcam
    Since 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 WiFi
    Apple doesn't use Intel WiFi.
    Replace your chip with an Atheros or Broadcom one.
      Discrete graphics card
    NVIDIA GeForce 640M uses NVIDIA Optimus for dual-configuration which is not supported the same way on OS X.
      VGA
    Apple 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.kext
    Download HPRAIDInjector.kext
    Copy 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.plist

    1600x900/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
     
     
     
    Manual Way
     
     
     
    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
     

     
    Manual way:
     
     
     
    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
     

     
    Manual way:
     
     
     
    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:
     
     
     
    DSDT patch method:
     

     
    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.
     

     

    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:
     

     
    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=true

    This 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

     
      Terminal method

      Verify under System Information   SSD Check TRIM Support: Yes


    SSHD 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
     
     
     
     
    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
  5. Like
    johnrey got a reaction from Mestiso in El Capitan UEFI Clover on Sony Vaio S   

    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.
     

     
    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?
    Bluetooth
    Intel BT worked OOB but does not feature Handoff since it's not a BT4LE.
    Replace your chip with an Atheros or Broadcom one.
      Webcam
    Since 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 WiFi
    Apple doesn't use Intel WiFi.
    Replace your chip with an Atheros or Broadcom one.
      Discrete graphics card
    NVIDIA GeForce 640M uses NVIDIA Optimus for dual-configuration which is not supported the same way on OS X.
      VGA
    Apple 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.kext
    Download HPRAIDInjector.kext
    Copy 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.plist

    1600x900/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
     
     
     
    Manual Way
     
     
     
    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
     

     
    Manual way:
     
     
     
    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
     

     
    Manual way:
     
     
     
    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:
     
     
     
    DSDT patch method:
     

     
    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.
     

     

    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:
     

     
    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=true

    This 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

     
      Terminal method

      Verify under System Information   SSD Check TRIM Support: Yes


    SSHD 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
     
     
     
     
    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
  6. Like
    johnrey reacted to midi-sama in El Capitan UEFI Clover on Sony Vaio S   
    Hey guys,
    I got 10.12 fully working and even brightness and Volume keys are working.
    Just to note that they are working starting from 10.12.1 not 10.12, also the only issue I'm having rn is disable Nvidia from SSDT-7, I tried so many things still enabled and raping my battery.

    Also, forgot to mention, for people with weird RAM configurations (like 4+8 or 4+2 or something like that), About This Mac wont open. I'll try to add some edits in config.plist to manually show the RAM bars.
    The Trackpad scrolling is choppy and you need to manually enable touch to tap via modded trackpad.prefpan or ioio.
  7. Like
    johnrey reacted to midi-sama in El Capitan UEFI Clover on Sony Vaio S   
    1) GOOD LUCK2) Clean hdd/sdd, good start, but here is the trick: Intall OS X first then Windows. How? When you're on the installer's disk utility, make 2 HFS+ partitions (add a 3rd one for shared data, optional) AND DO NOT FORMAT IT TO FAT32, LEAVE IT HFS+, once done, install os x and set it up then install windows. In windows installer make sure you choose the partition that DOES NOT have a 615 MB partition after it, because it's osx's recover and the partiton prior it is the os x system (quite obvious).
    3) AppleALC, applehda patching will be deprecated in the near future.
    4) Link please.
    5) GOOD LUCK!
    Here is the problem: BIOS.
    Also, i've done some research and apparently you must not let it disable the HD4000 as it's the "bridge" from Nvidia to any port (VGA HDMI LVDS) and also, no known flashback way on our VAIOs. If you know yours tell me so that I give it a try brefore flashing a Patched bios (just to try a clean one at least, it should not be of any harm).
  8. Like
    johnrey reacted to goldenmaterial in El Capitan UEFI Clover on Sony Vaio S   
    If you can patch the BIOS, you will be able to access the extended menu. There you can change the VGA Switching Policy from Dynamic or Auto to Static.
    Then, before powering on the computer, put the slider on the desired position (SPEED/STAMINA) and the corresponding graphic card will be the only one visible by the operating system.
     
    I have a Sony Vaio VPC-Z13 and did that, so now I'm running OSX Yosemite with nVidia Geforce GT 330m. The downside of that, is that can't adjust the brightness (backlight), either with Fn buttons or with the brightness slider, which is not present in System Settings.
  9. Like
    johnrey got a reaction from Mestiso in El Capitan UEFI Clover on Sony Vaio S   

    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.
     

     
    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?
    Bluetooth
    Intel BT worked OOB but does not feature Handoff since it's not a BT4LE.
    Replace your chip with an Atheros or Broadcom one.
      Webcam
    Since 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 WiFi
    Apple doesn't use Intel WiFi.
    Replace your chip with an Atheros or Broadcom one.
      Discrete graphics card
    NVIDIA GeForce 640M uses NVIDIA Optimus for dual-configuration which is not supported the same way on OS X.
      VGA
    Apple 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.kext
    Download HPRAIDInjector.kext
    Copy 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.plist

    1600x900/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
     
     
     
    Manual Way
     
     
     
    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
     

     
    Manual way:
     
     
     
    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
     

     
    Manual way:
     
     
     
    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:
     
     
     
    DSDT patch method:
     

     
    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.
     

     

    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:
     

     
    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=true

    This 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

     
      Terminal method

      Verify under System Information   SSD Check TRIM Support: Yes


    SSHD 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
     
     
     
     
    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
  10. Like
    johnrey reacted to Pumpk1in in El Capitan UEFI Clover on Sony Vaio S   
    Thx ! I'll try. Actually I'm dissasembling it to clean the dust and change the thermal paste It will be better ^^
     
    Ps : I had an Atheros Wifi card inside a OLD computer so.. I replaced the Intel one : I have Wifi 
  11. Like
    johnrey got a reaction from midi-sama in El Capitan UEFI Clover on Sony Vaio S   
    Good to know that it works!
  12. Like
    johnrey reacted to midi-sama in El Capitan UEFI Clover on Sony Vaio S   
    I found lately this AppleALC kext, and it's amazing! Put it in Clover > Kexts > Other, install CodecCommander, use Inject=3 and done! no KextToPatch patches and no Dummy, the Kext does that already! I tried it on 10.11.3, then updated to .4 and now .5 and it's still working
    Link to the thread: http://www.insanelymac.com/forum/topic/311293-applealc-%E2%80%94-dynamic-applehda-patching/
    Link to Github for download: https://github.com/vit9696/AppleALC
    Thankfully, ALC275 was already supported :3
  13. Like
    johnrey reacted to midi-sama in El Capitan UEFI Clover on Sony Vaio S   
    EXPERIMENTAL
    So hey there, been a while! 
    So I've successfully booted macOS Sierra DP1 and it's kinda good and toooo buggy as expected from a newly released OS. The installation is simple and I'll be sharing it with you here.
     
    Disclamer
    I, or anyone else on this forum, are not taken in responsibility for any harm happened to your device/data/materials/your belongings/... By following this guide you agree to take all the responsibility for your actions. This is highly experimental material, may harm, but it shouldn't, and if it did, you did it!
    This is for people with experience, I'll be putting some known OSx86 jargon like CIM and BaseSystem method. If you don't know this, either stop here, or google that your self and look in the forums.
    End of Disclamer
     
    So what you need is: 
    a working 10.11 machine an optional USB drive of 8GB (optional, but may be needed if you are doing this from another computer) at least 20GB free on space left (this should be left even after downloading the OS X installer, make sure you have plenty of space left on your laptop!!) patience I'll be doing this from my VAIO S laptop directly, if you're using some external device, please try to do some analogy and give it a shot.
     
    Before starting, here are some bugs and problems you may face when suing Sierra DP1
    Many apps may crash, hang or just wont do their work (like Clover Configurator [crash] and telegram [just hangs while spinning the loading wheel]...) Don't expect a good battery life, even if in my tests it wasnt that different but do not take it as granted This is an experimental OS, DO NOT USE IT AS YOUR DAILY DRIVER OS, well unless you have some balls of steel, then you can, I have no physical power over you The touchpad driver we'll be using is total {censored}! Too bad VoodooPS2 causes KP, hoping for RM to fix it (dont get your hopes high on this yet, he may even release a new version until the final OS release!). The kyb doesn't have working Fn keys, and Alt and Win button are swapped! The touchpad prefpan is broken [still needs confirmation] CONFIRMED, RM said he *may* start working on a prefpan, that would be totally gr8! Everything else is working ok-ish.
     
    okey let's start!
     
    Get some patched material! patched AppleALC for 10.12 (we'll be using this instead of DummyHDA)  patched Clover for 10.12 booting (taken from the pkg here http://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page-517?do=findComment&comment=2242991 ) A crappy PS2 driver for Synaptics (whereas on ELAN it's the best) not anymore  VoodooPS2Controller.kext.zip https://bitbucket.org/RehabMan/os-x-voodoo-ps2-controller/downloads Latest Rehabman's FakeSMC (google) Get your copy of DP1 (sorry wont be posting links, forum rules) Choose your pill: Old fashioned "make a partition, make cim, install as you would" (I wont be discussing this, but make sure you use the correct Clover procedure, the other stuff is common knowledge) Experiment labtop (pun intended) where you'll make a dmg with OS X installed in, just restore it to any partition (I'll be explaining this one only) Make clover great again: Download the patched clover file, mount EFI (diskutil mount diskXs1, where X is your boot drive, usually 0), copy it under Clover folder Rename the previously downloaded file to BOOTX64.EFI and copy it to /EFI/BOOT folder (note 1: use this if Clover is your main EFI booter. note 2: it will replace any file named BOOTX64.EFI, make a backup of it) Go to Clover > kexts, make a folder named 10.12, copy all kexts from Other (that's what your should be normally using if you're following johnrey's guide) to the 10.12 folder, open 10.12, remove VoodooPS2-FakeSMC-AppleALC (if found). Copy the patched kexts above there. Let's AutoDMG Ok as you can see, use the link above, you'll get it once there Open AutoDMG Open <your OS X partition>/System/Library/CoreServices, locate SystemVersion.plist, duplicate it and rename it to SystemVersion.orig Open SystemVerison.plist (use sublime text or text edit) and replace everything with this:  <?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>ProductBuildVersion</key> <string>16A201w</string> <key>ProductCopyright</key> <string>1983-2016 Apple Inc.</string> <key>ProductName</key> <string>Mac OS X</string> <key>ProductUserVisibleVersion</key> <string>10.12</string> <key>ProductVersion</key> <string>10.12</string> </dict> </plist> Save and go back to AutoDMG Drag the OS X 10.12 installer app on AutoDMG window and let it analyse Hit Install and choose where to put the target dmg, let it install and wait (and this is why 20 GB of free disk on your os x partition is needed) Once done, restore the partition inside the dmg to whatever partition you like : internal HDD/SSD or external one, DO NOT USE USB AS THEY ARE SLOW AF! here is a quick how to: if you're using the ported yosemite disk utility, it's easy if not, open the Disk Utility Mount the dmg file (skip verification) Select your target partition NOT THE SOURCE Hit Edit (top bar) and then Restore Choose the SOURCE partitions (it should be named Macintosh HD) and then hit Resore You may need to restore it a second time (mostly the first time will *fail* but it did not, it just didnt copy the recovery partition) Here, once done restoring, go back to CoreServices folder, remove the SystemVersion.plist and rename SystemVersion.orig to .plist Reboot Enjoy Hope I helped, and thanks to all people who helped in this quick advance in macOS Sierra install
    Notes:
    DO NOT USE THIS OS TO DO YOUR WORK NO MATTER WHAT THE REASON (unless you're looking for bug or whatnot) It may be hella sluggish! even on SSDs! Bluetooth on some chipsets may not work (BCM devices) as the kext responsible of firmware uplaoding needs further fixing, while some of you who may have AR3011 (included in AR5B195 or AR5B197 wifi chips) may work (confirmed but not very sure) Use a usb/bt mouse PLEASE, the driver sux so much that I may only applause the dev for making pinch-to-zoom (which only replace Ctrl++) You may use your touchpad too! but yeah! Some screenshots:
     

     
    Siri
     


     
    Notification Center
     

     
    Bluetooth

     
     
    Some additions for a better OS experience:
    Disabling SIP Reboot to recovery Open terminal type in  csrutil disable Reboot Enable "Anywhere" under Security and Privacy to allow foreign/unsigned apps open terminal type in  sudo spctl  --master-disable Done  
    Enjoy
  14. Like
    johnrey reacted to Onestyle in El Capitan UEFI Clover on Sony Vaio S   
    Why don't you use http://www.rugarciap.com/turbo-boost-switcher-for-os-x/ to disable and enable turbo boost when ever you want,that is the only thing I use to enable and disable it.
  15. Like
    johnrey got a reaction from midi-sama in El Capitan UEFI Clover on Sony Vaio S   
    Really? I will try it out.
     
    EDIT: Updated the guide for Audio fix in 10.11.4 and deprecated DisableTurboBoost.kext. Some minor changes & fixes here and there, too.
  16. Like
    johnrey reacted to midi-sama in El Capitan UEFI Clover on Sony Vaio S   
    Thanks @johnrey. Btw, no need for Disableturboboost.kext anymore, the latest clover had an option for that and it's working great for me.
  17. Like
    johnrey got a reaction from midi-sama in El Capitan UEFI Clover on Sony Vaio S   
    I have updated the guide for AppleHDA Audio in 10.11.4. It worked with the rest of the guide. Check original post.
  18. Like
    johnrey reacted to midi-sama in El Capitan UEFI Clover on Sony Vaio S   
    Ok guys!
    for AppleHDA problem, I updated (later, a lot later) OS X to 10.11.4 and I had this audio problem and use the AppleHDA Patcher app as I told you but for me it didn't work.
    For some reason the Platforms.xml.zlib in the generated Dummy doesn't work for us, so what I did is copy it from the original DummyHDA (check #1) then paste it under <aDummy.kext>/Contents/Resources/ and replace the old one. ATM I'm contacting Mirone to check what's the problem and he'll sure try to fix it.
     
    @Onestyle 
     
    here is my SVS (the same as OP's, latest bios) DSDT_midi.zip
    What I applied:
    [As in #1] + 0x0D USB patch and maybe AR9285 patch.
  19. Like
    johnrey reacted to Onestyle in El Capitan UEFI Clover on Sony Vaio S   
    Thanks midi,now I only need one from SVE. I've already seen difference between SVS and mine SVE,fan reading might work after some testing and my research,so midi we will stay in touch over pm.
  20. Like
    johnrey reacted to Socrahm in El Capitan UEFI Clover on Sony Vaio S   
    Solucionado Brightness control for Vaio Fit SVF15A1C5E.
     
    Volume Mute = Fn+F2
     
    Volume up = Fn+F4
    Volume Down = Fn+F3
     
    Brightness Down = Fn+F5
    Brightness Up = Fn+F6
     
    GUIDE Linz
     
     
    Looking solution for the key, trackpad disabled ( Fn+F1) now works with Fn + PrtSc.
     

     
    into method label _Q1D replace_content
    begin
    // Brightness Down\n
    Notify(\_SB.PCI0.LPCB.PS2M, 0x0205)\n
    Notify(\_SB.PCI0.LPCB.PS2M, 0x0285)\n
    end;
    into method label _Q1C replace_content
    begin
    // Brightness Up\n
    Notify(\_SB.PCI0.LPCB.PS2M, 0x0206)\n
    Notify(\_SB.PCI0.LPCB.PS2M, 0x0286)\n
    end;
     
    Change the variable _Q1D/_Q1C as per the log. In my Vaio keyboard is _Q8F=Down, _Q8E=Up.
  21. Like
    johnrey reacted to midi-sama in El Capitan UEFI Clover on Sony Vaio S   
    Lemme guess, 10.11.4 update right?
     
    http://www.insanelymac.com/forum/files/file/496-applehda-patcher/
     
    Use this, open it, Choose your Mobile Codec, hit patch, it will make a folder in your desktop with your codec patches, open it, go to Clover folder there, you'll find a "config.plist" and a "aDummyHDA.kext". Delecte DummyHDA.kext from your system (found in /S/L/E) then install this one, reboot after fixing caches/perms. Audio should be back No Voodoo required for this experiment, no need to sacrifice your sound!
  22. Like
    johnrey got a reaction from Mestiso in El Capitan UEFI Clover on Sony Vaio S   

    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.
     

     
    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?
    Bluetooth
    Intel BT worked OOB but does not feature Handoff since it's not a BT4LE.
    Replace your chip with an Atheros or Broadcom one.
      Webcam
    Since 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 WiFi
    Apple doesn't use Intel WiFi.
    Replace your chip with an Atheros or Broadcom one.
      Discrete graphics card
    NVIDIA GeForce 640M uses NVIDIA Optimus for dual-configuration which is not supported the same way on OS X.
      VGA
    Apple 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.kext
    Download HPRAIDInjector.kext
    Copy 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.plist

    1600x900/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
     
     
     
    Manual Way
     
     
     
    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
     

     
    Manual way:
     
     
     
    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
     

     
    Manual way:
     
     
     
    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:
     
     
     
    DSDT patch method:
     

     
    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.
     

     

    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:
     

     
    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=true

    This 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

     
      Terminal method

      Verify under System Information   SSD Check TRIM Support: Yes


    SSHD 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
     
     
     
     
    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
  23. Like
    johnrey got a reaction from Mestiso in El Capitan UEFI Clover on Sony Vaio S   

    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.
     

     
    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?
    Bluetooth
    Intel BT worked OOB but does not feature Handoff since it's not a BT4LE.
    Replace your chip with an Atheros or Broadcom one.
      Webcam
    Since 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 WiFi
    Apple doesn't use Intel WiFi.
    Replace your chip with an Atheros or Broadcom one.
      Discrete graphics card
    NVIDIA GeForce 640M uses NVIDIA Optimus for dual-configuration which is not supported the same way on OS X.
      VGA
    Apple 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.kext
    Download HPRAIDInjector.kext
    Copy 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.plist

    1600x900/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
     
     
     
    Manual Way
     
     
     
    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
     

     
    Manual way:
     
     
     
    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
     

     
    Manual way:
     
     
     
    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:
     
     
     
    DSDT patch method:
     

     
    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.
     

     

    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:
     

     
    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=true

    This 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

     
      Terminal method

      Verify under System Information   SSD Check TRIM Support: Yes


    SSHD 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
     
     
     
     
    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
  24. Like
    johnrey reacted to midi-sama in El Capitan UEFI Clover on Sony Vaio S   
    Yey! I got USB working, I just merged some patches (that are "normally" already merged un a patch but weirdly it doesn't work!)
     
    ok first I patched everything but the USB, then I patched the DSDT with these:
     
    [usb] 7-series/8-series USB
    #Maintained by: RehabMan for: Laptop Patches #usb_USB_7-series.txt # USB property injection for 7-series boards (originally HM76) # Insert Apple USB properties into EHC1 into method label _DSM parent_adr 0x001D0000 remove_entry; into device name_adr 0x001D0000 insert begin Method (_DSM, 4, NotSerialized)\n {\n If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }\n Return (Package()\n {\n "AAPL,clock-id", Buffer() { 0x01 },\n "built-in", Buffer() { 0x00 },\n "subsystem-id", Buffer() { 0x70, 0x72, 0x00, 0x00 },\n "subsystem-vendor-id", Buffer() { 0x86, 0x80, 0x00, 0x00 },\n "AAPL,current-available", 2100,\n "AAPL,current-extra", 2200,\n "AAPL,current-extra-in-sleep", 1600,\n "AAPL,device-internal", 0x02,\n "AAPL,max-port-current-in-sleep", 2100,\n })\n }\n end; # Insert Apple USB properties into EHC2 into method label _DSM parent_adr 0x001A0000 remove_entry; into device name_adr 0x001A0000 insert begin Method (_DSM, 4, NotSerialized)\n {\n If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }\n Return (Package()\n {\n "AAPL,clock-id", Buffer() { 0x01 },\n "built-in", Buffer() { 0x00 },\n "subsystem-id", Buffer() { 0x70, 0x72, 0x00, 0x00 },\n "subsystem-vendor-id", Buffer() { 0x86, 0x80, 0x00, 0x00 },\n "AAPL,current-available", 2100,\n "AAPL,current-extra", 2200,\n "AAPL,current-extra-in-sleep", 1600,\n "AAPL,device-internal", 0x02,\n "AAPL,max-port-current-in-sleep", 2100,\n })\n }\n end; # Insert Apple USB properties into USB 3.0 XHC into method label _DSM parent_adr 0x00140000 remove_entry; into device name_adr 0x00140000 insert begin Method (_DSM, 4, NotSerialized)\n {\n If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }\n Return (Package()\n {\n "AAPL,clock-id", Buffer() { 0x02 },\n "built-in", Buffer() { 0x00 },\n "subsystem-id", Buffer() { 0x70, 0x72, 0x00, 0x00 },\n "subsystem-vendor-id", Buffer() { 0x86, 0x80, 0x00, 0x00 },\n "AAPL,current-available", 2100,\n "AAPL,current-extra", 2200,\n "AAPL,current-extra-in-sleep", 1600,\n "AAPL,device-internal", 0x02,\n "AAPL,max-port-current-in-sleep", 2100,\n })\n }\n end; then 
     
    EHCx Renaming
    # 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; then either USB3_PWR(0x0D) or USB3_PWR(0x6D) but only the power patching part (everything until XHC renaming)
     
    Notice: I haven't noticed any output change and it got the same behaviour!
    #Maintained by: RehabMan for: Laptop Patches #usb_prw_0x0d_xhc.txt # remove _PRW methods to prevent instant wake # delete any existing XHC1 device into device label XHC1 name_adr 0x00140000 remove_entry; # delete any existing USB2 device into device label USB2 name_adr 0x001D0000 remove_entry; # if _PRW objects are methods into method label _PRW parent_adr 0x001D0000 remove_entry; into method label _PRW parent_adr 0x001A0000 remove_entry; into method label _PRW parent_adr 0x00140000 remove_entry; into method label _PRW parent_adr 0x001B0000 remove_entry; # some other LAN cards use 0x00190000 into method label _PRW parent_adr 0x00190000 remove_entry; # if _PRW methods are stuffed into a separate scope into method label _PRW parent_label _SB.PCI0.EHC1 remove_entry; into method label _PRW parent_label _SB.PCI0.EHC2 remove_entry; into method label _PRW parent_label _SB.PCI0.XHC remove_entry; into method label _PRW parent_label \_SB.PCI0.EHC1 remove_entry; into method label _PRW parent_label \_SB.PCI0.EHC2 remove_entry; into method label _PRW parent_label \_SB.PCI0.XHC remove_entry; # if _PRW objects are names into device name_adr 0x001D0000 code_regex Name.*_PRW.*\n.*\n.*\n.*\n.*\}\) remove_matched; into device name_adr 0x001A0000 code_regex Name.*_PRW.*\n.*\n.*\n.*\n.*\}\) remove_matched; into device name_adr 0x00140000 code_regex Name.*_PRW.*\n.*\n.*\n.*\n.*\}\) remove_matched; into device name_adr 0x001B0000 code_regex Name.*_PRW.*\n.*\n.*\n.*\n.*\}\) remove_matched; into device name_adr 0x00190000 code_regex Name.*_PRW.*\n.*\n.*\n.*\n.*\}\) remove_matched; # some _PRW have three entries in the Package into device name_adr 0x001D0000 code_regex Name.*_PRW.*\n.*\n.*\n.*\n.*\n.*\}\) remove_matched; into device name_adr 0x001A0000 code_regex Name.*_PRW.*\n.*\n.*\n.*\n.*\n.*\}\) remove_matched; into device name_adr 0x00140000 code_regex Name.*_PRW.*\n.*\n.*\n.*\n.*\n.*\}\) remove_matched; into device name_adr 0x001B0000 code_regex Name.*_PRW.*\n.*\n.*\n.*\n.*\n.*\}\) remove_matched; into device name_adr 0x00190000 code_regex Name.*_PRW.*\n.*\n.*\n.*\n.*\n.*\}\) remove_matched; # seems to work better if _PRW is present, but returns 0 (original was 3) for sleep state into device name_adr 0x001D0000 insert begin Name(_PRW, Package() { 0x0D, 0 }) end; into device name_adr 0x001A0000 insert begin Name(_PRW, Package() { 0x0D, 0 }) end; into device name_adr 0x00140000 insert begin Name(_PRW, Package() { 0x0D, 0 }) end; into device name_adr 0x001B0000 insert begin Name(_PRW, Package() { 0x0D, 0 }) end; into device name_adr 0x00190000 insert begin Name(_PRW, Package() { 0x0D, 0 }) end; OR
    #Maintained by: RehabMan for: Laptop Patches #usb_prw_0x6d_xhc.txt # remove _PRW methods to prevent instant wake # delete any existing XHC1 device into device label XHC1 name_adr 0x00140000 remove_entry; # delete any existing USB2 device into device label USB2 name_adr 0x001D0000 remove_entry; # if _PRW objects are methods into method label _PRW parent_adr 0x001D0000 remove_entry; into method label _PRW parent_adr 0x001A0000 remove_entry; into method label _PRW parent_adr 0x00140000 remove_entry; into method label _PRW parent_adr 0x001B0000 remove_entry; # some other LAN cards use 0x00190000 into method label _PRW parent_adr 0x00190000 remove_entry; # if _PRW methods are stuffed into a separate scope into method label _PRW parent_label _SB.PCI0.EHC1 remove_entry; into method label _PRW parent_label _SB.PCI0.EHC2 remove_entry; into method label _PRW parent_label _SB.PCI0.XHC remove_entry; into method label _PRW parent_label \_SB.PCI0.EHC1 remove_entry; into method label _PRW parent_label \_SB.PCI0.EHC2 remove_entry; into method label _PRW parent_label \_SB.PCI0.XHC remove_entry; # if _PRW objects are names into device name_adr 0x001D0000 code_regex Name.*_PRW.*\n.*\n.*\n.*\n.*\}\) remove_matched; into device name_adr 0x001A0000 code_regex Name.*_PRW.*\n.*\n.*\n.*\n.*\}\) remove_matched; into device name_adr 0x00140000 code_regex Name.*_PRW.*\n.*\n.*\n.*\n.*\}\) remove_matched; into device name_adr 0x001B0000 code_regex Name.*_PRW.*\n.*\n.*\n.*\n.*\}\) remove_matched; into device name_adr 0x00190000 code_regex Name.*_PRW.*\n.*\n.*\n.*\n.*\}\) remove_matched; # some _PRW have three entries in the Package into device name_adr 0x001D0000 code_regex Name.*_PRW.*\n.*\n.*\n.*\n.*\n.*\}\) remove_matched; into device name_adr 0x001A0000 code_regex Name.*_PRW.*\n.*\n.*\n.*\n.*\n.*\}\) remove_matched; into device name_adr 0x00140000 code_regex Name.*_PRW.*\n.*\n.*\n.*\n.*\n.*\}\) remove_matched; into device name_adr 0x001B0000 code_regex Name.*_PRW.*\n.*\n.*\n.*\n.*\n.*\}\) remove_matched; into device name_adr 0x00190000 code_regex Name.*_PRW.*\n.*\n.*\n.*\n.*\n.*\}\) remove_matched; # seems to work better if _PRW is present, but returns 0 (original was 3) for sleep state into device name_adr 0x001D0000 insert begin Name(_PRW, Package() { 0x6D, 0 }) end; into device name_adr 0x001A0000 insert begin Name(_PRW, Package() { 0x6D, 0 }) end; into device name_adr 0x00140000 insert begin Name(_PRW, Package() { 0x6D, 0 }) end; into device name_adr 0x001B0000 insert begin Name(_PRW, Package() { 0x6D, 0 }) end; into device name_adr 0x00190000 insert begin Name(_PRW, Package() { 0x6D, 0 }) end; Then it's done
     
    Patch sources : https://github.com/RehabMan/Laptop-DSDT-Patch/tree/master/usb
     
    Other than that, I actually was able to change brightness buttons (sadly they replace F5 and F6 to brightness controls, so you'll lose F5/6 function keys) and changed "Pause/Break" to Previous buttons (music) and "Insert" to Play/Pause (music) and Fn+Delete (aka Scr Lk) to Next (music). if you're ok with this configuration I'll post the kext.
  25. Like
    johnrey got a reaction from Mestiso in El Capitan UEFI Clover on Sony Vaio S   

    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.
     

     
    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?
    Bluetooth
    Intel BT worked OOB but does not feature Handoff since it's not a BT4LE.
    Replace your chip with an Atheros or Broadcom one.
      Webcam
    Since 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 WiFi
    Apple doesn't use Intel WiFi.
    Replace your chip with an Atheros or Broadcom one.
      Discrete graphics card
    NVIDIA GeForce 640M uses NVIDIA Optimus for dual-configuration which is not supported the same way on OS X.
      VGA
    Apple 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.kext
    Download HPRAIDInjector.kext
    Copy 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.plist

    1600x900/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
     
     
     
    Manual Way
     
     
     
    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
     

     
    Manual way:
     
     
     
    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
     

     
    Manual way:
     
     
     
    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:
     
     
     
    DSDT patch method:
     

     
    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.
     

     

    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:
     

     
    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=true

    This 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

     
      Terminal method

      Verify under System Information   SSD Check TRIM Support: Yes


    SSHD 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
     
     
     
     
    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
×