Contribute
Register

[Guide] Yosemite (10.10.X) on Lenovo Y580 with Clover

Status
Not open for further replies.
Joined
Jan 13, 2013
Messages
107
Motherboard
Clevo P950HR (Clover)
CPU
i7-7700HQ/HM175
Graphics
GTX 1070 / HD630, 1920x1080
Mac
  1. iMac
Mobile Phone
  1. Android
  2. iOS

BwpMvbE.png
El capitan guide

New working POST INSTALLATION Installer with Clover:
https://github.com/MegaCookie/Lenovo-Y580-OSX-Installer-Clover

You can find the 'Migrating to Clover from Chameleon' instructions at the end of this post.

Fresh Install of Yosemite

Pre install:
Wifi:
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 BIOS
http://forum.techinferno.com/lenovo-...-versions.html.
Just search around the internet for a good working wireless card for Mac.

Setup Clover USB:
First you need access to a working Mac, or a Mac running in a virtual machine.
When you've got access to a working OS X installation you need a 8GB+ USB.

a. Open Disk Utility
b. Highlight your target usb drive for the installation in left column.
c. Click Partition tab
d. Click Current and choose 2
e. Click Options...
f. Choose GUID Partition Method
g. 1st Partition: Name CLOVER, Format: MS-DOS (FAT), Size: >300MB (0.3 GB)
h. 2nd Partition: Name MacUSB, Format: Mac OS Extended (Journaled), Size: >7GB
i. Click Apply then Partition
j. Close Disk Utility


- Download View attachment clover.zip, extract then copy EFI folder to the CLOVER partition.
(Optional: To do this manually or if you want more information, see:
http://www.tonymacx86.com/yosemite-...oting-os-x-installer-laptops-clover-uefi.html)
- Go with Finder into the Clover partition > EFI > Clover.
- Delete the not needed config.plist and rename the right config to just config.plist (notice the different screen resolutions).

2. - Download Yosemite Install app from AppStore.
- Launch terminal and run the following script:
Code:
sudo /Applications/Install\ OS\ X\ Yosemite.app/Contents/Resources/createinstallmedia --volume  /Volumes/MacUSB --applicationpath /Applications/Install\ OS\ X\ Yosemite.app --nointeraction
(This can take some time, it is still busy when you see a dot within the red close button of the terminal window. WAIT till it says: Done)

- Your Yosemite Installer partition will be renamed "Install OS X Yosemite". Just to make things more easier, we want that renamed to: "install_osx", so now run the following command:
Code:
[COLOR=#000000]sudo diskutil rename "Install OS X Yosemite" install_osx[/COLOR]

3. - Download my Installer from Github: (optional, but will be easier for after the installation)
https://github.com/MegaCookie/Lenovo-Y580-OSX-Installer-Clover
Place it on your USB > install_osx (yes you can just drop additional files here too.)

Now switch back to your Lenovo:
Go to your bios (F2 on startup) and change at Configuration:
Sata controller mode = choose AHCI

And at Boot:

UEFI boot = choose enabled
Now save it! (F10)

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

Start the installer:
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 also working by installing kexts)
Then press F12 > choose EFI USB DEVICE
Select the "install_osx" entry and press Space
Choose boot with Verbose and press Enter (Have patience =P)

Having troubles?
Boot by pressing spacebar first and selecting verbose in the Clover Bootloader.

If you're getting a 'waiting for root device message: For a few people the USB ports on the left side seems to work, if that still doesn't work then you have to make a new Unibeast USB (make sure your USB actually works perfectly, if not: simply buy another.)


Fresh Installation :
Select your language
Open on Disk Utility

a. If there isn't a list to open Disk Utility: In the top menu bar choose Utilities, and click on Disk Utility
b. Highlight your target hard drive for the Mavericks installation in left column.
c. Click Partition tab
d. Click Current and choose 1
e. Click Options...
f. Choose GUID Partition Method
g. Under Name (partition 1): type Yosemite (You can rename it later)
h. Under Format (partition 1): choose Mac OS Extended (Journaled)
i. Click Apply then Partition
j. Close Disk Utility

Keep in mind that you can always boot into any partition with the Mac installation USB.

The installation:
Install Yosemite on your just made Mac partition, just have patience.

When it's finished, it will automatically reboot. Or you can do it yourself: (F12 > EFI USB DEVICE) into the "install_osx" partition again! NOT THE PARTITION YOU JUST INSTALLED OS X WITH THE USB ON!

Then boot again (F12 >
EFI USB DEVICE) and this time press F4 and select "Boot OS X from YourPartition" where YourPartition is the partition you just installed OS X on. In my case I named it Yosemite.

After installation: Using my installer (easier)
Next: go to your Desktop > install_osx
1. Right/ alt click
on my installer, and press open.

2. Select the following options:
- Clover UEFI
- Patch Sound
- Kexts
Config & DSDT patcher:
- Generate Clover Config.plist
- Patch DSDT
- Select the right display type

- SSDT generator
Extra tools: all optional but they are recommended apps.
- MaciASL
- Kext Wizard
- Clover Configurator
-
You can install more tools depending on your wishes.

3. After the installation, try to reboot without the USB and everything should work fine! For audio & Bluetooth you must reboot two times more and use Dekstop > Tools > Kext Wizard and repair permissions and cache (The three last checkboxes in the maintenance tab)
4. Reboot and THE INSTALLATION IS FINISHED! (Note that booting up for the second time can take a while!)

After installation: Manual

If you want to do everything on your own just look around in the Github repository, it contains the kexts and all the DSDT fixes.


Useful tips:
Disable 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've maybe 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.

Remap the command and option keys by going to:
Go to System preferences
Go to Keyboard
Click on special keys (in the bottom right corner)
Recommend settings:
Control-key: choose Command
Option-key: choose Control
Command-key: choose Option

Show all partitions (including the OS X partition itself):
a. Open Finder, Click on Finder in the menu bar, next to the apple logo.
b. Click on Preferences
c. Go to the Sidebar tab (third one)
d. Make sure Hard Disks & External Disks are fully checked.

Fn keys
Volume: Fn+left arrow/ Fn+right arrow (just as Windows)
Screen brightness: Fn+Insert/ Fn+Home
I've tried to change the brightness keys by DSDT fixes but that will cause a kernel panic.


Set BIOS back: Graphic device = choose Switchable Graphics
so you can use your GTX 660M on Windows again.

Clover & Kexts updates

Check for a new update of my Installer and select:
Clover UEFI
Kexts (make sure if you want to maintain sound via my patch method in my Installer, you must select Patch Sound too)
For more information about our kexts, see the manual post install zip.

Change Clover stuff (Config.plist, Clover Kexts)
Mount EFI: In order to manipulate kexts and the config.plist and other Clover related stuff you need to mount the EFI partition with Clover: https://trick77.com/2014/10/23/how-to-mount-clovers-efi-partition/ or use Clover Configurator.

You can edit plist files with Xcode and opening Kexts by right/ alt clicking > Show package Contents.

For more information about which kexts we used, see the manual post install zip.

Repatch DSDT
Download my latest installer.
Make sure you select: Patch DSDT and the right display type.
For more information about which DSDT patches we used, see the manual post install zip.

OS X updates: (Clover only):
For Chameleon/ Chimera instructions: scroll down.

Install them trough the App Store.

- Backup your important files of course!
- Install the update through the App Store or combo update.

That's it, you can basically update like a real mac! But make sure you read the latest news on this forum and the TonyMacX86 Homepage for compatibility issues.


Normally it isn't needed to update kexts/ add some Clover config.plist patches, but just check the latest posts in this forum.

Note: Bluetooth id injecting is automatically done by Y580ARPT.kext so you don't have to patch Bluetooth, and sound patching will be done automatically too with my AppleHDA patch. See the Mountain Lion thread for patching AppleHDA and this guide: (only if you are curious because you don't have to patch it yourself).
(
http://www.insanelymac.com/forum/topic/298027-guide-aio-guides-for-hackintosh/page-2#entry2030060)


Install Windows as Dualboot:
1. Follow this guide to make a Windows UEFI installation USB.
2. Use Disk Utility to create a new empty partition.
3. Restart with the just made USB plugged in: (
F12 > EFI USB DEVICE)
4. Now you can just follow the normal advanced install or custom (needed for the mSATA drive or when having issues installing) Otherwise just continue the normal installation by creating partitions inside the Windows installer and go to step 6.
5. Custom install: Press Shift + F10
, A new command prompt will appear. Type in these commands (and read the comments)!
Code:
diskpart
list disk
select disk [COLOR=#ffa07a]X[/COLOR] [I](where X is the drive you want install Windows on.)[/I]
[I](Optional verify you have the right disk by:) [/I]list partition
create partition msr size=128
create partition primary [I](will use all the empty space! Or assign some other size by yourself, or just simply select your previously made Windows partition if you have one)[/I]
format fs=ntfs quick label=Windows
assign letter=B
select partition 1 [I](The EFI partition)[/I]
assign letter=S
list volume [I](Note the letter of your installation USB)[/I]
exit

cd \Windows\System32\
dism /apply-image /imagefile:[COLOR=#ffa07a]X[/COLOR]:\sources\install.esd /index:1 /applydir:B:\ [I](Where X is the letter of your installation USB, IF it cannot find the file use install.[B]wim [/B]instead)[/I]

B:
bcdboot B:\Windows /l en-us /s S: [I](You can change the language, however this isn't necessary)[/I]
exit
6​. Close all windows and reboot into Windows and finish the installation...
7​. Use Clover Configurator/ this cool guide to mount EFI partition of your Windows UEFI drive (in case you have installed Windows to second drive, select disk1s1 otherwise just disk0s1). Go to EFI/Microsoft/Boot/ and rename bootmgfw.efi to bootmgfw-orig.efi
8. Restart
9. If you can only boot to Windows after updating Windows, then use the Clover USB/ mount EFI on Windows and rename new bootmgfw.efi to bootmgfw-orig again or if you can't boot Windows after that, just use the old bootmgfw-orig.efi and rename it to bootmgfw.efi


Feel free to ask help, from Dual Boot issues to generic Mac problems, there are no stupid questions!


Currently not working: HDMI audio, NVIDIA GeForce 660M (because of no NVIDIA Optimus support)

- Please let me know if there are any issues!

======
Migrating from Chameleon/ Chimera to Clover
The installer will make a backup, but as always make a backup on your own too, just to be sure.

1. Download my installer: https://github.com/MegaCookie/Lenovo-Y580-OSX-Installer-Clover
2. Open (Right/ alt click on my installer, and press open)
3. If you wish you can patch AppleHDA automatically by selecting Patch Sound. Note that you must have a clean AppleHDA in /System/Library/Extensions. (This is just awesome, you don't have to patch AppleHDA ever again!)
4. Select the following options:
- Clover UEFI
- Kexts
Config & DSDT patcher:
- Generate Clover Config.plist
- Select the right display type
Extra tools:
- Clover Configurator
-
You can install more tools depending on your wishes.
- Chameleon to Clover (DSDT and SSDT(s) are case sensitive!)

5. If you get warning messages about kexts, just ignore it's fine. Make sure you use Kext Utility and fix permissions and cache.

6. Reboot, press F2 on startup > Boot > Enable UEFI > Save (F10)
- Have fun booting Mac with Clover! And don't forget to share your experiences!


Chameleon/ Chimera: OS X updates
So if you are still on Chameleon and want to update OS X, it is slightly harder. The most simple solution is to migrate to Clover (see the instructions above) and then follow the OS X update procedure as described in green (scroll a little bit more up).

But if you still want to hang tight to Chameleon/ Chimera, here are the instructions anyway:
- Backup your important files of course!
- Install the update through the App Store or combo update.
- When it prompts to reboot, then reboot but with the earlier made Unibeast USB (F12>USB> Mac partition) and boot with the `-f -v` boot command (without the ``).
- Then reinstall the needed kexts, look at tonymacx86 homepage for more details and this thread. The most of the times you need to install your WiFi, Sound, Bluetooth, (USB Sometimes) AppleIntelCPUPowermanegement, AppleIntelFramebufferCapri kexts and enable TRIM for a SSD again.
- You can patch kexts yourself by downloading the 'Future Yosemite Updates' zip found below this post. Follow the instructions within the zip file. Make also sure you check for other custom Kext updates too.


 

Attachments

  • Future Yosemite updates CHAMELEON ONLY.zip
    4.5 MB · Views: 314
Last edited:
Yosemite (10.10.X) on Lenovo Y580

You are so awesome!

For now works everything.
 
Yosemite (10.10.X) on Lenovo Y580

I've made an Installer! It is based on the ProBook installer and it is really easy to do the Post installation process. Actually I need more testers than only myself and because I ain't a hero with Perl scripts it uses patched Kexts which I patched myself. You can use the Installer for new Installations or for Upgrades.
I hope someone could help me! https://github.com/MegaCookie/Lenovo-Y580-OSX-Installer

Although it should work, use it on your own risk. You can also choose the more safer but harder way by upgrading manually. Let me know if it works or if there are any issues.
 
Yosemite (10.10.X) on Lenovo Y580

You make my day, bro! Good job! Thanks a lot!

:(
Sorry for my English
That configuration not work from my laptop.
Video work with artifacts.
Have no sound.
USB 3.0 not work.
 
Last edited:
Yosemite (10.10.X) on Lenovo Y580

You make my day, bro! Good job! Thanks a lot!

:(
Sorry for my English
That configuration not work from my laptop.
Video work with artifacts.
Have no sound.
USB 3.0 not work.

I think solving is easy, download MaciASL and the DSDT fixes below this post.

Boot with: DSDT=Null
4. Open up the right 'DSDT Fixes.txt' copy everything in it for now use (Alt+A, Alt+C, Alt+V) or CTRL if you've changed it already.
5. Open up MaciASL, press the Patch button above, paste the DSDT fixes and press apply
Now close the program, and save the file:
Click on the arrow next to the Save as box.
Scroll in the sidebar to your Mac partition, double click on the 'Extra' folder and save it there with the name: DSDT with file format: 'ACPI ...'

Just for reference did you installed it with the Installer? Can you check which files you can find in the '/Extra' folder on the root of your Mac partition?
 

Attachments

  • DSDT fixes.zip
    10.8 KB · Views: 306
Yosemite (10.10.X) on Lenovo Y580

I do it today.
58 patches, 57 Changes, 0 rejects

Save as DSDT.aml in ‘Extra’

But have no result

I installed it with the Installer and step by step like Future updates.

This is my 11 try.
 
Yosemite (10.10.X) on Lenovo Y580

I do it today.
58 patches, 57 Changes, 0 rejects

Save as DSDT.aml in ‘Extra’

But have no result

I installed it with the Installer and step by step like Future updates.

This is my 11 try.
Future updates aren't needed. But saving the DSDT doesn't solve the problem? Can you make a copy of your '/Extra' folder?
 
Yosemite (10.10.X) on Lenovo Y580

extra folder

Maybe Team Viewer?
 

Attachments

  • Extra.zip
    18 KB · Views: 217
Yosemite (10.10.X) on Lenovo Y580

extra folder

Maybe Team Viewer?
You did't patch or saved the DSDT. The DSDT.aml should be in the Extra folder
 
Yosemite (10.10.X) on Lenovo Y580

1) Setup SSDT (during setup DSDT.aml was deleted)
2) Patch DSDT (create new DSDT.aml)
3) Repair permission

Now work fine!

Thanks a lot!
 
Status
Not open for further replies.
Back
Top