Меню Рубрики

Lenovo z580 mac os

[Бюро хакинтошей] Lenovo Z580A

Если вы хотите проверить свой PC-компьютер на совместимость с хакинтошем, отправьте нам максимально подробные сведения о его конфигурации (как минимум — материнская плата, процессор, видеокарта, контроллер жёстких дисков, звуковая карта, сетевые интерфейсы) через форму заявки на проверку хакинтоша. Чем полнее сведения, тем точнее будет наш вердикт. Увы, ввиду огромного количества подобных писем мы не в состоянии консультировать каждый ваш шаг в процессе установки хакинтоша, однако мы постараемся помочь вам ссылкой на русско- или англоязычную инструкцию по данной теме.

К нам была прислана следующая конфигурация:

Тип компьютера: Ноутбук
Наличие рабочей OS X под рукой: нет
Производитель компьютера/материнской платы: lenovo
Марка компьютера/материнской платы: z580a
Процессор: intel core i5 3210M
Видеокарта: NVIDIA GeForce GT 635M
Используемые видеовыходы: VGA
Аудиокодек: alc883
Контроллер HDD: IDE
Чип Wi-Fi: Broadcom 802.11n

По семейству Lenovo Z580 проведена большая работа, и в Интернете можно найти исчерпывающие отзывы о совместимости. Работать в Mac OS X будет всё, кроме:

  • дискретной графики. Увы, придётся рассчитывать только на мощности встроенного в процессор видеочипа
  • USB 3.0 – завести его на вашей конфигурации практически нереально, по крайней мере, пока
  • кардридера (по причинем отсутствия нормальных драйверов)

Вероятно также, что не получится завести Wi-Fi, нужна более полная информация о чипе.

Подробности и советы на английском вы найдёте здесь. Хотя там рекомендуется ставить систему через UniBeast, для начала сгодится и любая современная сборка, например, iATKOS ML2.


[Guide] Installing OS X 10.10 Yosemite on the Lenovo-Z580


I’d like to describe everything you need for installing OS X 10.10 „Yosemite“ on a Lenovo Z580 using CLOVER as a bootloader.
I own a model with an Intel Core i7-3520M on an Ivy Bridge chipset and with 6 GB of RAM. You should be able to profit from this guide with a different model.

This guide aims to be a as complete as it can get. I also aim to provide you with all the information you need to install OS X Yosemite from scratch. I think this is much better than just provide you my patched DSDT (which probably doesn’t help you anyway). However, I will not upload other people’s work and I do not want to collect any credit for the content of this guide. I’ll link to other threads and posts as often as I can.

Before we start I have to thank Rehabman. He is as patient as one can be and without his help I would have achieved nothing on my Z580. Thank you.

0.) Prerequisites
– you will need a working OS X Installation or a real mac – either with the „Install OS X Yosemite“ App in your „Applications“ folder. Downloading it from the AppStore should suffice.
– programs needed are: a DSDT editor, a kext installer and EFI mounter. I use MaciASL and kext wizard.

1.) Installation
Follow this official Clover-guide from tonymacx86. The guide will help you creating a bootable USB drive with OS X Yosemite and Clover on it.

You are asked to copy „your ethernet kext“ to the clover installation. I’ve been using „AppleRTL8169Ethernet.kext“ from this thread. It is from Multibeast in the first place, I believe.
Do copy Rehabman’s VoodooPS2Controller to your kexts/10.10 folder for the sake of touchpad and keyboard.
The second thing you have to to is add something to the „config.plist-Standard (attached to the Clover Guide)“. The default standard installation is not booting with our HD4000 graphics card.
That is why you have to add this to the „Graphics“ section of the config.plist:

This is added to the tag that closes the subsection.

You are also asked to copy your DSDT and SSDT to the Clover ACPI folder. You could put your current DSDT and SSDT to it but you do not need that and I don’t see a reason. If you really want to provide the installer with these two files, I’d recommend creating these two from the next step from scratch and put them onto the install drive.

When installing it to your hard drive you might not want to format it and lose all your data (even though you certainly have a backup! ). From what I encountered OS X is very tolerant to installing it over an existing installation. Try that with Windows — Go for it if you like.

2.) Post-Installation
Before we go for the details we should get the bootloader on the HDD, right?
The Clover guide has all you need in it. Reformat /dev/disk0s1 as FAT and install it with the described setup. Make sure to select the settings of the second image (Custom Install: BIOS-only Systems).
When the installer has done it’s thing we have to copy the kexts we want to have injected into the kexts/10.10 folder of our newly created EFI partition. This partition should be mounted and visible in Finder. If not, use EFI mounter to mount /dev/disk0s1.
You MIGHT also need the „NullCPUPowerManagement. I didn’t need it but I already had a working DSDT/SSDT set.
Please note: Battery, Backlight, Sound and USB need DSDT patches to work. The kexts in /S/L/E or Clover’s folder are just the first step.

Keyboard, WiFi, Battery I, Backlight I
My 10.10 folder contains the already described VoodooPS2Controller, AppleRTL8169.kext and the FakeSMC.kext. I have also added ACPIBatteryManager and ACPIBacklight.kext from Rehabman there (but they could also be installed to /S/L/E). If you are using the famous Atheros AR5B195, add your WifiInjector.kext as well (it is in the Mav-Installation thread).

Sound I
Sound is a little tricky. Clover can patch the vanilla AppleHDA at boot time. This way we don’t loose sound on any update. For that we need three things:
1st: bcc9’s script (modded by the glorious Rehabman): https://www.dropbox.com/s/l5pclf0l2z0w9no/patch-hda.zip
2nd: An entry in clover’s config.plist
3rd: A so called DummyHDA.kext which will contain the sound driver for our board layout.

Here is a much more detailed guide: http://www.insanelymac.com/forum/topic/298027-guide-aio-guides-for-hackintosh/page-2#entry2030060
Run the script from the terminal:
(if your script is located at Downloads/patch-hda)

The value 10c0269 is very important for our ALC269 sound card. The script output has to be copied to the Section of Clover’s config.plist. You can only get to the config after you’ve mounted your EFI partition but you already know that, right?

Now it get’s a little more tricky. That is why I added a shortcut: Download the attached DummyHDA.kext. It is already patched for our ALC269.
If you want to know how to do this on your own… see here:

You need a patched version of the AppleHDA.kext. Some files have to be copied from the patched version to the DummyHDA which can be downloaded right here. This patched AppleHDA is in the Mav-Installation thread as well!
Follow pockenguyen’s guide further on and copy Platforms.xml.zlib and layout-28.xml.zlib from the patched AppleHDA to DummyHDA.
Also add the huge array of ’s from the ApplehDA-plist to the DummyHDA-plist.

Install DummyHDA to your /S/L/E folder with a kext installer.
Also install Rehabman’s Codec Commander, otherwise you won’t have audio after sleep.

Two more kexts: USB3 and Bluetooth
Again it’s Rehabman’s work. Download his GenericUSBXHCI.kext from here.
Install the kext to /S/L/E and copy the xhcdump binary to /usr/bin as root („sudo cp xhcdump /usr/bin“ in a terminal).

For Bluetooth you can use Rehabman’s IOath3kfw kext from here or the BT-Firmwareuploader from here.

3.) DSDT and SSDT
The DSDT in short terms „sits“ between the kernel and the hardware. Since the kernel is programmed to speak to apple hardware we have to modify this table so that it translates between OS-X’s kernel and our non-apple hardware. This is done with patches. To patch our DSDTable we need „MacIASL“ (from source forge) and the repository of patches from Rehabman (who else?):
Dive into MaciASL’s preferences, go to „sources“ and click „+“. Enter this url: http://raw.github.com/RehabMan/Laptop-DSDT-Patch/master

IMPORTANT It is not enough to boot with a „DSDT=null“ kernel flag to get to the system’s unpatched DSDT. BOOT WITHOUT A DSDT in Clover’s ACPI/patched folder!
Then run MaciASL (it should say „System DSDT“ on top) and start your patching:
– „ Audio Layout 12“patch
but BEFORE you apply it, change 12 to 28 in this line
“layout-id”, Buffer() < 12[…] ——>> “layout-id”, Buffer() < 28[…]change nothing else and click „Apply“.

– „[bat] Lenovo Ux10 – Z580“ patch.

– „[gfx] Brightness fix“ patch without anything in brackets behind

– „[usb] 7-series/8-series USB“ patch.

Click „Compile“ and save the file to /Volumes/EFI/EFI/CLOVER/ACPI/patched/DSDT.aml

For SSDT (which is a processor specific power management table) you should read this guide: http://www.tonymacx86.com/mavericks. vericks-native-cpu-igpu-power-management.html and follow step 6. The script generates an SSDT that should be copied into the ACPI/patched folder of Clover as well.
Also your Clover config should start like this:

You don’t have to copy that to your plist. Just see that the DropTables are added and the Generate key is set to also for CStates and PStates.

4.) Cleaning up
This should provide you with nearly everything you need, but we have two more things to do:

1st) in Clover’s config.plist search for the key. Mine looks like this:

The value for „DefaultVolume“ should contain the name of your OS-X partition so Clover knows what to boot by default. The „Arguments“ are very important („-gux_defer_usb2“ added) to have USB3 working correctly.

2nd) in a Terminal write:

This is very important for Sleep/Wakeup. If you don’t do it you will end up with no WiFi and BT after sleep.

Now you should be all set. Tell me if something is missing.

One more thing.
If you don’t like the distorted apple at the bootscreen when you already see the mouse pointer, follow this guide and add the lines to Clover’s config.