Contribute
Register

erik's "Tiny But Mighty" HTPC: ASRock Z370M-ITX/ac - i5-8400 - UHD 630 Graphics - High Sierra

Joined
Nov 16, 2011
Messages
5
Motherboard
ASRock Z370M-ITX/ac
CPU
i7-8700K
Graphics
UHD 630 + RX 580
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
  2. iOS
Hi everyone, I need a quick advice.

I’m building my first Hackintosh with the same mobo, and I just need to select a WLAN card. I saw erik used BCM94352Z and this is reported "compatible" with configuration. But I found in the Broadcom WiFi/Bluetooth guide that the BCM94350ZAE had “native” compatibility, and it’s two times cheaper than the BCM94342Z ones.
Do you think it will fit? Do you think it will work? Connectors between the two are different: the BCM94350ZAE has one more indent at the bottom.

Thanks!

It says on the page BCM94350ZAE is an M.2 and native, so it MAY fit and work great. I instead opted for BCM94360CS2 (just for peace of mind since it's from a macbook air) and got a NGFF->M.2 adapter with it, and it's flawless (trackpad works in recovery mode too).
 
Joined
Sep 23, 2018
Messages
20
Motherboard
Asrock Z370M-ITX/ac
CPU
i7-8700
Graphics
UHD 630
Mac
  1. MacBook Pro
Classic Mac
  1. 128K
  2. iMac
  3. PowerBook
Mobile Phone
  1. Android
  2. iOS
It says on the page BCM94350ZAE is an M.2 and native, so it MAY fit and work great. I instead opted for BCM94360CS2 (just for peace of mind since it's from a macbook air) and got a NGFF->M.2 adapter with it, and it's flawless (trackpad works in recovery mode too).

Thanks! Would love to get the opinion of people who have had experience with it.
Does it fit with your adapter? I guess you cannot put the metal shield back with it?

EDIT: it seems that the BCM94350ZAE is a hit-or-miss adapter, as it works great for some, and others cannot boot their computer at all… The BCM94352Z seems to be the most recommended module.
 
Last edited:
Joined
Sep 26, 2018
Messages
6
Motherboard
Asrock Z370M-ITX/AC
CPU
i5-8400
Graphics
UHD 640
Mac
  1. MacBook Pro
  2. Mac mini
Mobile Phone
  1. Android
Here's the mystery of the day:

I have a build here that is strikingly similar to Eric's... AFAIK the only hardware difference is the size of the M.2. (Actually, I ordered a 250G, but they sent a 500G (hey, I'm not complaining :)). I'm running 10.13.6. Got the EFI partition populated with Eric's files, changed iMac 14,3 to iMac 14,1 to fix screen jitters.

Everything that should work seems to work (except wifi, because I don't yet have a compatible card) but...

When I drag & drop a file to copy it, the copy completes, and as soon as it completes, the system immediately resets, go back to boot state.

I get the same behavior (reset, reboot) when I plug in headphones or remove them from front panel headphone jack. This behavior does not occur prior to login. At the login screen I can push and pull the headphone plug as much as I want, with no problem. But as soon as I login, that activity always triggers the reset, reboot.

I have tested this same hardware running linux (Mint 18), no glitches like this whatever, so it definitely seems like it is a hardware problem.

I don't see any evidence in the system log. Any suggestions on where else to look?
 
Joined
Nov 16, 2011
Messages
5
Motherboard
ASRock Z370M-ITX/ac
CPU
i7-8700K
Graphics
UHD 630 + RX 580
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
  2. iOS
my 2¢, here's what i'll try:
- Open clover configurator and change the layout id to 3 in Devices > Audio > Inject, save reboot and test
- If not successful, try remove appleALC.kext and other audio kexts and see if it's going to behave thesame
- If still no success, Download/Update Lilu and appleALC.kext of EFI/CLOVER/kexts/other/ in clover configurator.
- If still not, Backup and delete CLOVER folder in EFI, and download/install Clover_v2.4k_r4586-UEFI.pkg, and start with that config.plist
 
Joined
Sep 26, 2018
Messages
6
Motherboard
Asrock Z370M-ITX/AC
CPU
i5-8400
Graphics
UHD 640
Mac
  1. MacBook Pro
  2. Mac mini
Mobile Phone
  1. Android
my 2¢, here's what i'll try:
- Open clover configurator and change the layout id to 3 in Devices > Audio > Inject, save reboot and test
- If not successful, try remove appleALC.kext and other audio kexts and see if it's going to behave thesame
- If still no success, Download/Update Lilu and appleALC.kext of EFI/CLOVER/kexts/other/ in clover configurator.
- If still not, Backup and delete CLOVER folder in EFI, and download/install Clover_v2.4k_r4586-UEFI.pkg, and start with that config.plist

The problem was actually quite simple: My EFI system partition was named EFI, as was of course the EFI directory at the top of that partition. I got them confused, and as part of some "cleanup" activity, I moved all the content of the real EFI directory into the root of the partition. Once I discovered this and moved them back, everything seems to work just fine.

You had the right idea though, something was not handling hardware interrupts correctly.... because the proper kernel extensions had... taken a walk.

Thanks for the quick reply.
 
Joined
Nov 16, 2011
Messages
5
Motherboard
ASRock Z370M-ITX/ac
CPU
i7-8700K
Graphics
UHD 630 + RX 580
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
  2. iOS
Glad it worked out for you :) I'm curious tho, isn't moving the contents of /EFI to root will make clover to not boot?
 
Joined
Sep 26, 2018
Messages
6
Motherboard
Asrock Z370M-ITX/AC
CPU
i5-8400
Graphics
UHD 640
Mac
  1. MacBook Pro
  2. Mac mini
Mobile Phone
  1. Android
Glad it worked out for you :) I'm curious tho, isn't moving the contents of /EFI to root will make clover to not boot?
Well, I had two disks and I was booting off a different one, because the one of interest also had linux on it, and linux had somehow hosed the use of clover on that disk. The linux install setup the boot through EFI fallbacks, and as far as I can tell, my board seems to do the fallbacks first. I'm not sure about that, though, I've been studying the EFI docs and doing some tests. So far all I can tell you is that as soon as I eradicated all of linux stuff from the ESP, the clover stuff showed up as an option.
 
Joined
Jul 7, 2010
Messages
353
Motherboard
GA-P55A-UD4P
CPU
i7-860
Graphics
5870
Mac
  1. MacBook Pro
  2. Mac mini
  3. Mac Pro
Mobile Phone
  1. iOS
So, Mojave is being difficult. I did the update directly from High Sierra using the Install macOS Mojave app. However, after rebooting from the installer in Clover, I get about 90% to boot, then the display shuts down and I have to power off. If I boot from my High Sierra USB stick and choose my SSD with Mojave on it, I can boot all the way but I have no bluetooth on my Lenovo card (although Wifi works great with this card), so I suspect I have to fix the USB port limit again. I also have graphics glitches which may require a change in the model identifier. But the biggest issue is that I cannot boot, even after reinstalling the current Clover with Multibeast from within the Mojave boot.

Any suggestions?
 
Joined
Sep 26, 2018
Messages
6
Motherboard
Asrock Z370M-ITX/AC
CPU
i5-8400
Graphics
UHD 640
Mac
  1. MacBook Pro
  2. Mac mini
Mobile Phone
  1. Android
and Linux had somehow hosed the use of Clover on that disk..
I've been doing some experiments regarding attempts to dual boot macOS and Linux, where both systems occupy the same disk. On my system I have two "disks" one is a traditional SATA drive, which I will refer to as HD, and the other is a M.2 SSD, which I will refer to as SSD. On the SSD I also have a Linux installation (Mint, 18).

Test1:

Both disks started with identical EFI partitions (I changed only the default disk to boot), and identical macOS (10.13.6) partitions. Under these conditions:
  • I can set either HD or SSD in the bios to boot first, which brings up Clover.
  • The Clover GUI shows four selections: (HD, recovery on HD, SSD, recovery on SSD). No Linux, which is expected so far.
  • From Clover I can boot either the HD or SSD version of macOS, and both run fine, and
  • in particular sleep works fine, and shutdown works fine.
Test2:

In an attempt to provide a linux option in clover, I do two things:
  • Add a Linux directory named Ubuntu to the EFI directory in ESP of SSD. This Ubuntu is basically what the Linux Mint install originally created, and looks like this:
Screen Shot 2018-10-11 at 10.38.24 PM.png
  • Set the Linux entry to true in clover.cfg. (In the Scan section).
The results of this test are mixed just fine:
  • When I reboot and get to Clover boot loader GUI, there is a new option for Ubuntu, marked with a big U.
  • When I select it, I can boot into Linux mint, which works fine. Great!
  • But, now when I boot into OS X on the SSD (on same disk that holds the EFI which contains the new Ubuntu EFI directory shown above), I have problems with sleep. Basically it doesn't, it just blanks the screen, and comes right back. Edit: I think this occurred because I was slightly moving the mouse as I clicked the sleep menu item. I just repeated this test, and (when I am careful with the mouse,) all works just fine.
  • Otherwise macOS works OK.
When I remove the Ubuntu directory from EFI, all is well with macOS on SSD.

Test3:

I move the Ubuntu partition to HD, i.e. the EFI in the ESP on the HD disk (which does not contain the actual Linux installation). Now when I select the SSD EFI in bios and reboot:
  • The Ubuntu option is back in the Clover menu. This makes sense, because clover is reading the ESP partitions of all the disks.
  • Linux boots fine, works fine.
  • macOS on SSD boots fine, works fine, sleep, shutdown, is perfect.
Conclusions:

There appears to be some bad interaction from the Ubuntu EFI directory that is bleeding over into the macOS boot, but I can't quite see the connection. Edit: All works well for dual boot. (BTW, if I put the Ubuntu directory in ESP of both disks, I get two Ubuntu options in the clover boot menu. This makes sense, as these efi items are just blindly scooped up from the ESP.)
 

Attachments

  • image.png
    image.png
    15.9 KB · Views: 40
Last edited:
Top