Jump to content

[SUCCESS] Vanilla ML 10.8.5 on GA-Z87X-UD4H & 4770k Haswell

4770k UD4H 10.8.5 Vanilla GA-Z87X-UD4H Haswell Mountain Lion Vanilla Hackintosh

  • Please log in to reply
29 replies to this topic

#1
acronator

acronator

    InsanelyMac Protégé

  • Members
  • Pip
  • 4 posts
First Post. First Hackintosh. First Vanilla Install. Took a few tries but now the system is up and running smoothly and blazing fast. Love it. 
 
System Specs

Intel Core i7 4770k
Gigabyte GA-Z87X-UD4H (BIOS F7)
MSI GTX 660 
OCZ Vertex 3 SSD
All other peripherals pretty much standard. I already had Windows up and running on another HDD.   
 
 
1. BIOS Settings
- Disabled all HDDs except the drive for Mac installation
- Ensured that SATA controllers were set to AHCI and not IDE
- Disabled Onboard Video (Monitors are connected to the GTX 660)
- Intel Virtualization  Disabled
- XHCI Auto
- XHCI & EHCI handoffs set to enabled
- No other changes
 
 
2. Preparing the USB Installer
It is the best out there for a plain vanilla install. 
 
Followed it closely but deviated from the process a bit while patching the installer (Step 2C onwards). 
 
- Did not use NullCPUPowerManagement.kext
 
- Downloaded FakeSMC.kext v5.3.820 by kozlek with autoupdate disabled 
 
- Downloaded AppleIntelE1000e.kext v2.5.4c by hnak for ethernet
 
- Downloaded GenericUSBXHCI.kext v1.2.6d2 by Zenith432 for USB 3.0
 
- Copied all three files to /System/Library/Extensions/ folder of the USB drive [ Attached all three Kexts to this post - KEXTs.zip]
 
- Followed the remaining steps in Step 2C of the guide above. 
 
- Installed Chameleon 2.2svn r2255 to make the USB drive bootable (Newer versions of Chameleon 2.2 caused issues for me so I would advise you stick with r2255). 
 
- Used Chameleon Wizard and used iMac 13.2 profile in it to generate my SMBios.plist and placed it in the Extra folder of USB.
 
- Created an Org.chameleon.Boot.plist file for the USB Installer with the following arguments and placed it in the Extra folder of the USB drive. [ Attached to this post Org.chameleon.Boot.plist-USB.zip ] 
-v
-f
dart=0

GraphicsEnabler=No
EthernetBuiltIn=Yes
RestartFix=No
 
 
3. Installation 

USB booted up and installation went smoothly. 

 

Once it was complete, restarted and booted once again into the USB and launched the Terminal Utility of the installer to copy the above 3 kexts into the installation with the following commands:

cp –R /System/Library/Extensions/FakeSMC.kext /Volumes/“Your Mac Partition Name”/System/Library/Extensions/
cp –R /System/Library/Extensions/AppleIntelE1000e.kext /Volumes/"Your Mac Partition Name"/System/Library/Extensions/
cp –R /System/Library/Extensions/GenericUSBXHCI.kext /Volumes/"Your Mac Partition Name"/System/Library/Extensions/
reboot
 
(If your Mac OS partition has a spaces in the name keep the quotes in the above commands).
 
Restarted system and this time booted into OS X installation. Ethernet and USB 3.0 working (Tested speeds). Audio not working. 
 
 
4. Post Installation & Audio Fix 
 
Installing Chamelon on Mac Partition
- Installed Chameleon 2.2svn r2255 to the Mac Partition using Chameleon Wizard
- Created a folder called Extra in the root of the Mac partition and copied into this the SMBios.plist file from the /USB/Extra folder
- Created an Org.chameleon.Boot.plist file for the OS with the following arguments. 
GraphicsEnabler=No
EthernetBuiltIn=Yes
You can customize this of course. Just make sure you specify the above two arguments. [ Attached mine to this post - Org.chameleon.Boot.plist-MAC.zip ]
 
To fix Audio I used toleda’s solution. 
Go to your System Preferences and under Security ensure that programs from sources other than App Store can be installed.
Download HDAEnabler1.kext from here : https://github.com/t...io_kext_enabler
Copy it into the folder /System/Library/Extensions of your Mac partition
Open shell and type the following commands. 
 
cd /Volumes/"Your Mac Partition Name"/System/Library/Extensions
sudo chmod -R 755 HDAEnabler1.kext
sudo chown -R root:wheel HDAEnabler1.kext
 
You will be asked for your password at some point. Enter it.
Now download this by clicking on the "Download Zip" on the right: https://github.com/toleda/audio_ALC898
Extract the zip in the downloads folder (DO NOT MOVE IT). Double-click audio_alc898-85_patch.command to execute it.
If you are asked for password enter it. If you get the following output then it was a success:
 
Prepare Desktop/audio_ALC898 ...
Archive: 898.zip
creating: 898/
inflating: 898/Info-84.plist 
inflating: 898/Info-85.plist 
extracting: 898/layout1.xml.zlib 
extracting: 898/layout2.xml.zlib 
extracting: 898/layout3.xml.zlib 
inflating: 898/Platforms.xml.zlib 
Install files ...
Password:
Patch binary ...
Fix permissions ...
Kernel cache...
Finished, restart required.
logout
 
Restart computer to complete installation
 
The boot arguments for installer from here were incredibly helpful. 
 
PENDING: 
Create a patched DSDT. Any advice on this is appreciated. 
 
UPDATE: Sept 26 2013
Following issues come up frequently:
  • Sleep/wake problem where the system freezes while waking up (no display either). 
  • Random complete system hangs where everything just freezes
  • Prolonged waits and temporary freezes with the wheel spinning away to glory or the mouse not moving. 

​Repaired permissions and also ran kext utility. Issues continue. Chipping away..will update once I have a stable system. 

Attached Files



#2
artur-pt

artur-pt

    InsanelyMacaholic

  • Local Moderators
  • 4,533 posts
  • Gender:Male
  • Location:Portugal
  • Interests:TechManiaco

hello

 

congrats

 

about to patch the dsdt.. if it is all working.. why patch the dsdt ?

 

good hack



#3
acronator

acronator

    InsanelyMac Protégé

  • Members
  • Pip
  • 4 posts

Thanks.

 

Primarily to learn but also to make things easier when Mavericks comes out. 



#4
acronator

acronator

    InsanelyMac Protégé

  • Members
  • Pip
  • 4 posts

Everything seems to be working when it works.

 

However I get random freezes every once in a while.

 

How do I diagnose what is causing these? Please help. 



#5
kofmasters

kofmasters

    InsanelyMac Protégé

  • Members
  • Pip
  • 18 posts
  • Gender:Male
  • Location:mexico

Everything seems to be working when it works.

 

However I get random freezes every once in a while.

 

How do I diagnose what is causing these? Please help. 

very simple, run disk utility and run repair permissions ,that works for me ,no more kernel panics and no freezing



#6
plofplof

plofplof

    InsanelyMac Protégé

  • Members
  • Pip
  • 4 posts

very simple, run disk utility and run repair permissions ,that works for me ,no more kernel panics and no freezing

No issues ?

 

No problem with sleep/wake ? No monitor freeze after wake up from sleep ?



#7
acronator

acronator

    InsanelyMac Protégé

  • Members
  • Pip
  • 4 posts

Following issues come up frequently:

  • Sleep/wake problem where the system freezes while waking up (no display either). 
  • Complete system hangs where everything just freezes
  • Prolonged waits and temporary freezes with the wheel spinning away to glory or the mouse not moving. 

 

I tried fixing permissions using disk utility. When issues continued I also ran kext utility to fix the extensions folder. 

 

Neither worked. I plan to start over and introduce kexts gradually to isolate issue.

 

Any other suggestions are most welcome.  

 

Just FYI: 10.8.5 Supplemental Update to be released to fix some issues with 10.8.5



#8
Picasso

Picasso

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 235 posts

Hi Acronator, I have the same hardware except z87X-Ud5H

 

For fix problems I used Darwin Dumper - I learnt thanks iFIRE

 

You run the software and you can check the kext, kernel, everything with messages.

 

I think your problem could be USB, when the machine go to sleep

 

Try the software!



#9
jbdean

jbdean

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts

Hi - Thank you for this help. I followed this and was able to get 90%; still no audio.

I've tried several audio installs, with no joy.

Also, a couple a fails I found I must format my old Snow Leopard drive to get this working. Otherwise 

problems were RTFM.

 

Thank you.



#10
Picasso

Picasso

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 235 posts

Hi - Thank you for this help. I followed this and was able to get 90%; still no audio.

I've tried several audio installs, with no joy.

Also, a couple a fails I found I must format my old Snow Leopard drive to get this working. Otherwise 

problems were RTFM.

 

Thank you.

Try to find TOLEDA, the man of the sound.



#11
mastek

mastek

    InsanelyMac Protégé

  • Members
  • Pip
  • 4 posts

Hello. please help me.

 

my system:

 

Core i7 Haswell 4770

 

MSI Z87G45 mainboard

 

16 gb ram

 

nvidia gtx 770 gpu

 

My MSI bios : 

 

SATA mode = AHCI

intel virtualize tech - disabled

Cpu state: C2

 

I made all instructions above guide. But my system could not reach installer screen. My system reboots after reading kexts. I caught last line boot process on USB: (I paused screen before reboot)

 

Starting Darwin x86_x64

 

Boot Args: boot - uuid= 94adf 18bd - b52a - 34a3 - 9fd9 - 33ef0036d093 rd=**uuid -v -f dart=0 -v GraphicsEnabler=No

 

 

why is this happening? What is wrong?

 

 

note: chameleon showing: Vesa 3.0 14 mb (nvidia) on boot select screen. 14 mb ?? my gpu is not 14 mb ??



#12
Lyle M

Lyle M

    InsanelyMac Protégé

  • Donators
  • 54 posts
  • Gender:Male
  • Location:Maryland, USA
Hi Acronator,
 
Thanks for sharing your experiences with your Haswell build. I'm using the same board and CPU and have also experienced system freezes. My first noted freeze was during a wake from sleep. I've since set my system to not sleep and my drives to remain spinning and have not seen that specific freeze since (several days now).
My other 'freeze' - which I've seen several times - I've only noted when closing a window in Safari. I'm curious if you've noticed any similar pattern. (update: I've now experienced the freeze on various other occasions. Nothing of use appears in the log files at the time of the freeze. I've tried with smbios.plist files defining my machine as a MacPro3,1 and 6,1. I'll try some others as Picasso suggests below)
 
My install was done using a method from another site. I haven't reviewed the insanelymac forum rules in a while, so I'll leave out their name in case that's a violation. Suffice it to say, they use pre-built installers to get the job done. USB 2&3, Video (both discreet and integrated), Audio are all good. Only USB oddity is I have to connect my keyboard directly to a USB 2 port (off a header) to get my Apple keyboard recognized during POST. I disconnected my Bluetooth adapter after seeing a bunch of errors in the logs and after learning that a 10.8.5 supplemental update with a BT reference is forthcoming. I haven't delved deep into any of the power saving tech as yet (sleep, speedstep, etc). I'd be surprised if they are working as they should.
 
I'll keep plugging away at the freeze problem and share anything of use. However, I have a feeling that ultimately I'll be installing 10.9 as the "fix."
 
I'll share my /Extra plists for reference:
 
smbios:
<key>SMbiosdate</key>
<string>06/12/13</string>
<key>SMbiosvendor</key>
<string>Apple Inc.</string>
<key>SMbiosversion</key>
<string>MP61.88Z.0099.B00.1306121724</string>
<key>SMboardproduct</key>
<string>Mac-F60DEB81FF30ACF6</string>
<key>SMfamily</key>
<string>Mac Pro</string>
<key>SMmanufacturer</key>
<string>Apple Inc.</string>
<key>SMproductname</key>
<string>MacPro6,1</string>
<key>SMserial</key>
<string>obfuscated</string>
<key>SMsystemversion</key>
<string>1.0</string>
 
boot:
<key>EthernetBuiltIn</key>
<string>Yes</string>
<key>GenerateCStates</key>
<string>Yes</string>
<key>GeneratePStates</key>
<string>Yes</string>
<key>GraphicsEnabler</key>
<string>Yes</string>
<key>Kernel</key>
<string>mach_kernel</string>
<key>Kernel Flags</key>
<string>-v darkwake=0</string>
<key>Legacy Logo</key>
<string>Yes</string>
<key>Timeout</key>
<string>2</string>
<key>UseKernelCache</key>
<string>Yes</string>

 

Regards.



#13
Picasso

Picasso

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 235 posts

Have you tried Chamaleon 2262 (newer version has freeze problems for me) and Imac 13.1 - 13.2 give me some problems too... ;)



#14
animus_domini

animus_domini

    InsanelyMac Protégé

  • Members
  • Pip
  • 44 posts
  • Gender:Male
  • Location:Brazil

Hi,

 

I had the randomly freezing on my system. It is not the same system the yours, but I had a lot messages on console about SMC error. I updated my FakeSMC to the latest version and my system stopped to freezing. 

 

Give it a try.



#15
Rampage Dev

Rampage Dev

    InsanelyMac Deity

  • Local Moderators
  • 1,991 posts
  • Gender:Male

Can you post a Clean unedited DSDT and a IOreg. Thanks. 


hello

 

congrats

 

about to patch the dsdt.. if it is all working.. why patch the dsdt ?

 

good hack

 

Because we all know that not all things will load without a DSDT edit. 

 

Else you have to use dirty solutions such as enablers for audio and such. 



#16
artur-pt

artur-pt

    InsanelyMacaholic

  • Local Moderators
  • 4,533 posts
  • Gender:Male
  • Location:Portugal
  • Interests:TechManiaco

hello

 

what i know is this world if u want a perfect rig

 

buy a mac

 

not a pc to run mac os x

 

good hack



#17
Picasso

Picasso

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 235 posts

Hi,

 

I had the randomly freezing on my system. It is not the same system the yours, but I had a lot messages on console about SMC error. I updated my FakeSMC to the latest version and my system stopped to freezing. 

 

Give it a try.

return to the last worked and wait more time



#18
mattsnowboard

mattsnowboard

    InsanelyMac Protégé

  • Members
  • Pip
  • 32 posts

How consistent is your sleep freeze problem? I just finished my build and did a quick "sleep wait a minute and wake test" and everything was fine. Does you machine freeze every time? Just hoping my build is working and not as many problems crop up later.

 

Thanks for this post by the way! It got me 95% through the install!



#19
el3c

el3c

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts

hi there,

 

i´ve got a nearly same build.

 

i7 4770k @ 4.5 Ghz

z87x UD4H

2400 Mhz, 16gb DDR3 Ram

780 GTX

120 GB Corsair Force

 

disabled xhci and intel VT, nothing else

 

the only thig i´ve done was adding the 898 audio kext from "a well know tool" everything elso works absolut fine

did a lot of stress test... played Metro Last Light in Steam OSX, played CoH2 in Paralells VM ...evrything absolut great performance

 

Geekbench

 

geek.png

 

......

 

everything is working absolut perfect, expect 5.1 Audio ...but this is not important for me

 

sleep works also, the only issue i had is that my Mac wakes up for a few seconds every 5-6 hours and get into sleep again:

 

Oct  7 07:42:14 xxx-Mac-Pro kernel[0] <Debug>: Wake reason: XHC
Oct  8 01:43:33 xxx-Mac-Pro kernel[0] <Debug>: Wake reason: RTC (Alarm)
 



#20
Lyle M

Lyle M

    InsanelyMac Protégé

  • Donators
  • 54 posts
  • Gender:Male
  • Location:Maryland, USA

Random complete system hangs where everything just freezes

Prolonged waits and temporary freezes with the wheel spinning away to glory or the mouse not moving. 

 

 

 

 

 

Are you seeing any of these in your system log:

 

 

kernel[0]: NVDA(OpenGL): Channel timeout!
kernel[0]: NVDA(Private): Channel timeout!






Also tagged with one or more of these keywords: 4770k, UD4H, 10.8.5, Vanilla, GA-Z87X-UD4H, Haswell, Mountain Lion, Vanilla Hackintosh


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy