Lenovo Y580 Mavericks Instrallation Guide

Pre Install:
It can be a smart thing to unlock your BIOS first on Windows to get wifi working for Mac. To get wifi you need to install a new wireless card, and an unlocked bioshttp://forum.techinferno.com/lenovo-...-versions.html( look for the current 2.0X version).
Just search around the internet for a good working wireless card for Mac.

Follow this to create a Unibeast USB: http://hackintoshbombay.com/activity.html

On your mac where you make your Unibeast USB:
Download this zip: Lenovo Y580 10.9 (25 October 2013).zip
Place the folder you just downloaded: 'Lenovo Y580 10.9' onto your USB

Let's show all hidden folders and files by going to the terminal:
defaults write com.apple.finder AppleShowAllFiles TRUE; killall Finder

Now copy the DSDT.aml (from the 'Files for /Extra' folder from the just downloaded 'Lenovo Y580 10.9' folder or the '/Extra' folder for the 1366x768 resolutions) in your hidden '/Extra' folder on your USB.

You can turn hidden folders and files off by using the terminal again:
defaults write com.apple.finder AppleShowAllFiles FALSE; killall Finder

Now switch back to your Lenovo:
Go to your bios (F2 on startup) and change at Configuration:
Sata controller mode = AHCI
Graphic device = UMA Graphic
And at Boot:
UEFI boot = disabled
Now save it! (F10)

Let's start:
Make a backup first because Windows must be reinstalled and things can go wrong!

Place your USB in the USB port directly under the charger input! Only this USB works with a new installation. (Later we make other USB ports working in Mountain Lion by installing kexts)
Then press F12 on startup and boot the USB
Select the USB (don't press enter yet!) and type
For 1920x1080: GraphicsEnabler=No –v
Note:1366x768 users must use: GraphicsEnabler=No IGPEnabler=No -x -v
And then press enter!

Setup Partitions:
Select your language and go in the top menu bar to Utilities, and open Disk Utility:
Highlight your target hard drive for the Mountain Lion installation in left column.
Click Partition tab
Click Current and choose 1 Partition or choose 2 if you want to dual boot with Windows or even 3 with Windows & Linux on the same hard drive/disk!
Click Options...
Choose GUID Partition Method
(If you have chosen more partitions change the sizes but notice that Linux need a swaparea with 8192MB that you lose on your Linux partition later)
Under Name (partition 1): type MAC (You can rename it later)
Under Format (partition 1): choose Mac OS Extended (Journaled)
Dual boot : Under Name (partition 2 with Windows too): type WINDOWS
Under Format (partition 2): choose FAT
Triple boot (with Linux too): Under Format (partition 3): Free space
Click Apply then Partition
Close Disk Utility

You have the right partitions now! If you want dualboot on the same hard drive/ disk you need to install Windows first. In the Windows installation choose for advanced install and select the Windows partition and format the Windows partition so you are ready to install Windows.

If you have 3 partitions and want to have Linux on the same hard drive, install Mac FIRST! Using the instructions below, then install Windows using the instructions above! The Linux instructions goes further below the Mac instructions! Keep in mind that you can always boot into any partition with the Mac installation USB.

The installation:
Install Mavericks on your Mac partition.

After installation:
Boot into your Unibeast USB while pressing F12 at startup.
Choose your Mac partition

And you're in OSX 10.9!!

First allow all programs:
Go to system preferences
Choose Security
Click on the lock in the bottom left corner.
And choose in the Allow applications downloaded from section:

Now we aren't done yet because we must install the kexts.
Open up Kext Wizard on your USB , and go to the Installation tab.
Choose the kexts from the 'Lenovo Y580 10.9/Kexts' folder on your USB.
Destination: System/Library/Extensions
Target disk: Your Mac partition
Press install

Next open up the Chameleon Installer, and install it on your Mac partition.

Then open the Finder and in the menubar click on 'Go' and then choose 'Computer'. Go to your Mac Drive and make a new folder called Extra in the root of your Mac drive.
Then place the files from the 'Files for /Extra folder' or the '/Extra' folder for 1366x768 resolutions (dsdt.aml, org.chameleon.boot.plist and the smbios.plist) in the just made /Extra folder.

Now install Rehabs man Trackpad by using the instructions in the Trackpad folder.

For fullscreen brightness we need the Probook installer: http://www.tonymacx86.com/hp-probook...s-support.html
Then choose SSDT generator(ONLY FOR i5 NOT FOR i7!)
And: Misc OS X fixes>blinkscreen
Then install

Restart your system and you’re done now!

Usefull tips:
Have you installed Mac on a SSD? Then enable TRIM:
Open up terminal (applications>Utilities>Terminal)
sudo cp /System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/IOAHCIBlockStorage.kext/Contents/MacOS/IOAHCIBlockStorage /System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/IOAHCIBlockStorage.kext/Contents/MacOS/IOAHCIBlockStorage.original
Then type: sudo perl -pi -e 's|(\x52\x6F\x74\x61\x74\x69\x6F\x6E\x61\x6C\x00{1 ,20})[^\x00]{9}(\x00{1,20}\x54)|$1\x00\x00\x00\x00\x00\x00\x00 \x00\x00$2|sg' /System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/IOAHCIBlockStorage.kext/Contents/MacOS/IOAHCIBlockStorage

Now reboot!

To disable the annoying Bluetooth Setup Assistent on startup:
Open up System preferences
Choose Bluetooth
Click Advanced at the bottom right corner.
Uncheck the first 2 boxes: open Bluetooth Setup Assistant at startup when no input device is present.

You have now a purple-blue menubar to fix this go to System preferences choose Displays and go to the color tab and choose the: General RGB profile.

You can easily remap the command and option keys by going to:
System preferences
Click on special keys (in the bottom right corner)
And change it to your wishes.
Recommend settings:
Control-key: Command
Option-key: Control
Command-key: Option

If you want to remap more keys like Fn keys than you have to edit your DSDT.

iMessage fix: You must change your Apple ID password on an another device to let iMessage work!

Chameleon updates
Just use Chameleon Wizard and choose the update option.
(Tip! Install also a cool theme. I recommend LoginToLion. It is really easy by going to the Theme tab in Chameleon Wizard.)

Linux instructions on the same hard drive:
Boot into your Linux cd/usb and then at the allocate Drive Space screen, choose Something Else.
Now find your Free space partition where you want to install Linux on and click it. Now click Add..
Type: Logical
Partition size: 8192 MB (Yes it is our 8GB ram)
Location: End
Use as: swap area.
Now click OK

Now click the free space again, and click Add...
Type: Logical
Partition size: 2 MB
Location: End
Use as: biosgrub
Now click OK

Now click the free space again, and click Add...
Type: Logical
Partition size: The (default) maximum available
Location: End
Use as: Pick Ext4 if you work with huge files or need extra fast performance. Choose Ext3 if you want to access the linux file system from OSX (and possibly Windows with the right tools).
Mount Point: Choose forward slash /
Click OK.

Now choose device for boot loader installation (it can be in the same screen or in the last screen where it says 'Ready to Install': Choose the large linux partition that you just created (e.g. /dev/sda5).
Click install Now

Now boot into Linux with your Mac installation USB. There open the terminal and install gptsync:
(e.g. for Ubuntu): sudo apt-get install gptsync
Now in the Terminal enter: sudo gptsync /dev/sda
and press Y when prompted

Now you should see you can only boot in Windows, now we will fix that.
Open in Windows command prompt and type: diskpart
now type: list disk
note your right disk number (it should be the one where you installed all the operating systems)
now type: select disk 0 (where 0 is your disk number!)
now type: list partition
note the partition number where you installed Mac.
now type: select partition 2 (where 2 should be your Mac partition)
now type: active

Now when you reboot you get a black screen, boot again in your Mac installation USB, and boot into Mac. Now open Chameleon Wizard and install Chameleon with the most upper option, and click install.
... and you have a triple boot with only one hard drive!!!

Doesn't work (for now):
Nvidia GeForce GTX 660M because of Apple doesn't support NVIDIA Optimus graphics switching.
USB3 devices works only at USB2 speed (all ports works).
It seems Bluetooth doesn't work well, anyway I have no idea how to fix it.
HDMI output need a patched AppleIntelFramebufferCapri.kext so help me to (find a) patch.

Let us know if it works!

Post a Comment


  1. Hi!
    Did you find appropriate AppleIntelFramebufferCapri.kext ?

    I still don't have working WebCam and HDMI :(