Contribute
Register

[Work In Progress] Lenovo Z580 ML Installation

Joined
Apr 19, 2010
Messages
127
Mac
MacBook, MacBook Air
Classic Mac
iBook
Mobile Phone
Android, iOS
[Guide] Lenovo Z580 ML Installation

Hey all, here's a guide of how to get Mountain Lion 10.8.5 working on a Lenovo Z580. I have an Intel i7-3612QM with HD4000, 1TB HD, 8GB memory. My system is working very well; every Z580 appears to be built with varying hardware, so some users have less success. Please see known issues.

UPDATE JAN 22, 2014
*WEB CAM FINALLY PROPERLY WORKING!!! $7.99 app called Webcam Settings fixed the issue.
*Updated to 10.9.1 with no problems. Had to reinstall sound kexts and remove AppleFWAudio kext.
*FingerZ changed to 36 to be a bit more sticky or less sensitive and thus less erroneous trackpad.

UPDATE NOV 3, 2013
*I have updated to Mavericks. It was fairly easy. A new thread for Mavericks for the Z580 has been created:
http://www.tonymacx86.com/mavericks-laptop-support/114748-lenovo-z580-mav-installation.html
*USB3 at SuperSpeed works! But I did it under my Mavericks install.

UPDATE SEP 21, 2013
*Alternative audio recommendation: Attached AppleHDA and IOAudioFamily.kext with ControlPlane with patched DSDT
*Recommendation: Vanilla AppleACPIPlatform with patched DSDT

UPDATE SEP 17, 2013
*Second audio recommendation: VoodooHDA 2.8.4 with iGain and iMix changed to 85%.
*Camera: requires kext and an app 'camera-control' to adjust/increase gain.
*Created "Update Kit" to go to 10.8.5 with kexts

UPDATE FEB 14, 2013
*For better trackpad support, please see this thread:
http://www.tonymacx86.com/mountain-lion-laptop-support/87182-new-voodoops2controller-keyboard-trackpad-clickpad-support.html

UPDATES DEC 2012-FEB 2013
*Trackpad issues: Resolved with VoodooPS2Controller from Rehabman
*Audio issues: Resolved with VoodooHDA. Delete AppleHDA.

Working:
+DSDT
+Boots off HD into ML
+Display is HD4000 QE enabled - 512MB 1366x768x32
+USB 2.0 ports. USB 3.0 ports work in USB 2 mode. [Edit: USB 3 works at full speed with DSDT edit]
+Bluetooth 4.0 (edited with my device id and vendor id)
+Lenovo 720p Camera (with kext and app to adjust/increase gain)
+Sleep
+Battery Management
+HD Audio
+Trackpad
+Keyboard
+Network – wired – only at 10 MBPS
+Network - wireless – Atheros AR5B95 - $12 on ebay

Not Working & Known Issues:
-HDMI Audio
-SD Card Reader (Will not work AFAIK)
-Dedicated Graphics Cards & Optimus switching (See user posts)
-Network – wireless – internal card PROBABLY WILL NOT WORK. Buy $12 AR5B95/AR9285.
-Network – wired – at only works at 10 MBPS

Resolved:
-Movies now work in iTunes! Suspected reasons - upgrade to 10.8.5 or use of VoodooHDA

===== GUIDE=====
Many thanks to Turkawa, Rehabman.

1. BIOS Settings
*Minimal changes to BIOS. Change to AHCI mode.
*I needed to disable UEFI mode for multibooting, but it should be possible to leave it enabled.

2. Install Mountain Lion via Unibeast USB method. Follow these instructions up to Multibeast usage
http://www.tonymacx86.com/61-unibeast-install-os-x-mountain-lion-any-supported-intel-based-pc.html

3. Transfer Multibeast + these kexts to your Z580 with USB stick - Ethernet will likely not work at first.

4. Multibeast install

a) Network (wired)
*Drivers->Network->Realtek -AppleRTL8169Ethernet 2.0...
*THEN after reboot.... System Preferences->Network->(choose your card)->Advanced...->Hardware
*Settings: Configure: Manually, Speed: 10baseT/UTP, Duplex: full-duplex flow-control, MTU: Custom, 1280

5. Kext install + Sleep

Network (wireless)
Buy Atheros AR5B95. Internal card wouldn't work for me. Install attached injector (Sept 17, 2013)

Audio - two choices
a) Use patched AppleHDA, IOAudioFamily, and patched DSDT. Use these new settings for ControlPlane See attached audio package. Put the script "audio" in /Extra, and use ControlPlane to run this shell script. It will play a small "pop" sound after waking up, which will ensure jack sensing continues to work. The link below contains the patch to the DSDT.
http://legacy.tonymacx86.com/viewtopic.php?f=170&t=58422
http://forum.-- NON-TMX SUPPORTED INSTALLER o --.com/index.php?/topic/1970-fix-for-audio-issue-after-sleep-in-alc269/
b) Use VoodooHDA. The Multibeast VoodooHDA 2.84 has iMix and iGain set at 0, but need to be set to about 85%. It is buggy and audio quality is sometimes not good.

Trackpad
This has come a long way, and now works 100% thanks to Rehabman. Use this thread:
http://www.tonymacx86.com/mountain-lion-laptop-support/87182-new-voodoops2controller-keyboard-trackpad-clickpad-support.html
Other (older) versions are attached, but the latest developments are in the above-mentioned thread.

Keyboard
With Rehabman's forked VoodooPS2, I changed the key bindings so that F9 is play/pause, F11 is skip back, F12 is skip forward... etc.

Camera
Use the attached kext "IOUSBFamily.kext" posted by Turkawa.

Camera may appear dark. Buy Webcam Settings ($7.99) from App Store and under 'Advanced' tab, select 60Hz or 50Hz Power Line Frequency. Or maybe it was Backlight Compensation. Or Auto White Balance Temperature... Whatever the case, the use of this app auto fixed the darkness, so now it works properly.

Sleep
Install attached SleepEnabler.kext.
Do either a) Remove AppleUSBXHCI.kext from IOUSBFamily.kext
or b) ***WORKS FOR MAVERICKS, UNTESTED UNDER ML*** keep AppleUSBXHCI.kext and then perform DSDT edits as per step 3 of http://www.insanelymac.com/forum/topic/287901-how-to-get-intel-7-series-usb-30-fully-working-step-by-step-guide/

USB3.0
either...
a)ports work at USB2 speeds because AppleUSBXHCI.kext was deleted from IOUSBFamily.kext to enable sleep.
--OR--
b) ***WORKS FOR MAVERICKS, UNTESTED UNDER ML*** perform DSDT edits as per step 3 of http://www.insanelymac.com/forum/topic/287901-how-to-get-intel-7-series-usb-30-fully-working-step-by-step-guide/

DSDT
Attached is my patched DSDT for i7. It is patched for audio, sleep, USB 3, and battery. Others like Turkawa and Untergeek posted their DSDTs on this thread too.

Battery - two choices
a) I prefer Rehabman's SmartBatteryManager.kext with vanilla AppleACPIPlatform and patched DSDT. Works good!
https://github.com/RehabMan/OS-X-ACPI-Battery-Driver/downloads
Use this patch: http://www.tonymacx86.com/mountain-lion-laptop-support/107845-applesmartbatterymanager-lenovo-z580.html on your DSDT

b) Use the attached VoodooBattery with attached AppleACPIPlatform. Also found here:
http://www.osx86.net/downloads.php?do=file&id=1384

Graphics - HD4000
Set GraphicsEnabler=Yes, add EFI string injection as per below update to org.chameleon.boot.plist

Bluetooth - two choices
a) Use the attached kext "IOBluetoothFamily.kext". Turkawa also posted one on page 4 of thread.

b) Alternatively, use vanilla kext and use this method:
i) Using Windows (Device Manager) or Linux, find your Vendor ID and Product ID of your bluetooth device. Make sure it is turned on and working. Write down those numbers and note that they are in hexidecimal format.
ii) Copy IOBluetoothFamily.kext to your desktop. Right-click and "Show package contents".
iii) Navigate to Content/Plugins. Select "BroadcomBluetoothHCIControllerUSBTransport.kext" and again, Right-click and "Show package contents".
iv) Navigate to Contents. Open Info.plist.
v) Add in this block of code after <key>IOKitPersonalities</key><dict>

<key>BroadcomUSBBluetoothHCIController_Lenovo</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.apple.iokit.BroadcomBluetoothHCIControllerUSBTransport</string>
<key>IOClass</key>
<string>BroadcomBluetoothHCIControllerUSBTransport</string>
<key>IOProviderClass</key>
<string>IOUSBDevice</string>
<key>idProduct</key>
<integer>57410</integer>
<key>idVendor<key>
<integer>1161</integer>
</dict>
vi) Change idProduct and idVendor to the DECIMAL equivalent that you found in step i)

6. Extra
=====
a) org.chameleon.boot.plist
i) PCIRootUID=1 (As far as I know, it's required)
ii) DSDT.aml as attached
iii) Add EFI string injection to org.chameleon.Boot.plist
<key>Graphics Mode</key>
<string>1366x768x32</string>
<key>device-properties</key>
<string>7f0000000100000001000000730000000200000002010c00d041030a000000000101060000027fff04002c0000004100410050004c002c00690067002d0070006c006100740066006f0072006d002d006900640000000800000003006601140000006800640061002d0067006600780000000d0000006f6e626f6172642d31</string>
iv) ref to smbios

b) SMBIOS
Use MacPro 9,1 SMBIOS

c) DSDT
-Put this DSDT.aml in /Extra and then Multibeast "UserDSDT". Again, this is my DSDT.aml, but you can try Turkawa's on page 4.

===UPDATING===
As you go from 10.8.4 to 10.8.5 onward, you will likely need to reinstall these kexts:
*AppleACPIPlatform.kext (only if not using vanilla)
*Delete or replace AppleHDA.kext
*AtherosWifiInjector.kext
*IOBluetoothFamily.kext
*IOUSBFamily.kext
a) Backup (Carbon Copy) MacOSX to MacOSX2
b) Download and install 10.8.X combo update
c) Boot up… if you have issues, use -x or -v to figure out problems. Resolve by booting into MacOSX2 and by removing/replaced bad kexts of MacOSX /System/Library/Extensions
d) See what's not working. Typical problems are wifi, bluetooth, battery, sleep, and graphics.
e) resolve each problem one at a time. Make sure to repair permissions and rebuild cache!
 

Attachments

Joined
Jul 16, 2012
Messages
74
Motherboard
Lenovo G460
CPU
Intel Core i5 520M
Graphics
Nvidia GeForce 310M
Mac
Classic Mac
Mobile Phone
can you boot with optimus turned on? did u delete the nvidia kexts? I'm making a dsdt for this laptop...will give it to u as soon as i finish it
 
Joined
Aug 1, 2012
Messages
9
Motherboard
lenovo
CPU
i5
Graphics
intel
Mac
Classic Mac
Mobile Phone
Just got one of these laptops from the deal at Staples and I've been trying to install ML as well. Here are my results:
Boots into ML
Camera works on registration and with facetime
USB 2/3 ports work.

The rest I'm still working on. Resolution is not native, still at 1024x768. I tried using the Realtek kext you mentioned for Ethernet. It does load and it says it's connected, but it gives a bogus IP and no connectivity with any internet applications. If I can help out in any way, let me know!

Working:
+Boots into Mountain Lion
+Display is 64MB 1366x768x32
+Ethernet (Using Native AppleRTL8169Ethernet kext)
+USB 2.0 and 3.0 ports

Not Working:
-Audio (Realtek ALC269)
-Lenovo 720p Camera
-HD 4000 integrated graphics (reaching the ends of topic with no avail: http://www.tonymacx86.com/mountain-lion-desktop-support/61216-10-8-how-enable-hd4000.html)
-Bluetooth 4.0
 
Joined
Apr 19, 2010
Messages
127
Mac
MacBook, MacBook Air
Classic Mac
iBook
Mobile Phone
Android, iOS
can you boot with optimus turned on? did u delete the nvidia kexts? I'm making a dsdt for this laptop...will give it to u as soon as i finish it
Actually, I don't have optimus - just HD4000 on my machine! I'm not sure what the deal is with my graphics, it SHOULD be working with qe, but is not. But user 'B4Rt' is having troubles because he has an nvidia card.
 
Joined
Apr 19, 2010
Messages
127
Mac
MacBook, MacBook Air
Classic Mac
iBook
Mobile Phone
Android, iOS
Just got one of these laptops from the deal at Staples and I've been trying to install ML as well. Here are my results:
Boots into ML
Camera works on registration and with facetime
USB 2/3 ports work.

The rest I'm still working on. Resolution is not native, still at 1024x768. I tried using the Realtek kext you mentioned for Ethernet. It does load and it says it's connected, but it gives a bogus IP and no connectivity with any internet applications. If I can help out in any way, let me know!
Camera: lucky you! Odd how mine isn't working yet OOB. Not a priority, but it would be nice to have it. How did you get your camera 'registered'?

Network:[UPDATED] Yes, I did have a similar problem to you. Use Multibeast and select Drivers & Bootloaders -> Drivers -> Network -> Realtek Gigabit Ethernet 2.0.6 for 10.7. This fixed it for me (ps, you may get a kernel panic immediately after installing with multibeast, but it appears to work fine thereafter).

Wireless: It looks like the 'way to go' is a $9+shipping solution: The 'Atheros AR9285' half-mini wifi card, combined with adding the vendor+device ids to the bios' whitelist, then updating the bios with this new bios file. I found some useful links:
http://www.insanely-mac.com/forum/index.php?showtopic=274770
http://www.sbbala.com/DellWWAN/Whitelist.htm
 
Joined
Aug 1, 2012
Messages
9
Motherboard
lenovo
CPU
i5
Graphics
intel
Mac
Classic Mac
Mobile Phone
I meant that the camera worked on the account registration page where you can choose a default picture or take one with the camera. I didn't have to do anything to get it working. I tried many times using the tonymac utilities to create a USB installer without success, but ended up downloading an image via bitt*****t. That's how I got the system installed.

I don't mind having to buy an atheros card to get the wifi working. There just seems to be so much information out there and it's all conflicting. I thought someone would have gotten all this stuff working on this laptop by now.

How did you manage to get native resolution with your video card? I'm assuming you have HD4000 like I do with no discrete graphics card.

Camera: lucky you! Odd how mine isn't working yet OOB. Not a priority, but it would be nice to have it. How did you get your camera 'registered'?

Network: Yes, I did have a similar problem to you. I vaguely recall doing something with kexts, but I do not recall. Maybe I installed the native Realtek kext using multibeast.

Wireless: It looks like the 'way to go' is a $9+shipping solution: The 'Atheros AR9285' half-mini wifi card, combined with adding the vendor+device ids to the bios' whitelist, then updating the bios with this new bios file. I found some useful links:
http://www.insanely-mac.com/forum/index.php?showtopic=274770
http://www.sbbala.com/DellWWAN/Whitelist.htm
 
Last edited by a moderator:
Joined
Apr 19, 2010
Messages
127
Mac
MacBook, MacBook Air
Classic Mac
iBook
Mobile Phone
Android, iOS
Add this to org.chameleon.Boot.plist in /Extra:
<key>Graphics Mode</key>
<string>1366x768x32</string>

or upon boot, with quotes: "Graphics Mode"="1366x768x32"
 
Joined
Aug 19, 2012
Messages
1
Motherboard
Lenovo
CPU
i5
Graphics
Intel
Mac
Classic Mac
Mobile Phone
I as well just purchased one of these machines at Staples. Helluva deal, really! I didn't research prior to purchasing it just how tricky it would be to have ML be fully functional on it. :(

I'm really not as tech savvy as it seems like I should be to make this happen, but posting any further progress you make would be greatly appreciated!!!
 
Joined
Apr 19, 2010
Messages
127
Mac
MacBook, MacBook Air
Classic Mac
iBook
Mobile Phone
Android, iOS
Yes!!! OK, I got HD 4000 with qe working at full resolution. My org.chameleon.Boot.plist:
<dict>
<key>EthernetBuiltIn</key>
<string>Yes</string>
<key>Graphics Mode</key>
<string>1366x768x32</string>
<key>GraphicsEnabler</key>
<string>Yes</string>
<key>Kernel</key>
<string>mach_kernel</string>
<key>Kernel Flags</key>
<string>darkwake=0</string>
<key>Legacy Logo</key>
<string>Yes</string>
<key>Timeout</key>
<string>2</string>
<key>UseKernelCache</key>
<string>Yes</string>
<key>device-properties</key> <string>7f0000000100000001000000730000000200000002010c00d041030a000000000101060000027fff04002c0000004100410050004c002c00690067002d0070006c006100740066006f0072006d002d006900640000000800000003006601140000006800640061002d0067006600780000000d0000006f6e626f6172642d31</string>
</dict>

... As you notice, I used EFI string injection into my .plist, which is ig-platform-id: 01660003, Stolen RAM for FB: 64MB, Pipes: 2, Ports: 2, FBMem: 2 as per:
http://www.tonymacx86.com/mountain-lion-desktop-support/61216-10-8-how-enable-hd4000.html

I also needed to install the app "Chameleon Wizard" and use it to select a different system definition and update smbios.plist. I needed to select "Macbook Air (5,2)" or "Macbook Pro (9,1) which WAS REQUIRED to get my system past the black screen after boot logo issue. Other system definitions MAY work also. But Macbook Pro (8,1) DID NOT work for me.
 
Joined
Apr 19, 2010
Messages
127
Mac
MacBook, MacBook Air
Classic Mac
iBook
Mobile Phone
Android, iOS
Update to Audio! Works!

Audio:
1) Multibeast 5 install of VoodooHDA 2.7.3 to /S/L/E
2) Copy VoodooHDA.kext from /S/L/E to Desktop
3) Right-click "Show package contents". Edit Info.plist with a text editor (smultron is great)
4) change iGain to 0 and iMix to 80
5) use Kext Beast to install edited VoodooHDA.kext back to /S/L/E
 
Top