Jump to content

[GUIDE] Scripted Yosemite/Mavericks Install on Gigabyte Mobos


4,696 posts in this topic

Recommended Posts

VirusX,

 

Thank for your screenshots. Yours are fairly different from the one from @robasefr. From what I gather, you are not installing in the EFI partition. I will play with that and see what happens...

 

Colddiver

Honestly, I don't exactly know what I'm doing. Those were probably the settings from my first Clover install and I just updated over that for many many times. It worked and does still work - never change a running system ;)

[edit]: I know now why I didn't install on EFI partition because I installed clover on a usb thumb drive for testing reasons. [/edit]

 

toleda's readme is a bit confusing because he offers different ways to achieve the same goal. I have used at least three of them so again - I can't exactly say which one is currently active with my system but everything works including HDMI audio. He added an easy-to-use automated script this summer - I think this is the easiest way (but afaik you have to have clover installed to the EFI partition...).

here's the link to toleda's github - just to make sure you use the right one... https://github.com/toleda/audio_CloverALC

Clover Patched AppleHDA - Installation
  1. Clover Realtek ALC AppleHDA.kext  (patch in place)
	1. https://github.com/toleda/audio_CloverALC/blob/master/audio_cloverALC-100.command.zip
	2. Download (View Raw)
	3. Double click Downloads/audio_cloverALC-100.command
	4. Password?
	5. Verify Codec? (885, 887, 888, 889, 892, 898, 1150 only)
	6. Legacy_v100202 - y/n? (887, 888 only)
  2. Restart
  3. Verify ALC onboard audio
	1. System Preferences/Sound/Output/select audio device	

that should be the new scripted method from him. you will find a help thread in the audio sub forum.

 

Good luck!

 

edit: haha ROBASEFR just edited his post too with the same link ;)

edit2: in case your system wakes from sleep every 2 hours with RTC ALARM, check out this post:  http://www.insanelymac.com/forum/topic/300072-wake-reason-rtc-alarm-how-to-deactivate/

Edited by VirusX
Link to comment
Share on other sites

Honestly, I don't exactly know what I'm doing. Those were probably the settings from my first Clover install and I just updated over that for many many times. It worked and does still work - never change a running system ;)

 

toleda's readme is a bit confusing because he offers different ways to achieve the same goal. I have used at least three of them so again - I can't exactly say which one is currently active with my system but everything works including HDMI audio. He added an easy-to-use automated script this summer - I think this is the easiest way (but afaik you have to have clover installed to the EFI partition...).

here's the link to toleda's github - just to make sure you use the right one... https://github.com/toleda/audio_CloverALC

Clover Patched AppleHDA - Installation
  1. Clover Realtek ALC AppleHDA.kext  (patch in place)
	1. https://github.com/toleda/audio_CloverALC/blob/master/audio_cloverALC-100.command.zip
	2. Download (View Raw)
	3. Double click Downloads/audio_cloverALC-100.command
	4. Password?
	5. Verify Codec? (885, 887, 888, 889, 892, 898, 1150 only)
	6. Legacy_v100202 - y/n? (887, 888 only)
  2. Restart
  3. Verify ALC onboard audio
	1. System Preferences/Sound/Output/select audio device	

that should be the new scripted method from him. you will find a help thread in the audio sub forum.

 

Good luck!

 

Yep - went as far as running toleda's script. The scripts asks me to confirm if the codec is 885. My understanding is that our boards are using 889. When I run the script using the default values, it runs fine and the kext gets installed in my CLOVER/kext/10.10 folder. The kext does not get loaded however (owner/permissions issues). I tried setting up the permission manually and I had the same issue.

 

When I run toleda's script using the 889 codec, the script complains about something not being a supported config (don't recall the exact error).

 

I had audio stuff in my DSDT file. I think this was causing some problems with toleda's scripts so I used another DSDT that someone (not sure who) had posted along with a clover config. With my previous DSDT, toleda's scripts were complaining no matter what I did. With the new one, I get the error using the 889 codec but not the 885.

 

Lastly, I did not try sleep yet but shutdown seems to take forever (not being the patient type, I end up holding the power button until the computer shuts down)...

 

Anyway, this is where I am at at the moment (did not have more time to troubleshoot this yet). Still, being able to boot and have network is a great step in the right direction...

 

Also, being still new with Clover, I am not sure what is the process to follow when messing around with kexts. Whenever we change the content of CLOVER/kext/10.10, do we need to rebuild caches, setup kext permissions, etc.? If so, what is the best way to do this? I played a bit with kext wizard but it was not obvious to me how/if this tool handled kext installed on the EFI partition...

 

Colddiver

Link to comment
Share on other sites

we have 889a which is 885.

889a is NOT 889. So use 885 :)

 

 

Sleep (and shutdown I think) takes a bit longer than on Mavericks. Be patient. When I click sleep, the screen goes dark and into standby immediately but the computer does it's thing for another 15-30 secs before it sleeps.

 

 

When you change anything in clover you just need to restart. No need to rebuild caches or permissions because you didn't change anything in the system or S/L/E. Clover patches and injects while booting. This is one of the biggest advantages because when you broke something, you can change the settings in the clover boot menu and go back to your last working boot.

 

I don't have a custom DSDT in my clover folder (like ROBASEFR has). Everything I need to be patched (orange icons, SSD trim, CMOS reset, Graphic inject), is inserted/created by Clover while booting.

Link to comment
Share on other sites

Success (finally!).

 

Couple of notes:

  1. The command to reformat the EFI partition is this: newfs_msdos -v EFI -F 32 /dev/diskXsX (need the -F 32 bit - otherwise you will get an error)
  2. I'm running with no DSDT and no custom kext installed in SLE (I started from a fresh Yosemite install to be sure I had a pristine setup)
  3. Doing audio with Toleda's script (make sure you mount your EFI partition first)
  4. Otherwise, I have followed @ROBASEFR's instructions

What works:

  1. Sleep (though I can only wake with the power button for now)
  2. Reboot is still way too slow (like not rebooting after 10 min.)
  3. Network works with the RealtekRTL81xx.kext from Digital Dreamer's script (installed in kext/10.10)

This is now my main setup. I'll try to keep working on the things that are not yet perfect...

 

Colddiver

Link to comment
Share on other sites

Did anyone get Sleep working with Yosemite + Chameleon setup?

Mines, just reboot when i wake it up from sleep.

 

I've stuck with Maj's script and installed all kext to SLE and used the latest Chameleon.  Everything's working fine just missing sleep.

I haven't found a simple Clover step by step setup so I'm a little afraid to change.

 

any advice?

Link to comment
Share on other sites

Sleep works fine here with Clover. Don't be afraid to switch. Clover is way more powerful. Read the posts here from the last couple of pages, compare some of the posted config.plist and put together your config.plist or just try to boot with one of ours ;) You probably only have to set the right graphic card inject.

I posted a step by step guide a couple pages back with clover installed on a usb thumb drive. With that method you can try things and in case you don't get a successful boot, just eject the usb thumb drive and boot normally and change things back on the thumb drive until you have the perfect setup.

good luck!

  • Like 1
Link to comment
Share on other sites

Sleep works fine here with Clover. Don't be afraid to switch. Clover is way more powerful. Read the posts here from the last couple of pages, compare some of the posted config.plist and put together your config.plist or just try to boot with one of ours ;) You probably only have to set the right graphic card inject.

I posted a step by step guide a couple pages back with clover installed on a usb thumb drive. With that method you can try things and in case you don't get a successful boot, just eject the usb thumb drive and boot normally and change things back on the thumb drive until you have the perfect setup.

good luck!

 

Wow, followed the instructions here for Clover install + audio script and everything working!

 

My sleep is broken though...it goes into sleep but if i wake it up with my keyb or mouse (or power button), the system just reboots.

Do you put the NullCPUPowerManagement.kext in the EFI ?

Right now i just have FakeSMC, network + audio kext files in the EFI kext folder.

Link to comment
Share on other sites

No, I don't use NullCPUPowerManagement.kext. I never had that problem before so I won't be a big help here, I'm afraid. But this problem sounds familiar - I think I've read about it before but I can't remember the solution. 

 

Maybe there's a way to save the log file so that you can see what the computer did or tried to do right before it rebooted...

  • Like 1
Link to comment
Share on other sites

i have a problems now about the NullCPUPowerManagement.kext. if boot without this kext, gets a kernel panic (after login in my yosemite)

 

http://wstaw.org/m/2014/11/05/DSC01328.JPG

 

my system is

 

EX58-UD5 F13

i7-920 stock

Gskill trident 2000@1600 7-7-7-21 1.65v

clover r2988

no DSDT/SSDT generated

config.plist almost like a @VirusX configuration (posted don't remember where)

 

the HPET is configured in bios in mode 64bits

 

any help?

 

EDIT1: found new configuration here http://www.insanelymac.com/forum/topic/185097-guide-scripted-yosemitemavericks-install-on-gigabyte-mobos/page-218?do=findComment&comment=2039477

 

test now

 

EDIT2: WORKS!!! thanks bro for your config!

 

EDIT3: what is the difference between AHCI_3rdParty_SATA.kext and JMicron36xSATA.kext?

Link to comment
Share on other sites

No, I don't use NullCPUPowerManagement.kext. I never had that problem before so I won't be a big help here, I'm afraid. But this problem sounds familiar - I think I've read about it before but I can't remember the solution. 

 

Maybe there's a way to save the log file so that you can see what the computer did or tried to do right before it rebooted...

Thanks.

 

Quick question, initially my Yosemite install was using Chameleon so i had all the kexts installed to S/L/E, with Clover now installed can i remove all the kexts that was added with MAJ's script?

Link to comment
Share on other sites

@bbchucks: yup

 

@slipknot: glad it works now. did you have the mavericks plist before. maybe that was old formatting from an very old version of clover...

my HPET in BIOS is also set to 64bit although I honestly don't know what exactly is affected by that...

About those different SATA kexts: We have two different SATA controllers on our board (white and blue SATA connectors) http://www.gigabyte.com/products/product-page.aspx?pid=3304#sp

I _assume_ those are the kexts for it. But again, I don't use the kexts because so I don't know.

However, I do have an extra PCI-E card that works natively for my 2 SSDs in order to get full speed.

 

edit: @slipknot, you're probably right about the SATA controller stuff. Afaik both white and blue ports only support 3Gb/s and that why I bought the extra PCI-E card for 6Gb/s for my SSDs/

Link to comment
Share on other sites


i don't had a maverick before. my hackintosh rig is finished this past weekend. I am a completely new in OSX world

 

about the jmicron. EX58-UD5 (don't mistake with a X58A-UD5)  have a 2 JM controllers, one for GSATA2_0/1 and other for GSATA2_2/3 (both white ports). and one ICH10R for the six blue ports

 

i asked in the chat, but anyone know the difference. i think is one for IDE mode and other for AHCI mode. but i dont know if this is right

 

i think i messed up my config (copy from your config) with another config from internet. because i had a problems with a P-/C-states, audio, messed system when change from chimera bootlader (install by multiblehast and his kexts) to a clover bootloader, etc 

 

now all is fixed and works, except a little problem describe in a own post in the forum (eject app doesn't recognize my CD/DVD drive)

 

anyway, thanks for all!

 

greetings

Link to comment
Share on other sites

I thought it might help to write down all the steps again for the final Yosemite version..

 

Step by Step Guide for Yosemite on our EX58-UD5 and Clover

 

You need the following things:

- min. 8GB USB thumb drive for the installer

- my suggestion: another old bootable USB thumb drive. 128 MB is enough. I'm using an old SD card with an USB card reader for that.

- hard drive (SSD ;) )

 

1) create USB Yosemite installer on 8GB USB thumb drive. If you don't know how - ask google.

2) my tip: install clover on an extra thumb drive / sd card (that is formatted in FAT32). Explanation for that method is further down. Alternative: install clover to 8GB yosemite installer.

3) copy FakeSMC and Mieze's Realtek8111 kext to USB  thumb drive /Clover/kexts/10.10 (you might have to create that folder if it doesn't exist) and make sure you have "kext-dev-mode=1" to the boots args in the clover config.plist

4) boot from clover usb drive and select yosemite usb installer. Follow through the steps and install yosemite on your hard drive

5) boot from clover usb drive and select hard drive with the installed yosemite.

6) add/apply toleda's audio patch to clover's config and run his script. We have audio codec 885 (which equals to 889a)

DONE

7) Once you have found the perfect clover config, install clover to your hard drive/EFI partition of the hard drive, copy the kexts to the clover/kexts/10.10 folder and replace the standard config plist with your perfect one.

 

Sleep and all the other things are working thanks to clover. No need for tons of kexts. No need to install kexts to S/L/E and rebuild caches (those things will break anyway with the next OS update!).

 

The big advantage for installing clover to small USB thumb drive first: If there's an update for clover or you want to try a new setting for clover, test it on the clover usb drive first and try to boot from the usb install before you apply it to your real install on the hard drive. If you're not able to boot anymore or something else isn't working, you can still remove the clover usb and boot from your hard drive.

 

Why FAT32? It works with Mac journaled as well but Clover can write a log from the boot process only on FAT32. (set "log" to true in config.plist. But only set when you need it. It will slow down your boot process a LOT)

 

Screenshots of the things I checked during the clover install are posted a few posts further up here in this thread along with my config.plist (Screenshots are for the usb drive installation - not for the EFI partition installation ("ESP install"))

 

For editing the config.plist, you can use the "clover configurator" which has a nice GUI or just Xcode from Apple. Normal textedit works too but it can be overwhelming at first because of the formatting.'

 

edit: thanks for the suggestions.

 

More Notes:

  1. The command to reformat the EFI partition is this: newfs_msdos -v EFI -F 32 /dev/diskXsX (need the -F 32 bit - otherwise you will get an error)
Link to comment
Share on other sites

I thought it might help to write down all the steps again for the final Yosemite version..

 

Step by Step Guide for Yosemite on our EX58-UD5 and Clover

 

You need the following things:

- min. 8GB USB thumb drive for the installer

- my suggestion: another old bootable USB thumb drive. 128 MB is enough. I'm using an old SD card with an USB card reader for that.

- hard drive (SSD ;) )

 

1) create USB Yosemite installer on 8GB USB thumb drive. If you don't know how - ask google.

2) my tip: install clover on an extra thumb drive / sd card (that is formatted in FAT32). Explanation for that method is further down. Alternative: install clover to 8GB yosemite installer.

3) copy FakeSMC and Mieze's Realtek8111 kext to USB  thumb drive /Clover/kexts/10.10 and make sure you have "kext-dev-mode=1" to the boots args in the clover config.plist

4) boot from clover usb drive and select yosemite usb installer. Follow through the steps and install yosemite on your hard drive

5) boot from clover usb drive and select hard drive with the installed yosemite.

6) add/apply toleda's audio patch to clover's config and run his script. We have audio codec 885 (which equals to 889a)

DONE

7) Once you have found the perfect clover config, install clover to your hard drive/EFI partition of the hard drive, copy the kexts to the clover/kexts/10.10 folder and replace the standard config plist with your perfect one.

 

Sleep and all the other things are working thanks to clover. No need for tons of kexts. No need to install kexts to S/L/E and rebuild caches (those things will break anyway with the next OS update!).

 

The big advantage for installing clover to small USB thumb drive first: If there's an update for clover or you want to try a new setting for clover, test it on the clover usb drive first and try to boot from the usb install before you apply it to your real install on the hard drive. If you're not able to boot anymore or something else isn't working, you can still remove the clover usb and boot from your hard drive.

 

Why FAT32? It works are Mac journaled as well but Clover can write a log from the boot process only on FAT32. (set "log" to true in config.plist. But only set when you need it. It will slow down your boot process a LOT)

 

Screenshots of the things I checked during the clover install are posted a few posts further up here in this thread along with my config.plist (Screenshots are for the usb drive installation - not for the EFI partition installation ("ESP install"))

 

For editing the config.plist, you can use the "clover configurator" which has a nice GUI or just Xcode from Apple. Normal textedit works too but it can be overwhelming at first because of the formatting.

 

recommend adding this:  

  1. The command to reformat the EFI partition is this: newfs_msdos -v EFI -F 32 /dev/diskXsX (need the -F 32 bit - otherwise you will get an error)

for some noobs like me, this step was missing from @Rob's guide.

 

also what's the difference from boot0af and boot0ss ? because @Rob has MBR boot0ss in his screenshot, while you have boot0af.

  • Like 1
Link to comment
Share on other sites

Hello,

 

Want to share a nice info I picked up on Macrumors 2 days ago:

The " kext-dev-mode=1" bootargument is necessary to sign kexts in Yosemite.

 

There is now a persistend way to do this even applicable in real MAC and survive in case of updates !

 

In Terminal:

sudo /usr/libexec/PlistBuddy -c "Set :'Kernel Flags' 'kext-dev-mode=1'" /Library/Preferences/SystemConfiguration/com.apple.Boot.plist


and to go back

sudo /usr/libexec/PlistBuddy -c "Set :'Kernel Flags' 'kext-dev-mode=0'" /Library/Preferences/SystemConfiguration/com.apple.Boot.plist

 

:thumbsup_anim:

  • Like 1
Link to comment
Share on other sites

also what's the difference from boot0af and boot0ss ? because @Rob has MBR boot0ss in his screenshot, while you have boot0af.

I quote from the Clover Wiki:

 

MBR sector

A boot sector in the beginning of a storage device (HDD, SSD, USB stick, USB HDD, DVD). The first 440 byte may contain one of these variants:

  • boot0 - searches for an active partition in the MBR and passes control to its PBR sector. A hybrid GPT/MBR layout is possible. If the layout is pure GPT, control is given to the EFI partition. Further referred to as boot0af (active first).
  • boot0hfs - searches for the first partition with signature 0xAF, i.e. an HFS+ partition containing OS X, and passes control to its PBR. This way the system can be booted from an HFS+ partition on a GPT partitioned drive, however from the first partition only. Further referred to as boot0ss (scan signature).
  • boot0ab - searches for a partition with signature 0xAB - Apple Boot Partition.
  • boot0md - combined variant which searches multiple drives for an HFS+ partition, not just the main one.
Link to comment
Share on other sites

DSDT fixes for GA-EX58-UD5 (for clover, without DSDT.aml file)

 

this is a DSDT fixed need configured in a Clover config.plist for a mobo GA-EX58-UD5

 

(thanks @VirusX)

AddDTGP_0001 -  YES
FixDarwin_0002 - NO
FixShutdown_0004 - YES
AddMCHC_0008 -  NO
FixHPET_0010 - YES
FakeLPC_0020 - YES
FixIPIC_0040 - YES
FixSBUS_0080 - NO
FixDisplay_0100 - YES
FixIDE_0200 - NO
FixSATA_0400 - NO
FixFirewire_0800 - YES
FixUSB_1000 - YES
FixLAN_2000 - YES
FixAirport_4000 - YES
FixHDA_8000 - YES
NewWay_80000000 - YES
FIX_RTC_20000 - YES
FiX_TMR_40000 - YES
AddIMEI_80000 - YES
FIX_INTELGFX_100000 - NO
FiX_WAK_200000 - YES
DeleteUnused_400000 - YES
FIX_ADP1_800000 - YES
AddPNLF_1000000 - YES
FIX_S3D_2000000 - YES
FIX_ACST_4000000 - YES
AddHDMI_8000000 -  YES (1)
FixRegions_10000000 - YES

Notes:

(1) this is need? not found in a Clover wiki (http://clover-wiki.zetam.org/Fixing-DSDT)

 

edit: mmm http://clover-wiki.zetam.org/Configuration/ACPI. mismatch in the wiki?

 

edit2: thanks @Emilo for the LPC fix

 

greetings

Link to comment
Share on other sites

the wiki is not necessarily up to date...

 

There were also big changes regarding the DSDT patching in clover some months ago. "Old way" vs "new way". That's why clover configurator has a toggle to switch forth and back.

I think my config.plist is still the old way. It works for me so I haven't touched it (sleep, shutdown, hdmi sound out, etc). If I have some time, I could try to switch to the new way just by setting 'new way' in the configurator.

Or maybe one of you guys can test it (don't use your main clover install - use a thumb drive...)

Link to comment
Share on other sites

the wiki is not necessarily up to date...

 

There were also big changes regarding the DSDT patching in clover some months ago. "Old way" vs "new way". That's why clover configurator has a toggle to switch forth and back.

I think my config.plist is still the old way. It works for me so I haven't touched it (sleep, shutdown, hdmi sound out, etc). If I have some time, I could try to switch to the new way just by setting 'new way' in the configurator.

Or maybe one of you guys can test it (don't use your main clover install - use a thumb drive...)

I have my DSDT.aml file from Mavericks which i copied to EFI for clover...if this is the case, do i still need all this in my Config.plist?

 

ct>

<key>DSDT</key>
<dict>
<key>Debug</key>
<false/>
<key>DropOEM_DSM</key>
<false/>
<key>Fixes</key>
<dict>
<key>AddDTGP_0001</key>
<true/>
<key>AddHDMI_8000000</key>
<true/>
<key>AddIMEI_80000</key>
<true/>
<key>AddPNLF_1000000</key>
<true/>
<key>DeleteUnused_400000</key>
<true/>
<key>FIX_ACST_4000000</key>
<true/>
<key>FIX_ADP1_800000</key>
<true/>
<key>FIX_RTC_20000</key>
<true/>
<key>FIX_S3D_2000000</key>
<true/>
<key>FixAirport_4000</key>
<true/>
<key>FixDisplay_0100</key>
<true/>
<key>FixHDA_8000</key>
<true/>
<key>FixHPET_0010</key>
<true/>
<key>FixIPIC_0040</key>
<true/>
<key>FixLAN_2000</key>
<true/>
<key>FixRegions_10000000</key>
<true/>
<key>FixShutdown_0004</key>
<true/>
<key>NewWay_80000000</key>
<true/>
</dict>
<key>Name</key>
<string>DSDT.aml</string>
<key>ReuseFFFF</key>
<false/>
</dict>
<key>DropTables</key>
<array>
<dict>
<key>Signature</key>
<string>DMAR</string>
Link to comment
Share on other sites

Sorry I can't help you with that, I'm afraid. I have never successfully edited a DSDT and I don't know much about it.

 

I would assume that you can disable all clover DSDT patches that are already included in your custom DSDT. You have to check which ones those are. 

You can also disable any clover patches that you don't need - but do it step by step so that you know which one you still need hehe. For example since I don't have a wifi card - I think I have the airport patch disabled.

 

I would suggest to ditch your custom DSDT and let clover do its magic. As I said before - why use extra kexts/DSDT if clover is able to do all the work? :)

Link to comment
Share on other sites

Sorry I can't help you with that, I'm afraid. I have never successfully edited a DSDT and I don't know much about it.

 

I would assume that you can disable all clover DSDT patches that are already included in your custom DSDT. You have to check which ones those are. 

You can also disable any clover patches that you don't need - but do it step by step so that you know which one you still need hehe. For example since I don't have a wifi card - I think I have the airport patch disabled.

 

I would suggest to ditch your custom DSDT and let clover do its magic. As I said before - why use extra kexts/DSDT if clover is able to do all the work? :)

You are right but Clover has a lot of options and DSDT patches and some people, like me, don't know which one is needed for a specific motherboard.

For example i want to try your guide but i'm in trouble with Clover config and also with Clover boot (it lead me to a strange blu window, that looks like a newer bios page, where i have some option but i can't do nothing)

Link to comment
Share on other sites

So, now it is november meaning i have at (at least a little bit of) time to try the upgrade.

 

Goal is to get clover running on a thumb drive and use it for my Mavericks Fusion Drive install, the do a upgrade to Yosemite.

 

 

So far, no success with clover: can get into clover boot menu, but when booting i quits after loading mach kernel and states "error loading drivers". Booting my maintenance 10.9 install (non-fusion drive!) is more successfull, meaning it completes boot process without errors, then screen goes black and pc reboots -.-

 

Any ideas on how to boot the fusion drive set up? Already added UUID to clovers plist - didn't help...

 

 

What I did:

- installed clover to Fat 32 thumbdrive

- copied FakeSMC.kext to 10.9 / 10.10 folders

- set boot flag (kext dev mode, verbose)

Link to comment
Share on other sites

 Share

×
×
  • Create New...