Jump to content
ludufre

[Guide] Gigabyte GA-Z370N-WIFI + i7 8700K + UHD 630 + Mojave 10.14.5

49 posts in this topic

Recommended Posts

Installing macOS Mojave 10.14.5 on Gigabyte Z370N WIFI + i7 8700K + UHD 630

image.thumb.png.5ae699513a2e4e5fb095b93757238fb2.png



Changelog:

 

06/10/2019 00:44h GMT-0

- Completely rewritten.

 

10/17/2018 08:12h GMT-0

- Fix Kexts permissions commands adjusted.

- Removed FrameBuffer patch that is not needed.

- Added audio solution and HDMI.

- Unfortunately DisplayPort does not work.

- Replaced Wifi/BT with DW1560 (BCM94352Z)

 

10/11/2018 04:15h GMT-0

- Added USB 3.0 patch.

- Adjusted some steps.

- Changed text formatting.

 

10/11/2018 03:42h GMT-0

- Added missing UEFI configuration.

 

10/07/2018 00:36h GMT-0

- First version.

 

What works and what does not
 
- Processor: Intel Core i7-8700K -> Tick.png Work. All SpeedStep stages.
- Video Card: Intel UHD 630 -> Tick.png Work. QE/CI and Metal.
- Chipset: Intel Z370 -> Tick.png Work.
- HDMI 2.0 (1st) -> Tick.png Work.

- HDMI (2nd) -> Tick.png Work.

- DP -> Cross.png Not tested yet.

- Audio: ALC1220 -> Tick.png Work.

- HDMI Audio -> Tick.png Work.
- WiFi/Bluetooth -> Cross.png Not work. Replaced with BCM94360CS2.

- Ethernet (1st) -> Tick.png Work.
- Ethernet (2nd) -> Tick.png Work.
- USB3.0 -> Tick.png Work.
- Sleep -> Tick.png Work.

- Airdrop, Handoff, Instant Hotspot and Continuity -> Tick.png Work after replaced wireless.

 

 
Todo

 

- Make audio work.

- Make HDMI audio work.

- Test DisplayPort.

- Make second ethernet work.

- Replace Wifi/Bluetooth.

- Test DP.

 

What you need to install

- Running install of macOS
- One USB flash drive of 8GB or bigger
- macOS Mojave install app

- Clover Configurator
- Clover EFI

- Clover Configurator

- Some KEXTs and SSDT patches


How create create the install flash drive
 
Prepare install flash drive


Format the flash drive with GUID partition mapping and name it "Install".

- Open Disk Utility.
- Click in View, then "Show All Devices".
- Select the destination flash drive, then Erase.
- Name: Install, Format: Mac OS Extended (Journaled) and Scheme: GUID Partition Map

 

Create install flash drive

Open terminal and run this command:

sudo /Applications/Install\ macOS\ .app/Contents/Resources/createinstallmedia --volume /Volumes/Install--nointeraction

This will take about 30 minutes.

 

 


Install bootloader

Download the CloverEFI (used 4953, from Automated Clover Builds) and install with this options on "Install macOS Mojave":

 
- Install for UEFI booting only
- Install Clover in the ESP
- UEFI Drivers - ApfsDriverLoader-64
- UEFI Drivers - AptioMemoryFix-64

- UEFI Drivers - HFSPlus

- UEFI Drivers - NvmExpressDxe-64 (I have an NVME SSD)

- FileVault 2 UEFI Drivers (I strongly recommend enable FileVault)


image.png.d7beb207d4b72ab7aaabb8f0f80aae25.pngimage.png.ab8e036886967dfd12f8db88a5badfd6.pngimage.png.0616c61bff1298a7a775c2d53306a784.png

 

 

Make things works
 

We'll make a full working flash drive, so follow these instructions:

 

Will be mounted the EFI partition of the flash drive.
 

Open the the /Volumes/EFI/CLOVER/config.plist inside this new partition with Clover Configurator (used 5.4.4.0)

 

Important modifications

 

config.plist


BOOT Page

 

- Add: Arguments - darkwake=2

- Uncheck: NeverDoRecovery

- Check: Legacy - XMPDetection=Yes

 

KERNEL AND KEXT PATCHES Page

 

- Check: KernelPm

 

RT VARIABLES Page

 

- Change: CsrActiveConfig - 0x3

 

SMBIOS Page

 

- Change: Macmini8,1 - Mac mini (Late 2018) | Intel Core i7-8700B @ 3.20 GHz

image.png.d7983d89c6c9f11764c6a21df347a526.pngimage.png.cdb90ea628dd29f89626fad75b29b4b0.png

 

- Click: Generate New (few times in the two buttons)

image.png.a5233f86ceb094bc6cbf0eabda943eaf.png

 

 

Need some Kexts in the folder /EFI/CLOVER/kexts/Other/

 

- Download the HWSensors 3 from here. I used the FakeSMC.kext, ACPIMonitor.kext and IntelCPUMonitor.kext inside of DMG version r196.

Download the Lilu.kext from here. I used the version 1.3.6.


 

Intel UHD 630

 

ACPI Page

- Uncheck: Fixes - AddHDMI

- Uncheck: Fixes - FixDisplay

- Uncheck: Fixes - FixHDA

 

GUI Page

- Change: Screen Resolution - 3840x2160 (My monitor is 4K)


Need a Kext in the folder /EFI/CLOVER/kexts/Other/

 

Download the WhateverGreen.kext from here. I used the version 1.2.9.


 

Audio ALC 1220 and HDMI audio


BOOT Page

- Add: Arguments - alcid=11

DEVICES Page

- Change: Audio - Inject - 11

- Uncheck: Audio - AFGLowPowerState

- Uncheck: Audio - ResetHDA


Need a Kext in the folder /EFI/CLOVER/kexts/Other/

 

Download the AppleALC.kext from here. I used the version 1.3.8.


 

All USBs (2.0, 3.0, Type-C, internal)

 

KERNEL AND KEXT PATCHES Page - KextsToPatch

 

- Name*: com.apple.iokit.IOUSBHostFamily

- Find* [HEX]: 83FB0F0F

- Replace* [HEX]: 83FB3F0F

- Comment: USB Port Limit Patch 1 PMHeart/DalianSky

- MatchOS: 10.14.x

 

- Name*: com.apple.iokit.IOUSBHostFamily

- Find* [HEX]: 83FB0F0F

- Replace* [HEX]: 83FB3F0F

- Comment: USB Port Limit Patch 2 PMHeart/DalianSky

- MatchOS: 10.14.x

 

- Name*: com.apple.driver.usb.AppleUSBXHCI

- Find* [HEX]: 83FB0F0F

- Replace* [HEX]: 83FB3F0F

- Comment: USB Port Limit Patch 3 PMHeart/DalianSky

- MatchOS: 10.14.x

 

- Name*: com.apple.driver.usb.AppleUSBXHCI

- Find* [HEX]: 83FF0F0F

- Replace* [HEX]: 83FF3F0F

- Comment: USB Port Limit Patch 4 PMHeart/DalianSky

- MatchOS: 10.14.x

 

Need a Kext in the folder /EFI/CLOVER/kexts/Other/

 

Download the USBInjectAll.kext from here. I used the version 2018-1108.

 

Need SSDT patch in the folder /EFI/CLOVER/ACPI/patched/

 

- Download the SSDT-EC.aml, SSDT-UIAC.aml and SSDT-USBX attached bellow.

 

Wifi and Bluetooth (BCM94360CS)

 

Works out of box (plug 'n' play).

 

 

LAN Cards

 

Need a Kext for feach card in the folder /EFI/CLOVER/kexts/Other/

 

Download the IntelMausiEthrenet.kext from here. I used the version 2018-1031.

- Download the SmallTreeIntel82576.kext attached bellow. I do not remember where I found it.


 
Now you can start the instalation without problem (I guess).

 

 

How install

 

UEFI Setup Configuration and Installation

UEFI configuration
 
- Shutdown and insert the flash.
- Power on with DEL pressed to enter BIOS setup.
- Change value: Periphelrals - Initial Display to IGP
- Change value: Periphelrals - USB Configuration - XHCI Hand-off to ENABLE
- Change value: Chipset - VT-d to DISABLE
- Change value: Chipset - Internal Graphics to ENABLE
- Change value: Chipset - DVMT Pre-Allocated to 128M

- Save & Exit Setup

 

- Now, hold the F12

- In the list, select your flash drive.

- It will show twice. One with UEFI prefix and another without.

- Select with UEFI prefix. Ie.: "UEFI: Sandisk Cruzer"

 

The installer will start. 


Format destination disk

Format the disk with GUID partition mapping and name it "HD".

- Select Disk Utility in the list, then press Continue.
- Click in View, then "Show All Devices".
- Select the destination Disk, then Erase.
- Name: HD, Format: APFS and Scheme: GUID Partition Map

Close Disk Utility.

Select "Install macOS", then Continue.
Follow instructions in screen.

After install

After first part install the system will reboot.

The second part of the installation will begin. This will take 16 minutes.
 

Post installation

Install bootloader
 
When the second part of install finish, the system will reboot again.

After performing the user initial setup and go to the desktop, you need to install Clover on internal disk.

Open the Clover installer inside flash drive that you copied before.

Use same options above but choose the system partition this time.

Now you need to replace the EFI folder inside your destination disk EFI parittion, with EFI folder inside flash card EFI partition.

If the flash drive EFI partition of your destination disk or flash drive is unmounted:

Mount with terminal "sudo diskutil mount /dev/rdiskXs1". To know what X is, use "diskutil list", most likely is 0 for destination disk and 1 for flash drive.

 

Then, eject the flash drive.

 

Last step

 

Move all Kexts from EFI partition to /Library/Extensions, with those commands in Terminal:

sudo mv -R /Volumes/EFI/EFI/CLOVER/kexts/10.14/* /Library/Extensions/
sudo chmod -R 755 /Library/Extensions
sudo chown -R root:wheel /Library/Extensions
sudo kextcache -i /

Restart the system.

 

 

It's done!


 
And last but not least
 
I would like to thank the following community members, by making these dream possible:
@crushers, @snatch, @apianti, @blackosx, @blusseau, @dmazar, @slice2009, @autumnrain, @phpdev32, @EMlyDinEsH, @RehabMan, @Scellow, @mitch_de, @Shailua, @Andy Vandijck, @maxfierke, @ArturXXX, @LexHimself, @brumas and all others members involved directly or indirectly.

 

 

 

 

 

 

 

Z370N-WIFI.zip

Edited by ludufre

Share this post


Link to post
Share on other sites
Advertisement

Followed this guide to a T and installed Mojave successfully. Great work!

I do seem to experience major artefacts/glitches in the window server though. Started occurring after switching from IntelGraphicsFixup to the new WhateverGreen. Any ideas?

Share this post


Link to post
Share on other sites

I'm sorry. Notifications were turned off ...

 

In addition to installing the Kexts, did you do the procedure below? 

 

 

On 10/7/2018 at 12:16 AM, Luan Eduardo said:

config.plist (Clover Configurator): 

 

- Uncheck: Acpi - Fixes - FixDisplay

- Uncheck: Acpi - Fixes - AddHDMI

- Add value: Devices - Properties - Devices*: PciRoot(0x0)/Pci(0x2,0x0)

- Add value: Devices - Properties - Devices* - PciRoot(0x0)/Pci(0x2,0x0):

                 Propertie Key: framebuffer-patch-enable

                 Propertie Value: 01000000

                 Propertie Key: AAPL,ig-platform-id

                 Propertie Value: 07009B3E

image.png.c2911f6ade6b2ae73fa45ff4e61b0ab6.png

 

- Change value: Gui - Screen Resolution to 3840x2160 (Your screen resolution, mine is 4k)

- Change value: Rt Variables - CsrActiveConfig to 0x3

- Select value: SMBIOS - Up/Down arrows - iMac18,1 - Intel Core i5-7360U @ 2.30Ghz (I know, it's not our processor, but is that option)

 image.png.676dbf1a708a6ad758c50302db3f05fb.pngimage.png.fd3643539222aa3eb215ca414573215a.png

 

Edited by Luan Eduardo

Share this post


Link to post
Share on other sites

Displayport not working for me (monitor looses signal when driver is loaded), HDMI fine (even 4K@60Hz on 2.0 port).

I'm using iMac18,1 model, maybe need change that to enable DP port of the motherboard.

Share this post


Link to post
Share on other sites
3 hours ago, NeedForSpeed73 said:

Displayport not working for me (monitor looses signal when driver is loaded), HDMI fine (even 4K@60Hz on 2.0 port).

I'm using iMac18,1 model, maybe need change that to enable DP port of the motherboard.

I don't have the DP cable. Try and tell me if works.

Share this post


Link to post
Share on other sites

I have the same motherboard. So, this is what I did to make Audio Work:

 

In config.plist, Devices -> Audio -> Inject = 7

 

Reboot, and you will have audio over HDMI. Didn't test the actual audio ports.

Credits to Hackintosher forum.

Share this post


Link to post
Share on other sites
4 hours ago, Luan Eduardo said:

I don't have the DP cable. Try and tell me if works.

Tried many different ones (MacPro6,1 and various iMacs) with no luck. I will just reroute the cables and use HDMI.
Now I have an annoying problem with external USB drives being recognized as internal ones (and that forces me to set internal disks as visible on desktop in Finder).
I didn't do a clean install but upgraded from High Sierra (where everything was working fine, DP included), guess my configs must be a bit messed up.:(

Share this post


Link to post
Share on other sites
1 hour ago, NeedForSpeed73 said:

Tried many different ones (MacPro6,1 and various iMacs) with no luck. I will just reroute the cables and use HDMI.
Now I have an annoying problem with external USB drives being recognized as internal ones (and that forces me to set internal disks as visible on desktop in Finder).
I didn't do a clean install but upgraded from High Sierra (where everything was working fine, DP included), guess my configs must be a bit messed up.:(

 

I bought a DP cable and I also have problems. It seems that the cable is infinitely reconnecting. I'll see about this later.

 

About the external driver appear as internal i have the same issue, I think the system think the USBs are internal. Look this:

 

image.png.b3e451b2247072a1760cc7e751adf82f.pngimage.png.31f5c69af7506f639a634a8551096726.png

 

I'll try to fix it.

 

 

5 hours ago, khamsakamal48 said:

I have the same motherboard. So, this is what I did to make Audio Work:

 

In config.plist, Devices -> Audio -> Inject = 7

 

Reboot, and you will have audio over HDMI. Didn't test the actual audio ports.

Credits to Hackintosher forum.

 

Actually I don't use HDMI audio. I'm testing audio_CloverALC right now. The audio output works, but input not work because of layout-id = 2 that I'm using in place of layout-id 1 that Mojave drop it.

Edited by Luan Eduardo

Share this post


Link to post
Share on other sites
3 hours ago, Luan Eduardo said:
4 hours ago, NeedForSpeed73 said:

Tried many different ones (MacPro6,1 and various iMacs) with no luck. I will just reroute the cables and use HDMI.
Now I have an annoying problem with external USB drives being recognized as internal ones (and that forces me to set internal disks as visible on desktop in Finder).
I didn't do a clean install but upgraded from High Sierra (where everything was working fine, DP included), guess my configs must be a bit messed up.:(

 

I bought a DP cable and I also have problems. It seems that the cable is infinitely reconnecting. I'll see about this later.

 

About the external driver appear as internal i have the same issue, I think the system think the USBs are internal. Look this:

 

image.png.b3e451b2247072a1760cc7e751adf82f.pngimage.png.31f5c69af7506f639a634a8551096726.png

 

I'll try to fix it.

 

@NeedForSpeed73 Fixed it!

 

Followed this guide: Intel FB-Patcher v1.5.0

 

- Add USBInjextAll.kext to /EFI/CLOVER/Kexts/Other

- Add XHCI-300-series-injector.kext to /EFI/CLOVER/Kexts/Other

- Add Port Limit Patch (already patched in my guide)

- Restart

- Open Intel FB-Patcher

- Go to General > USB

- Insert and remove a USB 2.0 and USB 3.0 on each port

- All ports used becames Green

- Define alls connectors as USB3, except that used by the Bluetooth on Wifi Card must be Internal

- Select and delete others ports (not green)

- Click in Export

- Move the USBPorts.kext to /Library/Extensions

- Fix permissions and cache

- Remove USBInjectAll.kext, XHCI-300-series-injector.kext and Port Limit from Kernel and Kext Patches - KextsToPatch in config.plist

- Restart

 

In my case that my PC is on the bench and I don't have external ports, I have: HS03, HS04, HS05, HS06, HS07, HS08, HS10 (Internal Bluetooth), SS03, SS04, SS05, SS06, SS07, SS08.

 

Although I followed the procedure to the letter, I had a problem. After reopening the Intel FB-Patcher to verify, only until port 0x15 was appearing with USBPorts.kext that was generated. I needed to open the Kext Info.plist file with Xcode.app and change the port-count tag from <15000000> to <18000000>. 0x18 was the highest port I identified (SS08). Maybe it's an Intel FP-Patcher bug. After that, all the doors recognized normally.

image.png.943a476b04ecb24277ae41bd545cfc81.png

Edited by Luan Eduardo

Share this post


Link to post
Share on other sites

Thanks Eduardo, I followed the your guide and at a certain point, I guess before the "cleanup" of USBInjectAll and XHCI-300 everything was working. THEN, I MESSED IT ALL UP: now no USB3 port work at all with 3.0 devices (2.0 are fine).
How can I revert back and start over? I tried to re-run the USB Mohave installer, but with no luck. 

Edited by NeedForSpeed73

Share this post


Link to post
Share on other sites
On 10/7/2018 at 8:46 AM, Luan Eduardo said:

Installing macOS Mojave 10.14 on Gigabyte Z370N WIFI + i7 8700K + UHD 630

image.thumb.png.5ae699513a2e4e5fb095b93757238fb2.png



Changelog:

 

10/11/2018 04:15h GMT-0

- Added USB 3.0 patch.

- Adjusted some steps.

- Changed text formatting.

 

10/11/2018 03:42h GMT-0

- Added missing UEFI configuration.

 

10/07/2018 00:36h GMT-0

- First version.

 

What works and what does not
 
- Processor -> Tick.png Work. All SpeedStep stages.
- Video Card -> Tick.png Work. QE/CI and Metal.
- Chipset -> Tick.png Work.
- HDMI (1st) -> Tick.png Work.

- HDMI (2nd) -> Tick.png Work.

- DP -> Cross.png Not tested.

- Audio -> Cross.png Not work.
- WiFi/Bluetooth -> Cross.png Not work.

- Ethernet (1st) -> Tick.png Work.
- Ethernet (2nd) -> Cross.png Not work.
- USB3.0 -> Tick.png Work.
- Sleep -> Tick.png Work.

 

 
Todo

 

- Make audio work.

- Make HDMI audio work.

- Test DisplayPort.

- Make second ethernet work.

- Replace Wifi/Bluetooth.

 

 

What you need to install

- Running install of macOS
- One USB flash drive of 8GB or bigger
- macOS Mojave install app
- Clover EFI

- Clover Configurator

- Some KEXTs


How create create the install flash drive
 
Prepare install flash drive


Format the flash drive with GUID partition mapping and name it "Install".

- Open Disk Utility.
- Click in View, then "Show All Devices".
- Select the destination flash drive, then Erase.
- Name: Install, Format: Mac OS Extended (Journaled) and Scheme: GUID Partition Map

 

Create install flash drive

Open terminal and run this command:


sudo /Applications/Install\ macOS\ .app/Contents/Resources/createinstallmedia --volume /Volumes/Install--nointeraction

This will take about 30 minutes.

 

image.png.dbfbb044438583c128d2b973252bc02e.png


Install bootloader

Download the CloverEFI (used 4674) and install with this options on "Install macOS Mojave":

 
- Install for UEFI booting only
- Install Clover in the ESP
- UEFI Drivers - ApfsDriverLoader-64
- UEFI Drivers - AptioMemoryFix64


image.png.72397ab3e9ce542c2a618510f55e7461.pngimage.png.172a42dffb293f26265a7e00826953dd.png

 

 

Make things works

Will be created a partition named EFI and mounted in Desktop. Edit the /Volumes/EFI/CLOVER/config.plist inside this new partition, open with Clover Configurator (used 5.2.1.0)

 

Full UHD630 Acceleration

 

config.plist (Clover Configurator): 

 

- Uncheck: Acpi - Fixes - FixDisplay

- Uncheck: Acpi - Fixes - AddHDMI

- Add value: Devices - Properties - Devices*: PciRoot(0x0)/Pci(0x2,0x0)

- Add value: Devices - Properties - Devices* - PciRoot(0x0)/Pci(0x2,0x0):

                 Propertie Key: framebuffer-patch-enable

                 Propertie Value: 01000000

                 Propertie Key: AAPL,ig-platform-id

                 Propertie Value: 07009B3E

image.png.c2911f6ade6b2ae73fa45ff4e61b0ab6.png

 

- Change value: Gui - Screen Resolution to 3840x2160 (Your screen resolution, mine is 4k)

- Change value: Rt Variables - CsrActiveConfig to 0x3

- Select value: SMBIOS - Up/Down arrows - iMac18,1 - Intel Core i5-7360U @ 2.30Ghz (I know, it's not our processor, but is that option)

 image.png.676dbf1a708a6ad758c50302db3f05fb.pngimage.png.fd3643539222aa3eb215ca414573215a.png

 

Download those Kexts and put in /EFI/CLOVER/kexts/10.14/

 

Download the Lilu.kext from here. I used the version 1.2.7.

Download the WhateverGreen.kext. I used the version 1.2.3.RELEASE.

 

 

All USBs (2.0, 3.0, Type-C, internal)

 

config.plist (Clover Configurator): 

 

- Add value: Kernel and Kext Patches - KextsToPatch:

                 Name*: com.apple.driver.usb.AppleUSBXHCI

                 Find* [HEX]: 83FB0F0F 83030500 00

                 Replace* [HEX]: 83FB0F90 90909090 90

                 Comment: disable port limit in XHCI kext (credit PMHeart)

                 MathOS: 10.14.x

image.png.7a5f792e0b051aace92085d137e9c9bb.png

 

 

Sleep/Wake

 

config.plist (Clover Configurator): 

 

- Check: Boot - Arguments - dart=0

 

 

Mandatory Kexts

 

Download those Kexts and put in /EFI/CLOVER/kexts/10.14/

 

Download the FakeSMC.kext from here. I used the version 2018-0915.

Download the IntelMausiEthernet.kext from here. I used the version 2018-0424.

 

 

Put the Clover installer on the flash drive too.
 
Now you can start the instalation without problem (I guess).

 

 

How install

 

UEFI Setup Configuration and Installation

UEFI configuration
 
- Shutdown and insert the flash.
- Power on with DEL pressed to enter BIOS setup.
- Change value: Periphelrals - Initial Display to IGP
- Change value: Periphelrals - USB Configuration - XHCI Hand-off to ENABLE
- Change value: Chipset - VT-d to DISABLE
- Change value: Chipset - Internal Graphics to ENABLE
- Change value: Chipset - DVMT Pre-Allocated to 128M

- Change value: Chipset - Wake On Lan to DISABLE

- Save & Exit Setup

 

- Now, hold the F12

- In the list, select your flash drive.

- It will show twice. One with UEFI prefix and another without.

- Select with UEFI prefix. Ie.: "UEFI: Sandisk Cruzer"

 

The installer will start. 


Format destination disk

Format the disk with GUID partition mapping and name it "HD".

- Select Disk Utility in the list, then press Continue.
- Click in View, then "Show All Devices".
- Select the destination Disk, then Erase.
- Name: HD, Format: APFS and Scheme: GUID Partition Map

Close Disk Utility.

Select "Install macOS", then Continue.
Follow instructions in screen.

After install

After first part install the system will reboot.

The second part of the installation will begin. This will take 16 minutes.
 

Post installation

Install bootloader
 
When the second part of install finish, the system will reboot again.

After performing the user initial setup and go to the desktop, you need to install Clover on internal disk.

Open the Clover installer inside flash drive that you copied before.

Use same options above but choose the system partition this time.

Now you need to replace the config.plist inside your destination disk EFI parittion with config.plist inside flash card EFI partition.

The flash drive EFI partition is unmounted. Mount with terminal "sudo diskutil mount /dev/rdiskXs1". To know what X is, use "diskutil list", most likely is 1.

 

Last step

 

Copy all Kexts from flash drive to /Library/Extensions, with those commands in Terminal:


sudo cp -R /Volumes/EFI/EFI/CLOVER/kexts/10.14/* /Library/Extensions/
sudo chmod -Rf 755 /Library/Extensions
sudo chown -Rf 0:0 /Library/Extensions
sudo kextcache -system-prelinked-kernel
sudo kextcache -system-caches

Restart the system.

 

 

It's done!


 
And last but not least
 
I would like to thank the following community members, by making these dream possible:
@crushers, @snatch, @apianti, @blackosx, @blusseau, @dmazar, @slice2009, @autumnrain, @phpdev32, @EMlyDinEsH, @RehabMan, @Scellow, @mitch_de, @Shailua, @Andy Vandijck, @maxfierke, @ArturXXX, @LexHimself, @brumas and all others members involved directly or indirectly.

 

Can You pls upload your EFI, here? 

Share this post


Link to post
Share on other sites
6 hours ago, NeedForSpeed73 said:

Thanks Eduardo, I followed the your guide and at a certain point, I guess before the "cleanup" of USBInjectAll and XHCI-300 everything was working. THEN, I MESSED IT ALL UP: now no USB3 port work at all with 3.0 devices (2.0 are fine).
How can I revert back and start over? I tried to re-run the USB Mohave installer, but with no luck. 

 

If you followed exactly my instructions and put the genereated USBPorts.kext inside /Library/Extensions, you probably don't fixed the permissions...

 

Run this in Terminal:

sudo chmod -R 755 /Library/Extensions
sudo chown -R root:wheel /Library/Extensions
sudo kextcache -system-prelinked-kernel
sudo kextcache -system-caches

If don't work, send me the USBPorts.kext and config.plist (remove your Serial, MLB, etc)

 

5 minutes ago, Justice King said:

Can You pls upload your EFI, here? 

 

Of course, but i'm working right now. Later I attach this.

Edited by Luan Eduardo

Share this post


Link to post
Share on other sites
18 hours ago, Luan Eduardo said:
23 hours ago, khamsakamal48 said:

I have the same motherboard. So, this is what I did to make Audio Work:

 

In config.plist, Devices -> Audio -> Inject = 7

 

Reboot, and you will have audio over HDMI. Didn't test the actual audio ports.

Credits to Hackintosher forum.

 

Actually I don't use HDMI audio. I'm testing audio_CloverALC right now. The audio output works, but input not work because of layout-id = 2 that I'm using in place of layout-id 1 that Mojave drop it.

 

@khamsakamal48 Using AppleALC with Lilu I was able to make the onboard audio and HDMI work perfectly. Even with the microphone. The layout-id = 7 worked that a beauty.

 

Guide updated.

Share this post


Link to post
Share on other sites
5 hours ago, Luan Eduardo said:

 

If you followed exactly my instructions and put the genereated USBPorts.kext inside /Library/Extensions, you probably don't fixed the permissions...

 

Run this in Terminal:


sudo chmod -R 755 /Library/Extensions
sudo chown -R root:wheel /Library/Extensions
sudo kextcache -system-prelinked-kernel
sudo kextcache -system-caches

If don't work, send me the USBPorts.kext and config.plist (remove your Serial, MLB, etc)

 

 

 

 

Mess is growing: I re-run the Mojave installer and now I have problems with graphics (stutters and very long boot time due to IGPU retrying many times to do something). I attach pics of the USB situation and config.plist. But don't struggle too much on it: next week I will change some hardware on this machine (new discrete videocard) so I guess I'll do a clean install of both Windows and OSX; this one has been upgraded at least two times (since Sierra or maybe even ElCap) and I guess it's full of garbage.

Thanks for your time.

Schermata 2018-10-18 alle 01.08.14.png

Schermata 2018-10-18 alle 01.27.01.png

config.plist

Share this post


Link to post
Share on other sites

Hi @Luan Eduardo

 

please find my clover folder attached – I set up everything to use as little patching as possible.

 

DP and secondary eth work (needs modded FakePCIID_Intel_GbX.kext + SmallTreeIntel82576.kext) – running in dual-4k@60hz over here.

 

Also added ig-platform-id through ssdt-2 and some cosmetics (built-ins, device names etc).

 

Also all USB ports, including the front USB3.0 ones, work as expected.

 

Credits to @MaLd0n for the initial patched dsdt-version.

 

CLOVER.zip

 

screenshot_dual4k60.thumb.png.e892d2d45790e027af974ef00b7b3139.pngscreenshot_dual4k60-2.thumb.png.022d6070b57dee1a8801da2c47f1ce1a.png

 

Edited by TheMaxx32000
added screenshots

Share this post


Link to post
Share on other sites

F5

 

btw: not sure if CodecCommander and WhateverGreen is needed – going to check on that next week

 

Edit: Forgot to say that I'm using an original Apple BCM94360CS2 WiFi/BT card via a NGFF adapter..

Edited by TheMaxx32000

Share this post


Link to post
Share on other sites
13 hours ago, TheMaxx32000 said:

F5

 

btw: not sure if CodecCommander and WhateverGreen is needed – going to check on that next week

 

Edit: Forgot to say that I'm using an original Apple BCM94360CS2 WiFi/BT card via a NGFF adapter..

 

My system only boot with F1, tried F2, F3, F4, F5 and the new F10, and only the F1 works.

 

Tried all the three MemoryFix of Clover, tried with only one Ram module too...

 

Tried serveral UEFI options. IGFX and Discrete Card, CSM on and off, Secure Boot on and off, with everything don't work...

 

If boot with verbose, I stop in this:

 

image.thumb.png.8546284b38b43ca0c12c4939283a49d0.png

 

If don't use verbose the system reboots in loop.

Share this post


Link to post
Share on other sites
4 minutes ago, TheMaxx32000 said:

I‘ll post my bios config for this setup early next week as I am not @home right now..

 

Thank you. Meanwhile, I'll stay in F1.

Share this post


Link to post
Share on other sites
On 10/18/2018 at 11:25 AM, TheMaxx32000 said:

Hi @Luan Eduardo

 

please find my clover folder attached

It works.No second NIC 

my setup is

i5-8600, 960evo, 32gb, F10

 

On DP I am experiencing some random flickers and video artefacts and the display "reboots" often (goes off and comes back up rapidly).

HDMI appears to be solid atm will test more. 

 

edit:

Changing the DP cable fixed all the problems. Oddly enough the cable works with no problem on High Sierra. 

 

Edited by registracii

Share this post


Link to post
Share on other sites

Luan EduardoTnx.

All Works, but - "Download the BrcmFirmwareRepo.kext, BrcmPatchRAM.kext and BrcmNonPatchRAM.kext from here" - not correct link

And Bluetooth works only with all kext in package:

BrcmFirmwareRepo.kext, BrcmPatchRAM.kext BrcmNonPatchRAM.kext, BrcmFirmwareData.kext, BrcmPatchRAM2.kext and BrcmNonPatchRAM2.kext

Share this post


Link to post
Share on other sites

Hi @Luan Eduardo (I'm BR too hehe). Thanks for your post. It helped me a lot.

I hope I can help you too. I used some configs from my High Sierra setup in the mojave one and I managed to make DP and its audio interface work. I didn't tested the 2nd eth interface since I use only wifi. 

I have the exactly same build you have (i8700, z370n wifi, bcm BCM94352Z). I'ts very similar to yours except for some arbitrary device properties and some kexttopatch.

 

I hope it helps you https://www.dropbox.com/s/v4ao0vqdzvk078m/EFI.zip?dl=0

Screen Shot 2018-10-21 at 12.43.46 PM.png

Share this post


Link to post
Share on other sites
On 10/19/2018 at 1:01 PM, TheMaxx32000 said:

I‘ll post my bios config for this setup early next week as I am not @home right now..

 

@TheMaxx32000 Can you pass me your EFI configuration?

I bought 32GB and started having problems on memtest86. Only solved with F10 version, but with it I can not start macOS, I'm using Windows in the meantime...

 

On 10/21/2018 at 12:44 PM, alexiley said:

Luan EduardoTnx.

All Works, but - "Download the BrcmFirmwareRepo.kext, BrcmPatchRAM.kext and BrcmNonPatchRAM.kext from here" - not correct link

And Bluetooth works only with all kext in package:

BrcmFirmwareRepo.kext, BrcmPatchRAM.kext BrcmNonPatchRAM.kext, BrcmFirmwareData.kext, BrcmPatchRAM2.kext and BrcmNonPatchRAM2.kext

 

@alexiley Fixed

 

On 10/20/2018 at 7:12 PM, registracii said:

It works.No second NIC 

my setup is

i5-8600, 960evo, 32gb, F10

 

On DP I am experiencing some random flickers and video artefacts and the display "reboots" often (goes off and comes back up rapidly).

HDMI appears to be solid atm will test more. 

 

edit:

Changing the DP cable fixed all the problems. Oddly enough the cable works with no problem on High Sierra. 

 

 

@registracii It probably has something to do with Framebuffer.

 

On 10/21/2018 at 12:44 PM, ivan_htp said:

Hi @Luan Eduardo (I'm BR too hehe). Thanks for your post. It helped me a lot.

I hope I can help you too. I used some configs from my High Sierra setup in the mojave one and I managed to make DP and its audio interface work. I didn't tested the 2nd eth interface since I use only wifi. 

I have the exactly same build you have (i8700, z370n wifi, bcm BCM94352Z). I'ts very similar to yours except for some arbitrary device properties and some kexttopatch.

 

I hope it helps you https://www.dropbox.com/s/v4ao0vqdzvk078m/EFI.zip?dl=0

Screen Shot 2018-10-21 at 12.43.46 PM.png

 

@ivan_htp Only being able to start the system with the BIOS / EFI version F1. But I'm being forced to use the F10 version because of the new memories. As soon as I can figure it out I'll take a look. Thank you.

Edited by Luan Eduardo

Share this post


Link to post
Share on other sites
On 10/21/2018 at 4:44 PM, ivan_htp said:

Hi @Luan Eduardo (I'm BR too hehe). Thanks for your post. It helped me a lot.

I hope I can help you too. I used some configs from my High Sierra setup in the mojave one and I managed to make DP and its audio interface work. I didn't tested the 2nd eth interface since I use only wifi. 

I have the exactly same build you have (i8700, z370n wifi, bcm BCM94352Z). I'ts very similar to yours except for some arbitrary device properties and some kexttopatch.

 

I hope it helps you https://www.dropbox.com/s/v4ao0vqdzvk078m/EFI.zip?dl=0

 

gave it a try. All works well DP audio also, however I lost the BT audio. Connects to the device can be selected volume works but no sound is routed there. 

also About This Mac wont load...not a bother just 

Edited by registracii

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By tonyx86
      I was inspired by @duduclx post for installing El Capitan on a Dell Latitude E6410, so I decided to install Mojave 10.14.5.  Everything works perfectly except for sleep.  I'm starting this thread hoping to help others install Mojave on their E6410s and to diagnose and resolve the sleep issue.  This thread is not currently intended to be an installation guide and is better suited to the intermediate/advanced hackintosher.  Eventually, it may evolve into a guide.
       
      I started with this thread (Many thanks, @duduclx !!!) and ended up with the system captured in the attached files.  The keys were to change the LPCB._DSM.Name to "3b09" and remove all CLOVER configs not necessary for Mojave, plus some other items mentioned below.
       
      My system is as follows:
      Dell Latitude E6410 (I7-620m, Nvidia 3100M, 8GB DDR3, 512GB SSD, 1440x900 display, BIOS: A17) MacOS: Mojave 10.14.5 (APFS) (Patched with DosDude Mojave Patcher 1.3.3) MacModel: MacBookPro 6,2 (LPCB._DSM.Name "pci8086,3b09") Kexts: Lilu 1.3.6, VoodooHDA 2.9.2, AirportBrcmFixup 2.0.0, IntelMausiEthernet 2.4.1d1, ACPIBatteryManager 1.90.1, BrcmPatchRam2.kext, BrcmFirmwareRepo.kext, VoodooPS2Controller (the "Refined ALPS Touchpad" version - release 5, not the original version), USBInjectAll (with custom SSDT-UIAC) Wi-Fi: Broadcom BCM 94352HMB (with AirportBrcmFixup.kext) CLOVER (Legacy): R4961  
      Configuration items that may be different from what you have seen in other E6410 configurations
      LPCB._DSM patched with device-id "3b09" AND "name", "pci8086,3b09" for native Nehalem power management with MacBookPro 6,2 ECDV renamed to EC so that AppleBusPowerController loads AGP.VID._DSM patched with device-id "0a29" so that AppleGraphicsPowerManagement loads  No CLOVER Generate P or Generate C States (with the correct LPCB._DSM and MacBookPro 6,2, these CLOVER options are unnecessary for this architecture and only limit max multiplier and reduce number of P states) DSDT patched to include HDAU device (device-id 0x0be3)  
      What is NOT working:
      Sleep (display goes blank, but power light stays on.  System cannot wake and must be forced off with power button) Display brightness can be controlled with keyboard keys, but cannot be controlled with slider in Display settings.  The slider appears in Display settings (because of the backlight DSDT injection in AGP.VID._DSM), but the slider doesn't work (yet).  Haven't spent time to figure this out, but would love help. Graphics Power Management - AGPM loads (because 10de,0a29 device is injected), but there's no evidence that 3100m frequency and voltage is changing.
        What is NOT tested:
      SD Card Slot Smartcard Reader eSata (I have this disabled in my BIOS) Firewire Port (it does appear in the Network settings, just haven't tried it) Microphone Jack PC Card Slot (I have this disabled in my BIOS) Camera (I have this disabled in my BIOS)  
      What IS working:
      Everything else not mentioned above.   Speedstep/CPUPowerManagement is perfect, system temps are low, CPU multiplier operates as expected, battery life is long Shutdown is fast Display/graphics acceleration is perfect (thanks to DosDude's Mojave patcher) Brightness (adjusted with brightness keys on keyboard) works perfectly Battery Manager works (battery status is displayed in menu bar) simply by installing ACPIBatterManager.kext. Wi-Fi (after changing to Broadcom BCM94352HMB and installing AirportBrcmFixup.kext) Audio (volume adjustable, volume indicator appears in menu bar).  Switched to VoodooHDA from AppleALC after AppleALC caused slow boot due to "IOHDACodecFunction timeout." Ethernet port (with IntelMausiEthernet.kext) Broadcom BCM20702A0 Bluetooth (with BrcmPatchRam2.kext and BrcmFirmwareRepo.kext) Optical Drive External VGA (with corrected NVCAP.  Need NVCAP 04000000 00000100 0E000000 00000007 00000000 (credit: @PlutoDelic) for working external VGA display. Headphone jack Display Port (tested using DP > HDMI adapter)  
      Known issues and their solutions
      AAPL,clock-id and device_type do not appear in IORegistry for EHC1.  Solution is to use CLOVER on-the-fly patching/fixing/renaming for EHC1 and EHC2.  This has been completed and tested, but does not fix the sleep behavior.  This fix is not reflected in the attached files. ALPS trackpad performance is not good with the "standard" VoodooPS2Controller.kext that I initially used.  Switching to the "Refined ALPS TouchPad driver" is a big improvement.  I've implemented and tested this on my system.  The ALPS version of VoodooPS2Controller.kext mixes up a few keys.  Need to switch the Command and Option keys (System Preferences > Keyboard > Modifier Keys) and change keyboard type to ISO European.  The updated VoodooPS2Controller.kext is not reflected in the attached files. This proposed configuration uses an injected device-id (10de,0a29) for NVidia 3100m to get AGPM to load.  While I haven't observed any performance differences, a better approach may be to inject AGPM properties for device 10de,0a6c (the actual device-id for the 3100m).  This AGPM method is discussed later in this thread.  I have briefly tested this "FakeSMC.kext method" for injecting AGPM attributes without any noticeable changes in laptop/graphics behavior and have not updated attached files to reflect this change. IOHWControl is not loaded under AGPM (Should be AGP > VID > NVDA,Display-A@0 > NVDATesla > AGPM > gpu-control > IOHWControl as viewed in IORegistryExplorer).  It is loaded on a real MacBookPro6,2 running Mojave and is loaded on this Dell Latitude E6410 running High Sierra.  If I "Inject NVidia" via CLOVER, IOHWControl loads properly.  I have made this change and am testing it on my system, but have not updated the attached configuration files. The Dell Latitude DSDT (BIOS A17) has a bug in Method (GNOT).  In the method, the expression  If (LOr (LGreater (OSYS, 0x07D0), LLess (OSYS, 0x07D6))) always evaluates to TRUE, so the patched DSDT has no dependency on the value of OSYS.  I suspect that LOr should be replaced with LAnd, so that this expression is TRUE for variants of Windows 2001 and False for any other OS.  While this may have no affect on MacOS, it makes one wonder how such an obvious bug made it through Dell QA and is still present in BIOS A17.  Also makes one wonder whether the sleep problem (which no one has solved) was fixed in Windows to address another DSDT bug. The DSDT patch that duduclx refers to as "Intel GMA Ready" in his El Capitan Guide is not applied correctly to the DSDT attached to this post.  Somehow, the contents of patched _DSM are located in the PCI0.VID device instead of in Method (_DSM) within the PCI0.VID device.  MaciASL didn't complain about this, so it went unnoticed, but it doesn't appear to have had any affect.  I have completely removed this "Intel GMA Ready" patch from my DSDT since it is not necessary for Dell Latitude E6410's with NVidia 3100m, but have not updated the attached DSDT. The assigned value of ACOS in the DSDT is conditional on the operating system.  There is no condition for "Darwin."  The solution is to add a condition for "Darwin" (making it equivalent to one of the defined operating systems (e.g. Linux, Win7, etc), analogous to the assignment of OSYS.  I made this change in my DSDT (not yet reflected in the attached files), but have not observed any behavioral differences (sleep or otherwise).  EDIT: Another way to handle this might be to override _OSI with XOSI (defined in a custom SSDT).  Still learning about XOSI and haven't yet drawn a conclusion.  I'm currently experimenting with ACOS and OSYS equivalent to Win7 and Linux (manually patched in my DSDT which has not yet been updated as a new attachment to this post). The portType of the Internal Bluetooth device is portType=0 which, according to Rehabman's comments in SSDT-UIAC-All.dsl, is an external USB 2 port.  I believe that this should be an internal USB port (portType=2).  My custom SSDT-UIAC.dsl is wrong.  I just learned through trial and error that the HUB1 and HUB2 definitions in Rehabman's SSDT-UIAC-ALL.dsl apply to the ports on the EHCx USB hubs.  The solution is to include the HUB1 definition in SSDT-UIAC.dsl and change portType to 2 for HP15.  I have not attached an updated SSDT-UIAC.aml to this first post, but my current EFI includes an updated SSDT-UIAC.aml with ports HP15, 16 17 and 18 set to internal (portType = 2).  This change doesn't appear to affect/fix sleep, but it may prevent instant wake if we get sleep working.  
      Brief Installation Guide (for the experienced Hackintosher):
      Follow duduclx's guide for BIOS config Create your MacOS installer USB (Use DosDude's Mojave Patcher for Mojave) (start with High Sierra and not Mojave if you're new to hackintosh). Install CLOVER (Legacy) on installer USB using attached EFI as your guide for patched ACPI, kexts and config.plist Install MacOS to your SSD.  When you run DosDude's Mojave Patcher, DO NOT install LegacyUSBInjector.kext - you're going to use Rehabman's USBInjectAll.kext. Install the following kexts in /Library/Extensions:  ACPIBatteryManager.kext, AirportBrcmFixup.kext, BrcmFirmwareRepo.kext, BrcmPatchRAM2.kext, FakeSMC.kext, FakeSMC_ACPISensors.kext, FakeSMC_CPUSensors.kext, FakeSMC_GPUSensors.kext, FakeSMC_LPCSensors.kext, IntelMausiEthernet.kext, Lilu.kext, USBInjectAll.kext, VoodooPS2Controller.kext (the "Refined ALPS Touchpad driver," not the original) Switch Command and Option keys to compensate for Refined ALPS driver issue (System Preferences > Keyboard > Modifier Keys).  Also change keyboard type to ISO European to fix the [ ` ~ ] key (to the left of the "1" (one) key. Install VoodooHDA Install HWMonitor application  
      Tips for Improved Performance (on this and other older systems)
      System Preferences > Spotlight > Search Results: Uncheck all options System Preferences > Spotlight > Privacy: Add all Volumes System Preferences > Accessibility > Display: Check "Reduce motion" System Preferences > Accessibility > Display: Check "Reduce transparency"  
      Other tips
      If your fan is always running and temps are good, try pressing Fn + z  
       


      CLOVER.zip
    • By r00tdvd
      I have E6540 working almost perfectly fine with Mojave 10.14.5 except for couple of things:-
       
      1- HDMI audio not syncing properly with TV ! I never had that issue.
      2- Webcam is not working and I need it for meetings and stuff.
       
      I have attached my fully working EFI.zip also the clover origin dump E6540_origin.zip files.
       
      I am also wondering is it possible now to get the E6540 to work with the AMD Radeon HD 8790M instead of the Intel(R) HD Graphics 4600 but also get the HDMI working the with TV?
    • By Aldaro
      I have been running macOS Mojave on my system for 3 months and everything was working pretty well.  After taking an update for clover, my entire system got wrecked, and I cannot even boot to an installation environment anymore (which I really need to do since I am starting back at square one).  I still have the old EFI folder backed up, but I know it'll only be a matter of time before Apple introduces an update that requires me to update Clover in order to work correctly.  I have tried all the available memory fixes, but none of them seem to work.  I was previously using the original osxaptiofix; so, I gave v2, and v3 a try, but to no success.  I read somewhere on the main discussion board for clover that AptioMemoryFix was no longer going to be supported and I therefor decided to skip over it (not to mention it isn't even available in newer clover installation packages).
       
      System specs:
      Motherboard: GIGABYTE Z390 M GAMING
      CPU Intel core i5 9600k @ stock 3.7GHz
      RAM 32GB DDR4 2667MHz
      GPU AMD Radeon RX 580 with 8GB of GDDR5
      SSD Intel 660p 512GB NVME
      NIC: Intel i210 10/100/1000 as it is natively supported in macOS
       
      I have been using the iMac 19,1 SMBIOs as I built this machine to match it as close as humanly possible.  As for my UEFI settings, I did the usual:
      Disabled Windows specific features and secure boot
      Enabled XHCI hand off
      Enabled Above 4G decoding
      Disabled onboard NIC since it is made irrelevant by my intel i210
       
      --INJECT KEXTS--
      FakeSMC
      Lilu
      WhateverGreen
      AppleALC
      USBInjectAll -- WITH PATCHED SSDT in /EFI/CLOVER/ACPI/patched
      Below are images of the errors I am receiving when trying to boot the macOS Mojave installer.
       
      with original osxaptiomemoryfix

       
      osxaptiofixv2

       
      osxaptiofixv3

       
      Anyway, if somebody can help me figure out what's going on, that'd be greatly appreciated.  My ultimate goal is to get an install with minimal clover patches as to be better prepared when the winds of change from Apple come roaring.
       
      p.s: I have also attached a copy of my EFI folder
       
       
      EFI.zip
    • By fusion71au
      Clover r4989 ISO compiled with GCC and minimal config.plist compatible for use in VMWare Workstation.
       
      Tested with unlocked Workstation 15 running OSX 10.9 -->10.15 guest in Windows X64 host.
       
      Installation
      1. Download and unzip "EFI_Clover_r4989 for VMware.zip". Mount Clover-v2.4k-4989-X64.iso by double clicking on it.
      2. Mount your VM's EFI System Partition eg in terminal
      sudo diskutil mount disk0s1   3. Copy EFI folder from step 1 into the EFI partition
      4. Shutdown the VM, add bios.bootDelay = "3000" to your VM's vmx file
      5. Reboot your VM, press <F2> to access the VMware Boot Manager and add CLOVERX64.efi to the boot menu.
       
      Substitute your own unique and valid MLB and ROM variables in the /EFI/CLOVER/config.plist (Rt Variables section) to activate iMessage/Facetime on your VM.
×