Jump to content

[GUIDE] Install Mavericks/Yosemite on Sony VAIO S (2012) -and other UEFI capable VAIOs-


midi-sama
 Share

476 posts in this topic

Recommended Posts

 

Here is a list of things that changed in El Capitan:

  • no "kext-dev-mode" but new System Integrity Protection (SIP) or "rootless"
  • New USB Drivers
  • New AppleHDA patch
  • CodecCommander no longer works in EFI folder > must be in S/L/E
  • New BT4LE Handoff Hotspot patch & kext
  • New Backlight patch & kext
  • New Boot Glitch patch

 

 

are you using the intel backlight kext or still the acpi backlight? I saw some discussion saying the acpi no longer works?

 

also, voodooHDA no longer works and AppleHDA is the one for El Cap correct?

p.s it would be great if you guys can write up a quick update thread. the amount of information is overwhelming o.o 

About dsdt, I did exactly what is in the main guide, start from part "21)".  except [usb] USB3 Multiplex.

Then, follow @johnrey's update post http://www.insanelymac.com/forum/topic.../page-15#entry2184070

 

For post-installation, such as clover config, I refered @johnrey's list http://www.insanelymac.com/forum/topic.../page-17#entry2184732

 

okay, thanks dude!

Link to comment
Share on other sites

 

Yes, I fixed the USB issue.

 

Some of you already posted that the VAIO SVS 7 series supports native USB, so no need for GenericUSBXHCI kext. But for the native support to work, the DSDT needed some changes. USB 3 Multiplex patch.

 

In El Capitan, we can't use the USB 3 Multiplex method anymore. Here are the 3 steps involved in getting the USB work properly with USB 2.0 and 3.0 ports:

  1. Remove GenericXHCI.kext (if you managed to get native USB support, you probably don't have this kext anymore, skip this)
  2. Remove USB3 Multiplex Patch (if you didn't patch your DSDT with this patch, then skip this step. Otherwise you will have to extract your original DSDT and re-apply all the patches again, except for this patch)
  3. Rename EHCx to EH0x (in your DSDT, you have to search for all "EHC1" and "EHC2" devices and rename them to "EH01"/"EH02")

     

    Code from Rehabman's Lenovo U430 patch repo.

    # rename EHC1 to EH01
    into device label EHC1 set_label begin EH01 end;
    into_all all code_regex EHC1. replaceall_matched begin EH01. end;
    into_all all code_regex .EHC1, replaceall_matched begin .EH01, end;
    
    # rename EHC2 to EH02
    into device label EHC2 set_label begin EH02 end;
    into_all all code_regex EHC2. replaceall_matched begin EH02. end;
    into_all all code_regex .EHC2, replaceall_matched begin .EH02, end;
  4. Install XHCIMux kext. https://bitbucket.org/RehabMan/os-x-fake-pci-id/downloads

 

 hey man, I tried to patch the dsdt as you suggested but got kernel panic

 

1) I was unable to find the EXACT blocks of texts quoted above, so I only replaced the EHC1/2 with EH01/2

2) I searched for GenericXHCI in S/L/E and didn't find it

3) Installed new XHCIMux

 

the top USB port still does't get picked up, and waking from sleep results in a reboot. any idea dude?

 

thanks again !

Link to comment
Share on other sites

hey guys,

 

reporting back.

 

audio working. used updated version of applehda from second last page of the post. and make sure to use clover injection method. the kext method is not compatible with el capitan, it will cause kernel panic.

 

clover inject code is 3


http://www.insanelymac.com/forum/topic/293863-applehda-patch-requests/


your exact codec name can be checked in DPCI Manager under Status.

 

lastly, p state can not be checked in DPCI Manager in el cap (tool not compatible) , instead you can have a feel from using Intel Power Gadget

Link to comment
Share on other sites

hey guys,

 

reporting back.

 

audio working. used updated version of applehda from second last page of the post. and make sure to use clover injection method. the kext method is not compatible with el capitan, it will cause kernel panic.

 

clover inject code is 3

 

http://www.insanelymac.com/forum/topic/293863-applehda-patch-requests/

 

your exact codec name can be checked in DPCI Manager under Status.

 

lastly, p state can not be checked in DPCI Manager in el cap (tool not compatible) , instead you can have a feel from using Intel Power Gadget

Wait what? You know, ive been using the same DummyHDA since I ever found out about it (the layout i was using was 28) anf up until now, it's still fully functional! Check the new clover audio patch for 10.11

Link to comment
Share on other sites

about 15 minutes. more than that it's getting stuck. have a look at the screen cap of the files i used to loaded in clover.

 

the new clover you download from the internet doesn't have some HSF+ drivers so you will get stuck at a bunch of error lines

 

the drivers can be found in midi's zip file.

 

also, find the updated version of the kexts. they are all in rehabman's repo. if you can't find a more up to date version of some kext, use the old ones provided by midi

Link to comment
Share on other sites

El Capitan on SVS (Upgrading & Partial new install) [still need some stuff, Google is your friend]

2 methods:

1) Upgrade from Yosemite like a real Mac: Make sure you update clover config as stated in "Making Clover Config > if you alredy have yosemite config" then reboot and open the installer and follow instructions.
2) Upgrade using the USB Installer (I don't know why, but I like it) : follow the instructions

NOTE: you must have already a PC with OS X (mac or any other computer with OS X or VM)

Checking UEFI settings:


Turn off your computer then hit Assist button:
Select F2 for UEFI setup then go to Advanced and disable Discrete Graphics, go to Boot and make sure External Boot is enabled then hit F10 and Save.


Making Clover config:


(I'll be using Clover Configurator)
if you already have your yosemite config:


Add in Rt Variables:
Booter Config : 0x28
CsrActiveConfig : 0x67

Add in SMBIOS (for those who have weird RAM size like 12GB (4+8)):
Memory (+):


Slot 0
Size : 4096
Frequency : 1600 (check yours!! for some it may be 1333)
Vendor : Type whatever you like, I typed Samsung for no reason (my 8GB one is samsung's tho)
Type : DDR3

Slot 1
Size : 8192
Frequency : 1600 (check yours!! for some it may be 1333)
Vendor : Type whatever you like, I typed Samsung for no reason (my 8GB one is samsung's tho)
Type : DDR3




if you need to make a fresh one:


Boot:


Arguments:
Verbose (-v) [CRUCIAL FOR INSTALL, you may remove it after install]
-xcpm [CRUCIAL]
dart=0
kext-dev-mode=1
nv_disable=1

Default Boot Volume : LastBootedVolume (optional but recommended)
Legacy : PBR
Timeout : 5 (your choice)


Devices:


USB:
Inject - Add ClockID - FixOwnership
Audio:
28 or 3 depending on the codec you're using


Gui: (your customizations)
Mouse:
Double Click 500
Speed 8
Enabled
Scan:
Custom > Entries - Tool

Graphics:
Inject Intel
ig-platform-id : 0x01660004 (for 1600x900+) 0x01660003 (for 1366x756)

Kernel and Kext patches:


KernelPM [CRUCIAL]
Here are some stuff you may want to add:


Name:AppleIntelFramebufferCapri
Find: 040066010103010100000002
Replace: 040066010102040200000004
Comment: Patch HDMI-DP port HD4000 1600x900 #1

Name:AppleIntelFramebufferCapri
Find:300200000000000001000000400000000000000001000000400000000000000001000000400000000000000000000000
Replace:300200000205000000040000070400000304000000040000810000000406000000080000060000000000000000020011
Comment: Patch HDMI-DP port HD4000 1600x900 #2

For HDMI Audio patches (untested by me yet, ask johnrey, thank you btw):

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

NOTE: Your DSDT needs hda-gfx=onboard-1 injected into GFX0/IGPU and HDEF devices. Here is the post (#318) : http://www.insanelymac.com/forum/topic/300906-guide-install-mavericksyosemite-on-sony-vaio-s-2012-and-other-uefi-capable-vaios/?p=2184595

Name: AppleHDA
Find:8419D411
Replace:7502EC10
Comment: Expect 2 matches

Name: AppleHDA
Find:8508EC10
Replace:00000000
Comment: Expect 2 matches

Name: AppleHDA
Find:8319D411
Replace:00000000
Comment: Expect 2 matches (for El Capitan audio fix)




Rt Variables:
Booter Config : 0x28
CsrActiveConfig : 0x67
SMBIOS
Click on the wand and select MBP9.1/9.2/10.1 (whatever you like)
Memory: (for those who have weird RAM size like 12GB (4+8) or if you get instant reboot after choosing El Capitan):


Slot 0
Size : 4096 (check yours)
Frequency : 1600 (check yours!! for some it may be 1333)
Vendor : Type whatever you like, I typed Samsung for no reason (my 8GB one is samsung's tho)
Type : DDR3

Slot 1
Size : 8192 (check your extra RAM)
Frequency : 1600 (check yours!! for some it may be 1333)
Vendor : Type whatever you like, I typed Samsung for no reason (my 8GB one is samsung's tho)
Type : DDR3




Create USB Installer:


If you have clover on you HDD


Format your USB as MBR + JHFS+ (Mac OS X Journaled) named Installer
Use CIM method, open Terminal (or iTerm) and paste this line:
sudo /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia --volume /Volumes/Installer --applicationpath /Applications/Install\ OS\ X\ El\ Capitan.app --nointeraction
You will be prompted for password, provide it and leave it do the work


If you need Clover (new users)


Format your USB as MBR + 2 partitions :
1) FAT32 (MSFAT) named Clover at least 300MB
2) JHFS+ (Mac OS X Journaled) named Installer

Download Clover installer using Clover Configurator. Open it then choose in custom install:
UEFI Booting Only
Theme: Whatever
Driver64UEFI: AptioFix2
Then Install on Clover partition.
Once done, open clover configurator > Install Driver > on the upper right you'll find a list and a refresh arrow beneath it, refresh the list using the button and then select clover partition.
In DRIVER64UEFI double click on VboxHfs and then double click on HFSPlus in EXTRA DRIVERS.
Make your config using the full method as stated before, then replace the config.plist in the CLOVER > EFI > CLOVER (it's a folder, use finder)
Then use CIM method, open Terminal (or iTerm) and paste this line:
sudo /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia --volume /Volumes/Installer --applicationpath /Applications/Install\ OS\ X\ El\ Capitan.app --nointeraction
You will be prompted for password, provide it and leave it do the work
Copy the kexts I provided in the Zip file on the main guide in the folder CLOVER > EFI > CLOVER > kexts > 10.11 .


 

 

Boot the USB & Install:


If you have clover on HDD, just boot the computer as normal, and make sure the Installer USB is on the black USB port next to the ethernet, start it and follow the instructions
If you have clover on USB, press Assist button while the computer is off, make sure you plugged the Installer USB on the black USB port next to the ethernet, select Boot from External Devices, when clover starts up, select the OS X Installer icon and follow the instructions (if you need help with that, just open Tools > Disk Utility > Select the partition you made using the TIP before Step 6 in the main guide for dualbooting, format it as Mac OS X Journaled, if not, just erase the hell of that HDD, make sure you backed up your data).

After install open terminal and type:
diskutil mount disk0s1
Then open EFI drive in Finder, copy the Clover folder in CLOVER > EFI to EFI > EFI

 

 

Post Install:


What we need is fresh DSDT: power off then power on again your computer > when you get to clover gui, hit F4 > boot OS X
The File is stored on the "origin" folder under ACPI folder under CLOVER folder in EFI partition (if you're booting from HDD) or CLOVER USB.
Make a copy of the original DSDT you got (just incase you missed something) and open one of the copies.
Add rehabman's Laptop DSDT Patches repository (follow the guide here: https://github.com/RehabMan/Laptop-DSDT-Patch )
And select the following patches:

[bat] Sony VAIO S
[igpu] Brightness fix (HD3000/HD4000) (you may apply the renaming later, but it's not necessary)
[syn] Fix TNOT Error
[sys] Fix _WAK Arg0 v2
[sys] Fix Mutex with non-zero SyncLevel
[sys] Fix PNOT/PPNT
[sys] IRQ fix

in Sourceforge repo:
Insert DTGP (may be needed later)

Then:
open this file : https://raw.githubusercontent.com/RehabMan/Lenovo-U430-Touch-DSDT-Patch/master/patches/usb.txt(either on the web browser or download it)
copy its content and paste it on the patch window (make sure the patch field is clear), Apply then Close.

Compile the DSDT file, if you get 1 error, go check the main guide for it if it's the same as I get, or post it here / Google it.
Save the file as ACPI Machine Language Binary named DSDT.aml in CLOVER > ACPI > patched.

Install XHCIMux + FakePCIID.kext from here https://bitbucket.org/RehabMan/os-x-fake-pci-id/downloads

 

Install USBInjectAll.kext for USB as the DSDT patch is not necessary for it. (Link to github: https://github.com/RehabMan/OS-X-USB-Inject-All )

(thanks to johnrey for USB fix on 10.11 : #294 http://www.insanelymac.com/forum/topic/300906-guide-install-mavericksyosemite-on-sony-vaio-s-2012-and-other-uefi-capable-vaios/?p=2184070)

Install other Kexts:
Audio : DummyHDA (you may get it from HVT tool > Audio > Laptop > Realtek > ALC275, you will get a dummy kext, install it, for the xml file, it's the configs needed on clover, use layout 28)
Bluetooth (check the correspondent kext for your card)
FakeSMC (leave it in Clover kext folder)
ACPIBattery
ACPIBacklight (if you want to, normally brightness works even without it)
VoodooPS2Controller (leave it in Clover kext folder)
Ethernet RTL8111 (in HVT installer)



That's all, if you think I missed something please write it down for me to update this guide. I didn't mention some Clover kext patches since I don't use them, please post yours if necessary.
Thanks.

  • Like 2
Link to comment
Share on other sites

If you're gonna use OS X only then yes, if not enable it, your battery life will decrese that's all, I was using Disbale GFX from DSDT (patch from RM) and it was working on 10.10.x, but I get reboot after wake on 10.11.x if I had it, and im too lazy to patch ssdt atm.

Link to comment
Share on other sites

Well, I don't have the option to disable the discrete card in my bios... Also, the installer crashed... :'(

 

Edit: Im pretty sure I followed everything right.. kexts and all.. Whats the version of your bios?

 

 

i had this problem before,but i don't remember what caused it exactly. its either

 

1) clover config

2) kext

3) HFS drivers

Link to comment
Share on other sites

i had this problem before,but i don't remember what caused it exactly. its either

 

1) clover config

2) kext

3) HFS drivers

 

I see.. Gonna take some screenshot and show you what I have right now..

 

Edit: My vm is a d*ck right now... or my hdd maybe... something is making everything slow.. I should get some screenshot in 30 minutes...

 

Edit.. here's screenshot from inside windows

kexts are in 10.10, 10.11 and other folders (E:\EFI\CLOVER\kexts\10.11)

config.plist in E:\EFI\CLOVER

Drivers in E:\EFI\CLOVER\drivers64UEFI

post-1613107-0-78355700-1447306145_thumb.png

post-1613107-0-48906500-1447306152_thumb.png

post-1613107-0-89070800-1447308156_thumb.png

post-1613107-0-44408500-1447308157_thumb.png

post-1613107-0-90346200-1447308157_thumb.png

post-1613107-0-48854200-1447308158_thumb.png

post-1613107-0-20751700-1447308159_thumb.png

post-1613107-0-62601700-1447308159_thumb.png

post-1613107-0-14619600-1447308160_thumb.png

post-1613107-0-80293800-1447308160_thumb.png

post-1613107-0-80554700-1447308383_thumb.png

Link to comment
Share on other sites

I see.. Gonna take some screenshot and show you what I have right now..

 

Edit: My vm is a d*ck right now... or my hdd maybe... something is making everything slow.. I should get some screenshot in 30 minutes...

 

Edit.. here's screenshot from inside windows

kexts are in 10.10, 10.11 and other folders (E:\EFI\CLOVER\kexts\10.11)

config.plist in E:\EFI\CLOVER

Drivers in E:\EFI\CLOVER\drivers64UEFI

what versions of the kexts are you using? for every single one of them, google to see if there are newer versions. things like fakeSMC definitely needs update from the zip in the original post.

 

you also don\t need codeccommander, disable turbo and btfirmware to install.

 

lastly, make sure you are installing the latest version of clover by downloading it fresh off the internet. clover in the midi's zip are outdated. after downloading clover and installing to your usb, paste over the kexts and the drivers64UEFI files

 

rigorious editing of plist is also not required to install, and might probably hurt you because they are designed to be used with certain kexts. if it doesn't work, revert to the basic plist set up from midi's original most, and just add in rootless = 0

 

you all are welcomed to tell me idk what im talking about

Link to comment
Share on other sites

 Share

×
×
  • Create New...