Contribute
Register

[Success] GIGABYTE Z370 Gaming 7 + Intel Core i7-8700K + RX 580 + (2x) Dell P2715Q 4k @ 60Hz

My issue is getting Audio working. Several posts back I got 10.13.6 installed and working on my hackintosh with same major components as original post (different cooling system, case, etc but exactly same motherboard, CPU, SSD, memory as HackaShaq.)

I even had the sound working. Then tried to use migration assistant to pull over system from prior hackintosh. All things failed. Spent several days trying to get back to basic clean install but failed. Eventually had to switch out the Samsung 960 EVO 500GB NVMe M.2 SSD and start over. So I eventually got the system up and running 10.13.6. Made a clone using CC to another SSD. I used migration assistant and installed my old stuff on clone SSD. Still had "pink" screen" with DVI connection but OK with HDMI. Could not get sound working. Elected to upgrade to Mojave as per instructions of @jb007. Yes I updated using clover configuatror. Still got "blacK" screen. I booted using older 4360 version of the clover. Added the three files "AptioMemoryFix-64.efi, PartitionDxe-64.efi, and ApfsDriverLoader-64.efi" as per instructions by @jb007. Still get black screen. However if I boot using clover 4360, I get system running fine. I then updated to Majove. This worked!! I now have system up and running Majove all except for sound.


Stuck in trying to get sound working. No drop down menu to select any output sound. Any help would be appreciated. Not sure what I did before to get sound working with system at 10.13.6.

Been using hackintosh for many years but would be best classified as newbie!

thanks
 
Hi @janardan sounds like you are having lots of problems. I'll try and help you, and sorry if the questions are a very basic but I it's best that I ask you some newbie questions.

  • Open up System Information and scroll to the Software/Extensions. It will take a little while to populate the Extensions so be patient. Then click on the 'Obtained From' column to sort the kexts so the non-apple extensions are displayed as per my screen shot.
  • Do you see the AppleALC kext there and if so is it shown as loaded? Let us know what you see? It has to be loaded for Audio to have a chance of working. See screenshot.
    Screen Shot 2018-09-30 at 4.17.40 pm.png
  • Also where is your AppleALC.kext located. It should be only in your /Library/Extensions folder. My version is 1.30 BTW. If you have it also located in /System/Library/Extensions, then move it out of there. Save it just in case.
  • Do you have Lilu.kext in /Library/Extensions, if not put it there.
  • If you are loading AppleALC.kext in your clover 'Other' directory don't. Only use /Library/Extensions to load 3rd party/modified kexts. Only kexts needed to boot the system should be there.
  • Lets see if you have the right file permissions on this and all the other files in /L/E by running this in a terminal:
    Code:
    jb@Gigantor:~$ ls -al /Library/Extensions/
    total 0
    drwxr-xr-x  24 root  wheel   816 27 Sep 22:17 .
    drwxr-xr-x+ 65 root  wheel  2210 25 Sep 15:04 ..
    drwxr-xr-x   3 root  wheel   102 24 Apr 16:45 ACS6x.kext
    drwxr-xr-x   3 root  wheel   102  9 May 05:06 ATTOCelerityFC8.kext
    drwxr-xr-x   3 root  wheel   102  7 May 23:53 ATTOExpressSASHBA2.kext
    drwxr-xr-x   3 root  wheel   102  7 May 23:54 ATTOExpressSASRAID2.kext
    drwxr-xr-x@  3 root  wheel   102 20 Jul 02:54 AppleALC.kext
    drwxr-xr-x   3 root  wheel   102  6 Sep  2017 ArcMSR.kext
    drwxr-xr-x   3 root  wheel   102 23 Oct  2017 AtherosE2200Ethernet.kext
    drwxr-xr-x   3 root  wheel   102  1 Sep  2013 CalDigitHDProDrv.kext
    drwxr-xr-x@  3 root  wheel   102  1 May 04:56 EnergyDriver.kext
    drwxr-xr-x   3 root  wheel   102  4 Apr 12:59 FakeSMC.kext
    drwxr-xr-x   3 root  wheel   102  4 Apr 12:59 FakeSMC_ACPISensors.kext
    drwxr-xr-x   3 root  wheel   102  4 Apr 12:59 FakeSMC_CPUSensors.kext
    drwxr-xr-x   3 root  wheel   102  4 Apr 12:59 FakeSMC_GPUSensors.kext
    drwxr-xr-x   3 root  wheel   102  4 Apr 12:59 FakeSMC_LPCSensors.kext
    drwxr-xr-x@  3 root  wheel   102 13 Aug 11:01 HibernationFixup.kext
    drwxr-xr-x   3 root  wheel   102  4 May 08:31 HighPointIOP.kext
    drwxr-xr-x   3 root  wheel   102  5 Dec  2017 HighPointRR.kext
    drwxr-xr-x   3 root  wheel   102 19 Apr 05:09 IntelMausiEthernet.kext
    drwxr-xr-x@  3 root  wheel   102 11 Sep 10:22 Lilu.kext
    drwxr-xr-x   3 root  wheel   102 31 Mar  2017 PromiseSTEX.kext
    drwxr-xr-x   3 root  wheel   102 25 Apr 10:09 SoftRAID.kext
    drwxr-xr-x@  3 root  wheel   102 23 Aug 04:19 USBInjectAll.kext
    They should all have root wheel there. If not, then you can fix it by the following code:
    Code:
    jb@Gigantor:~$ sudo chown -R root:wheel /Library/Extensions/
    Password:
    jb@Gigantor:~$
    This will fix all the permissions on all of the files including the contents in the kexts, as it is using the recursive function '-R'
  • If you add or delete any files the cache has to be updated, in fact it won't hurt if you do this anyway, just in case you have other issues. So run the following code in a terminal. I will show you what you should do and get in the code block below.
    Code:
    jb@Gigantor:~$ sudo touch /System/Library/Extensions
    jb@Gigantor:~$ sudo touch /LibraryExtensions
    jb@Gigantor:~$ sudo kextcache -i /
    Kext with invalid signatured (-67062) allowed: <OSKext 0x7fce7e1c4ab0 [0x7fff8641d8e0]> { URL = "USBInjectAll.kext/ -- file:///Library/Extensions/", ID = "com.rehabman.driver.USBInjectAll" }
    Kext with invalid signatured (-67062) allowed: <OSKext 0x7fce7e1b07c0 [0x7fff8641d8e0]> { URL = "Lilu.kext/ -- file:///Library/Extensions/", ID = "as.vit9696.Lilu" }
    Kext with invalid signatured (-67062) allowed: <OSKext 0x7fce7e1aa840 [0x7fff8641d8e0]> { URL = "IntelMausiEthernet.kext/ -- file:///Library/Extensions/", ID = "com.insanelymac.IntelMausiEthernet" }
    Kext with invalid signatured (-67062) allowed: <OSKext 0x7fce7e189160 [0x7fff8641d8e0]> { URL = "HibernationFixup.kext/ -- file:///Library/Extensions/", ID = "as.lvs1974.HibernationFixup" }
    Kext with invalid signatured (-67062) allowed: <OSKext 0x7fce7e17df30 [0x7fff8641d8e0]> { URL = "FakeSMC_LPCSensors.kext/ -- file:///Library/Extensions/", ID = "org.hwsensors.driver.LPCSensors" }
    Kext with invalid signatured (-67062) allowed: <OSKext 0x7fce7e16a3b0 [0x7fff8641d8e0]> { URL = "FakeSMC.kext/ -- file:///Library/Extensions/", ID = "org.netkas.driver.FakeSMC" }
    Kext with invalid signatured (-67062) allowed: <OSKext 0x7fce7e179340 [0x7fff8641d8e0]> { URL = "FakeSMC_GPUSensors.kext/ -- file:///Library/Extensions/", ID = "org.hwsensors.driver.GPUSensors" }
    Kext with invalid signatured (-67062) allowed: <OSKext 0x7fce7e178e30 [0x7fff8641d8e0]> { URL = "FakeSMC_CPUSensors.kext/ -- file:///Library/Extensions/", ID = "org.hwsensors.driver.CPUSensors" }
    Kext with invalid signatured (-67062) allowed: <OSKext 0x7fce7e174e70 [0x7fff8641d8e0]> { URL = "FakeSMC_ACPISensors.kext/ -- file:///Library/Extensions/", ID = "org.hwsensors.driver.ACPISensors" }
    Kext with invalid signatured (-67062) allowed: <OSKext 0x7fce7e0e5e50 [0x7fff8641d8e0]> { URL = "AtherosE2200Ethernet.kext/ -- file:///Library/Extensions/", ID = "com.insanelymac.AtherosE2200Ethernet" }
    Kext with invalid signatured (-67062) allowed: <OSKext 0x7fce7e0dc4c0 [0x7fff8641d8e0]> { URL = "AppleALC.kext/ -- file:///Library/Extensions/", ID = "as.vit9696.AppleALC" }
    KernelCache ID: 16E6250210445979B3572B3A1028FFE4
    Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff3006238d0 [0x7fff8641d8e0]> { URL = "AppleALC.kext/ -- file:///Library/Extensions/", ID = "as.vit9696.AppleALC" }
    Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff30062dc00 [0x7fff8641d8e0]> { URL = "AtherosE2200Ethernet.kext/ -- file:///Library/Extensions/", ID = "com.insanelymac.AtherosE2200Ethernet" }
    Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff3006ae240 [0x7fff8641d8e0]> { URL = "FakeSMC.kext/ -- file:///Library/Extensions/", ID = "org.netkas.driver.FakeSMC" }
    Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff3006b8bd0 [0x7fff8641d8e0]> { URL = "FakeSMC_ACPISensors.kext/ -- file:///Library/Extensions/", ID = "org.hwsensors.driver.ACPISensors" }
    Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff3006b8310 [0x7fff8641d8e0]> { URL = "FakeSMC_CPUSensors.kext/ -- file:///Library/Extensions/", ID = "org.hwsensors.driver.CPUSensors" }
    Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff3006bec10 [0x7fff8641d8e0]> { URL = "FakeSMC_GPUSensors.kext/ -- file:///Library/Extensions/", ID = "org.hwsensors.driver.GPUSensors" }
    Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff3006bd1c0 [0x7fff8641d8e0]> { URL = "FakeSMC_LPCSensors.kext/ -- file:///Library/Extensions/", ID = "org.hwsensors.driver.LPCSensors" }
    Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff3006ccfd0 [0x7fff8641d8e0]> { URL = "HibernationFixup.kext/ -- file:///Library/Extensions/", ID = "as.lvs1974.HibernationFixup" }
    Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff3006eff80 [0x7fff8641d8e0]> { URL = "IntelMausiEthernet.kext/ -- file:///Library/Extensions/", ID = "com.insanelymac.IntelMausiEthernet" }
    Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff303103740 [0x7fff8641d8e0]> { URL = "Lilu.kext/ -- file:///Library/Extensions/", ID = "as.vit9696.Lilu" }
    Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff303109a90 [0x7fff8641d8e0]> { URL = "USBInjectAll.kext/ -- file:///Library/Extensions/", ID = "com.rehabman.driver.USBInjectAll" }
    jb@Gigantor:~$
    If you get any errors it is usually a file permissions problem, so make sure you have done the file permissions as above, otherwise report back here.
  • Also do you have what do you have in your config.plist? For audio to work you have to have your audio setup up as per the two screen shots below. Note I found that I didn't need the kext patch, but to be safe just give turn it on and change the MatchOs to include 10.14.x otherwise Clover will ignore it if it as it will only patch the AudioALC.kext if the MatchOS matches the OS version, 10.14.x in our case.
    Screen Shot 2018-09-30 at 4.20.34 pm.png

    Screen Shot 2018-09-30 at 4.25.17 pm.png

  • Also note the change of the USB in my screen shot. This new setting will enable all 26 USB ports for all versions of OS now and hopefully into the future, unlike the old one which stopped working when Apple updated the kext. Not an Audio issue, but might help you further down the track.

  • Reboot, and let us know how you go.
Edit: Also you can use Multibeast 10.4 to apply the AppleALC.kext file to /L/E, (just apply only the AppleALC.kext, nothing else as you have a bootable system already), but still if you can carry out the above checks it would be good.
Jim
 
Last edited:
@jb007 Thank you for your help. Audio is now working. A few points on what I found with my system;

1. AppleALC.kext was not installed, followed your instructions and verified it was installed correctly.
2. Lilu.kext was an older version (1.2.5) updated to 1.2.7
3. Fixed permissions but did not see any issues here.
4. Updated cache as per instructions.

Using an old digital speaker system with optical digital output. Works fine.

New benefit of Mojave 10.14, video works properly without "pink" screen on DVI connection. At some point I will buy a new monitor with DP input and higher resolution.

Remaining issues:

1. Second ethernet connection not working (using the bottom connection on motherboard). This is not critical and not sure what I need this for.

2. Original system has a Samsung 960 EVO 500GB NVMe M.2 SSD installed in the middle M2 slot. Followed original post by @HackaShaq . Got whole system working (except audio) then used "Carbon Copy Cloner" to copy to spare SSD I call "clone". I then did all the updates to Mojave 10.14 per @jb007 in post #580, including copying files per @Tom012 . When I boot directly to "clone" drive, the clover version is r4674, but I get the black screen. If I boot to Samsung 960 EVO with r4630 but select the "clone" drive then I can boot system fine and all works (including Audio based on your instructions in post #593). Now I would like to copy the "clone" back to Samsung 960 EVO but am concerned I will get the black screen. I think it would be best to make sure I can boot to "clone" drive successfully before I copy back to Samsung 960 EVO drive. Any help trouble shooting this would be greatly appreciated!

A second THANK YOU to @jb007 for getting my audio working.
 
Also: @jb007 your screen shot for USB update is cut off for file names, could you post again please. Thanks
 
Also: @jb007 your screen shot for USB update is cut off for file names, could you post again please. Thanks

Hi @janardan. Glad your audio is no working. Here is a text version of my USB settings:

Latest USB Patch that will work for all versions of com.apple.driver.usb.AppleUSBXHCI i.e 10.13.x 10.14.x Strongly recommend you use this as Apple releases newer versions this will work without modification.
Code:
Name:    com.apple.driver.usb.AppleUSBXHCI
Find:    83FB0F0F 83030500 00
Replace: 83FB0F90 90909090 90
Comment: USB 10.14.x by PMHeart
MatchOS: 10.14.x  Note: You can make this MatchOS 10.13.x, 10.14.x and it will work (should) for High Sierra and Mojave.

Older USB Patch: (Not needed if you use the above patch.)
Code:
Name:    com.apple.driver.usb.AppleUSBXHCI
Find:    837D880F 0F83A704 0000
Replace: 837D880F 90909090 9090
Comment: USB 10.13.6+ by PMHeart
MatchOS: 10.13.x

Could you do us a favour, and mark your Audio patch as disabled in your config.plist and reboot and tell me if audio is still working? In my system I don't have it enabled, and all is fine!

Jim
 
@jb007 I only installed the first patch above and disabled the two patches (com.apple.driver.usb.AppleUSBXHCI and com.apple.driver.usb.AppleUSBXHCIPCI) from @HackaShaq

I did not have the Audio patch you refer to installed. I assume you are referring to patch (com.apple.driver.AppleHDAcom) shown in third screen capture of post #593


Vas
 
@jb007 Thank you for your help. Audio is now working. A few points on what I found with my system;

1. AppleALC.kext was not installed, followed your instructions and verified it was installed correctly.
2. Lilu.kext was an older version (1.2.5) updated to 1.2.7
3. Fixed permissions but did not see any issues here.
4. Updated cache as per instructions.

Using an old digital speaker system with optical digital output. Works fine.

New benefit of Mojave 10.14, video works properly without "pink" screen on DVI connection. At some point I will buy a new monitor with DP input and higher resolution.

Remaining issues:

1. Second ethernet connection not working (using the bottom connection on motherboard). This is not critical and not sure what I need this for.

2. Original system has a Samsung 960 EVO 500GB NVMe M.2 SSD installed in the middle M2 slot. Followed original post by @HackaShaq . Got whole system working (except audio) then used "Carbon Copy Cloner" to copy to spare SSD I call "clone". I then did all the updates to Mojave 10.14 per @jb007 in post #580, including copying files per @Tom012 . When I boot directly to "clone" drive, the clover version is r4674, but I get the black screen. If I boot to Samsung 960 EVO with r4630 but select the "clone" drive then I can boot system fine and all works (including Audio based on your instructions in post #593). Now I would like to copy the "clone" back to Samsung 960 EVO but am concerned I will get the black screen. I think it would be best to make sure I can boot to "clone" drive successfully before I copy back to Samsung 960 EVO drive. Any help trouble shooting this would be greatly appreciated!

A second THANK YOU to @jb007 for getting my audio working.

To get both ethernet ports working:
  1. First of all make sure you have enabled both in your BIOS. See these BIOS pictures.
    BIOS 1.png BIOS 2.png
  2. Load both these drivers from Multibeast 10.4 (or later when it comes out):
    Network drivers for Z370.png
  3. Reboot, and you should have these in the System Information app:
    System Info - Ethernet Cards.png

    Note: The Apple AQC107-AFW is my PCIe 10GBe ethernet card.
Hopefully you will have all ports going!

Jim
 
@jb007 I only installed the first patch above and disabled the two patches (com.apple.driver.usb.AppleUSBXHCI and com.apple.driver.usb.AppleUSBXHCIPCI) from @HackaShaq

I did not have the Audio patch you refer to installed. I assume you are referring to patch (com.apple.driver.AppleHDAcom) shown in third screen capture of post #593


Vas
Yes the HDA audio one. Since you don't have it in your config.plist, it proves to me that we don't need this patch any more. Maybe Clover is patching it automatically? Anyway I'm leaving it out of mine.
 
@jb007
2. Original system has a Samsung 960 EVO 500GB NVMe M.2 SSD installed in the middle M2 slot. Followed original post by @HackaShaq . Got whole system working (except audio) then used "Carbon Copy Cloner" to copy to spare SSD I call "clone". I then did all the updates to Mojave 10.14 per @jb007 in post #580, including copying files per @Tom012 . When I boot directly to "clone" drive, the clover version is r4674, but I get the black screen. If I boot to Samsung 960 EVO with r4630 but select the "clone" drive then I can boot system fine and all works (including Audio based on your instructions in post #593). Now I would like to copy the "clone" back to Samsung 960 EVO but am concerned I will get the black screen. I think it would be best to make sure I can boot to "clone" drive successfully before I copy back to Samsung 960 EVO drive. Any help trouble shooting this would be greatly appreciated!

Vas, I'd copy the whole EFI folder of your Samsung 960 to a safe place, say your Unibeast USB Boot drive. Then you can copy this EFI folder back to your Samsung 960 drive (I'd rename the existing EFI folder to EFI.original...) and see how you go. As to what is causing the black screen I don't know.

You could see what files are different between the EFI.original and your copied EFI folder and maybe there is a file missing etc.

Are you using HFS+ or APFS file system?

Jim
 
@jb007 I got the second ethernet port working. I am using the APFS file system.

To clarify; are you saying copy the EFI folder from Samsung 960 to "clone" drive and then reboot directly to "clone" drive? In addition keep a safe copy of the EFI folder of the "clone" drive?

Vas
 
Back
Top