- Aug 27, 2011
- GB Z490 Vision G
- i9 10850K OC @ 5.2 GHz
- Vega 64 LC + HD 630
- Mobile Phone
8-Feb-2015: New Clover / Yosemite Update guide On-Line
21-Sept-2014: Confirmed Working with Mavericks 10.9.5 (Post#666)
13-Sept-2014: Confirmed Working with Mavericks 10.9.4 (Post#664)
06-Jun-2014: Implementing Native CPU P-States (Post#594)
23-May-2014: Update to Mavericks 10.9.3, Chimera 3.0.1 (Post#581)
20-Mar-2014: Update known issues (4) - OSX Battery Mon (Post#509)
03-Mar-2014: Dual Channel 5Ghz WiFi & BT4.0 Upgrade Post
28-Feb-2014: Confirmed Working with Mavericks 10.9.2 (Post#489)
25-Jan-2014: Added procedure for Bluetooth transport control
24-Jan-2014: Further work tidying some sections of the guide
11-Jan-2014: Added notes for Alps Touchpad on Sony SA & SB
10-Jan-2014: Rewrite and simplify / tidy some sections of the guide
09-Jan-2014: Updated the section on DSDT edits with new repo patches
30-Dec-2013: Confirmed working with Mavericks update 10.9.1 11-Dec-2013: Updated Post Install pack to Version 1.2 01-Dec-2013: Resolved issue with 'About this MAC' not working 05-Nov-2013: Initial guide posted
Around June of 2011 I was looking for a new laptop, I could not afford the just released Retina MBP so I looked at what laptops forum members were running OSX successfully on. Sony were doing some great offers at the time on the recently released Vaio SE2 model including a free upgrade from i3 to i7 sandy bridge CPU. I was already running Snow Leopard on my trusty four year old Sony Vaio SZ-1XP but the new SE model had a rich specification at a affordable price, so after some deliberation I went ahead and ordered direct from the Sony On-line store.
- Sony VPCSE2C5E
- Intel®Core i7-2640M @ 2.8GHz / Turbo @3.5ghz
- Intel HD3000 and AMD Radeon HD 6470M 512MB
- 15.5" (39.5 cm) LCD 1920x1080 HD IPS Display
- Intel HM67 Chipset
- 320 GB Serial ATA (5400 rpm)
- 4 GB 1333 MHz DDR3-SDRAM
- DVD/CD Reader/Burner
- Realtek Gigabit Ethernet RJ45 Port
- Integrated HD WebCam and Microphone
- Two USB-2.0 ports and one Super Speed USB-3.0 port
- HDMI & VGA output
- Backlight keyboard
But things move on, so in October of 2012 I started on a Mountain Lion build, starting with what Cyberwalrus had done so far with ML and and with help from RehabMan I started with a clean native DSDT and after some time patching & refining it, I eventually got Mountain Lion running really well using mostly native ML kext’s, the audio system and touchpad still used some old patched SL kext's and there was no support for HDMI audio, USB 3.0, Bluetooth & VGA.
Then in late November 2012, Apple released the much hyped OSX Mavericks. This new release of OSX had the potential to address many of the issues that still remained with the ML build of OSX on my SE.
Now after a lot of work I am able to present my latest and greatest build of OSX yet for the Sony Vaio SE series of laptops. This guide is obviously based on the above spec, but it should also work for Sony 'S' models such as the SA and SB with a few extra DSDT edits.
- Sleep & Wake including ACPI Power Button
- Built-in LVDS Display including brightness control and lid sleep
- CPU speed step via SSDT
- Battery icon and notifications
- Web Cam and Internal Microphone
- WiFi and Bluetooth using new combo mini PCIe card
- ALC275 HD Audio with auto jack sense
- Keyboard and Backlight
- Touch-Pad (multi-touch)
- Intel HD3000 HDMI Video and Audio
- Ethernet Port
- USB 2 & USB 3
- VGA Video
- About this MAC (see here)
- AMD Desecrate Graphics
- Realtek SD Card Reader
- A few fn Keys
Battery life is not so great, about 2-2.5 hours depending on use, but can be increased with addition of Sony Sheet Battery pack.
I am not responsible for any damage you may inflict on your laptop or loss of data by following this guide, as always be sure to do a full backup before you start. I would recommend that you read through the entire guide once or twice before starting to make sure you understand the procedure. Be sure to download all the utilities and prepare any additional files before starting.
Step-1: Hardware Modifications
I wanted to get the maximum performance out of my system so I made several hardware upgrades/modifications before installing OSX, please also note that the factory fitted Intel WiFi card is not supported in OSX.
- Replaced DVD/CD/RW with Drive Caddy & Seagate Momentus 750GB XT Hybrid drive
- Replaced the factory fitted HDD with Corsair Force GT 128GB SSD
- Replaced Intel WiFi / Bluetooth mPCIe with Broadcom BCM943225HMB combo card *
- Expanded RAM to 8GB by adding Corsair 4GB DDR3 SODIMM
- Added Sony Sheet-Battery VGPBPSC29
Most of the items I bought on eBay, mainly from China suppliers. All of the updates are easy to fit and only require you to remove the back panel of the laptop in order to fit the SSD, Memory and mPCIe Radio card. The DVD/CD/RW is held in place by two small screws.
Close-up of Hardware Modifications
Step-2: OSX Install Prerequisites
If you have a different spec/model Vaio such as SA or SB then you will need to edit/patch the DSDT.
This is hardest part of the install for beginners as it really requires prior knowledge of DSDT editing & patching. Having a correct and working DSDT is absolutely essential to getting a fully functioning system. This is where many people fall down when building a laptop CustoMac. By using a DSDT that was not generated on your system, small difference in BIOS Versions, CPU Types … etc can have a big effect on the stability of your OSX system.
With that said, if you own a Vaio-SE2 there is a very good chance that the DSDT in my Post Install pack will work for you out of the box - or at least get you started, as long as you do not have radically different hardware such as the Sony factory fit SSD-RAID.
2.1 - DSDT Screen Edits
The Sony Vaio SE2 has 15.5” 1920 x 1080 screen, if your Vaio has a different screen resolution like the Sony Vaio SA or SB laptops, then you will need to replace the injected display information with the correct data for your screen. In order to help SA & SB users I have created some DSDT patches for use with MaciASL :
here. Be sure to read the instructions on how to add them to MaciASL. Apply the appropriate EDID patch from the list that matches the resolution of your Vaio. Compile and save then use in place of the one in the Post Install pack.
2.2 - Further DSDT Work
If your BIOS or hardware is radically different then the chances are you will need further DSDT work. I can not fully document the process of creating and patching a DSDT here, it requires patience and a lot of reading to understand what edits are required. If you want to learn about how to create and edit your own DSDT then I would recommend that you start with RehabMans guide here which will teach you how to extract your native DSDT, after which you will need to correct the compile errors and perform a few basic patches such as changing reserved names … etc. Then there are a number of OSX related edits that need to be added to the DSDT in order to gain maximum compatibility. RehabMan has a DSDT patch repository (here) which will help you achieve this, read his guides, you can research the patches and edits on the various forums and learn. Finally the Sony Vaio S Specific patches in my repo must be applied.
2.3 - AHCI SATA Mode
The Sony Vaio SE has a Intel ESB2 AHCI SATA controller that by default runs in raid mode and falls back to standard AHCI mode if a single drive is detected. The Sony SSD Raid was completely bespoke and not very popular due to its ridiculous price and I'm not sure that it will even work with OSX. I've patched the DSDT to ensure that the controller is aways in AHCI mode, however this may not work on Sony SA/SB in which case you might need to install a modified BIOS. Please read CyberWalrus’s post here on how to do this.
2.4 - Check the Diff’s
You will need your native DSDT to check for differences against the DSDT I have provided here, you only need to look for differences that involve memory allocations and addresses and device definitions for your WiFi card if you not using the one I suggest. For checking the diffs, I would recommend DiffMerge available here. Of course there will be many large differences because of all the edits and patches I have already made so what your looking for is small differences between similar methods, it can get very confusing and overwhelming if you don't understand what your looking at. All i can say is keep at it and you will get there, if you get stuck don’t be afraid to ask for help, thats why these forums exist.
Note: I hope to write a complete DSDT patching guide for Sony S laptops in the near future, which should resolve all DSDT issues but its going to take me a while to get it written and to develop a suite of working MaciASL patches for all Sony S models.
Step-3: Prepare the Install Files
Software Tools Required:
- UniBeast (latest)
- MultiBeast ( I recommend version 6.2.2 - the latest version has issues with FakeSMC )
- Chameleon Wizard
- Kext Utility
- Show all files
You will also need:-
- OSX 10.9.X Mavericks downloaded from the AppStore
- The attached archive ‘Post Install’ downloaded and unzipped
Generate a OSX USB Installer using the usual method, if your not sure follow Tony’s guide here, be sure to select the laptop option before continuing. Once UniBeast has finished, run ‘show all files’ and click ‘show’, copy your DSDT to the 'Extra' folder in the root of the USB Installer, run show all files again and click ‘hide’
3.2 Prepare the Post Install Files
Unzip the attached ‘Post Install’ folder to the root of your USB installer, Copy MultiBeast, Show all Files, Kext Utility and Chameleon Wizard to the ‘Utils’ sub folder of the ‘Post Install’ folder on your USB Installer. Finally copy your DSDT to the ‘DSDT’ sub folder of ‘Post Install’ on your USB Installer (yes this is the same as the one in the hidden /Extra folder you just did in the previous step, but it saves us from having to use Show All Files later .. on)
Notes for Sony SA & SB Users: The included VoodooPS2Controller.kext only supports Synaptics touchpad's. Sony SA & SB models use an ALPS device. Before continuing please see this post, follow the link, download and extract the files and replace the ones in the attached Install Pack subfolders 'Kexts' & 'Touchpad', thanks to CyberWalrus for pointing this out. Once a 100% proven install is achieved with SA & SB I will update the guide and include the appropriate files in the Post Install pack.
Step-4: Install OSX
If your ready to start, insert your USB installer in your laptop and boot from it, at the UniBeast menu select the USB and after a short while the OSX Installer should start, select your language and click on next.
Use Disk Tool on the Utilities menu to prepare the SSD for OSX, be sure to set the partition type to GUID and format the drive as ‘Mac OSX Extended, Journalised’ then continue on and install OSX on the prepared SSD, this should take between 15 to 25 minuets depending on your system.
Once the Installer has finished leave the USB Installer attached to the laptop and reboot, this time select the newly installed OS. With a bit of luck you will be greeted by the welcome screen, complete the basic OSX startup procedures, don’t worry about anything to do with networking, the internet or Apple ID’s, just click on ‘Skip’ for these and complete the OSX setup, you can go back to those later once we get the network devices working.
Step-5: Post Install
First copy the ‘Post Install’ folder that you copied on to the root of your USB Installer to your Documents or Downloads folder, for the rest of the guide I will refer to this location as the 'PI folder'. Next Click on the Apple icon and select ‘System Preferences’, click on ‘Security & Privacy’, click on the padlock and enter your password. Click on the ‘General’ tab, —> ‘Allow Apps downloaded from:’ select ‘Anywhere’, then click on the ‘Show All’ button and quit System Preferences.
5.1 - Run MultiBeast (Version 6.2.2)
Navigate to the ‘Utils’ sub-folder of the 'PI folder' and start MultiBeast, click on ‘load’ and navigate to the ‘MultiBeast Profile’ sub-folder. Select the file ‘Sony_SE(SA/SB).mb’ and click on ‘open’,
The supplied MultiBeast profile will automatically select the following MultiBeast Options :-
- SSD Trim Enabler
- FakeSMC (check selection - it may be unchecked!)
- FakeSMC Plugins (do not select Nvidia if it's an option)
- USB 3.0 Universal kext driver
- Lnx2Mac’s Realtek LAN Controller kext driver
- Apple RTC Patch for CMOS Reset
- Chimera v2.2.1
- Set the Hibernate Mode to Laptop
5.2 - Setup the ‘Extra’ Folder
Copy the folder called ‘Extra’’ in the 'PI folder' to the root of your startup disk, you will need to enter your Password. Copy your DSDT to the new /Extra folder in the root of your startup disk, again you will need to enter your password. Now start ‘Chameleon Wizard’ from the ‘utils’ sub-folder of the 'PI folder', click on the ‘SMBios’ icon on the top tool-bar, click on the ‘Open’ button. Navigate to your /Extra folder on the root of your startup disk and select the file ‘smbios.plist’ , click on ‘Open’ then click on ‘Edit’
Click a few times on the two buttons called ‘Random’ to generate a random Week and Unique Number. If you have a Sony SA or SB then click on ‘Model Number’ and select ‘MacBook pro (8,1) if you have a Sony SE leave it set at MacBook Pro (8,3) - Click on the ‘Save’ Button’ and quit Chameleon Wizard. Finally open the file 'org.chameleon.Boot.plist' in the /Extra folder using Text Edit and set to the resolution you run your desktop at by editing the string value for <key>Graphics Mode</key>, save the file and quit Text Edit.
5.3 - Install the patched and custom kexts
In order to get the touchpad working with RehabMans VoodooPS2Controller kext, you will need to check if the following two legacy kexts exist in '/System/Library/Extensions', if the do please remove them by using finder or terminal commands (you will need to enter you password)
5.4 - Install the TouchPad Daemon
In Finder navigate to the ‘TouchPad’ folder in your ‘PI folder', ensure that you have the ‘Path Bar’ enabled (Finder Menu —> View —> Show Path Bar). Open a terminal window and type ‘cd<space>’ and then drag the word ‘TouchPad’ from the Finder Path Bar to the terminal window and hit return (Alternatively manually type in the full path to your Post Install/TouchPad location). This will change the current terminal path to the folder with the TouchPad daemon install elements, enter these two commands sepretley:-
sudo cp org.rehabman.voodoo.driver.Daemon.plist /Library/LaunchDaemons sudo cp VoodooPS2Daemon /usr/bin
5.5 - Install UK Keyboard Profile (Optional)
For UK keyboard users, copy the file ’Sony-S-UK.keylayout’ from sub-folder ‘Keyboard & Display Profiles’ to '/Startup Disk/Library/Keyboard Layouts’, enter your password. To activate it open ‘System Preferences’ click on ‘Keyboard’, select ‘Input Sources’, click on ‘+’ and select ‘Others’, select ‘Sony-S-UK’ Now click on the keyboard icon on the menu bar and select ‘Sony-S-UK’, you can tun off the Keyboard menu icon by unchecking ‘Show Input menu in menu bar’ on the keyboard input sources in system preferences.
5.6 - Install ICC Display profile (Optional)
Some Sony SE users may be familiar with the infamous ‘OrangeGate’ debate - reds on some Sony SE IPS displays are more orange than red. The file ‘Sony-SE.icc’ profile in sub-folder ‘Keyboard & Display Profiles’ will do a very good job of correcting this issue. To use, copy the file ’Sony-SE.icc’ to somewhere safe and permanent on your system. Run OSX ColorSync Utility (applications/utilities), click on the Devices icon, then Displays —> Display. Click on the small arrow next to ‘Current Profile’, select ‘other’, navigate to the location you copied the file ‘Sony-Se.icc’ and select it.
5.7 - Time to boot OSX
Finally, it's time to eject your Unibeast OSX USB Installer and reboot, If you’ve followed my guide closely you should be presented with the Chimera boot menu, select your Mavericks drive and keep your fingers crossed, if all goes well you'll boot up into OSX Mavericks complete with working battery icon and all the bells and whistles of Apples latest OS with every port on your laptop working (except the SD reader)
Once you've got your system up and running set any additional System Preferences to customise OSX how you like to work and install your apps and utilities. I have included the fix for iMessage in this install but if its not working check my guide on iMessage here.
5.8 - Enable Bluetooth Transport Control
Note: This step is not required if fitting the new BCM94352/Azurewave AW-CE123H mPCIe card - please see addendum here.
If you have swapped out the factory fitted Intel WiFi/Bluetooth card for the Broadcom BCM943225HMB mPCIe module I suggested in the hardware changes section then you need to make a small change so that you can see the option to turn the Bluetooth radio on and off in the Bluetooth SysPrefs/Context menu. First find out the Product ID & Vendor ID of your Bluetooth module by using System Information:-
Right click on 'IOBluetoothFamaily.kext' and select 'Show Package Contents' then navigate to :-
Right click on 'BroadcomBluetoothHostControllerUSBTransport.kext' and select 'Show Package Contents' then navigate to :-
Right click on the hidden file 'info.plist' and open it for edit in textwrangler.
Move down the file until you see the device definitions, copy one of the existing definitions and paste it back into the file directly after the block you copied it from. Edit the key name and add 'Sony' in place of the last suffix of the key name. Finally change the Vendor ID and the Product ID to the decimal values you noted down.
Here is what mine looks like (changes are marked in blue) :-
[B][COLOR=#800080]Source/Copied code :-[/COLOR][/B] <key>Broadcom2045FamilyUSBBluetoothHCIController_P</key> <dict> <key>CFBundleIdentifier</key> <string>com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport</string> <key>IOClass</key> <string>BroadcomBluetoothHostControllerUSBTransport</string> <key>IOProviderClass</key> <string>IOUSBDevice</string> <key>idProduct</key> <integer>33293</integer> <key>idVendor</key> <integer>1452</integer> </dict> [COLOR=#800080][B]Pasted/Edited code :-[/B][/COLOR] <key>Broadcom2045FamilyUSBBluetoothHCIController_[B][COLOR=#0000cd]Sony[/COLOR][/B]</key> <dict> <key>CFBundleIdentifier</key> <string>com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport</string> <key>IOClass</key> <string>BroadcomBluetoothHostControllerUSBTransport</string> <key>IOProviderClass</key> <string>IOUSBDevice</string> <key>idProduct</key> <integer>[B][COLOR=#0000cd]12949[/COLOR][/B]</integer> <key>idVendor</key> <integer>[B][COLOR=#0000cd]5075[/COLOR][/B]</integer> </dict>
Save the file (text wrangler will ask for your password to unlock the file when you start to make changes and again when you save it), run 'Kext Utility' and let it rebuild the caches, once you get the 'All Done' message close everything down and reboot. After the system restarts, right click on the Bluetooth icon in the menu, you should now see the option to turn Bluetooth Off/On.
Note: You may need to re-do the above procedure after a combo/minor OSX update.
If you installed OSX on a SSD and moved the factory fitted HDD to a drive caddy then you don't have to do anything else. Chimera will find the Windows build on the second HDD drive and offer you the option of booting OSX or Windows, if you get the hidden Sony partitions showing up in Chimera you can add the 'Hide Partition' key to 'org.chameleon.Boot.plist' in the /Extra folder - I have the following:-
<key>Hide Partition</key> <string>hd(1,2) hd(1,3) hd(1,9)</string>
- OSX Mavericks 10.9.1
- Windoze-7 SP1 (64 Bit - Factory Installed)
- Windoze-8.1 (64 Bit)
- Ubuntu (64 Bit)
My advice is only install OSX and Chimera onto the SSD drive, install all other OS's onto the second HDD, it solves an awful lot of problems when it comes to multi-boot. Another piece of advice is that if you want to install Windoze 8.1, its best if you remove the internal OSX SSD drive before starting the install. For some reason Windoze 8.1 tries (and fails) to install its boot loader onto the boot partition of the SSD / OSX drive (I think it tries to take over being the boot manager). Taking the SSD out and installing the other OS’s onto the second HDD drive makes things much simpler and theres no chance of screwing up your OSX build, once your done you can drop your OSX SSD back in and allow Chimera to be the boot manger, it should find the other OS's automatically.
Multi-Boot into Windows 8.1, Windows 7 SP1 and Ubuntu
Step-7: Finishing Touches
Yup, I know its sad but it does turn heads, I have a Roland CAM cutter so I made some custom vinyl graphics for my MonkeyBook Pro, I also created a Vaio-Apple desktop wallpaper based on the Sony Windows wallpaper and a custom boot-up theme for Chimera (all included in the attached archive) to finish the build off.
MonkeyBook Pro Customisations
1. ‘About this MAC’ will cause a Finder/Desktop restart. This is due to a issue in Chameleon / Chimera, I now have a working fix for this - please see my Addendum here:
2. Sony SE/SA/SB laptops all use the Realtek ALC275 codec for on-board sound, unfortunately there is an issue with this and other early Realtek codecs that have a EAPD (an on-board amp for the speakers and headphones) that causes AppleHDA not to initialise it correctly after waking from sleep, resulting in no sound from the speakers. Hackingtosh guru EMlyDinEsH has written a standalone kext that resolves the problem by issuing a mute/un-mute command after a wake. This causes a small ‘beep’ that effectively re-initialises the codec and stops it from going into its silent/broken mode after waking from sleep.
3. Battery life is not as good as when running under Windoze, this is because OSX does not have access to all the advanced power management features provided by the Sony power management dll's, if anybody can figure out what Sony does, we might be able to add it to the SSDT. As a result the system runs a little warmer causing a bit more fan noise when the CPU is under load. To gain more battery life I found a very good deal (£59.00) on the Sony Sheet battery, with this fitted i can get almost 6 hours of battery life.
4. The OSX Battery monitor sometimes fails to update and/or shows an invalid status when the sheet battery is fitted, in most cases simply un-checking and re-checking the 'Show Percentage' option on the battery icon context menu is enough to refresh the icon. I now believe that most of these issues are actually caused by a bug in OSX, for those of you running dual batteries I recommend installing iStat Menus 4. Please see this post for more information on the OSX battery monitor issues and using iStat menus 4 in place of it.
5. The desecrate AMD GPU can not be used, Sony have implemented the graphics switching in their own bespoke way using a physical switch and software, it is extremely unlikely that this will ever be resolved.
6. Not all the special 'fn' keys work, the mute and volume up/down fn keys work fine, the display brightness can be adjusted using fn+<pause/break> and fn+<delete> the rest of the fn keys and special Sony keys do nothing at the moment.
Information about included Kexts
- ACPIBatteryManager.kext - By RehabMan for Battery Management
- VoodooPS2Controller.kext - By RehabMan for TouchPad
- toledaARPT.kext - By Toleda - AirPort / WiFi Enabler
- EAPDFix.kext - By EMlyDinEsH for ALC275 EAPD Sleep fix
- AppleHDA,kext - For ALC275 HD Audio
- AppleIntelCPUPowerManagmen.kext - To to stop KP on boot
- AppleIntelSNBGraphicsFB.kext - For HDMI audio and VGA
I’ve put an awful lot of time into this project however I’ve had a lot of help along the way, special mention should goto RehabMan for his help and guidance while I was getting up to speed on DSDT editing and also for his Batter Manager and Synaptics Touchpad kext’s. Thanks to Toleda for his Airport injection kext and Airport research. Thanks to EMlyDinEsH for her EPADfix and her many guides on patching AppleHDA and AppleIntelSNBGraphicsFB which allowed me to get HDMI Audio and the VGA port working. Also thanks to darkera13, BC9 & Mirone for their additional guidance in patching AppleHDA. Finally a big thanks to CyberWalrus who started the whole ball rolling with his initial Lion build for Sony SA/SB and all the other forum members who contributed to those early DSDT edits.
Increase the number of CPU P-States available to the OSX CPU Power Management process, see addendum to main guide at Post #591
I will continue to fine tune the MonkeyBook build and update this guide on a on-going basis but recommend that you check in with RehabMan's GitHub Repository from time to time for updates to the Synaptic's VoodooPS2Controller and AppleSmartBatteryManger kext's, these are in constant development so its worth checking there first if you have any issues with these, if you do find something odd please give feedback via the forum topic links in each of respective kext's readme files.
The next stage for this guide will be to finish the Sony specific SA/SB/SC/SE MaciASL DSDT patches and to write an amendment on how to generate, edit and patch a Native DSDT from start to finish.
I will also update the 'Post Install Pack' from time to time when i feel there is enough of a development to warrant a new upload. Please check the change log at the top of the guide to keep up-to-date on the projects development.
If you use this guide and get a working DSDT for SA or SB or anther Sony model that works with this build, please post the DSDT and any special instructions and I will include it in the guide for others to benefit from (credit will of course be given to you)
Thanks for reading and if you’ve found this guide useful be sure to click the ‘Recommended’ button at the top of the post.
NOTE: If you find you can not extract the Post Install 1.2 Archive try the 2015 Repack