Jump to content
ludufre

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

42 posts in this topic

Recommended Posts

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

image.thumb.png.5ae699513a2e4e5fb095b93757238fb2.png



Changelog:

 

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 -> 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 work.

- Audio -> Tick.png Work.

- HDMI Audio -> Tick.png Work.
- WiFi/Bluetooth -> Tick.png Work. Replaced.

- 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

Spoiler

[Figured out that is not needed with WhateverGreen.kext and Lilu.kext]

 

- 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

 

 

Audio onboard and HDMI

 

config.plist (Clover Configurator): 

 

- Change: Device - Audio Injection - layout-id to 7

 

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

 

Download the Lilu.kext from here. I used the version 1.2.7. (already installed above)

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

 

 

Wifi and Bluetooth (DW1560 / BCM94352Z)

 

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

 

Download the FakePCIID.kext and FakePCIID_Broadcom_WiFi.kext from here. I used the version 2018-1014.

Download the BrcmFirmwareRepo.kext, BrcmPatchRAM.kext and BrcmNonPatchRAM.kext from here. I used the version 2018-0505.

 

 

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 -R 755 /Library/Extensions
sudo chown -R root:wheel /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.

 

Edited by Luan Eduardo

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 ludufre
      Installing macOS Mojave on Lenovo ThinkPad L440

       
      There are two version of this laptop:
      - 20AS = Chipset QM87, without Express Card (mine).
      - 20AT = Chipset HM86, with Express Card.
      I strong believe is the same thing...
       

      Changelog:
       
      01/20/2019 11:49h GMT-0
      - First version.
       
      What works and what does not
       
      - Processor: Intel Core i5-4300M ->  Work. All SpeedStep stages.
      - Video Card: Intel HD4600 ->  Work. QE/CI and Metal.
      - Chipset: Intel QM87 ->  Work.
      - Mini DisplayPort ->  Work. But no audio, yet.
      - VGA ->  Not work. Normal.
      - Audio: ALC292 ->  Work.
      - WiFi/Bluetooth: Intel AC 7260 ->  Not work. Replaced with DW1560 (need whitelist removal).
      - Ethernet: Intel I217-LM ->  Work.
      - Card Reader: Realtek RTS5227 ->  Not work.
      - Keyboard and Touchpad ->  Work.
      - Webcam ->  Work.
      - Fingerprint Reader ->  Not work. Normal.
      - USB3.0 ->  Work.
      - Sleep ->  Work.
      - Airdrop, Handoff, Instant Hotspot and Continuity ->  Work after replaced wireless.
       
       
      Extras
       
      - FullHD 1920x1080 display upgrade: 
      Replaced with AU Optronics B140HAN01.1 30pin eDP (B140HAN01.2 and B140HAN01.3 also compatible)
      Apparently same screen as Dell Latitude E6440, E7440, Lenovo Ideapad U430 and E129.
       

      Todo
       
      - Make DP audio work.
      - Make Card Reader work.
      - Upgrade CPU to i7-4712MQ (Ordered. It's on the way)
      - Replace touchpad with T460 model (Ordered. It's on the way)
      - Sierra Gobi5000 4G LTE modem EM7355 (Ordered. It's on the way. I hope works. )
      - Upgrade to 16GB RAM
       
       
      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 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 RehabMan's CloverEFI fork (used 4701) 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

      aaa  
       
       
      Make things works

      Will be created a partition named EFI and mounted in Desktop.
      - Replace the /Volumes/EFI/CLOVER/config.plist with mine attached below
                    If you have modded BIOS with Advanced Menu and enabled 128MB DRAM-prealloc use 128MB_DRAM-prealloc_config.plist.zip
                    If no, then use 32MB_DRAM-prealloc_config.plist.zip
      - Put SSDT_L440.aml attached below in /Volumes/EFI/CLOVER/ACPI/patched/
       
      Generate your Serial, MLB and SmUUID
       
      - Open the replaced config.plist with Clover Configurator (used 5.3.2.0)
      - Go to SMBIOS, click few times in "Generate New" in Serial Number and SmUUID.
       
      Download those Kexts and put in /EFI/CLOVER/kexts/Other/
       
      - Download the FakeSMC.kext from here. I used the version 2018-0915.
      - Download the VoodooPS2Controller.kext from here. I used version 2018-1008.
      - Download the IntelMausiEthernet.kext from here. I used the version 2018-1031.
      - Download the Lilu.kext from here. I used the version 1.3.1.
      - Download the AppleALC.kext from here. I used the version 1.3.4.
      - Download the WhateverGreen.kext from here. I used the version 1.2.6.
      - Download the AppleBacklightFixup.kext from here. I used the version 2018-1013.
      - Download the USBInjectAll.kext from here. I used the version 2018-1108.
      - Download the ACPIBatteryManager.kext from here. I used the version 2018-1005.
       
       
      Wifi and Bluetooth (DW1560 / BCM94352Z)
       
      Unfortunately, some notebook manufacturers are currently blocking the replacement of wireless cards. They want you to only use the models sold by them. And of course, none of them from Lenovo for this notebook model is compatible with MacOS.
       
      If you try to start with an unauthorized wifi card for them, you will receive a screen error:
      1802: Unauthorized network card is plugged in - Power off and remove the network card. Since this check is done directly in the BIOS, the only solution is to modify it.
      But since nothing is easy in this life, there is one small big problem:
      - The BIOS update procedure does not allow you to use modded files as it used to be.
      - You will need to physically reach your BIOS on the motherboard and make use of a USB BIOS reader/writer.
       
      So what you need to do:
      1. Disassembly your laptop;
      2. Dump your BIOS with an USB BIOS reader with SOIC8 clip (to not desolder from the motherboard);
      3. Patch it (In addition to removing the whitelist, add the advanced menu);
      4. Fix RSA signature;
      5. Reflash BIOS;
      6. Replace wireless card;
      7. Remount your laptop;
      8. Done.
       
      Soon, I'll provide step by step in this process. Probably until end of this week.
      In the meantime, if you need to, send me your dump that I do steps 3 and 4 for you.
      I also add the Advanced Menu so you can increase to 128MB the DRAM-prealloc.
       
      After replaced the wireless card. Download those Kexts and put in /EFI/CLOVER/kexts/Other/
       
      - Download the AirportBrcmFixup.kext from here. I used the version 1.1.9.
      - Download the BrcmFirmwareRepo.kext and BrcmPatchRAM2.kext from here. I used the version 2018-0505.
      - Download the BT4LEContinuityFixup.kext from here. I used the version 1.1.2.
       
       
      Now you can start the instalation without problem (I guess).
       
       
      How install
       
      UEFI Setup Configuration and Installation

      UEFI configuration
       
      My BIOS is the latest: 1.93 (J4ET93WW) 

      - Shutdown and insert the flash drive.
      - Power on with F1 pressed to enter BIOS setup.
      - Change value: Config - Intel(R) AMT - Intel(R) AMT Control to DISABLED
      - Change value: Security - Security Chip to DISABLED
      - Change value: Security - Anti-Theft - Intel(R) AT Module Activation to DISABLED
      - Change value: Security - Anti-Theft - Computrace to DISABLED
      - Change value: Security - Secure Boot to DISABLED
      - Change value: Startup - UEFI/Legacy Boot to BOTH, Legacy First and CSM Support = Yes
      - Save & Exit Setup (F10)
       
      - Now, hold the F12
      - In the list, select your flash drive.
       
      The installer will start. 
      
      Format destination disk

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

      - 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. Maybe you have to press F12 again and select the flash drive.
      
      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/Other/* /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, @Shiki and all others members involved directly or indirectly.
       
      SSDT-L440.aml
       
       
      32MB_DRAM-prealloc_config.plist.zip
      128MB_DRAM-prealloc_config.plist.zip
    • By Yabusa
      PC Setup:
      Intel Core i7 8700K
      Gigabyte Z370 HD3P
      Ballistix Sport LT 16GB
      Gigabyte RX 580 8GB
      AMD Pro WX7100 8GB
       
      I was trying to do a fresh install to get my wx7100 working as it was not. I stupidly did not do a back up immediately before, because I was trying a patch and the os was not detecting the GPU and showing 7MB in installed graphics.
       
      So my last back up was at mojave 14. I'm trying to update to 14.2 but get the following code, then it restarts. I'm in desperate need of help

       
      Attached are my config.plist and installed kexts. Any help is grateful.
       
       
      kexts.zip
      config.plist
    • By headkaze
      Framebuffer patching in Mojave
      Binary patching framebuffers using KextsToPatch in Clover is no longer a viable method in Mojave for Skylake and above. Now you need to use Lilu + WhateverGreen.
       
      Not just for Mojave
      This method of framebuffer patching is not only required for Mojave we recommend it for all previous and future releases of macOS.
       
      Coffee Lake Users
      Please note that the new WhateverGreen will not work with fake Kaby Lake platform-id's. You will need to have either macOS 10.14 Beta 4 (18A336e) or macOS High Sierra 10.13.6 (17G2112). The latter is a special build only available to MacBookPro15,1 or MacBookPro15,2 board id's. You can create a macOS High Sierra 10.13.6 (17G2112) installer by running installinstallmacos.py. (Update: vit9696 added back ability to fake Kaby Lake platform-id's)
       
      Lilu + WhateverGreen
      WhateverGreen is going to replace all the other video patching plugins for Lilu (it currently has merged WhateverGreen, IntelGraphicsFixup, NvidiaGraphicsFixup, Shiki and CoreDisplayFixup). Others will likely follow (such as AppleALC, HibernationFixup and IntelGraphicsDVMTFixup). This is aiming to be the all-in-one solution for video.
       
      Preliminary
      1. Remove:
      - FakePCIID_Intel_HD_Graphics
      - IntelGraphicsFixup
      - NvidiaGraphicsFixup
      - CoreDisplayFixup
      - Shiki
      2. Turn off all graphics injections in Clover:
      - config.plist/Graphics/Inject/ATI=NO
      - config.plist/Graphics/Inject/Intel=NO
      - config.plist/Graphics/Inject/NVidia=NO
      - config.plist/Graphics/ig-platform-id=
      - config.plist/Devices/FakeID/IntelGFX=

      3. Disable DSDT Clover fixes:
      - AddHDMI
      - FixDisplay
      - FixIntelGfx
      - AddIMEI
      4. Disable UseIntelHDMI
      5. Remove boot argument: -disablegfxfirmware
      6. Remove any IGPU and HDMI entries from:
      - config.plist/Devices/Arbitrary
      - config.plist/Devices/Properties
      - config.plist/Devices/AddProperties
      7. Remove any IGPU and HDMI related SSDT and DSDT from:
      - CLOVER/ACPI/patched
      8. Renaming GFX0 -> IGPU
      - WhateverGreen will do this automatically (see caveat below)
      - Be aware that WhateverGreen does not rename all instances of GFX0 -> IGPU but should be okay in most cases
      - You may need to include Clover GFX0 -> IGPU rename for other kexts or ACPI patching that require it
       
      Compile Lilu + WhateverGreen
      Download WhateverGreen. Make sure you place the debug version of Lilu into the root of WhateverGreen before you compile. Install Lilu and WhateverGreen kext's into the usual place. Compile WhateverGreen as debug if you want to view debug output.
       
      Having trouble compiling?
      If you're having trouble compiling you can download the official release binaries or download my (unsupported) build_lilu.sh shell script and run it in a folder to download and build Lilu + WhateverGreen using Xcode automatically. I recommend you try the debug versions first (place them into Clover's EFI/Clover/kexts/Other folder).
       
      Get the device path of your IGPU:
      Download and use the gfxutil tool like so:
      $ ./gfxutil -f IGPU DevicePath = PciRoot(0x0)/Pci(0x2,0x0) ig-platform-id
      For the AAPL,ig-platform-id (AAPL,snb-platform-id for Sandy Bridge) entry Clover requires this value to be in Data format so you need to reverse the bytes. So if you want your platform-id to be 0x3EA50009 first reverse the bytes (0900A53E) then use Xcode's plist editor to add the values to Clover's config.plist.

       
      What ig-platform-id should I use for my system?
      You should choose one that is the closest match to your system. I recommend you do some research on this before choosing one. See post #2 for available options. More info can be found here.
       
      You can determine the generation of your CPU by the first digit after the hyphen.
      Examples:
      - Intel(R) Core(TM) i5-2760QM (Gen 2)
      - Intel(R) Core(TM) i7-5257U CPU @ 2.70GHz (Gen 5)
      - Intel(R) Core(TM) m3-6Y30 (Gen 6)
      - Intel(R) Core(TM) i5-8350U (Gen 8)
       
      Spoofing Intel CPU Gen
      If you need to spoof a different Intel CPU generation you can use the lilucpu=N boot flag. The N refers to the following Intel generations:
      4    SandyBridge 5    IvyBridge 6    Haswell 7    Broadwell 8    Skylake 9    KabyLake 10   CoffeeLake To spoof a CPU you will need to set a valid device-id in your GPU entry in Devices/Properties for the appropriate Intel generation.
       
      Eg. Spoofing Skylake (lilucpu=8 boot flag with device-id=0x16190000), Kaby Lake (lilucpu=9 boot flag with device-id=0x12590000).
       
      Here are some recommended frames:
       
      Gen 2: Sandy Bridge (Intel HD Graphics 2000/3000)
      - S/L/E/AppleIntelSNBGraphicsFB.kext
      - Support started with OS X 10.7.x and ended with macOS 10.13.6
      - Metal support is not available
      - device-id: 0x0102 0x0106 0x010A 0x0112 0x0116 0x0122 0x0126
      - AAPL,snb-platform-id (desktop): 0x00030010 (default)
      - AAPL,snb-platform-id (laptop): 0x00010000 (default)
       
      Gen 3: Ivy Bridge (Intel HD Graphics 2500/4000)
      - S/L/E/AppleIntelFramebufferCapri.kext
      - Support started with OS X 10.8.x
      - device-id: 0x0152 0x0156 0x0162 0x0166
      - AAPL,ig-platform-id (desktop): 0x0166000A (default), 0x01620005
      - AAPL,ig-platform-id (laptop): 0x01660003 (default), 0x01660009, 0x01660004
       
      Gen 4: Haswell (Intel HD Graphics 4200-5200)
      - S/L/E/AppleIntelFramebufferAzul.kext
      - Support started with OS X 10.9.x
      - device-id: 0x0D26 0x0A26 0x0A2E 0x0D22 0x0412
      - AAPL,ig-platform-id (desktop): 0x0D220003 (default)
      - AAPL,ig-platform-id (laptop): 0x0A160000 (default), 0x0A260005 (recommended)
       
      Gen 5: Broadwell (Intel HD Graphics 5300-6300)
      - S/L/E/AppleIntelBDWGraphicsFramebuffer.kext
      - Support started with OS X 10.10.2
      - device-id: 0x0BD1 0x0BD2 0x0BD3 0x1606 0x160E 0x1616 0x161E 0x1626 0x1622 0x1612 0x162B
      - AAPL,ig-platform-id (desktop): 0x16220007 (default)
      - AAPL,ig-platform-id (laptop): 0x16260006 (default)
       
      Gen 6: Skylake (Intel HD Graphics 510-580)
      - S/L/E/AppleIntelSKLGraphicsFramebuffer.kext
      - Support started with OS X 10.11.4
      - device-id: 0x1916 0x191E 0x1926 0x1927 0x1912 0x1932 0x1902 0x1917 0x193B 0x191B
      - AAPL,ig-platform-id (desktop): 0x19120000 (default)
      - AAPL,ig-platform-id (laptop): 0x19160000 (default)
       
      Gen 7: Kaby Lake (Intel HD Graphics 610-650)
      - S/L/E/AppleIntelKBLGraphicsFramebuffer.kext
      - Support started with macOS 10.12.6
      - device-id: 0x5912 0x5916 0x591B 0x591C 0x591E 0x5926 0x5927 0x5923 0x87C0
      - AAPL,ig-platform-id (desktop): 0x59160000 (default)
      - AAPL,ig-platform-id (laptop): 0x591B0000 (default)
       
      Gen 8: Coffee Lake (Intel UHD Graphics 630)
      - S/L/E/AppleIntelCFLGraphicsFramebuffer.kext
      - Support started with macOS 10.13.6 (17G2112) / 10.14 beta 4 (18A336e)
      - device-id: 0x3E9B 0x3EA5 0x3E92 0x3E91
      - AAPL,ig-platform-id (desktop): 0x3EA50000 (default), 0x3E9B0007 (recommended)
      - AAPL,ig-platform-id (laptop): 0x3EA50009 (default)
       
      Framebuffer Patching
      WhateverGreen does most of the work automatically for you and in most cases you do not need any extra Framebuffer Patching. At the minimum though you should choose an ig-platform-id suitable for your system and place it in config.plist/Devices/Properties like this:

      Here are some reasons why you might need extra Framebuffer Patching:
      - Setting DVMT for those who can't set it above 32 MB in BIOS (framebuffer-stolenmem / framebuffer-fbmem)
      - Setting higher VRAM for 4K users who experience graphical glitches (framebuffer-unifiedmem)
      - Disabling eGPU (disable-external-gpu)
      - Enable pixel clock patch for 4K support (enable-hdmi20)
      - Disabling connectors to enable sleep (framebuffer-pipecount / framebuffer-portcount / framebuffer-conX-type=-1)
      - Removing CNConnectorAlwaysConnected flag for eDP laptop screens on < 10.13.6 (framebuffer-con0-flags=0x00000090)
      - Changing connector types to match your systems ports (framebuffer-conX-type)
       
      Framebuffer Patching Types
      We have three different types of patches:
       
      1. Arbitrary (Recommended)
      framebuffer-patch-enable (required to enable below) framebuffer-framebufferid (optional; defaults to current platform-id) (all below are optional) framebuffer-mobile framebuffer-pipecount framebuffer-portcount framebuffer-memorycount framebuffer-stolenmem framebuffer-fbmem framebuffer-unifiedmem framebuffer-cursormem (Haswell only) framebuffer-camellia framebuffer-flags framebuffer-conX-enable (required to enable below) framebuffer-conX-index framebuffer-conX-busid framebuffer-conX-pipe framebuffer-conX-type framebuffer-conX-flags 2. All Data
      framebuffer-conX-enable (required to enable below) framebuffer-conX-alldata 3. Find / Replace
      framebuffer-patchX-enable (required to enable below) framebuffer-patchX-framebufferid (optional; defaults to current platform-id) framebuffer-patchX-find framebuffer-patchX-replace framebuffer-patchX-count (optional; defaults to 1) You should place your patches in config.plist/Devices/Properties in Clover config.plist.
       
      Here are some example patches:
      - 32MB BIOS, 19MB stolen (framebuffer) 9MB fbmem (cursor) 2048MB unifiedmem (vram)

       
      - Pipe / Port Count 3 to 2
      - Connector 1 DP to HDMI
      - Connector 2 Disable

       
      Here is an example of the All Data method:

       
      Here is an example of the Find / Replace method:

       
      Framebuffer Dumps
      There are two ways to dump your framebuffer data (both require WhateverGreen + Lilu debug versions):
       
      1. Using -igfxdump boot flag to dump IGPU framebuffer kext to /AppleIntelFramebuffer_X_Y (root of your boot drive)
       
      There are several ways of reading this dump:
      - Using 010 Editor along with the IntelFramebuffer.bt template
      - Using Hackintool File->Open menu
       
      2. Using -igfxfbdump boot flag to dump native and patched framebuffer table to ioreg at IOService:/IOResources/WhateverGreen
       
      There are several ways of reading this dump:
      - Using dump_platformlist.sh shell script
      - Using Hackintool File->Import->IOReg Dump menu
       
      3. Using Hackintool Framebuffer->macOS 10.14 menu
       
      Debug Output
      To get debug output from Lilu use the -liludbgall liludump=60 boot flags. You will need to compile Lilu and WhateverGreen as debug for both of these flags to work. Log files should be located at /var/log/Lilu_*.
       
      To view debug paste the following into Terminal (weglog.txt will output to your home directory):
      log show --predicate 'process == "kernel" AND (eventMessage CONTAINS "WhateverGreen" OR eventMessage CONTAINS "Lilu")' --style syslog --source --last boot >weglog.txt Getting Help

      To help the users of this forum diagnose issues with your configuration please generate a Lilu debug log and then run gen_debug.sh to generate a folder of debug files you can attach to a forum post requesting help.

      Credits
      - vit9696 and lvs1974 for WhateverGreen (Full Credits) and Lilu (Full Credits)
      - Andrey1970 for his guide on applelife.ru
      - RehabMan for all data patching method, ioreg framebuffer dump and other contributions
       


    • By gk12345
      Hello everyone, i have managed to install mac os mojave on my new hack i was able to get some basics working but i can not get graphics to work UHD 630 of i5 8400 it only shows 7mb of memory i have tried a lot of guides with no result i have tried installing whatevergreen and lilu, changing platform id and such, also i want to mention that i was able to boot only by setting platform id to 0x12345678 otherwise it would restart in gloscreenlock 3 hs0 now 0 sm0xo i am relatively new to hackintosh any help would be appreciated. thank you!
    • By fusion71au
      Making a High Sierra USB Installer Entirely From Scratch in Windows
      This is a proof of concept tutorial, to show it's possible to create a vanilla High Sierra installer, entirely from scratch, in Windows (even without App Store downloaded "Install macOS High Sierra.app" from a real Mac ).  @PikeRAlpha's link to Apple's Software Catalog provides us with all the URLs necessary to download the needed files directly from Apple instead of some dubious source from the internet...
       

      Pre-Requisites
      8GB or larger USB drive Boot Disk Utility v2.1.2017rev021b from @CVAD TransMac (free 15 day trial) Paragon Hard Disk Manager Free Download Installer Files Directly from Apple
      1)  Browse Apple's Regular Software Catalog and find the URLs to download the following 6 installer files...
      BaseSystem.dmg BaseSystem.chunklist InstallInfo.plist InstallESDDmg.pkg AppleDiagnostics.dmg AppleDiagnostics.chunklist (Hint - search page for "InstallESD" to find its URL and others nearby)

      to a folder named "SharedSupport" on your Windows NTFS drive.  A browser download manager (eg Chrono for Chrome, dTA for FireFox) is handy since InstallESD is >4GB ---> allows you to pause/resume interrupted download...

      2)  Rename InstallESDDmg.pkg to InstallESD.dmg
      3)  Edit InstallInfo.plist with WordPad/text editor to remove the chunklistURL and chunklistid keys for InstallESD, and renaming it from InstallESDDmg.pkg to InstallESD.dmg (example of edited file attached to this post)...
      Note:  You can verify the SHA1 checksum of your InstallESD.dmg and BaseSystem.dmg with the correct ones at this website.
      Boot Disk Utility to format the Installer USB and Restore OS X Base System HFS partition
      1.  Format USB with BDU & latest Clover ---> creates boot files in CLOVER partition + second FAT partition
      2.  Extract 4.hfs from \SharedSupport\BaseSystem.dmg with BDU --> save to it's local folder
      3.  Restore 4.hfs to USB second partition with BDU --->  2nd partition becomes bootable "OS X Base System"
      Paragon Hard Disk Manager to extend HFS Partition to its Full Extent
      Open Paragon Partition Manager Free and resize the second partition of the USB drive to the full size allowed.  Don't forget to apply the changes at the end...
      Transmac to Copy "SharedSupport" folder to OS X Base System
      1.  Open the TransMac program and navigate to the HFS+ Volume/Install macOS High Sierra.app/Contents folder.  Right click anywhere in the empty space on the RHS pane and select "Copy Here"...
      2.  In the next stage, select the "SharedSupport" folder we created above as the "Files and Folders to be copied to the Mac Volume"...
      Clover Settings
      Clover configuration is required now.  The default config.plist (in the Clover FAT32 partition of the USB) maybe sufficient to boot your machine if you’re lucky.  If not, look at the Clover Wiki, Clover Instructions and Clover Configuration Thread for pointers and edit /EFI/Clover/config.plist accordingly with Wordpad or Notepad.
      The location of the important configuration files for Clover are summarized below
      config.plist--->EFI/CLOVER folder DSDT.aml with or without SSDT.aml--->EFI/CLOVER/ACPI/patched (don't need one if your DSDT is auto patched by Clover in config.plist) Kexts eg FakeSMC, NullCPUPowerManagement --->EFI/CLOVER/kexts/<osx version> or /Other. NB BootDiskUtility by default already has FakeSMC.kext installed here.  You may need to add VoodooPS2Controller for your laptop keyboard/trackpad to work. If UEFI booting, you will most likely need one of the OsxAptioFixDrv-64 drivers copied from /EFI/CLOVER/drivers-off/drivers64UEFI to /EFI/CLOVER/drivers64UEFI. If you want to use the installer to run High Sierra in Windows on VMware, you can follow my guide to set up the Virtual Machine and replace Clover's default config with EFI_Clover for VMware (which is compatible to run in VMware).  In the screenshots below, I have attached the USB Installer (in this case PhysicalDrive7) to my macOS Virtual Machine.  Reboot the system to the USB installer to install High Sierra ...
      What happens if we don't have access to TransMac or Paragon Hard Disk Manager?
      Not a problem, as long as we get "OS X Base System" bootable, we can launch terminal from the Utilities Menu to copy the SharedSupport folder over to the Installer app.  In essence, we will build the full installer app = 5GB+ on the target HD eg "Macintosh HD", by copying both the "small" installer app = 15MB (on "OS X Base System") and the SharedSupport folder from the NTFS volume (mounted in this example on /Volumes/DATA)...
      -bash-3.2# cd / -bash-3.2# cp -R Install\ macOS\ High\ Sierra.app /Volumes/Macintosh\ HD/ -bash-3.2# cp -R /Volumes/DATA/SharedSupport /Volumes/Macintosh\ HD/Install\ macOS\ High\ Sierra.app/Contents/  
      ...then start installation with the startosinstall utility...
      -bash-3.2# /Volumes/Macintosh\ HD/Install\ macOS\ High\ Sierra.app/Contents/Resources/startosinstall --volume /Volumes/Macintosh\ HD --converttoapfs NO --applicationpath /Volumes/Macintosh\ HD/Install\ macOS\ High\ Sierra.app  
      The above steps can be automated with the attached "startosinstall.command" script, which will assemble "Install macOS High Sierra.app" on "Macintosh HD" and launch the startosinstall utility targeting the "Macintosh HD" volume.  Copy/download to "Macintosh HD", then run in terminal (after attaching DATA USB with /Shared Support folder)...
      cd "/Volumes/Macintosh HD" chmod +x startosinstall.command ./startosinstall.command Updated Download Links for macOS Mojave 10.14.2_18C54
      Browse Apple's Regular Software Catalog and find the URLs to download the following 6 installer files...
      BaseSystem.dmg BaseSystem.chunklist InstallInfo.plist InstallESDDmg.pkg AppleDiagnostics.dmg AppleDiagnostics.chunklist  
      Note: In Mojave, Apple has removed the --converttoapfs NO and --applicationpath arguments from the startosinstall utility....
       
      eg to use startosinstall for the above section "What happens if we don't have access to TransMac or Paragon Hard Disk Manager?", the syntax is now
      -bash-3.2# /Volumes/Macintosh\ HD/Install\ macOS\ Mojave.app/Contents/Resources/startosinstall --volume /Volumes/Macintosh\ HD  
      This basically means that for Mojave, the default installation will always convert the target volume to the apfs file system.
       
       
      startosinstall.command.zip
      InstallInfo.plist_edited_10.13.6.zip
      InstallInfo.plist_edited_10.14.2.zip
       
       
×