Jump to content

El Capitan UEFI Clover on Sony Vaio S

* * * * * 4 votes sony vaio svs s13 10.11 clover uefi a2c5e s13p guide

  • Please log in to reply
141 replies to this topic

#1
johnrey

johnrey

    InsanelyMac Protégé

  • Members
  • PipPip
  • 52 posts
  • Gender:Not Telling

OS X 10.11 El Capitan

UEFI Clover

on

Sony VAIO S
 

598px-Vaio.svg.png

 

S13A_25_B_Drive-5d23277d90b87a00.jpgBildschirmfoto%202015-11-20%20um%2019.35

 


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.

 

Spoiler

 

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

Screen%20Shot%202015-11-06%20at%202.09.2

 

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

  1. Open Disk Utility under /Applications/Utilities.
  2. Select the USB.
    Screen%20Shot%202015-11-06%20at%202.26.3
  3. Click on the Partition tab.
    Screen%20Shot%202015-11-06%20at%202.26.5
  4. Click on Partition Layout > 1 partition.

    Screen%20Shot%202015-11-06%20at%202.27.1
     
  5. Click on Options. Select GUID Partition Table. Apply with OK.
    Screen%20Shot%202015-11-06%20at%202.27.2
    Screen%20Shot%202015-11-06%20at%202.27.5
    Screen%20Shot%202015-11-06%20at%202.27.5
  6. Under Format select Mac OS Extended (Journaled).
    Screen%20Shot%202015-11-06%20at%202.28.2
  7. Under Name rename the partition to „install_osx“.
    Screen%20Shot%202015-11-06%20at%202.29.2
  8. Click on Apply.
    Screen%20Shot%202015-11-06%20at%202.29.2
  9. Click on Partition.
    Screen%20Shot%202015-11-06%20at%202.29.3
    Screen%20Shot%202015-11-06%20at%202.29.4
  10. When it’s finished creating the USB partition(s) close Disk Utility.

 

 

Make OS X Installer on USB*1

 

  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

    Screen%20Shot%202015-11-06%20at%202.33.1
    Screen%20Shot%202015-11-06%20at%202.35.3
  2. You need a password for this command*2. Type your password and press Enter.
    Screen%20Shot%202015-11-06%20at%202.46.0
    This process can take several minutes, depending on the USB write speed. Mine took 5 minutes to finish.
     
  3. Close Terminal.
    Screen%20Shot%202015-11-06%20at%202.46.0

 

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

 

  1. Download Clover EFI bootloader. http://sourceforge.n.../cloverefiboot/
  2. Open the Clover installer package.
  3. Click on Continue, Continue.
    Screen%20Shot%202015-11-06%20at%202.50.3
    Screen%20Shot%202015-11-06%20at%202.50.3
     
  4. Click on Change Install Location.
    Screen%20Shot%202015-11-06%20at%202.50.4
  5. Select your USB drive now called ‚Install OS X El Capitan’. Don't select the internal Hard Drive on your real Mac/VM!
    Screen%20Shot%202015-11-06%20at%202.50.5
  6. Click on Continue.
    Screen%20Shot%202015-11-06%20at%202.50.5
  7. Click on Customize.
    Screen%20Shot%202015-11-06%20at%202.51.0
  8. Check ‚Install for UEFI booting only‘. ‚Install Clover in the ESP‘ will be selected automatically and installed to the hidden EFI partition.
    Screen%20Shot%202015-11-06%20at%202.51.0
  9. Under Drivers64UEFI check ‚OsxAptioFixDrv2-64‘.
    Screen%20Shot%202015-11-06%20at%202.51.5
    Screen%20Shot%202015-11-20%20at%2011.26.
  10. Optional: Install BlueMac under Themes.
  11. Click on Install.
    Screen%20Shot%202015-11-06%20at%203.03.1
  12. Type your password. Click on Install Software.
    Screen%20Shot%202015-11-06%20at%203.03.4
  13. When it’s finished, press Close.
    Screen%20Shot%202015-11-06%20at%203.03.5

 

Since the EFI partition is hidden, we need to mount it to copy some files. But the Clover installer already mounted it.*3

 

  1. Go to the EFI partition (on your Desktop).

    Bildschirmfoto%202015-11-20%20um%2023.48
     
  2. Open the folder /EFI/CLOVER/drivers64UEFI
    Screen%20Shot%202015-11-06%20at%203.10.4
  3. Delete VBoxHFS.efi
  4. Download HFSPlus.efi https://github.com/J...us.efi?raw=true
  5. Copy HFSPlus.efi to /EFI/CLOVER/drivers64UEFI
    Screen%20Shot%202015-11-06%20at%203.11.3
  6. Go to the folder /EFI/CLOVER/kexts
  7. Delete all the folders inside /EFI/CLOVER/kexts except for ‚Other‘.
    Screen%20Shot%202015-11-06%20at%203.13.1
    Screen%20Shot%202015-11-06%20at%203.13.1
  8. Download FakeSMC https://bitbucket.or...ozlek/downloads
  9. Copy FakeSMC.kext to /EFI/CLOVER/kexts/Other
    Screen%20Shot%202015-11-06%20at%203.14.5
  10. Download VoodooPS2Controller https://bitbucket.or...oller/downloads
  11. Copy VoodooPS2Controller.kext (Release) to /EFI/CLOVER/kexts/Other
    Screen%20Shot%202015-11-06%20at%203.17.1

     
  12. Download RealtekRTL8111.kext. https://bitbucket.or...twork/downloads
  13. Copy RealtekRTL8111.kext to /EFI/CLOVER/kexts/Other
    Screen%20Shot%202015-11-21%20at%2012.07.
  14. If you have a RAID configuration, you will need HPRAIDInjector.kext
    Download HPRAIDInjector.kext

    Copy HPRAIDInjector.kext to /EFI/CLOVER/kexts/Other
     
  15. 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
     
  16. To download, select File > Save As

    Screen%20Shot%202015-11-06%20at%203.20.4
     
  17. Under Format select Page Source.

    Screen%20Shot%202015-11-06%20at%203.22.2
     
  18. Select Desktop as your location.


    Screen%20Shot%202015-11-06%20at%203.22.5
     
  19. Click Save. Click Don’t Append.

    Screen%20Shot%202015-11-06%20at%203.23.0

    Screen%20Shot%202015-11-06%20at%203.23.2
     
  20. Rename the config file on your desktop to ‚config.plist‘.

    Screen%20Shot%202015-11-06%20at%203.24.2
     
  21. Copy config.plist from your Desktop to /EFI/CLOVER and replace the default one.
    Screen%20Shot%202015-11-06%20at%203.27.0
  22. 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.

    Screen%20Shot%202015-11-21%20at%2012.37.
     
  23. Eject the EFI partition. Eject the USB.

    Bildschirmfoto%202015-11-21%20um%2000.45
    Screen%20Shot%202015-11-21%20at%2012.45.

*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

  1. Shut down your laptop.
  2. Press the Assist button.

    vaio-s-power.jpg?raw=1
     
  3. Press F2 to boot into BIOS.

    medium.png?raw=1
     
  4. Restore default settings under the Exit tab.

    IMG_7852.jpg?raw=1

    IMG_7855.jpg?raw=1
     
  5. Make sure ‚UEFI‘ is on. Make sure ‚Booting from external device‘ is on.*4

    IMG_7853.jpg?raw=1

     
  6. Save settings.

    IMG_7855%20copy.jpg?raw=1
     
  7. Shut down your laptop.

    IMG_7855%20copy%202.jpg?raw=1

    *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

 

  1. 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).

    Sony-S13-connectique-droite.jpg?raw=1

     
  2. Press the Assist button.

    vaio-s-power.jpg?raw=1
     
  3. Press F11 to boot from external device.*5

    medium%20copy.png?raw=1
     
  4. Press ENTER to boot the OS X Installer.

    Parallels%20Picture.png?raw=1

 

*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

 

  1. Select language.
  2. Continue.

    Parallels%20Picture%202.png?raw=1

     
  3. Launch Disk Utility.

    Parallels%20Picture%2016.png?raw=1
     
  4. Erase your hard disk. Rename your partition and apply.

    Parallels%20Picture%207.png?raw=1

    Parallels%20Picture%208.png?raw=1

    Parallels%20Picture%2011.png?raw=1
     
  5. Exit Disk Utility.
  6. Install OS X. Continue.

    Parallels%20Picture%20copy.png?raw=1
     
  7. Select your hard drive partition.

    Parallels%20Picture%202%20copy%202.png?r
     
  8. Install.

    Parallels%20Picture%201.png?raw=1

    Parallels%20Picture%203.png?raw=1

    Parallels%20Picture%2014.png?raw=1

    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.

     
  9. Select your partition in Clover Boot Menu and boot into OS X.
  10. 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.

 

  1. Download Clover EFI bootloader. http://sourceforge.n.../cloverefiboot/
  2. Open the Clover installer package.
  3. Click on Continue, Continue.
    Screen%20Shot%202015-11-21%20at%2015.42.
  4. Click on Change Install Location.
    Screen%20Shot%202015-11-21%20at%2015.47.
  5. Select your Hard Drive partition. ContinueDon't select your USB.
    Screen%20Shot%202015-11-21%20at%2015.43.
  6. Click on Customize.
    Screen%20Shot%202015-11-21%20at%2015.47.
  7. Check ‚Install for UEFI booting only‘. Install Clover in the ESP‘ will be selected automatically.
    Screen%20Shot%202015-11-21%20at%204.25.5
  8. Under Drivers64UEFI check ‚OsxAptioFixDrv2-64‘.
    Screen%20Shot%202015-11-21%20at%204.26.1
  9. Check ‚Install RC scripts on target volume
  10. (Optional) Check ‚Install Clover Preference Pane‘
    Screen%20Shot%202015-11-21%20at%204.26.3
  11. Click on Install.
    Screen%20Shot%202015-11-21%20at%2015.47.
  12. When it’s finished, press Close.
    Screen%20Shot%202015-11-21%20at%204.26.5
  13. Enable ‚Hard disks’ under Finder > Preferences > General > Show these items on the desktop. You can disable it later.

    Bildschirmfoto%202015-11-09%20um%2013.47

    Bildschirmfoto%202015-11-09%20um%2013.48
  14. Open the folder /EFI/CLOVER/drivers64UEFI
  15. Delete VBoxHFS.efi
  16. Open your USB drive.
  17. Copy the contents of the EFI-backup to EFI partition of your hard drive. Replace the files.
  18. Open the folder /EFI/CLOVER/kexts.
  19. Rename ‚Other‘ to ‚10.11‘.
  20. 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.

  1. Download Clover Configuratorhttps://dl.dropboxus...p/10.10/CCV.zip
  2. Launch Clover Configurator.
  3. Mount EFI partition.
    Screen%20Shot%202015-11-21%20at%2017.44.
  4. Select diskXsY for your hard drive.
    Screen%20Shot%202015-11-21%20at%2017.47.
    Screen%20Shot%202015-11-21%20at%2017.44.
    Screen%20Shot%202015-11-21%20at%2017.44.

Patching DSDT & SSDTs

 

Extracting native ACPI files

  1. Boot into Clover bootloader menu.
  2. Press F4 on your keyboard. This will dump your native DSDT/SSDT files to /EFI/CLOVER/ACPI/originYou will get no feedback. Proceed.
  3. Boot into OS X.
  4. Mount EFI.

Patching ACPI files

 

  1. Download MaciASL. http://sourceforge.n...ojects/maciasl/
  2. Launch MaciASL.
  3. Go to MaciASL > Preferences > iASL.
  4. Set ACPI 5.1 under Compiler Options > ACPI Specifications.
    Screen%20Shot%202015-11-22%20at%2023.59.

I created an automated terminal command to patch your DSDT/SSDTs. Either follow this method or the manual way.

 

Automatic Patching with Terminal

Spoiler

 

Manual Way

Spoiler

 

Compiling ACPI files

  1. Open DSDT.dsl in MaciASL.
  2. Save as ACPI Machine Language Binary (aml) „DSDT.aml“.
    Screen%20Shot%202015-11-23%20at%2001.18.
  3. Open SSDT-2.dsl in MaciASL.
  4. 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

Spoiler

 

Manual way:

Spoiler

 

SSDT/Power Management
 

Use ssdtPRGen to create a SSDT for your system. https://github.com/P...ha/ssdtPRGen.sh

  1. Open Terminal and type:
    curl -o ~/ssdtPRGen.sh https://raw.githubusercontent.com/Piker-Alpha/ssdtPRGen.sh/master/ssdtPRGen.sh
    chmod +x ~/ssdtPRGen.sh
    
  2. 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

Spoiler

 

Manual way:

Spoiler

 

Restart.

 

Power Management Verification

 

  1. Download ApplteIntelInfo.kext (built by pokenguyen #284
  2. 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

    Screen%20Shot%202015-11-23%20at%2002.27.

Sleep/Wake

 

Real Macs use Hibernation Mode. You need to deactivate hibernation mode.

 

  1. Open a Terminal window.
  2. 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.

 

  1. Download ACPIBacklight.kext https://bitbucket.or...light/downloads
  2. Copy ACPIBacklight.kext to /EFI/CLOVER/kexts/10.11

 

Battery

  1. Download ACPIBatteryManager.kext https://bitbucket.or...river/downloads
  2. 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.

 

  1. Download FakePCIID_XHCIMux.kext https://bitbucket.or...ci-id/downloads
  2. Copy FakePCIID_XHCIMux.kext and FakePCIID.kext to /EFI/CLOVER/kexts/10.11

Clover method:

Spoiler

 

DSDT patch method:

Spoiler

 

Audio

  1. Download KextUtility. http://cvad-mac.narod.ru/index/0-4
  2. Download DummyHDA.kexthttps://www.dropbox....BmIswAFYka?dl=1
  3. Install DummyHDA.kext with KextUtility. DummyHDA only works in /System/Library/Extensions
  4. Download CodecCommander.kext. https://bitbucket.or...ander/downloads
  5. Install CodecCommander.kext with KextUtility. CodecCommanders (in OS X 10.11 El Capitan) only works in /System/Library/Extensions
  6. 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.

     

    Spoiler


    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)

    Bildschirmfoto%202015-11-23%20um%2004.19
     

  7. Under Devices in Clover use Audio Layout 3.

    Screen%20Shot%202015-11-23%20at%2003.04.

 

Additional steps after OS X 10.11.4:

  1. Copy DummyHDA.kext from System/Library/Extensions to your Desktop.
  2. Right click on DummyHDA.kext and Show package content.
  3. Open the file Info.plist inside the folder Contents with a Text Editor.
  4. Search these lines:
    <key>OSBundleLibraries</key>
    <dict> 
    
  5. 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> 
  6. Save and exit.
  7. Install DummyHDA.kext with KextUtlity.
  8. 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.

 

  1. 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:

     

    Spoiler
  2. Under Clover > Devices check ‚UseIntelHDMI‘.

    Screen%20Shot%202015-11-23%20at%2003.09.
     
  3. 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
AR5B195.png?raw=1

  1. For compatible Atheros cards download toledaARPT. https://github.com/t...xt.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/
     
  2. For Bluetooth download and install IOath3kfrmwr.kexthttps://bitbucket.or...mware/downloads

 

Broadcom BCM94352 HMB (AzureWave AW-CE123H)
BCM94352HMB.png?raw=1

 

  1. For BCM94352 download FakePCIID_BCM94352Z_as_BCM94360CS2.kext or Broadcom.kext (2015-11-02 and later versions)
  2. Copy FakePCIID_BCM94352Z_as_BCM94360CS2.kext or Broadcom.kext to /EFI/CLOVER/kexts/10.11
  3. 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

Spoiler
 
Terminal method
Spoiler
 
Verify under System Information
 
SSD
Check TRIM Support: Yes
Bildschirmfoto%202015-11-23%20um%2004.29

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.
Bildschirmfoto%202015-11-23%20um%2004.29
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)

  1. Boot into Clover
  2. Press Spacebar.
  3. Boot without Caches.
  4. Run KextUtility.
  5. Reboot.

 

Modding VoodooPS2Controller

 

Spoiler

 

Sources

http://www.insanelym...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 RehabMan

http://www.insanelym...gehaswell-cpus/

http://www.insanelym...-pcie-half-mini

 

Updated: 19:08 Tuesday May 10, 2016



#2
peppershaker

peppershaker

    InsanelyMac Protégé

  • Members
  • Pip
  • 45 posts

dude, this is the best guide I've ever read.


"[sys] OS Check Fix" can you specify which one? Windows 7 , 8 , or Vista? or does it not matter.

 

​If I'm only running OSX, do I still need this patch?


"curl -o ~/ssdtPRGen.sh https://raw.githubus...r/ssdtPRGen.sh"needs to be in code format, the site is shortening the url so copy/past will result in error.

 

also, for manual copying over ssdt/dsdt you missed the dsdt



#3
johnrey

johnrey

    InsanelyMac Protégé

  • Members
  • PipPip
  • 52 posts
  • Gender:Not Telling

dude, this is the best guide I've ever read.


"[sys] OS Check Fix" can you specify which one? Windows 7 , 8 , or Vista? or does it not matter.

 

​If I'm only running OSX, do I still need this patch?

 

The OS Check Fix has nothing to do with your Windows installation. It makes the DSDT perform certain actions when recognizing a Windows version. On some systems, the battery node for example is dependent on the Windows version, etc.

 

I have used Windows 7 and on another occasion Windows 8 OS Check Fix. You can try different versions and see what's changing.



#4
peppershaker

peppershaker

    InsanelyMac Protégé

  • Members
  • Pip
  • 45 posts

So i am now finally able to put the machine to sleep, however, upon wake, i loose audio. I copied CodecCommaner to S/L/E and still not fixing the problem. I left out OS Check Fix in the dsdt patch. do you think that's the problem?



#5
cloud1250000

cloud1250000

    InsanelyMac Protégé

  • Members
  • PipPip
  • 74 posts
Hi !!

Nice to see your guide!

I'll attempt it once I receive my Samsung 500gb evo 850. ;)

I'll make sure to give you proper feed back once I'm done ;)

#6
midi_senpai.pkg™

midi_senpai.pkg™

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 883 posts
  • Gender:Male
  • Location:Earth
Great Guide :D
Just for correction: sudo touch /var/vm/sleepimage
It's a file not a folder ;)
And for trim: use terminal and type :
sudo trimforce enable
Then leave it for a while it will reboot the system and enable trim without the clover patching.

#7
johnrey

johnrey

    InsanelyMac Protégé

  • Members
  • PipPip
  • 52 posts
  • Gender:Not Telling

Great Guide :D
Just for correction: sudo touch /var/vm/sleepimage
It's a file not a folder ;)

 

The command for sleepimage works this way. It's okay for a file, too. Try it. It just doesn't have an extension.

 

To delete a folder you would need to type "sudo rm -r /var/vm/sleepimage".
But sudo touch /var/vm/sleepimage/ may work, too. It creates an empty file instead of a folder. The alternative command looks like this:

sudo pmset -a hibernatemode 0

sudo rm /var/vm/sleepimage

sudo touch /var/vm/sleepimage

 

And for trim: use terminal and type :
sudo trimforce enable
Then leave it for a while it will reboot the system and enable trim without the clover patching.

 

Yes, I know this method and already used it. It was introduced in OS X 10.10.4. I can't remember if it still works when you multi boot or have an older version of OS X.


So i am now finally able to put the machine to sleep, however, upon wake, i loose audio. I copied CodecCommaner to S/L/E and still not fixing the problem. I left out OS Check Fix in the dsdt patch. do you think that's the problem?

 

Try OS Check Fix. It doesn't harm your DSDT. As for Sleep&Wake, I may have forgotten one step.

 

Did you install both AppleHDA/DummyHDA and CodecCommand to S/L/E?



#8
midi_senpai.pkg™

midi_senpai.pkg™

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 883 posts
  • Gender:Male
  • Location:Earth

So i am now finally able to put the machine to sleep, however, upon wake, i loose audio. I copied CodecCommaner to S/L/E and still not fixing the problem. I left out OS Check Fix in the dsdt patch. do you think that's the problem?


Try this too, click on the power button as if you gonna put the computer to sleep, usually it takes 20 secs to start the sleep process after that, so just leave the screen black for 10 secs then click on the power button again after that, you should get sound back (make aure the computer doesnt sleep, it's just in the delay time before it starts the sleep process).

#9
johnrey

johnrey

    InsanelyMac Protégé

  • Members
  • PipPip
  • 52 posts
  • Gender:Not Telling

Try what midi ッ suggests.

 

Let your Laptop sleep (orange blinking LED indicates Sleep, up to 30 seconds delay).

Wake it and check Audio.



#10
cloud1250000

cloud1250000

    InsanelyMac Protégé

  • Members
  • PipPip
  • 74 posts

oh!

 

I was wondering if you managed to disable the nvidia discrete card in osx?

 

Thank you!



#11
midi_senpai.pkg™

midi_senpai.pkg™

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 883 posts
  • Gender:Male
  • Location:Earth

Try what midi ッ suggests.

 

Let your Laptop sleep (orange blinking LED indicates Sleep, up to 30 seconds delay).

Wake it and check Audio.

Actually it shouldn't let it get to the sleep state, just click on Sleep, the screen will turn off, leave it for 10 secs (the computer should be still awake) then wake it again and press the volume buttons (make sure you check "make a bip on volume change" under sound prefpan). This usually happen when it wakes without a connected headphones (sound always works if headphones are plugged in, from experience, it can change on your device) or when you wake it just after sleep state (like just after the orange led turn on) or when it's a really long time (like overnight ~8 hours). if you leave it for like 2 to 4 or bit more, it doesn't usually happen.

Other issues you may encounter: when it wakes, sound is only on speakers, even after attaching headphones, solution: do the same as when you dont have sound. 

For Nvidia (only if you have the option to disable it in the UEFI Setup): IF YOU MADE YOUR DSDT WHEN IT'S ENABLED, REMAKE ANOTHER ONE AFTER DISABLING IT, YOU WILL GET SLEEP ISSUES IF YOU KEEP THE SAME DSDT (instant reboot after wake, or black screen and iGPU not recognized).

That's all :)

@Johnrey, for the GFX0 to iGPU renaming, is it really needed? I tried w/ & w/o and nothing changed (backlight and performances not affected, sleep/wake works fine). 



#12
johnrey

johnrey

    InsanelyMac Protégé

  • Members
  • PipPip
  • 52 posts
  • Gender:Not Telling

oh!

 

I was wondering if you managed to disable the nvidia discrete card in osx?

 

Thank you!

 

There is a way to disable it in OS X but I actually disabled it in UEFI. I don't see any disadvantages as my system is very cool and has longer battery life than in Windows.

And to be honest, I think my discrete graphics card is broken. I can't use it in Windows anymore..

 

Actually it shouldn't let it get to the sleep state, just click on Sleep, the screen will turn off, leave it for 10 secs (the computer should be still awake) then wake it again and press the volume buttons (make sure you check "make a bip on volume change" under sound prefpan). This usually happen when it wakes without a connected headphones (sound always works if headphones are plugged in, from experience, it can change on your device) or when you wake it just after sleep state (like just after the orange led turn on) or when it's a really long time (like overnight ~8 hours). if you leave it for like 2 to 4 or bit more, it doesn't usually happen.

Other issues you may encounter: when it wakes, sound is only on speakers, even after attaching headphones, solution: do the same as when you dont have sound. 

For Nvidia (only if you have the option to disable it in the UEFI Setup): IF YOU MADE YOUR DSDT WHEN IT'S ENABLED, REMAKE ANOTHER ONE AFTER DISABLING IT, YOU WILL GET SLEEP ISSUES IF YOU KEEP THE SAME DSDT (instant reboot after wake, or black screen and iGPU not recognized).

That's all :)

@Johnrey, for the GFX0 to iGPU renaming, is it really needed? I tried w/ & w/o and nothing changed (backlight and performances not affected, sleep/wake works fine). 

 

Renaming GFX0 to iGPU gives better power management. It's more like a real Mac. Do you use ACPIBacklight kext?



#13
midi_senpai.pkg™

midi_senpai.pkg™

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 883 posts
  • Gender:Male
  • Location:Earth

Renaming GFX0 to iGPU gives better power management. It's more like a real Mac. Do you use ACPIBacklight kext?

 

Umm... no, ACPIBacklight is optional (read the patch text), and it actually break the "smooth fade" when I get to the lowest level of brightness or get to sleep, yes it gives you a smoother sliding, but breaks that other stuff (LOL pls don't kill me, I just like the effect xD).

Other than that, the SSDT I generate makes my laptop fire hot (really bad PM) so I reverted back to -xcpm and KernelPM which give the same P-Stats as a real MBP9,2/10,1. (I'm still to this time trying to know what's wrong).


oh!

 

I was wondering if you managed to disable the nvidia discrete card in osx?

 

Thank you!

Upload your SSDTs so that I look in them, I'll try patch the GPU one. :)


A lil correction:

in Automatic Patching (for DSDT/SSDT)

cp -r /Volumes/EFI/EFI/CLOVER/ACPI/origin Desktop/origin

change it to

cp -r /Volumes/EFI/EFI/CLOVER/ACPI/origin ~/Desktop/origin

:)



#14
johnrey

johnrey

    InsanelyMac Protégé

  • Members
  • PipPip
  • 52 posts
  • Gender:Not Telling

Other than that, the SSDT I generate makes my laptop fire hot (really bad PM) so I reverted back to -xcpm and KernelPM which give the same P-Stats as a real MBP9,2/10,1. (I'm still to this time trying to know what's wrong).

 

You have an Intel i7 3520m, right? The same CPU I have. Try Clover>ACPI>SSDT>Drop OEM.



#15
midi_senpai.pkg™

midi_senpai.pkg™

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 883 posts
  • Gender:Male
  • Location:Earth

and

Desktop to ~/Desktop (line 4)


You have an Intel i7 3520m, right? The same CPU I have. Try Clover>ACPI>SSDT>Drop OEM.

ok will check it later :) (I'm trying some stuff atm, just playing around :P )


And for iasl command line, it gives me "-dl" unknown option



#16
johnrey

johnrey

    InsanelyMac Protégé

  • Members
  • PipPip
  • 52 posts
  • Gender:Not Telling

A lil correction:

in Automatic Patching (for DSDT/SSDT)

cp -r /Volumes/EFI/EFI/CLOVER/ACPI/origin Desktop/origin

change it to

cp -r /Volumes/EFI/EFI/CLOVER/ACPI/origin ~/Desktop/origin

:)

It will work both ways because the Terminal window starts in User's directory (~). But it's better to give absolute paths. Nice.

 

And for iasl command line, it gives me "-dl" unknown option

 

Did you extract your ACPI files? Are they inside /EFI/Clover/ACPI/origin?

Did you download iasl & patchmatic?

 

Try to enter the commands in parts.. It gave me some weird errors earlier...



#17
midi_senpai.pkg™

midi_senpai.pkg™

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 883 posts
  • Gender:Male
  • Location:Earth

Yes, the command line is wrong, change the -dl to -d

and another thing, why dont you just do "iasl -da -d DSDT.aml SSDT-2.aml" since it's the only tables the patches gonna be applied to (and since I got a problem because of other tables, I donno why, I get AE_ALREADY_EXISTS, but if I specify DSDT.aml & SSDT-2.aml it goes smoothly)

bash-3.2# iasl -da -f -d *.aml

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20140926-64 [Oct 16 2014]
Copyright (c) 2000 - 2014 Intel Corporation

Ignoring all errors, forcing AML file generation

Loading Acpi table from file   DSDT.aml - Length 00033723 (0083BB)
ACPI: DSDT 0x0000000000000000 0083BB (v01 Sony   VAIO     20130313 ACPI 00040000)
Acpi table [DSDT] successfully installed and loaded
Loading Acpi table from file SSDT-8.aml - Length 00000839 (000347)
ACPI: SSDT 0x0000000000000000 000347 (v01 Sony   VAIO     20130313 ACPI 00040000)
Acpi table [SSDT] successfully installed and loaded
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
Loading Acpi table from file SSDT-7.aml - Length 00000839 (000347)
ACPI: SSDT 0x0000000000000000 000347 (v01 Sony   VAIO     20130313 ACPI 00040000)
Acpi table [SSDT] successfully installed and loaded
Pass 1 parse of [SSDT]
ACPI Error: [\_SB_.PCI0.LPCB.TPM_] Namespace lookup failure, AE_ALREADY_EXISTS (20140926/dswload-451)
ACPI Exception: AE_ALREADY_EXISTS, During name lookup/catalog (20140926/psobject-305)
Could not parse external ACPI tables, AE_ALREADY_EXISTS

OR Maybe you should remove the other SSDTs first (in the long rm list) OR add to the iasl command line the SSDTs needed. (Just suggesting .. :P)



#18
johnrey

johnrey

    InsanelyMac Protégé

  • Members
  • PipPip
  • 52 posts
  • Gender:Not Telling

Yes, the command line is wrong, change the -dl to -d

and another thing, why dont you just do "iasl -da -d DSDT.aml SSDT-2.aml" since it's the only tables the patches gonna be applied to (and since I got a problem because of other tables, I donno why, I get AE_ALREADY_EXISTS, but if I specify DSDT.aml & SSDT-2.aml it goes smoothly)

 

OR Maybe you should remove the other SSDTs first (in the long rm list) OR add to the iasl command line the SSDTs needed. (Just suggesting .. :P)

 

No, it's not wrong. It's the legacy decompiling. Readme/Help show this:

  -dl               Emit legacy ASL code only (no C-style operators)

  -d  <f1 f2 ...>   Disassemble or decode binary ACPI tables to file (*.dsl)

                      (Optional, file type is automatically detected)

 

I tried my commands and they work perfectly. You need to delete all the other ACPI files except for DSDT and SSDT ones.



#19
midi_senpai.pkg™

midi_senpai.pkg™

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 883 posts
  • Gender:Male
  • Location:Earth

Check mine please ... why don't I have it :o

Attached File  iaslhelp.txt   3.81KB   5 downloads

Dumped this using iasl -h > iaslhelp.txt



#20
johnrey

johnrey

    InsanelyMac Protégé

  • Members
  • PipPip
  • 52 posts
  • Gender:Not Telling

Check mine please ... why don't I have it :o

attachicon.gifiaslhelp.txt

Dumped this using iasl -h > iaslhelp.txt

 

Indeed.. Maybe you have an older version of iasl.

Try removing it from /usr/bin and download&copy the newest one. iasl.zip








1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

© 2017 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy