Contribute
Register

[GUIDE] Lion on Sony Vaio SA/SB/SE (VPCSA/SB/SE)

Status
Not open for further replies.
Joined
Mar 10, 2011
Messages
162
Motherboard
Sony Vaio VPCSA
CPU
i7-2620M
Graphics
6630m
Mobile Phone
  1. Android
New bios available! version R2087H4 Should be compatible with at least SA/SB, SE unknown. Patched version available from
http://www.mediafire.com/?6codeq2fdupm27d


Updated Pack, Added SSDT for 10.7.4, updated trackpad kexts for SA/SB users
VAIOPACK.zip

10.7.4: Update process is pretty straightforward. install nullcpupowermanagement (with multibeast if you like) Run the update. Reboot. Then install all the kexts from the pack again, use multibeast to install patched power management kexts for 10.7.4. copy the SSDT to /Extra/SSDT.aml, delete nullcpupowermanagement.kext, reboot. I will type this up properly in the main guide soon.

This is still an ongoing project, but I have lion installed and working on a sony VPCSA/VPCSB, better known as the Sony vaio s series.

This is not for the inexperienced, or anyone who can’t work though problems by themselves, as you will no doubt encounter them. Please do not do this if this is your first hackintosh.

Currently looking for someone who can fix up the DSDT and fix the remaining problems. If you think you can help, please post or PM me. See issues lists
What works fully:
  • Display (using ugly DSDT patches)
    Graphics (full QE/CI and resolution)
    USB
    Sound (Using patched AppleHDA!)
    Ethernet (Using lnx2mac RTL81XX kext)
    Sleep
    Brightness
    Battery
    Power button

What works partially:
  • Power management - Works enough for sleep, and changes states, but still runs much hotter than windows, and notably noisier. Fix lies in a custom SSDT or some dsdt mods for sony’s power management options. Also, both graphics cards seem to be loaded, but unsure if this is a problem, or the cause.
    Trackpad - Works only as a PS2 mouse, and seems very particular about which kexts it likes.
    Bluetooth - works, but has to be enabled in windows

What doesn't work:
  • Wifi - Intel wireless will never work on mac. I suggest an ATHEROS AR9287, super cheap on ebay, and works with dsdt edits.
    Graphics switching - probably will never work.
    USB3 - could work, many problems. Such as crashing the laptop when you insert something.


What you will need:
A usb prepared with unibeast, laptop support enabled
The latest multibeast
The attached pack.
Time (lots)
Patience (even more)
The latest combo update (10.7.3)


The Guide:


Pre Installation:
First you need to add the DSDT to your unibeast USB. Depending on your screen resolution, choose the correct file from the DSDT folder in the pack, and copy it to “/Extra/DSDT.aml” on the USB.

Now you need to install the “advanced mode” bios. This can be done by running the included bios updater. Providing you do not pull the power during the update, this update has no chance of damaging your laptop. However, some of the options it enables might. Use with caution.
In the bios, using the new options, we must enable AHCI mode on the IDE controller. Otherwise you will get the dreaded “waiting for root device” on boot.
That’s it for preparation, now for installing!


Installation:

This part is pretty straightforward. Boot off the unibeast USB. Select the USB in the chameleon menu, and let it boot. If it kernel panics, try again. It should eventually boot (At this point, it has a pretty high booting success rate). The installation will need a whole HDD. You can format one correctly with “Disk Utility”, an option in the menu bar when preparing to install. I have a dual boot set up, but I will not instruct you how to do this. When the install has finished, it will reboot automatically. Booting from the USB again, this time select the disk you installed to.
The first boot wizard will run, and demand you insert a USB keyboard. You need to do this, even just for a second, to proceed. After you get that screen to go away, you will not need one again. You might however need a USB mouse, as the trackpad might not be working. It seems to randomly decide if it wants to work with the apple kexts. This can be fixed with the included kexts later.
Congratulations, lion is installed and somewhat functional!

Post Installation:

This is still somewhat WIP. Once you get to the desktop, run the latest combo update, and update, but don’t reboot. copy the DSDT to the desktop. You can now install multibeast. You will need to find and select:
• User DSDT
• The lnx2Mac Realtek Ethernet kext
• MacBookPro8,1 smbios.plist (8,3 for SE)
• flAked SpeedStepper
• (optional) FakeSMC plugins
• (optional, but recommended) Kext utility and Show All Files. We will need a kext installer soon.


After multibeast installation, drag all the kexts from the pack onto kext utility to install them. You then need to copy the Trackpad.prefPane in the Misc folder of the pack to /Library/Prefpanes

Now, reboot, and pray.

Booting of a GPT disk is somewhat funny. I have an odd setup, using easyBCD to install neogrub onto my windows HDD, and then configuring neogrub to chainload chameleon on the mac HDD. The alternative is downloading modified files for a mbr installation, which should work just fine. I can post more details on this if needed.
Now lion should be running, and functionalish. Please post if you have any problems or questions, and I would appreciate the aid of anyone who has the DSDT editing knowledge to work out the problems that stop this becoming my main OS on this laptop.

I may have missed some things. If something just doesn't work for you, then please ask.

Thanks to everyone who has allowed me to get this far. Developers, dsdt hackers, I love you guys!

Known issues:
This list will be updated as stuff get fixed
If you experience any of these, please don’t bother telling me.

  • Power Management (Runs hotter than it should. This is because the ATI card is always on)
    USB3 (Freezes laptop 90% of the time, VERY hit and miss. DSDT patches could help)
    Brightness (can be controlled with fn+pause and fn+delete, but doesn't survive reboots/sleep. Also brightness levels are pretty messed up, it’s far from a smooth, even scale) Working on patch.
    About this mac force close (cause known, when a certain bug gets fixed, I can fix this)
    SD card reader (it’s some kind of PCI thing by realtek, no clue about getting drivers for this)
    HDMI audio? (Untested but doesn't seem to show anywhere)
    VGA (needs a patch, deprecated with lion)
    Graphics switching (of course)

Roughly in order of priority.


DSDT development

I have created a github repo for the development of the DSDT I have created for our laptops. If you are able to contribute in any way, feel free to fork the repo and submit a pull request for your changes. The main DSDT related issues are in the readme.

https://github.com/CyberWalrus/vaiobook

If you dont think you currently have the knowledge to help out, but have experience in coding and want to learn how, the ACPI docs are a great place to start: http://www.acpica.org/documentation/ (really the only place to start, acpi code is hardly well documented anywhere else)

Changelog

v0.6.0: Updated for 10.7.4, added SSDT, better trackpad kexts for SA/SB.
v0.5.5: Added new FakeSMC, fixes graphic glitches. Reverted to recommending old PS2 kexts for compatibility. As soon as I establish how to get the new ones working, Those will be recommended. Added HWMonitor for checking temps/clock speed
v0.5.1: Fixed some minor formatting issues, maybe fixed reports of black screen on SB?
v0.5: Added ATI power off code, fixed a stupid error in my build system
 

Attachments

  • VAIOPACK.zip
    10 MB · Views: 796
Re: [GUIDE][DSDT help needed] Lion on Sony Vaio SA/SB (VPCSA/SB)

Thanks a lot CyberWalrus,
I have VAIO SB too. I have DSDT-free method have Full Resolution & QE/CI on HDMI Display. Internal Display doesn't work will try your DSDT (thanks, I'm wait for a long time)

Something I can suggest you about to get Bluetooth working.
Just boot to Windows and open VAIO Smart Network and then "ON" at Bluetooth and make sure that Wireless switch in front of vaio is set to ON then reboot to Lion it should detect and work OOB.
If it doesn't work, do that I tell before install Lion (I set it ON in Windows before install Lion) and it should work OOB.

One thing that I concern is in your package have BIOS Update. Will it broke my bios ? or it just a Advanced Mode enabler, Does it work with any SA/SB Model ?

Thanks for assist me :thumbup:
 
Re: [GUIDE][DSDT help needed] Lion on Sony Vaio SA/SB (VPCSA/SB)

The bios update should work perfectly fine for you. It allows you to change the HDD controller to AHCI mode, which I found was necessary to boot. However, it seems some people already have this on without needing to do anything. So for you, the update is probably optional. However, if you have never updated your bios before, the sony update this is based on adds improved power management and fan control, at the cost of SATA3 functionality. (no one knows why they decided to disable it)

Let me know how it goes!
 
Re: [GUIDE][DSDT help needed] Lion on Sony Vaio SA/SB (VPCSA/SB)

Thanks for the great guide. I used the mod-BIOS to unlock the "hidden menu" and enable the AHCI mode and finished the installation. It does help me a lot for saving lots of time.

Working partialy:
1.Bluetooth needs to be turned on in Windows and will be shown in "Preference".
2.The brightness setting lost after reboot and needs to be adjusted again.

Not working:
1.AMD 6630M graphic card not recongnized
2.Web Camera
2.Wifi
3.Audio-->Use lateest VodooHDA included in MultiBeast. In "Preference" can see the device but no voice out
4."About this computer"-->show nothing and will log me out (need re-login again)

Thanks again to all who share their experiences

updated: 12-15-2011
=================================
1.built-in webcam works after USB Rollback kext installed.
2.trackpad not recongnized by Lion but works (w/o VoodooPS2Controller.kext installed)
2.Got system crashed after installing USB 3.0 kext(for NEC and Renesas chip) included in the MultiBeast installed.

updated:12-17-2011:
1.Can output to SONY LCD TV via HDMI
2.Still no voice via HDMI although HDMI option available in "Preference Panel"
 
Re: [GUIDE][DSDT help needed] Lion on Sony Vaio SA/SB (VPCSA/SB)

i got black screen After installed ichoix graphics patch.
i tried to edit edid,but it still does not work......

PS: my laptop is vpcsb36fg with ichoix 10.7.2 HJMAC
 
Re: [GUIDE][DSDT help needed] Lion on Sony Vaio SA/SB (VPCSA/SB)

vaio36 said:
i got black screen After installed ichoix graphics patch.
i tried to edit edid,but it still does not work......

PS: my laptop is vpcsb36fg with ichoix 10.7.2 HJMAC
Apologies if I am being thick, but I do not know what you are talking about here.
When doing a retail installation aided by unibeast, you will get a black screen when the display will normally come up, if the EDID information is wrong. You can add this information to the DSDT as is obvious in the GFX0 device. If the information is correct, then you're screen will initialise properly with my DSDT. If you post an EDID dump, I can add this information for you. This would actually be very useful if you have the lower resolution screen option, as I can add that DSDT to the pack, and then hopefully no one will need to edit theirs.
 
Re: [GUIDE][DSDT help needed] Lion on Sony Vaio SA/SB (VPCSA/SB)

Hi CyberWalrus,

Which boot loader do you use(recommend) to boot from Windows 7 and Lion? Currently I'm still using the USB disk made by Unibeast to boot the system. Would like to install the boot loader on HD so no USB disk needed.

Also I can't obtain the battery info in the Lion after installing the voodooBattery attached in the post. Did I miss something?

Thanks in advance.
 
Re: [GUIDE][DSDT help needed] Lion on Sony Vaio SA/SB (VPCSA/SB)

yuchen1211 said:
Hi CyberWalrus,

Which boot loader do you use(recommend) to boot from Windows 7 and Lion? Currently I'm still using the USB disk made by Unibeast to boot the system. Would like to install the boot loader on HD so no USB disk needed.

Also I can't obtain the battery info in the Lion after installing the voodooBattery attached in the post. Did I miss something?

Thanks in advance.

Battery information is... intermittent. It definitely worked with that kext for me at some point, but I got rid of it a bit back to try and get native battery reporting working. I will look into it, but no promises, as the dsdt sections for the battery are an utter mess, and I cant work out anything from them.

Bootloaders: If you install chimera on your hdd, it should still be able to chainload window's bootloader. I would follow the instructions here http://www.terabyteunlimited.com/kb/article.php?id=409
to remove the "system reserved" partition and move the bootloader to the main partition, so you can be sure windows has all the files it needs.
Although I have followed the above guide myself, my dual boot system is a little different as windows and OSX are on different disks for me, and I have never tried to put mac and windows on the same disk. If you encounter problems, http://www.terabyteunlimited.com/kb/category.php?id=61 is a great resource for fixing windows bootloaders.

Good luck!
 
Re: [GUIDE][DSDT help needed] Lion on Sony Vaio SA/SB (VPCSA/SB)

As soon as MultiBeast completes I get a kernel panic. Then I restart and I get another. I'm forced to run in verbose safe mode but it never boots. Just says "still waiting for root device." Any ideas?
 
Re: [GUIDE][DSDT help needed] Lion on Sony Vaio SA/SB (VPCSA/SB)

jrapczak said:
As soon as MultiBeast completes I get a kernel panic. Then I restart and I get another. I'm forced to run in verbose safe mode but it never boots. Just says "still waiting for root device." Any ideas?


Did you install the “advanced mode” bios by running the bios updater? After that, new options in the BIOS will allow you to enable AHCI mode on the IDE controller ? If not, you will get the dreaded “waiting for root device” on boot.
 
Status
Not open for further replies.
Back
Top