Jump to content
Sign in to follow this  
Followers 0
Frank Nitty

[GUIDE] How To Install Sierra On Asus Z170M-Plus With Clover Using Pentium G4500

12 posts in this topic

Recommended Posts

This thread is a walkthrough on how to install Sierra. These are fully detailed instructions to make it easier for newbs. PLEASE DO NOT PM ME FOR HELP. REPLY TO THIS GUIDE BELOW. THANKS

For a list of credits/resources which helped influenced the making of this guide, please refer to my 10.11.0 guide here.

As of 11/30/2016, I will no longer provide anymore support regarding the installation of OS X/macOS on this motherboard. I am in the process of selling this PC. Meanwhile, there are a few quirks I want to resolve which I feel should be included in this guide such as 1) creating an DSDT/editing the SSDT to enable HDMI audio from both the GPU/CPU, 2) implementing proper sleep, and 3) a patch to remove audio distortion which occurs while using codec ALC887 on this motherboard, but due to time constraints I haven't gotten around to doing so yet. 

I would hope that anyone who has benefited from my guide would follow in my footsteps and take up the mantle and expand on this guide. If you are interested let me know. I have already laid down the foundation so all you have to do is carry on the legacy and pick up where I left off. 

Now since I have gotten that out of the way, let's get started:

 

       MY SPECS:

1.  Intel Pentium Processor G4500

2.  ASUS Z170M-PLUS Micro ATX Motherboard

3.  Mushkin Enhanced ECO2 512GB SSD

4.  Corsair Vengeance LPX 16GB (2x8GB) DDR4

5.  HGST Travelstar 7K1000 1TB 2.5" 7200RPM HDD

6.  Seagate Barracuda 3TB 3.5" 7200RPM HDD ST3000DM001

7.  LEPA AquaChanger 240 Liquid CPU Cooler

8.  Corsair Carbide 88R Mid-Tower Case

9.  LG Electronics 14x SATA Blu-ray Rewriter

10. PNY GTX 960 XLR8 4GB

11. EVGA SuperNOVA 750 G1 750W PSU

 

       WHAT YOU WILL NEED:

1.  macOS 10.12 Sierra [from Mac App Store]

2.  A computer running an Intel Processor

3.  Access to OS X on VMWare (for Windows), Mac, or Hackintosh

4.  1x supported graphics card

5.  Clover v2.3k r3763 and up

6.  A USB flash drive at least 8 GB

7.  Update your system with the latest BIOS

 

       STEP 1: BIOS SETTINGS

1.  Start off by entering the BIOS and accessing Advanced Mode. Go to Exit to select 'Load Optimized Defaults'.

2.  Go to Boot and disable 'Fast Boot' and go to CSM (Compatibility Support Module) to enable 'Launch CSM'.

3.  Back out to Boot and scroll down to Secure Boot and access Key Management to disable 'Secure Boot State'. In order to do so you must clear any installed keys [delete each keys].

a. Access Secure Boot again and set OS Type to 'Other OS'.

4.  Scroll down to Hard Drive BBS Priorities to set boot sequence of the available hard disks.

5.  Go to Advanced  System Agent (SA) Configuration and disable 'VT-d'.

6.  Scroll down to access Graphics Configuration and set 'Primary Display' to PCIE and disable 'iGPU Multi-Monitor'.

7.  Back out to Advanced and scroll down to access APM Configuration  'ErP Ready' and disable it [equates to "S3 only, Suspend to Ram"]; the rest of the options should be disabled by default.

8.  Go to Advanced  CPU Configuration and disable 'Intel Virtualization Technology'.

9.  Scroll down to CPU Power Management Configuration to disable 'CFG lock'.

10. Go to Advanced  Onboard Devices Configuration and turn off 'Serial Port Configuration' and 'Parallel Port Configuration'.

11. Go to Advanced  USB Configuration and enable 'XHCI Hand-off'.

12. [Optional] Go to Ai Tweaker  Scroll down to 'DRAM Frequency' and set it to the specified frequency of your memory.

13. [Optional] Go to Tool  ASUS Overclocking Profile to save your BIOS settings profile [to a USB stick].

14. Go to Exit, 'Save Changes & Reset'.

 

        STEP 2: CREATING A BOOTABLE USB TO INSTALL OF SIERRA 10.12

1.  Clover and the macOS installer are placed on separate partitions on the USB stick. This guide will use 'diskutil list' in Terminal instead of Disk Utility to format the USB with GPT partitioning for Clover UEFI support.

2.  You must determine its disk identifier before you can partition the USB. Plug the USB stick into a Mac (or Hackintosh), run Terminal and type 'diskutil list'.

The following screenshot will serve as a reference:

Dq2UQvvl.png

As you can see the the USB stick’s identifier is /dev/disk4.

3.  Type the following entry into Terminal to format the USB stick (two partitions, via GPT):

diskutil partitionDisk /dev/disk4 1 GPT HFS+J "OS X" R

During the process the following occurred:

  • /dev/disk4 GPT partitioning initiated
  • by default EFI was automatically created
  • remainder "OS X", HFS+J is partitioned

4.  It resulted in the following screenshot:

OSSbUSGl.png

 

Close Terminal

 

5.  We need to download and install the latest version of Clover (here) on the USB stick.

a.  Run the pkg, "Change Install Location" by selecting "OS X" (partition name) as the target of the install. Use the following settings below:

gmekPkCl.png

vY0jHyIl.png

 

Make sure that it shows "Installation Complete."

NOTE: When installing to HDD select "Install RC scripts on target volume" and/or "Install all RC scripts on all other boot volumes" and "Install Clover Preference Pane".

 

6.  You must copy your kexts to the EFI/ Clover folder. You can use EFI Mounter v1.2.3 when necessary to mount the EFI partition, just use "diskutil list" first to ensure you chose the right one for the USB stick.

a. Remove EFI/CLOVER/kexts/10.6, 10.7, 10.8, 10.9, 10.10, 10.11 leaving just 'Other'. Create a folder titled '10.12'.

b. Copy the required kexts FakeSMC.kext, NullCPUPowerManagement 1.0.0d2, VoodooPS2Controller.kext, and your ethernet kext (Intel I219-V) IntelMausiEthernet-V2.2.0 or AppleIntelE1000e 3.3.1 to the following directory: /EFI/CLOVER/KEXTS/10.12.

NOTE: If you are having trouble getting Ethernet to work you can also try copying IONetworkingFamily.kext from S/L/E to /EFI/CLOVER/KEXTS/10.12 with your networking kext.

GW3WaQyl.png

 

7.  We must apply the following mandatory patches:

NOTE: As of 10.11.4, the APIC Fix is not necessary.

a. HaltEnabler. It works as OpenHaltRestart, clearing SLP_SMI_EN at start of macOS system. Helps prevent constant reboot loop after installing macOS on this motherboard.

<key>ACPI</key>
	<dict>
		<key>HaltEnabler</key>
	  <true/>

b. FakeCPUID patch. Since the Pentium is not supported in 10.12, the following CPUID will convert it into an Ivy Bridge CPU. Add this <dict> entry to the config.plist:

<key>KernelAndKextPatches</key>
	<dict>
		<key>FakeCPUID</key>
		<string>0x0306A0</string>
		<key>KextsToPatch</key>
</dict>

or [Lynnfield]

<key>KernelAndKextPatches</key>
	<dict>
		<key>FakeCPUID</key>
		<string>0x0106E0</string>
		<key>KextsToPatch</key>
</dict>

c. USB patch. It is required to raise the port limit in order to boot the USB installer. Otherwise garbled text with the message "Still waiting for root device" and a circle with a slash in the middle will appear onscreen. This process involves installing USBInjectAll.kext as well. Add this <dict> entry to the config.plist:

<key>KextsToPatch</key>
	<array>
			<dict>
				<key>Comment</key>
				<string>change 15 port limit to 26 in XHCI kext (100-series) 10.12</string>
				<key>Find</key>
				<data>g710////EA==</data>
				<key>Name</key>
				<string>AppleUSBXHCIPCI</string>
				<key>Replace</key>
				<data>g710////Gw==</data>
			</dict>
</array>

Be sure to copy USBInjectAll.kext to /EFI/CLOVER/KEXTS/10.12.

 

d. SMBIOS. With the config file still opened in your text/plist editor, scroll down to SMBIOS section to add the following SMBIOS system definition:

<key>SMBIOS</key>
	<dict>
		<key>Manufacturer</key>
		<string>Apple Inc.</string>
		<key>ProductName</key>
		<string> iMac14,2</string>
		<key>Trust</key>
		<false/>
</dict>

NOTE: Macmini6,2, iMac13,2 and iMac13,1 support speedstep.

You can also do this using Clover Configurator: In the SMBIOS section, click the magic wand to select a SMBIOS relevant to your hardware (e.g. iMac14,2) – and close the screen and File/Save.

    

e. GUI. Here you indicate the theme you want to use that you installed by entering the title in the string. I chose to use "random" as shown below:

<key>GUI</key>
<dict>
		<key>Mouse</key>
		<dict>
			<key>DoubleClick</key>
			<integer>500</integer>
			<key>Enabled</key>
			<true/>
			<key>Mirror</key>
			<false/>
			<key>Speed</key>
			<integer>8</integer>
		</dict>
		<key>Scan</key>
		<true/>
		<key>Theme</key>
		<string>random</string>
</dict>

f. Boot Flag. It is necessary to use "-v" to monitor if any problems arise. Add this <dict> entry to the config.plist:

<key>Boot</key>
	<dict>
		<key>Arguments</key>
		<string>-v</string>
</dict>

g. NVIDIA graphics cards especially 'Maxwell' currently lack support natively in macOS. To correct this problem, it requires System Parameter/NvidiaWeb entry. It must be disabled during installation by adding this <dict> entry to the config.plist:

<key>SystemParameters</key>
	<dict>
		<key>InjectKexts</key>
		<string>YES</string>
		<key>InjectSystemID</key>
		<true/>
		<key>NvidiaWeb</key>
		<false/>
</dict>

h. SIP. Apple has implemented 'rootless' security or System Integrity Protection (SIP) (reference sources 12, & 3) in 10.12 which restricts users from modifying system folders/files, and as a result it locks down system folders and files against hacks and root attacks, making the system safer. However, SIP must be disabled in order to install anything (i.e., kexts) into protected system folders. Add this <dict> entry to the config.plist:

<key>RtVariables</key>
	<dict>
		<key>BooterConfig</key>
		<string>0x28</string>
		<key>CsrActiveConfig</key>
		<string>0x3</string>
</dict>
 

i. Audio Fix. This Skylake board comes with a Realtek ALC887 audio chip. Realtek onboard audio device has been changed in ACPI to 'HDAS'. In order to use AppleALC/CloverALC (discussed further in this guide), you must add the following patch in the config.plist:

<key>ACPI</key>
<dict>
<key>DSDT</key>
<dict>
		<key>Patches</key>
		<array>
			<dict>
				<key>Comment</key>
				<string>Rename HDAS to HDEF</string>
				<key>Find</key>
				<data>
				SERBUw==
				</data>
				<key>Replace</key>
				<data>
				SERFRg==
				</data>
</dict>
</array>

8. Preparing OS X partition. Download macOS v10.12.0 Sierra [Mac App Store] and Right-click "Install macOS Sierra" will be in /Applications.

a. Right-click "Install macOS Sierra" Show Package Contents Contents ShareSupport Double click to mount "InstallESD.dmg".

b. Once "OS X Install ESD" appears, use ShowHiddenFiles to show hidden files.

c. Now you will see an image called "BaseSystem.dmg" appear. Mount it by right-clicking and opening it with DiskImageMounter...

NOTE: The version of Disk Utility found in El Capitan has been stripped down of its most essential features to proceed with the following instructions. Your next best option is to use a pre-modified version of the old Disk Utility. After downloading it, extract and copy it to the Desktop and type the following line in Terminal to take ownership, enabling the app to run:

sudo chown -R 0:0 ~/Desktop/Disk\ Utility.app

d. Open Disk Utility. Select and highlight the volume "OS X Base System", click "Restore" at the top-right, drag the volume into "Source" field, and drag the USB [OS X] partition (you already created) to the "Destination" field where you will restore the image: click the "Restore" button then "Erase"...

e. After the process is complete, you'll now have (2) "OS X Base System" present in Finder. Eject the image "BaseSystem.dmg" and close Disk Utility.

f. On the remaining volume "OS X Base System" (USB stick), go to System/Installation and delete Packages symlink.

g. Open "OS X Install ESD" in a new Finder window, and copy the Packages folder to System/Installation folder inside "OS X Base System".

h. Copy BaseSystem.chunklist, BaseSystem.dmg, AppleDiagnostics.chunklist, and AppleDiagnostics.dmg from "OS X Install ESD" and copy it to the volume root.

i. Create a new folder named "Kernels" in System/Library on the USB stick. Use Pacifist v.3.2.17+ to extract "kernel" from "OS X Install ESD/Packages/Essential.pkg [/system/Library/Kernels/kernel]" and place "kernel" into System/Library/Kernels/ location.

j. Delete following kexts from System/Library/Extensions/AppleIntelCPUPowerManagement.kext and AppleIntelCPUPowerManagementClient.kext.

k. Use ShowHiddenFiles to hide the hidden files, and quit the application.

l. With the USB installer ready, remember before restarting system to change boot priority of USB stick to first to install Sierra on the hard disk of choice.

m. Once installer is finished, it will automatically restart the system.

n. Now reboot from the USB installer and select the drive where you installed Sierra at the boot menu screen and use boot flag nv_disable=1 to log in.

[NOTE: If you experience reboot loops, simply reset CMOS and reapply the ACHI settings back into the BIOS, save and exit.]

 

       STEP 3: macOS 10.12 Post-Installation

1.  As the system is loading, you'll be prompted to the macOS Welcome screen.

a. Select your country then click "right arrow" to go to the next screen.

b. Select "My computer does not connect to the Internet."

c. Select "Don’t transfer any information now."

d. Do not "Enable Location Services on this Mac"

e. Agree to "Terms and Conditions."

f. Enter your namepassword, and hint and Continue.

g. Confirm "Diagnostics & Usage"

h. Wait a moment for the macOS desktop to load.

i. When prompted to back up any disk with Time Machine, click on the "Don't Use" button.

 

       STEP 4: macOS 10.12 Post-Installation (Continued)

1. macOS Sierra no longer allows unsigned apps to run that did not come the App Store or identified developer. You can re-enable this function by running the following in Terminal:

sudo spctl --master-disable

Go to System Preferences Security & Privacy and disable GateKeeper to allow installation of software by unidentified developers.

2. Mount the EFI partition of the USB stick with EFI Mounter v1.2.3 and copy the 'EFI' folder to the EFI partition of Sierra boot disk.

3. Install Clover v2.3k on the Sierra install HDD partition you plan to boot from. In addition to the settings configured earlier, select "Install RC scripts on target volume" and "Install Clover Preference Pane" when installing to the HDD.  Installing RC scripts enables nvram variables required for iCloud and other services. It processes logs that are located in /Library/Logs/CloverEFI. You can also type bdmesg > Desktop/boot.txt in Terminal to get them manually.

4. Edit the config.plist from your boot disk in EFI/CLOVER/ by adding the following <dict> entries:

a. New Method for Enabling NVIDIA Web Drivers. Boot flag nvda_drv=1 no longer works in config.plist to enable Web Drivers. A new setting under System Parameter in Clover called "NvidiaWeb" has been updated to fulfill this instead.

<key>SystemParameters</key>
	<dict>
		<key>InjectKexts</key>
		<string>YES</string>
		<key>InjectSystemID</key>
		<true/>
		<key>NvidiaWeb</key>
		<true/>
</dict>

Remove Boot/Arguments/nvda_drv=1 if necessary.

b. Hide UEFI partitions. To hide internal UEFI (i.e., "Boot Windows from Recovery", "Boot Windows from EFI") you have to use Scan/Legacy=false:

<key>GUI</key>
	<dict>
		<key>Scan</key>
		<dict>
			<key>Legacy</key>
			<false/>
	</dict> 

c. Designate name of boot menu entries (Renaming Mac/Windows). In the Clover bootloader menu you will notice all EFI Windows partitions labeled "Boot Microsoft EFI boot menu from EFI [or SYSTEM]". The Windows partition is called EFI but there's also a Mac partition called EFI which is hidden by default in the Clover boot menu so it's a nonfactor. The volume names are what Clover shows by default. In order to change what the Clover boot menu shows your volume name to be you will have to specify its details under GUI/Custom/Entries section in your config.plist. There are 3 <key> tags necessary to edit in this section: Volume, FullTitle, and Type. You can refer to my personal settings below for help.

E.g., in my config.plist, my macOS volume is called "SIERRA" because that's what I named the partition I installed macOS on. It can also be seen as a bootloader screen entry as "Boot Mac OS X from XXXXXXXX" where XXXXXXXX is the volume name. "FullTitle" is the name you want the entry to say, i.e.: macOS 10.12 Sierra. "Type" is where you indicate what type of OS it is, i.e.: OSX (or Windows). Tags such as "Hidden" and "Disabled" are self-explanatory, while the "NoCaches" tag designates whether you want to boot without caches.

NOTE:  Adding "InjectKexts" causes infinite loading on the Apple logo screen.

NOTE: Although you’re able to indicate if the "VolumeType" you are using is Internal, External, Optical or FireWire, I have found through tests that after adding the "VolumeType" tag for the macOS volume in the config.plist followed by restarting my system, it would initiate a constant reboot loop, making my system incapable POSTing and requiring a CMOS reset to fix: YOU HAVE BEEN WARNED.

<key>GUI</key>
		<dict>
			<key>Custom</key>
			<dict>
				<key>Entries</key>
				<array>
					<dict>
						<key>Volume</key>
						<string>EFI</string>
						<key>FullTitle</key>
						<string>Windows 10</string>
						<key>Hidden</key>
						<false/>
						<key>Disabled</key>
						<false/>
						<key>Type</key>
						<string>Windows</string>
						<key>VolumeType</key>
						<string>Internal</string>
					</dict>
					<dict>
						<key>Volume</key>
						<string>SIERRA</string>
						<key>FullTitle</key>
						<string>macOS 10.12 Sierra</string>
						<key>Hidden</key>
						<false/>
						<key>Disabled</key>
						<false/>
						<key>InjectKexts</key>
						<false/>
						<key>NoCaches</key>
						<false/>
						<key>Type</key>
						<string>OSX</string>
						<key>VolumeType</key>
						<string>Internal</string>
					</dict>
				</array>
</dict> 

5. Remove Recovery partition. Deleting and merging a partition with 'diskutil' from the command line is the most precise method to remove the partition since it targets the recovery disk directly and merges it with the full Sierra partition.

Launch the Terminal and type the following into the command line:

diskutil list

This will print out your drives partition scheme and look something like this:

ZIeUQHOl.png

Look for "Recovery HD" and see which identifier it is uses. In this screenshot it’s disk2s4.

To remove that partition we use the following command (you can also use the volume name):

diskutil eraseVolume HFS+ Blank /dev/disk2s4

The partition will be erased. You’ll now have a blank partition sitting around, so you’ll want to merge that with your other Sierra partition:

diskutil mergePartitions HFS+ SIERRA disk2s3 disk2s4

This will merge the two partitions, with disk2s3 absorbing the space from disk2s4 and expanding, it causes data loss so don’t expect this to preserve anything.

6. NVIDIA graphics cards 'Maxwell'+ currently lack native support in macOS 10.12 so you will not be able to boot without nv_disable=1 kernel flag.

a. Download and install NVIDIA Web Driver 367.15.10.05f01 to enable NVIDIA Graphics Cards because they won't work OOB without them.

NOTE: Remember to go to the NVIDIA Driver Manager menu bar at the top, change the settings to use Web drivers. Changes will take effect after restart.

7. Reboot using the USB installer and choose the Sierra install drive.

8. Download CUDA 7.5.30 drivers (increases GPU computing performance) needed for 10.12 support and install.

9. [OPTION 1] Install AppleALC to enable native audio by injecting the layout id supported for ALC887 through dynamic patching without modifying any kexts. Audio will no longer be affected after each macOS update and SIP can remain enabled. More details here.

NOTE: AppleHDA must be native, original and unpatched.

a. Mount EFI partition and add the following entry under Devices/Audio in the config.plist to inject working layout id 11 (or 13 or 1). 

<key>Devices</key>
	<dict>
		<key>Audio</key>
		<dict>
			<key>Inject</key>
			<integer>11</integer>
	  </dict> 

b. Download the latest version of AppleALC (v1.0.16) and copy it to CLOVER/kexts/10.12.

NOTE: Rebuild kext cache if you have removed a modded AppleHDA to replace it with a native one by using Kext Utility or 'force rebuild cache' in Terminal:

sudo –s
sudo touch /System/Library/Extensions

10. [OPTION 2] Install the following patch associated with Realtek ALC887 AppleHDA Audio (by Toleda):

a. Mount EFI partition, verify "Disable SIP" entry CsrActiveConfig=0x3 is in config.plist.

b. Download audio_cloverALC-120.command.zip and extract "audio_cloverALC-120_v1.0d.command".

c. No edits made to any native AppleHDA.kext file, 2-4 files added to Resources folder.

NOTE: There may be noticeable pops before starting playback which is caused by OS X putting the audio codec to sleep. Disable AFGLowPowerState in config.plist with following <dict> entry:

<key>Devices</key>
<dict>
    <key>Audio</key>
    </dict>
        <key>AFGLowPowerState</key>
        <false/>
    </dict> 

If popping is still exists after using the method above, try using antipop.

 

NOTE: There may be noticeable distortion after around 2 minutes of audio playback. Update to the latest version of Clover and add UseARTFrequency=false entry in the config.plist:

<key>CPU</key>
<dict>
	<key>UseARTFrequency</key>
	<false/>
</dict>
<key>Devices</key>
<dict>

11.  Create a DSDT??? (More to come later)

12. [OPTION 1] Create a SSDT (Secondary System Description Table) to configure the maximum clock speed.

a. Download Pike's ssdtPRGen.sh script which should auto-copy into your home directory, 'Volumes/Users/<username>' folder. Open Terminal and type the following:

curl -o ~/ssdtPRGen.sh https://raw.githubusercontent.com/Piker-Alpha/ssdtPRGen.sh/Beta/ssdtPRGen.sh

b. Next, set the execute/search bits:

chmod +x ~/ssdtPRGen.sh

c. Run ssdtPRGen.sh script for first time without any arguments and let it download all the data that you need:

./ssdtPRGen.sh

d. The Skylake.cfg with Pentium information should have already downloaded.

e. Once finished you will have the ssdt.aml on the ~/library/ssdtPRGen/. Move it to /EFI/CLOVER/ACPI/patched.

NOTE: If you come across issues try the following:

  Use Terminal to ensure Skylake.cfg is in the 'Data' folder by typing: open ~/library/ssdtPRGen/Data

  You can remove any previously generated and downloaded script file by typing: sudo rm -R ~/Library/ssdtPRGen

  You can rerun another freshly downloaded ssdtPRGen.sh script with your processor type: ./ssdtPRGen.sh

  For additional help see also: ./ssdtPRGen.sh -help

13. [OPTION 2] Create a SSDT (Secondary System Description Table) to configure the maximum clock speed.

a. Download the Pike’s script v14.1 (modified for i-core processors) and put it on your desktop. Use it only for the PC it is running from. The script reads some information specific about your CPU and its number of cores.

b. Open Terminal and type "sudo" then leave a space and drag the script file into the Terminal window then leave a space and type in the Turbo Speed (Maximum Turbo Frequency) for your processor and then press enter.

e.g., Intel Pentium G4500 type code:

sudo /Users/"YourUsername"/Desktop/ssdtPRGen.sh -TURBO 3500

Type your password when prompted and press Enter.

c. Ignore the following "Error: Unknown processor model ..." since the CPU is unsupported.

d. A decompiled file called SSDT.aml will generate in a hidden folder "tmp". Type "open /tmp" (no quotations) to reveal its location.

e. Mount EFI using EFI Mounter v1.2.3 and place SSDT.aml into /Volumes/EFI/EFI/CLOVER/ACPI/patched/ folder.

14. Installing the following kexts/widget is optional. Mount the EFI partition to copy the kexts into the /EFI/CLOVER/KEXTS/10.12 folder. Install the widget using Launchpad Dashboard:

  HWSensors 6.21.1412 Binaries (with FakeSMC): Helps you monitor CPU, memory, disks, network, temperatures, fans, load/uptime, and processes.

15. Install iStat Pro 4.92 r2, a highly configurable widget that lets you monitor every aspect of your Mac including CPU, memory, disks, network, battery, temperatures, fans, load & uptime and processes.

 

       STEP 5: Updating to 10.12.1

1. Download and install macOS Sierra 10.12.1 Update and reboot with -x (safe mode).

2. After restarting, accept the popup window that prompts you to download and install the latest the NVIDIA Web Driver 367.15.10.15f03 to proceed.

3. Download CUDA 8.0.46 drivers needed for 10.12.1 support from NVIDIA.

4. Download CUDA 8.0.51 drivers needed for 10.12.1 support from NVIDIA and install and reboot.

5. Reinstall audio by patching AppleHDA with audio_cloverALC-120.command.zip [for OPTION 2].

6. It seems as though the issue regarding audio distortion no longer presents itself after updating to 10.12.1.

 

       OPTIONAL: Fixing Time Sync issue with macOS/Windows – Registry Fix Method

NOTE: Only works for Vista/Windows 7, 8 & 10

1. Press the Win + R keyboard combination to bring up a run box, then type "regedit" followed by Enter. Confirm "yes" once UAC prompt appears.

2. When the registry editor opens, navigate to:

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\TimeZoneInformation

 

jvflVYz.png

3. Right-click on the empty space right below 'TimeZoneKeyName' and create a new DWORD (32-bit). It will appear as D-WORD On 32-bit versions of Windows 7/Vista.

zfRtPYn.png

 

4. Rename it "RealTimeIsUniversal" (without quotes and it’s case-sensitive). Double-click on the new DWORD and change its value data "0" (zero) to "1" (one) as a hexadecimal.

Y8KDsuu.png

 

5. Save everything. Reboot to macOS, set the time properly and now boot back to Windows. You should notice it adjusted the correct time.

NOTE: Avoid changing the time in macOS if you are running a multi-boot system. It can lead to a constant reboot loop, making your system incapable POSTing, and forcing the user to do a CMOS reset to recover. You only have to modify the time in the BIOS and in Windows followed by enabling the setting to sync the clock with online time.

config-WORKING for G4500 boot.plist-10.12.zip

Share this post


Link to post
Share on other sites
Advertisement

Very nice & Clean guide.

Share this post


Link to post
Share on other sites

Very nice & Clean guide.

For u to compliment me in its unfinished at the time, thanks...  I just finished posting everything in its entirety. It is officially live

Share this post


Link to post
Share on other sites

Nice guide, but I have a problem.

 

I installed sierra at g3240 & asus b85m-g (+ gt 630). When I open a pdf file with 'Preview' app, finder & desktop stop working and get refreshed. (quicklook view works fine)

 

Would you check it?

Share this post


Link to post
Share on other sites

Nice guide, but I have a problem.

 

I installed sierra at g3240 & asus b85m-g (+ gt 630). When I open a pdf file with 'Preview' app, finder & desktop stop working and get refreshed. (quicklook view works fine)

 

Would you check it?

Thanks for the compliment. This guide is for Skylake processor, but u are using Haswell so keep in mind that I can not provide support for your issue b/c the specs of your machine do not match mine in this guide. However, when I attempt to open PDF's in Preview, they crash for me as well. I typically use Acrobat DC to open PDF's. Hope that helps.

Share this post


Link to post
Share on other sites

Thanks for the compliment. This guide is for Skylake processor, but u are using Haswell so keep in mind that I can not provide support for your issue b/c the specs of your machine do not match mine in this guide. However, when I attempt to open PDF's in Preview, they crash for me as well. I typically use Acrobat DC to open PDF's. Hope that helps.

 

Thank you for your answer.

Share this post


Link to post
Share on other sites

thanks for your guide g4500 mac 10.11. i set up my computer g4400 h110m ds2 like your guide but my speedstep enabled or not true do i need remove my nullcpupower kext. thank you. sr by my english. i am vietnamese

Share this post


Link to post
Share on other sites

thanks for your guide g4500 mac 10.11. i set up my computer g4400 h110m ds2 like your guide but my speedstep enabled or not true do i need remove my nullcpupower kext. thank you. sr by my english. i am vietnamese

http://www.insanelymac.com/forum/topic/311747-guide-how-to-install-el-capitan-on-asus-z170m-plus-with-clover-using-pentium-g4500/?do=findComment&comment=2577865

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
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.

Announcements

  • Similar Content

    • By STLVNUB
      *Put the script into its own folder as it will create other folders*
      What is BTB?
      Script file to clone and help build Clover or Opencore repos
      Script will create link to itself in /usr/local/bin/bob
      Script SHOULD fix up any stray bobs you may have.
      Then you only need to type bob. and a parameter
      "a" for ACID repo, official
      "d" for ACID repo DUET build
      "c" for CLOVER
      "e" to erase UDK Folder
      Easier typing bob than.....usual stuff
      YOU WILL NEED TO cmod+x THE SCRIPT
      Enjoy
       
    • By MaLd0n
      First...
      If you need DSDT edits... -Extract tables with F4 key in Clover boot screen! -Run it and send me files! RunMe.app   Installation --Create a bootable copy of El Capitan /  Sierra / High Sierra / Mojave https://github.com/chris1111/Create-Install-Media/releases   --Install Clover in USB stick https://github.com/CloverHackyColor/CloverBootloader/releases   --Replace with my Clover folder https://www.olarila.com/topic/5676-clover-folder-for-all-chipsets/   --Install EL Capitan / Sierra / High Sierra and boot into system!     Post Installation   --Install Clover and replace with my folder   https://www.olarila.com/topic/5676-clover-folder-for-all-chipsets/     --Reboot and activate video!   Bingo! Now you need a fine tune! DSDT Time!   My DSDT GA P35-DS3   DSDT.MaLd0n.zip     Patches -FIX ERRORS AND WARNINGS -HPET -SATA -SLPB -DARWIN -LPC -HDEF -RTC -EHCI -UHCI -IRQs -SBUS -BUS1 -MCHC -ALS0 -SHUTDOWN -LAN -EC -PNLF --Native Power Management
       
      Use Clover, check Generate P and C States
       
      --Brightness
      Install .app, select the required permission and reboot. Work in F1 / F2 keys!
      NativeDisplayBrightness.app.zip


      https://github.com/Bensge/NativeDisplayBrightness/releases
      *in some cases .app don't work, check patches in config.plist inside Clover folder Post Install
       
      --AUDIO
       
      Device HDEF + AppleAlc + Lilu
       
      --install Lan driver by Mieze
        -Atheros   http://www.insanelymac.com/forum/files/file/313-atherose2200ethernet/   -Intel   http://www.insanelymac.com/forum/files/file/396-intelmausiethernet/   -Realtek   http://www.insanelymac.com/forum/files/file/88-realtekrtl8111-binary/   --Links   -FakeSMC   https://bitbucket.org/RehabMan/os-x-fakesmc-kozlek   -Audio   https://github.com/vit9696/AppleALC http://www.insanelymac.com/forum/topic/293863-applehda-patch-requests/   -Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!   Slice, Kabyl, usr-sse2, jadran, Blackosx, dmazar, STLVNUB, pcj, apianti, JrCs, pene, FrodoKenny, skoczy, ycr.ru, Oscar09, xsmile, SoThOr, RehabMan, Download-Fritz, Zenit432, cecekpawon, Intel, Apple, Oracle, Chameleon Team, crazybirdy, Mieze, Mirone, Oldnapalm, netkas, Elconiglio, artut-pt, ErmaC, Pavo, Toleda, Master Chief and family, bcc9, The King, PMheart, Sherlocks, Micky1979, vit9696, vandroiy2013, Voodoo Team, Pike R. Alpha, lvs1974, Austere.J, CVad and many, many, many others!   We're all here to have fun and learn from each other!   ENJOY!  
    • By Cyberdevs
      Installing macOS® Sierra® on Gigabyte GA-Z170X-Gaming 5 rev 1.0
      Intel® Core i7 6700K
      nVidia® Graphics Maxwell® or Pascal®
      Disclaimer:
      This guide will assume that you know what you are doing and also assumes that you have already made a backup of your data before making any changes to your hardware or software. If you have not made a backup STOP HERE! and create one.
      I will not be held responsible for any data loss or any damage you might cause to your computer in the process of installing macOS® on your computer.
      By following this guide, you acknowledge that installing Mac OS X® and macOS® on any hardware that is not produced by Apple® is illegal and you will be responsible if you break any laws.
      All the trademarks and copy rights belong to their respective owners.
      This guide is only for your personal use and your information, therefore if you break any laws by using this manual you will be responsible for it not me. Any commercial use of the contents of this guide is prohibited.
      If I forget to mention your name or someone else’s name in the credits section forgive my negligence and feel free to contact me and I will add your name/s.
      This guide is written specifically for the hardware specifications I’m using, but the principal in general might apply to other hardware with similar specs with the exception of DSDT and SSDT files.
      Important Notes:
      1. Always backup your data before making any changes to your hardware or software.
      2. Always keep a bootable Clover USB disk with the latest working configurations just in case.
      3. I suggest you use another bootable USB for testing and not to edit the EFI folder on the hard drive.
      4. Preferably use the latest BIOS (F21 at the time of writing) version and the latest version of Clover EFI bootloader (4077 at the time of writing).
      5. There are two main versions of Clover EFI bootloader available in this package. One for the users with a nVidia GPU and the other one is for the users with IntelHD 530 GPU.
      6. So many parts of this tutorial are universal and they apply to all Hackintosh and Apple computers, like creating the Bootable USB disk drive or mounting the EFI partition. So, you can use them on all the computers that run macOS or even use them for installing macOS on other Hackintosh computers.
      7. The config.plist, the DSDT.aml file and the SSDT tables are specifically created for the GA-Z170X-Gaming 5 motherboard so do not use them on other hardware because they simply won’t work or even if they do you might experience some problems and errors.
      8. This tutorial is based on my personal experience. So, you might need to make some extra adjustments.
       
      Downloading the macOS® Sierra installer from App Store:
      Download the version of macOS® you want to install on your computer from App Store, macOS® Sierra. For downloading the macOS® installer you’ll need an Apple® computer or a working Hackintosh and a valid Apple ID. Although downloading macOS® Sierra® doesn’t require an Apple ID but if you are going to use your Hackintosh for day to day use you’re going to need a valid Apple ID.
      You can download the macOS® Sierra® installer by using the link below:
      macOS® Sierra® 10.12.5:
      https://itunes.apple.com/us/app/macos-sierra/id1127487414?mt=12&ls=1
      You can also use App Store directly for downloading it. The “Install macOS® Sierra.app” will be saved to the following path once downloaded: /Applications/
       
      Creating bootable USB Disk for macOS®:
      Plug in a USB flash drive (8Gb or larger) and launch disk utility to format the flash drive.
      To create a bootable USB drive for macOS®, everything must be exactly as shown in the picture below.
      Once you successfully formatted the flash drive, open Terminal from /Applications/Utilities:
      Copy and paste the following command into terminal without the “”:
      For macOS® Sierra®:
      “sudo /Applications/Install\ macOS\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ macOS\ Sierra.app —nointeraction” Press return/enter to run the command. You’ll be asked to give your password and once you type your password press return/enter and the process will start.
      Depending on the speed of the USB drive you are using it will take about 5 to 30 minutes to complete the process. It took about 5 minutes on my computer to create the bootable disk on a USB 3.0 flash drive.
       
      How to mount the EFI partition using command line:
      Launch the terminal application again if you closed it previously.
      Type “diskutil list” and press return/enter
      You’ll see list of all the Internal and the external hard drives 
      Type “diskutil mount /dev/diskXsX” and press return/enter
      First X is the number of the disk and the second X is the number of the partition
      In this case the command will be:
      e.g. diskutil mount /dev/disk2s1
      Now you can see the EFI partition of disk6 is mounted on the desktop, if you can’t see the partition on the desktop you can find it in finder window’s “Sidebar” under “Devices”

      BIOS Settings:
      Now it’s time to configure the BIOS before installing macOS®.
      First of all, it’s better to “Load Optimized Defaults” settings on the BIOS so we could start from scratch without having any misconfigurations.
      You need to make the following changes to get macOS® working on your pc:
      BIOS:
      Fast Boot = Disabled
      Windows 8/10 = Windows 8/10 WHQL or Other OS
      CSM Support = Disabled
      Secure Boot = Not Active
      Attempt Secure Boot = Disabled
      Peripherals
      Initial Display Output = PCIe 1 Slot (Only If you are using a nVidia GPU, if you are using an AMD GPU you’ll need to enable IGFX and set it to primary in order to boot into macOS® Sierra®)
      Trusted computing, Security Device Support = Disable
      Super IO Configuration, Serial IO = Disable
      USB Configuration, Legacy USB Support = Enabled
      USB Configuration, XHCI Hand-off = Enabled
      USB Configuration, USB Mass Storage Drive Support = Enabled
      USB Configuration, Port 60/64 Emulation = Enabled
      SATS And RST Configuration = AHCI
      Chipset
      VT-d = Disabled (If you need it add “dart=0” flag to config.plist under Boot section)
      Internal Graphics = Disabled (Only If you are using a discreet GPU if you are using an AMD GPU you’ll need to enable IGFX and set it to primary in order to boot into macOS® Sierra®)
      In Chipset, IOAPIC 24-119 Entries = Disable
      If you are using Intel Graphics or IGFX
      In Chipset, Internal Graphics = Enabled 
      In Chipset, DVMT Pre-Allocated = set it to 64 
      In Chipset, DVMT Total Gfx Mem = set it to max
      Save and Exit.
       
      Installing Clover EFI Bootloader:
      In order to boot successfully into macOS® you’ll need to install a Bootloader on the drive you are using as the main bootable device whether is a flash drive or a hard disk drive.
      There are number of bootloaders that could be used to boot up the macOS® on a PC computer or a Hackintosh but we will only use Clover EFI Bootloader and here is how to properly install and configure Clover EFI Bootloader on your computer.
      In this section, we will be installing the UEFI version of the Clover so if you are using the Legacy BIOS version for whatever reason this guide is not for you.
      You can download the latest version of Clover EFI Bootloader from:
      https://sourceforge.net/projects/cloverefiboot/
      As I mentioned before in the first page of this manual the latest version of the Clover EFI Bootloader is Clover_v2.4k_4077.
       
      Stage 1:
      Once you have downloaded the bootloader double click the installer package to start the installation process. The process will only take few minutes and after that you need to customize or optimize the contents of the EFI partition which you’ve installed clover into. Please make sure you select the USB drive you created earlier as shown below and not the HDD of the computer you are using.
      If you see the following dialog after double clicking the installer package, all you need to do is to right click on the Clover_v2.4k_r4077.pkg and from the menu select open and once more click the open button. 
      Click continue and read the “Important Information” or not and then click continue once more.
      You need to select the location that you want to install Clover EFI Bootloader to.
      Make sure that you are installing clover to the right location, basically you must choose the drive that you have installed macOS® Sierra® onto unless you want to install the bootloader on another drive, say a flash drive.
      Now you need to customize which components of the bootloader to be installed, if not you won’t be able to boot into macOS® at all.
      Check the following items and then click install:
      1. Install for UEFI booting only (Unified Extensible Firmware Interface)
      2. Install Clover in the ESP (EFI System Partition) or (Extensible Firmware Interface System Partition)
      3. Install can also choose a theme for your clover bootloader and the CloverThemeManager.app to change or modify the themes later.
      4. Install Drivers64UEFI that apply to your system you will need at least these two drivers:
      1. EmuVariableUefi-64
      2. OsxAptioFix2Drv-64
      You can also choose other drivers if they apply to your computer and if you need them, otherwise you’re good to go.
      5. You can also install the RC script on the target volume to enable the shell command prompt in clover’s boot screen.
      Once the installation is started, the EFI partition of the hard disk or USB drive that you are installing clover to will be mounted on the desktop, if you can’t see the partition on the desktop you can find it in the finder window’s “Sidebar” under “Devices”
       
      Stage 2:
      In this stage, you need to configure the config.plist and the other components on the EFI partition either by modifying the config.plist inside the /EFI/Clover/ folder using “TextEdit” or any other text editor application that you like or using “Clover Configurator” (recommended) application which has a GUI for editing the config.plist and it has some other useful built-in apps such as EFI mounter or a Base64 to HEX converter etc. or you can just simply replacing the “Clover” folder with the one that is provided with this guide.
      At this moment you might not be familiar with all the settings and options inside the config.plist file and Clover Configurator, no need to worry.
      You can easily replace the whole “Clover” folder inside the “EFI” folder on the EFI partition of your bootable disk (hard disk drive or USB flash drive) with the folder included with this guide and you’ll be good to go as along as your main components specifically your CPU and GPU are the same as mine.
      Otherwise you might need some additional settings and flags to be added to the config.plist.
      For instance, if you are using a NVMe SSD disk drive you’ll need to add proper patches in order to get it to work.
       
      You can find more about clover and its settings at: https://clover-wiki.zetam.org/Home and you can find “Clover Configurator” at: http://mackie100projects.altervista.org
       
      How to enable kext using Clover EFI Bootloader:
      In this section I will briefly explain how to install kexts that are needed to make your macOS® work more properly and efficiently.
      As you know all the hardware components in a computer need a so called “Driver” to operate correctly in the operating system.
      The same principle applies to macOS® and Mac OS X®. We call them “Kext” files or “Extension” files.
      By default, Apple provides all the required kext files with the operating system to run on a legitimate Apple computer.
      On the other hand, on a Hackintosh you need to install some extra kext files created by the community to obtain full functionality of your computer. You can either install them directly to “System/Library/Extensions” folder of macOS® Drive or you can place them into the EFI folder on the EFI partition of your bootable drive, which is a better way because if those files are the modified version of an original kext file that Apple is provided after each major update they will be replaced is the OS and you’ll lose the functionality of that particular component or more components.
      For example, Maxwell and Pascal GPUs have the “Boot to black screen” issue with some SMBIOS settings like iMac17,1, iMac15 and MacPro 6,1 system definitions. It means if you use one of those system definitions your computer will show a black screen after loading macOS® even after installing the nVidiaWebDrivers.
      So, you’ll need to either change the SMBIOS definition or you need to patch the “AppleGraphicsDevicePolicy.kext” to avoid the black screen.
      Once you patch the file with whatever method, if you install macOS® update you’ll need to apply the patch all over again.
      Besides changing the system files in macOS® will mix up the file permission of the files and if it’s not properly installed or if you forget to fix the permission of the files you might render the whole operating system useless and you’ll need to either fix the permissions on the /System/Library/Extensions or for short /S/L/E or you might need to reinstall the whole operating system from scratch. 
      For each version of macOS®, there is a folder inside the following path:
      /EFI/Clover/kext/
      So, you can copy the kexts you need inside the folder that correlates with the version of macOS® you are using.
      Even if you update the OS, the files inside that path won’t get changed.
      How to properly adding kext file to /System/Library/Extensions:
      There are several ways to install additional kexts on macOS, but I will only discuss two methods that are the easiest ways to install kext without having to type any commands in terminal.
       
      Using Kext Utility:
      By using kext utility you can easily install kext files inside /System/Library/Extension.
      All you have to do is to open the Kext Utility app, type in your password and drag the kext file you want to install into the app’s window and it will install them in to the path give above. The good thing about this app is that it will automatically repairs the permission of the /System/Library/Extension folder and the kext files inside it.
      Once the process is done you can reboot the system and see the results.
       
      Kext Wizard:
      Kext wizard is another handy tool with more functions built into it, you can select the path for installing the kexts files even to another operating system on another volume.
      You can repair the permissions and rebuild system kext cache. You can even load kexts files and test them or list the kext that are already loaded in the system.
       
      Post Installation:
      To have a fully functional Hackintosh you need to add the following kext files and DSDT/SSDT files and tables.
      Kexts:
      FakeSMC.kext https://bitbucket.org/RehabMan/os-x-fakesmc-kozlek/downloads/
      Audio:
      AppleALC.kext
      https://github.com/toleda/audio_CloverALC
      Lilu.kext
      https://github.com/vit9696
      CodecCommander.kext v2.4.0 for Audio after sleep
      https://bitbucket.org/RehabMan/os-x-eapd-codec-commander/downloads/RehabMan-CodecCommander-2015-0522.zip
       
      Note:
      Install CodecCommander.kext v. 2.4.0 inside /System/Library/Extensions/ and set darkwake=8 in config.plist to solve the audio after sleep issue.
      I tried installing it inside /EFI/Clover/kexts/10.12 and /EFI/Clover/kexts/Other and it didn’t work.
      I also tried other versions of CodecCommander.kext but none of them worked except for the v. 2.4.0.
      If you don’t want to use Lilu.kext and AppleALC.kext and see the read the “Other methods for activating audio section”.
      realtekALC.kext with https://github.com/toleda/audio_RealtekALC/blob/master/audio_realtekALC-120.command.zip
      audio_cloverHDMI-120_v1.0d.command for HDMI Audio: https://github.com/toleda/audio_CloverHDMI/blob/master/audio_cloverHDMI-120.command.zip
       
      Ethernet:
      AppleIntelE1000e.kext https://sourceforge.net/projects/osx86drivers/files/Kext/Snow_or_Above/AppleIntelE1000e.kext.zip/download
      or
      IntelMausiEthernet.kext https://bitbucket.org/RehabMan/os-x-intel-network/downloads/RehabMan-IntelMausiEthernet-v2-2017-0321.zip
       
      Graphics:
      IntelGraphicsFixup.kext https://sourceforge.net/projects/intelgraphicsfixup/ if you are using the Intel Integrated Graphics 
      Lilu.kext https://github.com/vit9696
      NVidaiGraphicsFixup.kext https://sourceforge.net/projects/nvidiagraphicsfixup/
       
      USB 3.0
      USBInjectAll.kext
      https://bitbucket.org/RehabMan/os-x-usb-inject-all/downloads/RehabMan-USBInjectAll-2017-0517.zip
       
      Note:
      I also tested the system without USBInjectAll.kext and all my USB 2.0 and USB 3.0 ports were fully functional so it’s up to you whether to use it or not.

      VERY IMPORTANT NOTE:
      Before you start using macOS® Sierra®, you need to change the SMBIOS of the config.plist:
      You have to change the SMBIOS settings before starting to use macOS® Sierra®, because the config.plist that is included in this guide doesn’t have a serial number for your Hackintosh, so you won’t be able to use any of Apple’s services without a serial number and a hardware UUID. It’s imperative to do so specially if you are going to use your Hackintosh for daily use. If you don’t change the serial number you won’t be able to use App Store, iCloud, iMessage etc. It’s highly recommended that you use iMac 17,1 SMBIOS as your default. iMac 17,1 and iMac 17,2 models use Skylake processors in Apple's original iMacs.
      For changing the SMBIOS you can use the built-in wizard inside “Clover Configurator” under SMBIOS Section. To open the wizard, click the small magic wand on the right side of the window to use the wizard.
       
      Audio:
      By using the EFI folder included with this guide and by using the patched DSDT/SSDT tables, “AppleALC.kext” and “Lilu.kext” you won’t need to do much to make the audio active on your Hackintosh.
      Just install the macOS® Sierra®, copy the EFI folder and audio is activated by default, HDMI audio will be active once you install nVidiaWebDrivers and restart the computer.
      If the audio didn’t work, you can rebuild prelinked kernel and kexts cache by using the following commands in terminal:
      1. sudo nvram -c 2. sudo purge 3. sudo rm -f /System/Library/Caches/com.apple.kext.caches/Startup/kernelcache && sudo touch /System/Library/Extensions && sudo kextcache -u / sudo update_dyld_shared_cache -force Or you can use “Kext Utility” to repair permissions on /System/Library/Extensions and /Library/Extensions and also it will also rebuilds the system cache for you.
      Kext Utility could be found at:
      http://www.insanelymac.com/forum/index.php?app=core&module=attach&section=attach&attach_id=186603
       
      Note:
      If you see the following output in terminal it means that you forgot to mount the EFI partition, mount it and run the command again.
       
      Other methods for activating the Audio:
      1. audio_codecdetect.command
      This command will give you useful information about the audio chipsets and devices that are available on the system, after you run the command, the output will be like this:
       
      This means that the audio chipset is supported and you can go to the next step of installing the audio using Toleda's scripts.
       
      2. audio_cloverALC-120_v1.0f3.command
      Type in the password and press return/enter
      All you need to do now is to reboot the system and you’ll have audio!
       
      3. HDMI Audio
      For activating the HDMI Audio for you need to run audio_cloverHDMI-120.command
      This command will detect the audio codec for you integrated graphics and discrete GPU and will add the proper SSDT table to /EFI/Cover/ACPI/patched folder
       
      Audio Troubleshooting:
      If after running the audio_cloverHDMI-120_v1.0d.command you see the following statement
       
      It means you either don’t have a patched DSDT.aml file or SSDT tables and no patches are present inside the config.plist so you need to either add the DSDT/SSDT tables or add patches yourself.
      Don’t be alarmed it’s so easy.
      Open clover configurator and after mounting the EFI partition, open the config.plist and add the following patch :
      Under ACPI, DSDT patches select “change HDAS to HDEF” from “List of Patches” and this will add the following code in the config.plist
      </dict> <key>Comment</key> <string>change HDAS to HDEF</string> <key>Disabled</key> <false/> <key>Find</key> <data> SERBUw== </data> <key>Replace</key> <data> SERFRg== </data> </dict> or
      Comment: change HDAS to HDEF
      Find*[HEX] 48444153
      Replace*[HEX]48444546
       
      Graphics:
      This section will be dedicated to nVidia GPUs specially Maxwell and Pascal. If you are using any other nVidia or AMD graphics you can skip this section.
      We tested these instructions on an EVGA 1070 Superclocked GPU and a Gigabyte nVidia GeForce GTX960 GAMING-4GB (Please include the brand for reference).
      As you might know the 10 series nVidia GPUs or Pascal are not compatible with Mac OS X El Capitan and earlier versions of macOS® but 9 series and Maxwell are compatible and they both need nVidiaWebDrivers to be fully functional.
      For macOS® Sierra® 10.12.5 you’ll need to download 378.05.05.15f01
      https://images.nvidia.com/mac/pkg/378/WebDriver-378.05.05.15f01.pkg
      Solution 1:
      If you are looking for an easy way to get the GPU working all you have to is to copy the Lilu.kext and nVidaiGraphicsFixup.kext inside the kext folder in clover EFI bootloader.
      The full path is /EFI/Clover/kext/10.12
      Once you finished installing macOS® and nVidiaWebDrivers you’ll need to add the following flags and setting to the config.plist
      Under “Boot” section add or remove nvda_drv=1 if necessary. I don’t need to use it on my computer. You don’t need to inject anything in “Graphics” section Under “System Parameters” check “NvidiaWeb”   When installing Clover EFI bootloader under “Drivers64UEFI” install “EMUVariableUefi-64” // I also use OsxAptioFix2Drv.efi, never tested without it.
      and that’s it!
       
      Solution 2:
      If you don’t want to use nVidaiGraphicsFixup.kext you only have two options:
      1. Run AGDP-fix.app to edit the “AppleGraphicsDevicePolicy.kext” to fix “Boot to Black Screen” issue 2. Or you can edit the “AppleGraphicsDevicePolicy.kext” manually using terminal. If you choose the second solution for any reason remember after each major update you need to apply the patch all over again.
       
      Wi-Fi:
      TP-Link WDN4800 works out of the box without any hassle.
      The only problem that you might encounter with it is "ATHR: unknown locale: 21" error in the verbose boot.
      The Atheros patch is to avoid the series of "ATHR: unknown locale: 21" messages in the verbose boot which they will be registered in message console's logs and they will make the log file bigger. The patch will fix the WiFi location and will stop the error and therefore there will be no more logs.
      Without the patch, the WiFi will work just the same but with lots of messages in the log.
      If you don’t use the TP-Link WDN4800 you can remove the patch or simply leave it as disabled.
       
      USB 3.0:
      Under Kernel and Kext Patches add the following to “KextsToPatch”:
      This patch will raise the limit of the USB ports from 15 to 26.
      For macOS® Sierra
      Name*: AppleUSBXHCIPCI
      Find* [HEX] : 83bd74ff ffff10
      Replace [HEX] : 83bd74ff ffff1b
      Comment: Raise change 15 port limit to 26 in XHCI kext (100-series)
      MatchOS: 10.12.x
      You also might need to add RehabMan’s “USBInjectAll.kext” to the following path under “/EFI/Clover/kexts/10.12” for macOS® Sierra
      Note:
      If you are using a patched DSDT or SSDT tables you don’t need to use any DSDT patches in clover and the “USBInjectAll.kext” you will have full functional USB 2.0 and USB 3.0 ports. I didn’t test USB 3.1 ports because I have no USB 3.1 device to test it!
      The port limit patch must only be temporary, you will need to create your own custom SSDT-UIAC to only inject the ports you use.
       
      Custom SSDT-UIAC:
      A quick rundown on how to create a custom SSDT-UIAC.
      Add the following patch to your config.plist if you don’t already have the patch.
      <dict> <key>Comment</key> <string>change 15 port limit to 26 in XHCI kext (100-series)</string> <key>MatchOS</key> <string>10.12.x</string> <key>Name</key> <string>com.apple.driver.usb.AppleUSBXHCIPCI</string> <key>Find</key> <data>g710////EA==</data> <key>Replace</key> <data>g710////Gw==</data> </dict> or
       
      Name*: AppleUSBXHCIPCI
      Find* [HEX] : 83bd74ff ffff10
      Replace [HEX] : 83bd74ff ffff1b
      Comment: Raise change 15 port limit to 26 in XHCI kext (100-series)
      MatchOS: 10.12.x
       
      The USBInjectAll.kext provided in this guide needs to be and stay installed.
      Download ioregistryexplorer Version 3.0.3 from http://mac.softpedia.com/get/System-Utilities/IORegistryExplorer.shtml
      or download IOJones which is an alternative to IORegistryExplorer at: https://sourceforge.net/projects/iojones/
      Download MaciASL from https://bitbucket.org/RehabMan/os-x-maciasl-patchmatic/downloads/RehabMan-MaciASL-2017-0117.zip and extract, drag MaciASL.app into /Applications. (Credit RehabMan)
      Download OS-X-USB-Inject-All Master from: (Credit RehabMan)
      https://github.com/RehabMan/OS-X-USB-Inject-All/archive/master.zip
      and extract the zip file.
      Inside the OS-X-USB-Inject-All-master folder you will find SSDT-UIAC-ALL.dsl, copy it to your desktop.
      Open ioregistryexplorer and find your device id by typing XHC in the search field.
      Open SSDT-UIAC-ALL.dsl with MaciASL and find your appropriate device id section.
      Remove all other sections in the SSDT-UIAC-ALL.dsl that do not correspond with your device id leaving just the one section. Skylake does not have a EHCI controller so “HUB1”, ”HUB2”, ”EH01”, "EH02" can be removed and in my case I can also remove "8086_1e31", "8086_8xxx", "8086_9xxx", "8086_9cb1", "8086_9d2f" and "8086_a2af".
      Compile the file to make sure there are no errors in the code and then save the file with “ACPI Machine Language Binary”. 
      Now we turn our attention to ioregistryexplorer, while you have ioregistry open go to the XHC section and take note of the HSxx or SSxx locations that have devices attached. Now plug in a USB 2.0 device into all USB 2.0 you NEED and do the same with USB 3.0 ports with USB 2 and 3 devices and take note of them all.
      Returning back to the SSDT-UIAC-ALL.dsl you will see all ports listed, you need to remove the ones you did not take note of and you can also add a comment to the ones you keep. 
      UsbConnector values = USB 2.0 = 0, USB 3.0 = 3. Internal = 255
      USB 2.0 devices plugged into USB 3.0 ports HSxx are still marked as USB 3.0 = 3.
      Internal devices such as Bluetooth etc are marked as 255
      Once you gone through and done this to all the devices you need and removed the ones you don’t you can save your SSDT-UIAC-ALL.dsl in MaciASL. Make sure you rename it to SSDT-UIAC and that the file format is ACPI Machine Language Binary
      Copy and paste the resulting SSDT-UIAC.aml into your EFI/EFI/CLOVER/ACPI/patched folder.
      Disable the port limit patch in config.plist and add SSDT-UIAC.aml into SortedOrder if needed.
      Reboot.
       
      Open ioregistryexplorer and test the ports you left enabled USB 2 & 3.
      The number of ports you should see in ioreg should be significantly reduced as they are not being injected anymore.
       
      Special Thanks to:
      I would like to thank MaLd0n for providing the patched version of DSDT and SSDT tables and SavageAUS for doing such a great work on helping me to write this tutorial and testing the files and also writing the “Custom SSDT-UIAC” section.
      I also would like to thank:
      Vit9696 for Lilu.kext
      RehabMan for CodecCommander.kext FakeSMC.kext, IntelMausiEthernet.kext, USBInjectAll.kext.
      Toleda for AppleALC.kext, Audio commands and kexts
      netkas for FakeSMC.kext
      lvs1974 for IntelGraphicsFixup.kext and NvidiaGraphicsFixup.kext
      hnak for AppleIntelE1000e.kext
      Mieze for IntelMausiEthernet.kext
      apianti, blackosx, blusseau, dmazar, slice2009 for Clover EFI Bootloader
      http://mackie100projects.altervista.org for Clover Configurator
      Apple Inc. for macOS® and great many other products.
      And many other great people whom make Hackintosh possible!
       
      The hardware I use in my computer:
      Gigabyte GA-Z170X-Gaming 5
      Intel Skylake Core i7 6700K @ 4.0 GHz
      32 GB (4x8 GB) 2666 GSKILL Ripjaws
      EVGA GTX 1070 SC 8 GB -  I switched to AMD RX 580
      Dual Display 23.5"
      Kingston HyperX 240GB SATA III SSD
      250 GB Samsun EVO 850 SSD 
      TP-Link WDN4800 PCIe Wireless Network Adapter
      CoolerMaster Silencio 452 Case
      CoolerMaster Nepton 120XL Liquid Cooler
      CoolerMaster V750 Watts Power Supply
      2x24" Samsung LED Displays + 32" TV
       
      SavageAUS's hardware that was used for testing:
      Gigabyte GA-Z170X-Gaming 5
      Intel Skylake core i7-6700k @ 4Ghz
      32Gb (4 x 8Gb) DDR4 3200 G.Skill Ripjaws
      Gigabyte GTX960 GV-N960WF2OC-4GD
      240Gb Intel SSD
      240Gb Kingston HyperX Savage SSD
      TP-Link WDN4800 WiFi
      Corsair H110i AIO Liquid Cooler
      Corsair RM850i PSU
      Corsair 760t Case
      24" single display Benq GL2450
       
      Please download the PDF version which includes pictures on this guide.
      I hope you find this tutorial helpful.
      Best Regards,
      Cyberdevs
      GA-Z170X-Gaming 5 Release 01 DSDT and SSDT nVidia Version.zip
      GA-Z170X-Gaming 5 Release 01 DSDT and SSDT IntelHD 530 Version.zip
      Installing macOS Sierra on GA-Z170X-Gaming 5 - Final.pdf
      IORegistryExplorer_3.0.3.zip
       
      Updated Clover folders can be found at this post:

      Updated Folders for macOS High Sierra
       
      Updated Folder For macOS Mojave 10.14
       
      OpenCore 0.6.0 Thanks to @5T33Z0
    • By cvad
      View File Bootdisk Utility
      Make bootable USB Flash Disk for MAC OS X with Latest Clover bootloader revision fast and easy by one click! under OS Windows.
      Special utility from cvad & russian MAC community for new hackintosh users.
       
      Enjoy...
       
      For more information and complete instructions please see this topic.
       
      Anyone who likes the program, please support its Community Score.
       
       
      Feel free to "Rate File"
      Submitter cvad Submitted 04/28/2013 Category Bootloaders  
    • By dloprios97
      Hi everyone,

      I'm trying to install MacOS Catalina on the ACER C22-760 (i3 6100U, 520 HD)

      I did all the usual prep to install the system, especially as I've done hackintoshes with the same specs in the past.

      But after the moment it boots up, the screen goes black. So I decided to install the system booted in 0x12345678 and then fix the graphics.

      Long story short, with the installation done I've tried every single combination to fix the graphics and found out that:
      Booting with a 0x12345678, a 1080p monitor is detected, but obviously, no acceleration. Booting only with AAPL,ig-platform-id set to 19160000, the system boots with complete acceleration but no monitor attached into any framebuffer. About this Mac reports a 1280 x 1024 monitor (Found using Anydesk and ioreg remotely.) Changing the connector type to DP or HDMI, Internal o External, platform-id is useless. This system is getting me anxious. Because I don't find any fix for it.
      Someone can help me out? Love ya!
      PD: The system is an All In One with no HDMI port.
      Fernando’s MacBook Pro.ioreg
×