My new hackintosh…

Well I finally got the insurance pay out for my busted up i7 920 system. I could have gone LGA2011 but I don’t really need it so I opted to go for an Ivy Bridge system instead.

  • Mainboard: GA-Z77X-UD5H (Would have liked to get GA-Z77X-UP5 TH but don’t really need thunderbolt, and none were available in Korea yet)
  • Memory: 16GB (4x 4GB) Samsung DDR3 1600Mhz
  • CPU: i7 3770K
  • Case: Fractal Design Define R3 USB3 – Arctic White

I was able to salvage the 700 watt PSU from my old tower, and I had removed all the HDD’s prior to allowing the movers to take the computer so those were safe. I also had an HD6870 that wasn’t in the system at the time (had been using a 9800GTX+ because it had 2 dual link DVI outputs and the HD6870 only has one) so those are the other components in the new system.

I have to say, I’ve done, or helped with, many many many many hackintosh builds. This was by far the easiest one I’ve ever done. Installed OS X 10.8 with myHack 3.1.2.

Almost everything worked OOB except for ethernet, audio, and power management. (Even USB3 worked OOB)

The DSDT only had 3 errors from some funny gigabyte bios developers (I am running F8 bios currently) – for example one device entry was supposed to be a hex value but they put in ABCDEFGH – lol – lazy devs. Aside from fixing the errors, the only things I added to the dsdt were a basic HDEF patch and the DGTP method. Took less than 5 minutes total.

For power management I simply binpatched AppleIntelCPUPowerManagement.kext by doing the following from a terminal:

  • sudo cp -R /System/Library/Extensions/AppleIntelCPUPowerManagement.kext /Extra/Extensions/
  • sudo perl -pi -e ‘s|\xE2\x00\x00\x00\x0F\x30|\xE2\x00\x00\x00\x90\x90|g’ /Extra/Extensions/AppleIntelCPUPowerManagement.kext/Contents/MacOS/AppleIntelCPUPowerManagement
  • sudo rm -Rf /Extra/Extensions/NullCPUPowerManagement.kext
  • myfix -t / -q

This is the exact method I used on my notebook as well, it appears to work on all Sandy/Ivy bridge processors – so much easier than screwing with SSDT’s (thanks aschar for taking the time to look up the binpatch and send it to me, as I had forgotten).

For ethernet (this board has two) I used the following extensions:

  • AppleIntelE1000e.kext
  • AtherosL1cEthernet.kext (with my devid added)

A quick myfix again, and both ethernet devices showed up in the networking preference pane, brilliant.

The only thing that doesn’t work quite right at this point is the Audio. I have a patched AppleHDA.kext for the ALC898 living in /Extra/Extensions, but the pin config is a bit off (I get headphones and two line out outputs), and it makes this popping sound before playback begins if it’s sat mute for a few minutes (i’ve heard other’s complain of this in the past but I never had the problem with my ALC889 or Intel IDT audio chips). But hey, it’s working and I spent less than 30 minutes on the whole post install job so I can’t complain.

34 thoughts on “My new hackintosh…

  1. Hi there, after many tries with Unibeast etc, finally MyHack is working! Great application, everything working except the Marvell ethernet connection and the Apple store connection. So I bought a TP ethernetcard and a TP-Link-TL-WDN4800 Wifi card, and its all working with no problems!
    My set-up is;
    Motherboard SAPPHIRE Pure Black X58 (PB-CI7S41X58)
    Intel Core i7 920 (2.66Ghz, 8mb cache) Socket LGA 1366
    ASUS GeForce 8800 GTS/HTDP/640M
    2 x 8Gb RAM
    1 x 250 GB harddrive
    OS-X 10.8
    Thanks, Peter

  2. I just got this motherboard to build a new Hackint0sh for my wife’s Christmas and have been struggling to get it working since I put it together. I created the USBInstall Drive using MyHack 3.1.2 using 10.8.2 InstallESD.dmg downloaded from the AppStore on my Mac Pro. When I try to boot from the flash drive (verbose mode) it gets stuck and wont launch to the install gui. Is there something special that needs to be done when creating the Install Flash Drive to get it too boot into the installer?

    • Riotz: Which graphics card do you have in the machine?

      Have you tried the PciRoot=1 or GraphicsEnabler=No boot flags?

  3. that popping sound occurs on real macs too (does on my late ’11 mbp) you probably didn’t hear it before because you were using a mac pro 3,1 smbios – they don’t sleep the audio after inactivity…

    anyways i think applehda in e/e is pretty sweet

    :thumbsup: to myhack.kext

    • I have a solution to the popping sound, it will be included in the release of myHack 3.2 :)

  4. Conti, my build is the same as yours, just curious if you have been able to fix the pop in the audio? Mine seems to have it too =/ Everything else has been working great though thanks to MyHack! Really appreciate your work!!!

  5. I think something is wrong on the binpatching.. you copy the one from s/l/e then you patch the binary on the /e/e one, but then you remove the /e/e/ file that you just patched.. what is the point in that.. plus i found a Perl script that does the work and usage is
    $ perl path-to-kext/Contents/MacOS/AppleIntelCPUPowerManagement
    well i’ll patch the /s/l/e one and do a rebuild and see.. :-/

    will report back

    • No, I only removed the NullCPUPowerManagement.kext – the one that disables AppleIntelCPUPowerManagement from loading.

      This is the proper method to patch with myfix – we leave /S/L/E untouched.

      The next release of myHack will include an automated function that will assist you with this patch if you are afraid of doing it manually, but if you copy and paste the commands i listed directly into a terminal it will work, guaranteed.

  6. Well, my UD3R just seems to have died. I just got the same mobo you did too. Looks like i’m following in your steps

    • Sure I will send it to your email address… Sorry for late reply.

    • Hi,

      I’m building the same hackintosh, can you send me your dsdt please?

      Thanks for sharing your experince

  7. [email protected] on said:

    Conti, you are correct about how it achieves it. It is more of a workaround than a fix per se but it works well and resolves the issue. It doesn’t take up any huge resources as far as I can tell and it doesnt interfere with sleep on my main rig. Even a lot of macbook owners use it. I always like a true fix if possible but sometimes a workaround works just as well.

    • I agree, thanks for reminding me of it, as I said I used it on 10.5, and that was on an iBook G4 :)

      I may not use the tool but I can write something which achieves the same functionality in a couple minutes, maybe I will even add this workaround to a future myHack.

      I am a bit of a perfectionist so one of these days when I have the time I will likely seek a legitimate fix, but I’m quite fond of simple workarounds to save time so long as they don’t cause other problems or eat up resources.

  8. [email protected] on said:

    For your sound issue, if you google Antipop, I have used that resolve your exact issue with sound popping when the hardware gets initialized.

    • lol i had totally forgotten about that little tool, I used that ages ago in 10.5. If I recall correctly though it doesn’t really ‘fix’ the problem, it just uses the speech command to ‘speak’ a ‘space’ every 10 seconds or so to prevent the audio output from powering down.

  9. Hi nice tool i love myHack ;)
    Gigabyte B75M-D3H
    Intel G630
    4G DDR3
    works great without DSDT ;)
    thanks for your work selflessly
    sorry for my inglish i spanish.

    • Hola, tengo la misma placa que tu, pero con un g860, me funciona pero me da kernel panic al arrancar despuesde instalar el voodoohda, como lo tienes tu?

    • Yo no recuerdo mucho españoles, pero aquí es una oportunidad:

      Tienes que eliminar AppleHDA.kext desde /S/L/E para utilizar VoodooHDA.kext o causará un kernel panic.

      Estoy utilizando una solución AppleHDA.kext vainilla con una sección HDEF en mi DSDT.

      In english:

      You have to remove AppleHDA.kext from /S/L/E to use VoodooHDA.kext or it will cause a kernel panic.

      I am using a vanilla AppleHDA.kext solution with an hdef section in my DSDT.

  10. I have the same motherboard and processor that you do. Could you please go more in depth as to how you managed to get both ethernet ports going, or at least direct to the proper source so I can get them both working. The two ethernet ports is actually why I chose this motherboard

    • I mentioned the two extensions I used in the post. You simply obtain those from wherever you can find them (reply again if you need me to post them for you, but I have limited time atm so it may take me a day or so to get back to you) and place them in /Extra/Extensions/ – then run myfix. The two ethernet devices will immediately show up in your networking preference pane and be able to be used. It is quite simple.

    • Thanks Conti!!! That worked beautifully, and is very much appreciated

  11. Hi conti, I’ve the same motherboard rev. 1.0 and using a patched AppleHDA never made the green port nor the headphone port to work, I tried mixing with nodes, path maps but nothing. Does you green port work and if yes please tell me how?
    Also what system definition are you using and what will be suitable for 3570K?

  12. I can’t seem to get the AppleIntelCPUPowerManagement patch to work properly.

    sudo perl -pi -e ‘s|\xE2\x00\x00\x00\x0F\x30|\xE2\x00\x00\x00\x90\x90|g’ /Extra/Extensions/AppleIntelCPUPowerManagement.kext/Contents/MacOS/AppleIntelCPUPowerManagement
    bash: xE2x00x00x00x0Fx30: command not found
    bash: xE2x00x00x00x90x90: command not found
    bash: g’: command not found
    Unrecognized character \xE2; marked by <– HERE after <– HERE near column 1 at -e line 1.

    Also, does this work on first-gen Core i processors? Or just Sandy Bridge and up?

    • Try to type it out manually rather than copy and paste, it looks like the single quote mark is wrong and it’s trying to pipe the commands rather than passing the entire string to perl.

      Also this only works on Sandy/Ivy bridge – it does not work for first gen core i processors.

  13. Why did you have to patch AppleIntelCpu kext? I thought newer Gigabyte boards could use native power management?

    I ask because I have an Asus z77 board that is KP due to the AppleIntelCpu kext, even after I’ve flashed a patched bios.

    • It isn’t just weither or not the system will panic, or which motherboard it is. It is more about which CPU it has and if you can binpatch for speed stepping (as is the case with most sandy and ivy bridge processors) or if you need to use an SSDT.aml.

  14. Cheers mate, and congratulations on the whole insurance thing! It’s good to know you got it sorted out so quickly.
    On the other hand, a week ago a freak thunderstorm blew out both my drives so now I’m left with just an old Windows one and no hackintosh in sight. So when my drives come I will not be able to install ML because I can’t make the USB thumbdrive….
    Any ideas on how to proceed next? What am I to do? What do you recomend?


    • You mean to tell me you didn’t keep the USB installer handy??? (I have 3 lol…) if your hardware is old enough to run SL you could probably just go the modcd route, get SL running, update to 10.6.8 and then grab your copy of Lion or ML off of the appstore and create a new one… If your hardware is too new to run anything but Lion or ML you may need to call upon a friend or do something sneaky with a display computer at a store that sells apple hardware. Last resort would be to get SL running in a virtual machine.

    • I tried but the method that I ran across didn’t quite work so I took the easy way out and grabbed a pre patched one off of the net, which is probably why it doesn’t work all that great… When I have time I am going to go back over it and perhaps do it the long way. Also meklort has something in the works that I may test sometime next month…