Jump to content

Search the Community: Showing results for tags 'USB Installer'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • InsanelyMac Lounge
    • Front Page News and Rumors
    • Reader News and Reviews
    • Forum Information and Feedback
  • OSx86 Project
    • New Releases and Updates
    • New Users Lounge
    • Developers Corner
    • Tutorials (The Genius Bar)
    • Technical FAQ
    • Installation
    • Post-Installation
    • DSDT and SSDT
    • Hardware Components and Drivers
    • Desktops
    • Notebooks
    • Netbooks
    • Tablets
    • MacMod of the Month
    • Multi-booting and Virtualisation
  • International
    • Your Language
    • Deutsch
    • Español
    • Français
    • Italiano
    • Português
    • Русский
  • Apple World
    • Mac OS X
    • Apple Computers and Hardware
    • iOS Devices
    • Mac Applications
    • Mac Programming and Development
    • iOS Programming and Development
    • Mac Gaming
    • Mac Accessories
  • Discuss and Learn
    • Windows Discussion
    • *nix
    • Apple Opinions and Discussion
    • The Great Debates
    • Internet(s), Servers, and Networks
    • Buying Thoughts, Reviews, and Recommendations
    • Mods and Overclocking
    • The Big Issues [Real Life]
  • Everything Else
    • Creativity
    • Thunderdome (Random Stuff)
    • Laughs
    • The Marketplace

Categories

  • Kexts
    • Graphics Cards
    • Audio
    • LAN and Wireless
    • Other
  • Kernels
  • Bootloaders
  • DSDTs
    • Patches
  • Pandora
  • Apps
  • Miscellaneous
  • Customization

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 9 results

  1. This thread is a walkthrough on how to install High 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 • MY SPECS: 1. Intel Core i7-4770K (De-lidded) 2. EVGA Z97 FTW (ATX) 3. Western Digital VelociRaptor 1TB 4. Corsair Vengeance Pro 16GB DDR3 2400MHz 5. OCZ Vertex 4 512 GB 6. Patriot Dual Bay 2.5" SATA 3.5" drive bay (for SSD) 7. Noctua NH-U12S 8. My case: Modified Apple Powermac G5 9. ASUS BW-12B1ST 10. ASUS GeForce GTX 1070 11. Silverstone SST-ST1200-G Evolution Strider Gold 1200W • WHAT YOU WILL NEED: 1. macOS 10.13 High 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.4k r4220 and up 6. A USB flash drive at least 8 GB 7. Update your system with the latest BIOS • STEP 1: BIOS SETTINGS 1. AHCI mode and CD/DVD first boot priority are set in the BIOS by default. Ensure your settings match these in your Z97 BIOS: a. Go to ADVANCED→ SATA Configuration→ All settings should set at default; notice that your disks won't show up here if they're connected to black Marvell SATA ports. b. Go to BOOT→ Speaker Beep; switch to 'Off'. Change Boot mode select to 'UEFI'. Continue to FIXED Boot ORDER Priorities→ Check if CD/DVD is 1st Boot (Note that your CD drive will not appear unless there is an UEFI enabled CD inside; Scroll down to Hard Disk Drive BBS Priorities to set the boot sequence of the available hard disks (Note that if at least one hard disk is not configured with EFI bootloader then 'Hard Disk Drive BBS Priorities' menu will not show up). Go to CSM Configuration; Launch CSM = 'Disabled'; This enables the bootloader menu screen to load with native HD as specified by your monitor. NOTE: If you are multi-booting with Windows 7, it is MANDATORY that Launch CSM = 'Enabled' (Launch PXE OpROM policy = 'Do not launch', Launch Storage OpROM policy = 'UEFI only', Other PCI device ROM priority = 'UEFI OpROM'); The lack of these settings can cause the following error when starting up your Windows 7 boot drive: Windows failed to start. A recent hardware or software change might be the cause. File: \EFI\Microsoft\Boot\BCD Status: 0xc000000d Info: An error occurred while attempting to read the boot configuration data It will also prevent any non-UEFI boot disks from appearing in the UEFI BIOS (e.g. CD/DVD, Windows 7 USB Keys, etc.) c. Go to ADVANCED→ Power Management→ ACPI Sleep State is S3 only (Suspend to RAM). d. Go to ADVANCED→ Graphics Configuration→ Disable internal graphics. e. Go to ADVANCED→ CPU Configuration; there is no option for Vt-d, so disable Intel Virtualization Technology (during installation). f. Go to ADVANCED→ USB Configuration→ Disable XHCI Mode. g. [OPTIONAL] Go to MEMORY; Under Memory Multiplier Configuration, set Performance Memory Profiles to XMP Profile 1. h. [OPTIONAL] Go to ADVANCED→ H/W Monitor Configuration→ Set all fan speeds to 50%. Save and Reset. • STEP 2: CREATING A BOOTABLE USB TO INSTALL OF HIGH SIERRA 10.13 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: 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: Close Terminal 5. We need to download and install the latest version of Clover r4220+ (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: 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, 10.12 leaving just 'Other'. b. Copy the required kexts Slice’s FakeSMC.kext, VoodooPS2Controller.kext (for PS/2 keyboard), and your ethernet kext (Intel I219-V) IntelMausiEthernet-V2.3.0 or AppleIntelE1000e v3.3.3 to the following directory: /EFI/CLOVER/KEXTS/Other. 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/Other with your networking kext. 7. Use a text editor/plist editor like PlistEdit Pro to modify your config.plist manually. We must apply the following mandatory patches: a. You must add line ACPI/SSDT/DropOem=false in config.plist in order to boot without "Still waiting for root device" error. Add this <dict> entry to EFI/CLOVER/config.plist: <key>ACPI</key> <dict> <key>DSDT</key> <dict> <key>DropOEM_DSM</key> <false/> </dict> b. Use Clover’s built-in kernel patch to automatically apply the code to patch the (new) kernel after each OS X update to prevent reboot loop: <key>KernelAndKextPatches</key> <dict> <key>KernelPm</key> <true/> </dict> <key>Memory</key> <dict> c. AppleAHCIPort Clover patch disables orange drive icons. Add this <dict> entry to the config.plist: <key>KextsToPatch</key> <array> <dict> <key>Comment</key> <string>External icons patch</string> <key>Find</key> <data> RXh0ZXJuYWw= </data> <key>Name</key> <string>AppleAHCIPort</string> <key>Replace</key> <data> SW50ZXJuYWw= </data> </dict> </array> 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' & 'Pascal' 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) 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. SIP must be partially disabled at the least, to install anything (i.e., kexts) into protected system folders, but as of High Sierra beta, the old string "0x3" has resulted in errors later on in boot. Add this <dict> entry to the config.plist: <key>RtVariables</key> <dict> <key>BooterConfig</key> <string>0x28</string> <key>CsrActiveConfig</key> <string>0x3FF</string> </dict> i. Audio Fix. This Haswell board comes with a Realtek ALC898 audio chip. In order to use AppleALC/CloverALC (discussed further in this guide), you must add the following patch in the config.plist: <key>KextsToPatch</key> <array> <dict> <key>Comment</key> <string>t1-10.9-10.11-AppleHDA/Realtek ALC898</string> <key>Find</key> <data> ixnUEQ== </data> <key>Name</key> <string>AppleHDA</string> <key>Replace</key> <data> mQjsEA== </data> </dict> </array> j. Drop ACPI MATS/DMAR tables. Drop the DMAR table if VT-d isn’t disabled in UEFI settings. MATS has been known to prevent some from booting into 10.13 so it can be dropped as well: <key>ACPI</key> <key>DropTables</key> <array> <dict> <key>Signature</key> <string>MATS</string> </dict> <dict> <key>Signature</key> <string>DMAR</string> </dict> </array> NOTE: Without dropping the tables the following error may occur: Attempting System Restart...MACH Reboot 8. Preparing OS X partition. Download macOS v10.13.0 High Sierra [17A365] [Mac App Store] and Right-click "Install macOS High Sierra" will be in /Applications. a. Go to → Show Package Contents → Contents → SharedSupport. b. You will now see an image called "BaseSystem.dmg" appear in the folder. 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 c. 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"... d. 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. e. Open "SharedSupport" folder and copy BaseSystem.chunklist, BaseSystem.dmg, AppleDiagnostics.chunklist, and AppleDiagnostics.dmg to the volume root. f. Remove the "Install macOS High Sierra.app" from the volume root and replace it with the full version (>5GB) in the Applications folder where it downloaded. NOTE: Skipping this step causes the following error when booting the installation: The path /System/Installation/Packages/OSInstall.mpkg appears to be missing or damaged g. Create a new folder named "Kernels" in System/Library on the USB stick. Use Pacifist v.3.2.17+ to extract "kernel" from " SharedSupport /InstallESD/Packages/Core.pkg [/system/Library/Kernels/kernel]" and place "kernel" into System/Library/Kernels/ location. h. With the USB installer ready, remember before restarting system to change boot priority of USB stick to first to install High Sierra on the hard disk of choice. i. Highlight and select the USB installer from the bootloader menu screen to begin the installation. j. Once the installer has finished, it will automatically restart the system. Boot from the USB installer and select the drive where you installed High Sierra to continue the rest of the installation. • STEP 3: macOS 10.13 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. Agree to "Terms and Conditions." e. Enter your name, password, and hint and Continue. f. On "Express Set Up" access "Customize Settings." g. Do not "Enable Location Services on this Mac." h. Set your time zone, do not "Share Mac Analytics with Apple", and do not "Enable Siri". i. Wait a moment for the macOS desktop to load. j. When prompted to backup any disk with Time Machine, click on the "Don't Use" button. • STEP 4: macOS 10.13 Post-Installation (Continued) 1. Install macOS 10.13 Supplemental and reboot. 2. macOS High Sierra doesn’t allow unsigned apps to run that did not come from 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. 3. Mount the EFI partition of the USB stick with EFI Mounter v1.2.3 and copy the 'EFI' folder to the EFI partition of High Sierra boot disk. 4. Install Clover v2.4k on the High 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. 5. Edit the config.plist from your boot disk in EFI/CLOVER/ by adding the following <dict> entries: a. Method for Enabling NVIDIA Web Drivers. Boot flag nvda_drv=1 doesn't work in config.plist to enable Web Drivers. The setting under System Parameter in Clover called "NvidiaWeb" is what's used 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 "HISIERRA" 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.13 High 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: YOU HAVE BEEN WARNED. NOTE: Having more than one Windows installation will cause multiple "Boot Microsoft EFI boot menu from EFI" items to appear In the Clover bootloader menu. To change its volume name that Clover shows it requires identifying its individual GUID and adding it as a 'string' under the Volume <key> tag. Launch the Terminal and type the following into the command line: diskutil list A list of drives will populate along with sublist of its partition scheme. Now look for the partition generally listed under your Windows disk as "EFI - NO NAME". E.g., my disk is "0" and the EFI partition is "2". I would type the following into terminal: diskutil info disk0s2 [replace 0 and 2 according to your drive and partition number] It will then printout all the info specific to that partition. All you need to use is the "Disk / Partition UUID", NOT the Volume UUID. <key>GUI</key> <dict> <key>Custom</key> <dict> <key>Entries</key> <array> <dict> <key>Volume</key> <string>A7649550-D460-49CF-9531-829D58F123DC</string> <key>FullTitle</key> <string>Windows 8</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>6CEDEB66-8DE8-420C-BA76-2F0CF3E84250</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>HISIERRA</string> <key>FullTitle</key> <string>macOS 10.13 High 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> d. USB patch. High Sierra 10.13 requires the port limit to be raised in order for USB 3.0 ports to be recognized. This process involves installing FakePCIID.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 20 in XHCI kext (9-series) 10.12</string> <key>Find</key> <data>g710////EA==</data> <key>Name</key> <string>AppleUSBXHCIPCI</string> <key>Replace</key> <data>g710////FQ==</data> </dict> </array> Be sure to copy FakePCIID.kext and FakePCIID_XHCIMux.kext to /EFI/CLOVER/KEXTS/Other. NOTE: Set 'XHCI Mode' to Smart Auto in the BIOS to enable USB 3.0. 6. 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 High 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: Look for "Recovery HD" and see which identifier it 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 High Sierra partition: diskutil mergePartitions HFS+ HISIERRA 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. 7. NVIDIA graphics cards 'Maxwell'+ currently lack native support in macOS 10.13. a. Install NvidiaGraphicsFixup.kext and latest version of Lilu; Temporarily enable SIP to update drivers to avoid error and Web Driver installation failure. NOTE: Skipping this step may cause a black screen and/or the following error when booting the installation: IOConsoleUsers: gIOScreenLockState 3, hs 0, bs 0, nov 0, sm 0x0 flashing at the top of the screen when restarting after installing NVIDIA Web Drivers. b. Download and install NVIDIA Web Driver 378.10.10.10.15.117 / NVIDIA Web Driver 378.10.10.10.15.120 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. 8. Reboot using the USB installer and choose the High Sierra install drive. 9. Download CUDA 9.0.197 / CUDA 9.0.214 drivers (increases GPU computing performance) needed for 10.13 support and install. 10. [OPTION 1] Install AppleALC to enable native audio by injecting the layout id supported for ALC898 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 1 (or 2 or 3). <key>Devices</key> <dict> <key>Audio</key> <dict> <key>Inject</key> <integer>1</integer> </dict> b. Download the latest version of AppleALC (v1.2.0) and copy it to CLOVER/kexts/Other. 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 ALC898 AppleHDA Audio (by Toleda): a. Mount EFI partition, verify "Disable SIP" entry CsrActiveConfig=0x3FF 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 macOS 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. Creating a DSDT (Refer to MaLd0n) 12. 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 Haswell.cfg 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 Haswell.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 14. Installing the following kexts/widget is optional. Mount the EFI partition to copy the kexts into the /EFI/CLOVER/KEXTS/Other folder. Install the widget using Launchpad → Dashboard: ○ HWSensors 6.23.1417: Helps you monitor CPU, memory, disks, network, temperatures, fans, load/uptime, and processes. NO COMPATIBLE VERSION FOR 10.13 I KNOW OF! 15. Install iStat Pro 4.9, 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. • 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 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. 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. 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. 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.
  2. This thread is a walkthrough on how to to install Yosemite. These are fully detailed instructions to make it easier for newbs. PLEASE DO NOT PM ME FOR HELP. REPLY TO THIS GUIDE BELOW. THANKS Here are my system specs below: Intel Core i7-4770K (De-lidded) EVGA Z87 FTW (ATX) Silverstone SST-ST1200-G Evolution Strider Gold 1200W Noctua NH-U12S ASUS BW-12B1ST Western Digital VelociRaptor 500GB OCZ Vertex 4 512 GB Patriot Dual Bay 2.5" SATA 3.5" drive bay (for SSD) EVGA GeForce GTX680 SC Corsair Vengeance Pro 16GB DDR3 2400MHz My case: Modified Apple Powermac G5 What is needed: The attachment and links to essential software included in this thread 8GB+ USB Stick OS X 10.10.0 Yosemite (14A389) Another Mac computer Update to the latest BIOS A computer running an Intel Processor STEP 1: BIOS SETTINGS for Z87 1. AHCI mode and CD/DVD first boot priority are set in the BIOS by default. Ensure your settings match these in your Z87 BIOS: a. Go to ADVANCED → SATA Configuration → All settings should set at default; notice that your disks won’t show up here if they’re connected to black Marvell SATA ports b. Go to BOOT→ Set Boot Priority→ Set CD/DVD is 1st Boot and USB Key as 2nd Boot; Go to Hard Disk Drive BBS Priorities to set the boot sequence of the available hard disks. c. Go to OVERCLOCK → CPU Configuration; there is no option for Vt-d, so disable Intel Virtualization Technology (during the installation). d. Go to ADVANCE→ USB Configuration; XHCI Mode = Smart Auto, XHCI Hand-off = Enabled, EHCI Hand-off = Enabled. e. [OPTIONAL] Go to MEMORY; Under Memory Multiplier Configuration, set Performance Memory Profiles to XMP Profile 1. Save and Reset. STEP 2: CREATING A BOOTABLE USB TO INSTALL OF YOSEMITE 10.10 FOR Z87 1. Download OS X v10.10.0 (14A389) Mavericks [Mac App Store] and Right-click "Install OS X Yosemite" → Show Package Contents → Contents → ShareSupport → Double click to mount "InstallESD.dmg". 2. Once "OS X Install ESD" appears, use ShowHiddenFiles to show hidden files. 3. Now you will see an image called "BaseSystem.dmg" appear. Mount it by right-clicking and opening it with DiskImageMounter... Get prepared to use the USB stick with at least 8GB. 4. Open Disk Utility, and format the USB stick by highlighting its icon on the left and clicking the Partition tab, click Current, and choose 1 Partition. 5. Click Options... Choose Master Boot Record. No need to name it (the default's OK), choose Mac OS Extended (Journaled) as its format type. Click Apply then Partition. 6. 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 [untitled] partition (you just created) to the "Destination" field where you will restore the image: click "Restore" then "Erase"... 7. 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. 8. On the remaining volume "OS X Base System" (USB stick), go to System/Installation and delete Packages symlink. 9. Open "OS X Install ESD" in a new Finder window, and copy the Packages folder to System/Installation folder inside "OS X Base System". 10. Copy BaseSystem.chunklist and BaseSystem.dmg from "OS X Install ESD" and copy it to the volume root. 11. 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. 12. CPU power management is handled directly by the BIOS and not with AppleIntelCPUPowerManagement.kext. Booting the USB installer on a Haswell system will be followed by an instant reboot. To resolve the early reboot problem for Haswell: a. Patch the vanilla kernel located on your USB installer: Drag and copy kernel from the USB installer to the desktop. Open Terminal and type: cd ~/Desktop Apply the following perl script by copying and pasting into Terminal: #1: perl -pi -e 's|\xe2\x00\x00\x00\x02\x00\x00\x00|\x00\x00\x00\x00\x02\x00\x00\x00|g' kernel #2: perl -pi -e 's|\xe2\x00\x00\x00\x4c\x00\x00\x00|\x00\x00\x00\x00\x4c\x00\x00\x00|g' kernel #3: perl -pi -e 's|\xe2\x00\x00\x00\x90\x01\x00\x00|\x00\x00\x00\x00\x90\x01\x00\x00|g' kernel b. Replace the kernel with the patched version on your USB installer. 13. Now copy both NullCPUPowerManagement.kext, FakeSMC.kext (Extra_MacPro3,1.zip), and VoodooPS2Controller.kext into System/Library/Extensions of "OS X Base System". 14. Delete following kexts from System/Library/Extensions/: AppleIntelCPUPowerManagement.kext and AppleIntelCPUPowerManagementClient.kext 15. If using more than 4GB of ram remove AppleTyMCEDriver.kext from S/L/E; it blocks booting on WD RE3 disks and causes following kernel panic: AppleTyMCEDriver::start coreVIDPID = 0xffffffff Number of packages = 1 Number of cpus = 8 memory 16. Extract OSInstaller(MBR)+OSInstall.mpkg 10.10.x, and copy and replace OSInstall.mpkg [patched for MBR] into System/Installation/Packages, and copy and replace OSInstall [patched for MBR] into System/Library/PrivateFrameworks/OSInstaller.framework/Versions/A/OSInstaller folder. 17. Download and install Chameleon 2.3svn r2437. Remember to click on "Change Install Location" and select the USB stick ("OS X Base System") as destination, or they will be installed on the running system. a. Unzip the Extra_MacPro3,1 zip file and drag the Extra folder to the root of USB boot. 18. Use ShowHiddenFiles to hide the hidden files, and quit the application. 19. With the USB installer ready, remember before restarting system to change boot priority of USB stick to first, and boot with the flag -f npci=0x2000 and install Yosemite on the hard disk of choice. 20. Once installer is finished, it will automatically restart the system. Boot from the USB installer and select the drive where you installed Yosemite and type kernel boot flag -f npci=0x2000. [NOTE: If you receive a "CMOS checksum error"; simply reapply the ACHI settings back into the BIOS, save and exit.] 21. After installing 10.10, the drive it's on will hold a vanilla kernel. You will need to replace it with the patched version to prevent the instant reboot problem from reoccurring. Copy over a patched kernel onto the root of a secondary USB stick. Use the USB installer to access Terminal and type the following commands: a. Verify secondary USB stick location: § diskutil list b. Mount it: § diskutil mount /dev/diskXsY e.g.: diskutil mount /dev/disk2s1 Terminal will confirm the name of the disk mounted c. Select directory of USB stick's root: § cd /Volumes/USBStick/ e.g.: cd /Volumes/”NO NAME”/ d. Copy over patched kernel § cp kernel "/Volumes/NameOfOSXDisk/System/Library/Kernels/kernel" § e.g.: cp kernel "/Volumes/YOSE/System/Library/Kernels/kernel" 22. Now restart using the USB installer and select the Yosemite install drive at the boot menu screen and boot with flag -v npci=0x2000. STEP 3: Mac OS X 10.10 Post-Installation on Z87 1. As the system is loading, you'll be prompted to the Mac OS X 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. Agree to “Terms and Conditions”. e. Enter your name, password, and hint and Continue. f. Wait a moment for the OS X desktop to load. g. When prompted to back up any disk with Time Machine, click on the "Don't Use" button. STEP 4: Mac OS X 10.10 Post-Installation on Z87 (Continued) 1. Install Chameleon 2.3svn r2437 on the Yosemite install partition you plan to boot from. 2. Copy the Extra folder from the USB stick to the root Yosemite partition and reboot Yosemite using -f npci=0x2000 without the USB stick. 3. Edit the Boot.plist in the Extra folder with the following lines: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>DropSSDT</key> <string>Yes</string> <key>EHCIacquire</key> <string>Yes</string> <key>EthernetBuiltIn</key> <string>Yes</string> <key>ForceHPET</key> <string>No</string> <key>GenerateCStates</key> <string>Yes</string> <key>GeneratePStates</key> <string>Yes</string> <key>Instant Menu</key> <string>Yes</string> <key>Kernel</key> <string>/System/Library/Kernels/kernel</string> <key>Kernel Flags</key> <string>-f npci=0x2000 kext-dev-mode=1 nvda_drv=1</string> <key>Legacy Logo</key> <string>No</string> <key>PCIRootUID</key> <string>1</string> <key>PCIRoot</key> <string>1</string> <key>Rescan</key> <string>Yes</string> <key>Theme</key> <string>Default</string> <key>Timeout</key> <string>1</string> <key>UHCIreset</key> <string>Yes</string> <key>USBBusFix</key> <string>Yes</string> <key>Wake</key> <string>Yes</string> </dict> </plist> Remember to remove any variation of the following lines: <key>SMBIOS</key> <string>Extra/smbios.plist</string> or <key>SMBIOS</key> <string>smbios.plist</string> It restores your correct system profile instead of the "iMac Summer 2001/SOMESRLNUMBER" model. The bootloader automatically reads the Smbios.plist in the Extra folder by default. 4. Use Chameleon Wizard 4.3.2 to generate new SMBios.plist with a VALID serial. 5. Download Nvidia Mac Quadro Certified Drivers 343.01.01f01 to enable NVIDIA Graphics Cards that don't work OOB. This fixes OpenCL & allows GK110B cards to NOT crash for Preview, etc. Install the drivers and restart. a. Go to the NVIDIA Driver Manager menu bar at the top, change the settings to use Web drivers, and restart. 6. Download and install CUDA 6.5.25 drivers (increases GPU computing performance) needed for 10.10 support. 7. Create a SSDT (Secondary System Description Table) to configure the maximum clock speed. a. Download the Pike’s script (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., i7-980 type code: sudo /Users/"YourUsername"/Desktop/ssdtPRGen.sh -TURBO 3600 Type your password when prompted and press Enter. a. A decompiled file called SSDT.aml will generate in a hidden folder "tmp". Type "open /tmp" (no quotations) to reveal its location and place it into your Extra folder. b. Make sure your Boot.plist has GeneratePStates/GenerateCStates to Yes and just set DropSSDT to Yes. It makes the generic SSDT match the processor TDP and desired top turbo freq. 8. Install the following kext in the Extra/Extensions folder and afterwards use Kext Utility to repair permissions: a. AHCI_3rdParty_SATA (Orange Icon Fix) b. AppleIntelE1000e 3.0.4.1 (Intel Wired Ethernet) c. [OPTIONAL] HWSensors 6.11.1328 Binaries (with FakeSMC) § Helps you monitor CPU, memory, disks, network, temperatures, fans, load/uptime, and processes. § 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. 9. Install the following kexts associated with Realtek ALC898 AppleHDA Audio (by Toleda) in the S/L/E folder and afterwards use Kext Utility to repair permissions: a. Patch in Place (native AppleHDA.kext) – 10.10+ § Download audio_realtekALC-100.command.zip and extract "audio_realtekALC-100.command" folder. § Verify Kernel flag kext-dev-mode=1 is in Boot.plist and AppleHDA.kext is native (vanilla) before running (double-click) "audio_realtekALC-100.command". § The patched kext will automatically be generated in a folder called "audio_ALC898-10.10" on the desktop. b. No DSDT/Audio Kext Enabler (HDAEnabler1.kext - Audio ID injection). HDAEnabler1.kext injects Audio_ID = 1 for non-DSDT systems. 10. The following features are enabled by default without any additional patching needed: § No DSDT needed § USB 3.0 works OOB § Sleep and Auto-sleep (standby mode) work OOB § Shutdown works OOB § Bluetooth works OOB 11. Use the following scripts to patch the AppleIntelCPUPowerManagement.kext to work with locked wrmsr BIOS: a. Download the patch and extract its content to the desktop. b. Type: cd (space after "cd"), and drag the AICPMPatch folder onto the Terminal, press Enter. c. Search out wrmsr (list) § perl AICPMPatch.pl /System/Library/Extensions/AppleIntelCPUPowerManagement.kext/Contents/MacOS/AppleIntelCPUPowerManagement d. Patch wrmsr § sudo perl AICPMPatch.pl /System/Library/Extensions/AppleIntelCPUPowerManagement.kext/Contents/MacOS/AppleIntelCPUPowerManagement --patch e. Lastly, update cache § sudo touch /System/Library/Extensions f. Remove NullCPUPowerManagement.kext (and any equivalents) from E/E, repair permissions and reboot with -v boot flag. Apple's native SpeedStep drivers will initiate after rebooting the system. 12. It is recommended to patch the vanilla AppleRTC.kext found in S/L/E, an unconditional jump over the rtcWrites() in updateChecksum() to prevent CMOS resets. Apply the following perl script by copying and pasting it into Terminal: a. sudo perl -pi -e 's|\x75\x2e\x0f\xb6|\xeb\x2e\x0f\xb6|' /System/Library/Extensions/AppleRTC.kext/Contents/MacOS/AppleRTC STEP 5: Updating to 10.10.1 1. Download OS X Yosemite 10.10.1 Update, install, and reboot. 2. 10.10.1 restores the vanilla kernel, causing the early reboot issue that prevents you from accessing Yosemite. Download the patched kernel for 10.10.1 and replace it with the version located on the root of the OS X installation disk. Follow Step 2 #21. 3. Remove AppleTyMCEDriver.kext from S/L/E to prevent "AppleTyMCEDriver::start…" kernel panic caused by using more than 4GB of ram. 4. After reboot, a popup window prompts you to download and install the latest web driver. NVIDIA Web Driver 343.01.02f01 is optional if native graphics kexts are compatible. 5. Download CUDA 6.5.37 drivers needed for 10.10.1 support from NVIDIA and install. 6. Repatch AppleIntelCPUPowerManagement, refer to Step 4 #11. 6. Repatch AppleRTC.kext, refer to Step 4 #12. 7. Reinstall audio, replacing AppleHDA with the patched version, and reboot for changes to take effect. STEP 6: Updating to 10.10.2 1. Download and install OS X Yosemite 10.10.2 Combo Update. 2. 10.10.2 restores the vanilla kernel, causing the early reboot issue that prevents you from accessing Yosemite. Download the patched kernel for 10.10.2 and replace it with the version located on the root of the OS X installation disk. Follow Step 2 #21. 3. Remove AppleTyMCEDriver.kext from S/L/E to prevent "AppleTyMCEDriver::start…" kernel panic caused by using more than 4GB of ram. 4. After reboot, a popup window prompts you to download and install the latest web driver. NVIDIA Web Driver 343.02.02f01 is optional if native graphics kexts are compatible. 5. Download CUDA 6.5.45 drivers needed for 10.10.2 support from NVIDIA and install. 6. Repatch AppleIntelCPUPowerManagement, refer to Step 4 #11. 7. Repatch AppleRTC.kext, refer to Step 4 #12. 8. Reinstall audio, replacing AppleHDA with this patched version, and reboot for changes to take effect. STEP 7: Updating to 10.10.3 1. Download and install OS X Yosemite 10.10.3 Combo Update. 2. 10.10.3 restores the vanilla kernel, causing the early reboot issue that prevents you from accessing Yosemite. Download the patched kernel for 10.10.3 and replace it with the version located on the root of the OS X installation disk. Follow Step 2 #21. 3. Remove AppleTyMCEDriver.kext from S/L/E to prevent "AppleTyMCEDriver::start…" kernel panic caused by using more than 4GB of ram. 4. After rebooting, it will result in 'No Display' signal. Apple has released OS X Yosemite 10.10.3 Supplemental Update 1.0 to fix the video driver bug. Type kernel boot flag nv_disable=1 to log in. Download, install it and restart. 5. You will still not be able to boot on Z87 without nv_disable=1 kernel flag. All of the graphics kexts need to be moved for a later patch. Open Terminal, run the following commands: sudo -s mkdir /kext_backup cd /System/Library/Extensions mv AppleIntelHD* AppleIntelSNB* AMDRadeon* ATI* GeForce* NVDA* /kext_backup 6. Copy modded AppleGraphicsControl.kext into S/L/E and repair permissions with Kext Utility. 7. You should have noticed a popup window will prompt you to download and install the latest web driver. NVIDIA Web Driver 346.01.02f02 is required because 10.10.3 breaks compatibility with native graphics kexts NOTE: Remember to add kernel flag nvda_drv=1 in Boot.plist and go to the NVIDIA Driver Manager menu bar at the top, change the settings to use Web drivers, and restart. 8. Download CUDA 7.036 drivers needed for 10.10.3 support from NVIDIA and install. 9. Repatch AppleIntelCPUPowerManagement, refer to Step 4 #11. 10. Repatch AppleRTC.kext, refer to Step 4 #12. 11. Reinstall audio, replacing AppleHDA with this patched version, and reboot for changes to take effect. STEP 8: Updating to 10.10.4 1. Download and install OS X Yosemite 10.10.4 Combo Update. 2. 10.10.4 restores the vanilla kernel, causing the early reboot issue that prevents you from accessing Yosemite. Download the patched kernel for 10.10.4 and replace it with the version located on the root of the OS X installation disk. Follow Step 2 #21. 3. Remove AppleTyMCEDriver.kext from S/L/E to prevent "AppleTyMCEDriver::start…" kernel panic caused by using more than 4GB of ram. 4. After rebooting, it will result in 'No Display' signal. Type kernel boot flag nv_disable=1 to log in. 5. All of the graphics kexts need to be moved for a later patch. Open Terminal, run the following commands: sudo -s mkdir /kext_backup cd /System/Library/Extensions mv AppleIntelHD* AppleIntelSNB* AMDRadeon* ATI* GeForce* NVDA* /kext_backup 6. Copy modded AppleGraphicsControl.kext into S/L/E and repair permissions with Kext Utility. 7. You should have noticed a popup window will prompt you to download and install the latest web driver. NVIDIA Web Driver 346.01.03f01 is required because 10.10.4 breaks compatibility with native graphics kexts NOTE: Remember to add kernel flag nvda_drv=1 in Boot.plist and go to the NVIDIA Driver Manager menu bar at the top, change the settings to use Web drivers, and restart. 8. Download CUDA 7.052 drivers needed for 10.10.4 support from NVIDIA and install. 9. Repatch AppleIntelCPUPowerManagement, refer to Step 4 #11. 10. Repatch AppleRTC.kext, refer to Step 4 #12. 11. Reinstall audio, replacing AppleHDA with this patched version, and reboot for changes to take effect. 12. Download and install the latest web driver update NVIDIA Web Driver 346.02.02f02. 13. Download and install an updated version of Chameleon-2.3svn-r2716 on the Yosemite boot disk or partition you plan to boot from. 14. Download and install the latest web driver update NVIDIA Web Driver 346.02.02f03. STEP 9: Updating to 10.10.5 1. Download and install OS X Yosemite 10.10.5 Combo Update. 2. 10.10.5 restores the vanilla kernel, causing the early reboot issue that prevents you from accessing Yosemite. Download the patched kernel for 10.10.5 and replace it with the version located on the root of the OS X installation disk. Follow Step 2 #21. 3. Remove AppleTyMCEDriver.kext from S/L/E to prevent "AppleTyMCEDriver::start…" kernel panic caused by using more than 4GB of RAM. 4. After rebooting, it will result in 'No Display' signal. Type kernel boot flag nv_disable=1 to log in. a. All of the graphics kexts need to be moved for a later patch. Open Terminal, run the following commands: sudo –s mkdir /kext_backup cd /System/Library/Extensions mv AppleIntelHD* AppleIntelSNB* AMDRadeon* ATI* GeForce* NVDA* /kext_backup b. Copy modded AppleGraphicsControl.kext into S/L/E and repair permissions with Kext Utility. 5. You should have noticed a popup window will prompt you to download and install the latest web driver. NVIDIA Web Driver 346.02.03f01 is required because 10.10.5 breaks compatibility with native graphics kexts. NOTE: Remember to add kernel flag nvda_drv=1 in Boot.plist and go to the NVIDIA Driver Manager menu bar at the top, change the settings to use Web drivers, and restart. 6. Download CUDA 7.0.61 drivers needed for 10.10.5 support from NVIDIA and install. 7. Repatch AppleIntelCPUPowerManagement, refer to Step 4 #11. 8. Repatch AppleRTC.kext, refer to refer to Step 4 #12. 9. Reinstall audio, replacing AppleHDA with this patched version, and reboot for changes to take effect. Extra_MacPro3,1.zip
  3. 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 • MY SPECS: 1. Intel Core i7-4770K (De-lidded) 2. EVGA Z97 FTW (ATX) 3. Western Digital VelociRaptor 1TB 4. Corsair Vengeance Pro 16GB DDR3 2400MHz 5. OCZ Vertex 4 512 GB 6. Patriot Dual Bay 2.5" SATA 3.5" drive bay (for SSD) 7. Noctua NH-U12S 8. My case: Modified Apple Powermac G5 9. ASUS BW-12B1ST 10. EVGA GeForce GTX680 SC 11. Silverstone SST-ST1200-G Evolution Strider Gold 1200W • 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. AHCI mode and CD/DVD first boot priority are set in the BIOS by default. Ensure your settings match these in your Z97 BIOS: a. Go to ADVANCED→ SATA Configuration→ All settings should set at default; notice that your disks won't show up here if they're connected to black Marvell SATA ports. b. Go to BOOT→ Speaker Beep; switch to 'Off'. Change Boot mode select to 'UEFI'. Continue to FIXED Boot ORDER Priorities→ Check if CD/DVD is 1st Boot (Note that your CD drive will not appear unless there is an UEFI enabled CD inside; Scroll down to Hard Disk Drive BBS Priorities to set the boot sequence of the available hard disks (Note that if at least one hard disk is not configured with EFI bootloader then 'Hard Disk Drive BBS Priorities' menu will not show up). Go to CSM Configuration; Launch CSM = 'Disabled'; This enables the bootloader menu screen to load with native HD as specified by your monitor. NOTE: If you are multi-booting with Windows 7, it is MANDATORY that Launch CSM = 'Enabled' (Launch PXE OpROM policy = 'Do not launch', Launch Storage OpROM policy = 'UEFI only', Other PCI device ROM priority = 'UEFI OpROM'); The lack of these settings can cause the following error when starting up your Windows 7 boot drive: Windows failed to start. A recent hardware or software change might be the cause. File: \EFI\Microsoft\Boot\BCD Status: 0xc000000d Info: An error occurred while attempting to read the boot configuration data It will also prevent any non-UEFI boot disks from appearing in the UEFI BIOS (e.g. CD/DVD, Windows 7 USB Keys, etc.) c. Go to ADVANCED→ Power Management→ ACPI Sleep State is S3 only (Suspend to RAM). d. Go to ADVANCED→ Graphics Configuration→ Disable internal graphics. e. Go to ADVANCED→ CPU Configuration; there is no option for Vt-d, so disable Intel Virtualization Technology (during installation). f. Go to ADVANCED→ USB Configuration→ Disable XHCI Mode. g. [OPTIONAL] Go to MEMORY; Under Memory Multiplier Configuration, set Performance Memory Profiles to XMP Profile 1. h. [OPTIONAL] Go to ADVANCED→ H/W Monitor Configuration→ Set all fan speeds to 50%. Save and 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: 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: 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: 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, VoodooPS2Controller.kext (for PS/2 keyboard), and your ethernet kext (Intel I219-V) IntelMausiEthernet-V2.2.0 or AppleIntelE1000e v3.3.3 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. 7. Use a text editor/plist editor like PlistEdit Pro to modify your config.plist manually. We must apply the following mandatory patches: a. You must add line ACPI/SSDT/DropOem=false in config.plist in order to boot without "Still waiting for root device" error. Add this <dict> entry to EFI/CLOVER/config.plist: <key>ACPI</key> <dict> <key>DSDT</key> <dict> <key>DropOEM_DSM</key> <false/> </dict> b. Use Clover’s built-in kernel patch to automatically apply the code to patch the (new) kernel after each OS X update to prevent reboot loop: <key>KernelAndKextPatches</key> <dict> <key>KernelPm</key> <true/> </dict> <key>Memory</key> <dict> c. AppleAHCIPort Clover patch disables orange drive icons. Add this <dict> entry to the config.plist: <key>KextsToPatch</key> <array> <dict> <key>Comment</key> <string>External icons patch</string> <key>Find</key> <data> RXh0ZXJuYWw= </data> <key>Name</key> <string>AppleAHCIPort</string> <key>Replace</key> <data> SW50ZXJuYWw= </data> </dict> </array> 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 1, 2, & 3) since 10.11 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 Haswell board comes with a Realtek ALC898 audio chip. In order to use AppleALC/CloverALC (discussed further in this guide), you must add the following patch in the config.plist: <key>KextsToPatch</key> <array> <dict> <key>Comment</key> <string>t1-10.9-10.11-AppleHDA/Realtek ALC898</string> <key>Find</key> <data> ixnUEQ== </data> <key>Name</key> <string>AppleHDA</string> <key>Replace</key> <data> mQjsEA== </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. Use ShowHiddenFiles to hide the hidden files, and quit the application. k. 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. l. Highlight the USB installer from the bootloader menu screen and type kernel boot flag nv_disable=1 to avoid a blank screen (for Maxwell+ GPU's), resulting in 'No Display' signal. m. Once the installer is finished, it will automatically restart the system. Boot from the USB installer and select the drive where you installed Sierra. • 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 name, password, 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: YOU HAVE BEEN WARNED. NOTE: Having more than one Windows installation will cause multiple "Boot Microsoft EFI boot menu from EFI" items to appear In the Clover bootloader menu. To change its volume name that Clover shows it requires identifying its individual GUID and adding it as a 'string' under the Volume <key> tag. Launch the Terminal and type the following into the command line: diskutil list A list of drives will populate along with sublist of its partition scheme. Now look for the partition generally listed under your Windows disk as "EFI - NO NAME". E.g., my disk is "0" and the EFI partition is "2". I would type the following into terminal: diskutil info disk0s2 [replace 0 and 2 according to your drive and partition number] It will then printout all the info specific to that partition. All you need to use is the "Disk / Partition UUID", NOT the Volume UUID. <key>GUI</key> <dict> <key>Custom</key> <dict> <key>Entries</key> <array> <dict> <key>Volume</key> <string>A7649550-D460-49CF-9531-829D58F123DC</string> <key>FullTitle</key> <string>Windows 8</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>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> d. USB patch. Sierra 10.12 requires the port limit to be raised in order for USB 3.0 ports to be recognized. This process involves installing FakePCIID.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 20 in XHCI kext (9-series) 10.12</string> <key>Find</key> <data>g710////EA==</data> <key>Name</key> <string>AppleUSBXHCIPCI</string> <key>Replace</key> <data>g710////FQ==</data> </dict> </array> Be sure to copy FakePCIID.kext and FakePCIID_XHCIMux.kext to /EFI/CLOVER/KEXTS/10.12. NOTE: Set 'XHCI Mode' to Smart Auto in the BIOS to enable USB 3.0. 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: Look for "Recovery HD" and see which identifier it 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 ALC898 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 1 (or 2 or 3). <key>Devices</key> <dict> <key>Audio</key> <dict> <key>Inject</key> <integer>1</integer> </dict> b. Download the latest version of AppleALC (v1.0.18) 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 ALC898 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 Haswell.cfg 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 Haswell.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 Core i7-4770K 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.23.1417 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.2 1. Download and install macOS Sierra 10.12.2 Combo Update and reboot. 2. After restarting, accept the popup window that prompts you to download and install the latest the NVIDIA Web Driver 367.15.10.25 to proceed. 3. Download CUDA 8.0.57 drivers needed for 10.12.2 support from NVIDIA and install and reboot. 4. Reinstall audio by patching AppleHDA with audio_cloverALC-120.command.zip [for OPTION 2]. • STEP 6: Updating to 10.12.3 1. Download and install macOS Sierra 10.12.3 Combo Update and reboot. 2. After restarting, accept the popup window that prompts you to download and install the latest the NVIDIA Web Driver 367.15.10.35f01 to proceed. 3. Download CUDA 8.0.63 drivers needed for 10.12.3 support from NVIDIA and install and reboot. 4. Reinstall audio by patching AppleHDA with audio_cloverALC-120.command.zip [for OPTION 2]. • STEP 7: Updating to 10.12.4 1. Update to the latest version of Clover v2.4k. 2. Download and install macOS Sierra 10.12.4 Combo Update and reboot. 3. After restarting, accept the popup window that prompts you to download and install the latest the NVIDIA Web Driver 367.15.10.45f01 to proceed. 4. Download CUDA 8.0.71 drivers needed for 10.12.4 support from NVIDIA and install and reboot. 5. Install NVIDIA Web Driver 378.05.05.05f01 and CUDA 8.0.81 for Pascal card support. a. Remove any trace of GPUSensors.kext or it will cause "System uptime in nanoseconds…" kernel panic if you plan to update HWSensors 6.25.1426 Binaries (with FakeSMC). b. System Parameter/NvidiaWeb can be set to "false" since the motherboard has native working hardware NVRAM. 6. Update to the latest version of FakePCIID & FakePCIID_XHCIMux. 7. Update to the latest version of AppleALC v1.1.1 accompanied with Lilu.kext [for OPTION 1]. 8. Reinstall audio by patching AppleHDA with audio_cloverALC-120.command.zip [for OPTION 2]. • 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 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. 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. 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. 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. WORKING-config.plist-for-Z97.zip
  4. This thread is a walkthrough on how to install El Capitan. These are fully detailed instructions to make it easier for newbs. PLEASE DO NOT PM ME FOR HELP. REPLY TO THIS GUIDE BELOW. THANKS I wanna start off by thanking the following guys whose efforts inspired me to proceed in making this guide: stinga11 for his implementation of the FakeCPUID hack, rehabman for his kexts, ammulder for his Skylake Starter Guide, chris1111 and DwarfVador for their configuration setup ideas, Slice for Clover, toleda for his audio solution and vit9696 for his audio solution, and shout outs to Pike for the IOAPIC Fix and assisting me with applying his ssdtPRGen.sh script SSDT generation method. • 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. Mac OS X 10.11 El Capitan [from Mac App Store] 2. A computer running an Intel Processor 3. Access to OS X on VMWare (for Windows), Mac, or Hackintosh 4. A supported graphics card 5. Clover v2.3k r3354 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 EL CAPITAN 10.11 1. Clover and the OS X 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: As you can see the the USB stick’s identifier is /dev/disk2. 3. Type the following entry into Terminal to format the USB stick (two partitions, via GPT): diskutil partitionDisk /dev/disk2 1 GPT HFS+J "OS X" R During the process the following occurred: /dev/disk2 GPT partitioning initiated by default EFI was automatically created remainder "OS X", HFS+J is partitioned 4. It resulted in the following screenshot: 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: 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 v3 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, leaving just '10.11' and 'Other'. b. Copy the required kexts FakeSMC.kext, NullCPUPowerManagement 1.0.0d2, VoodooPS2Controller.kext, and your ethernet kext (Intel I219-V) IntelMausiEthernet-V2.1.0d5 or AppleIntelE1000e 3.3.1 to the following directory: /EFI/CLOVER/KEXTS/10.11. 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.11 with your networking kext. 7. We must apply the following mandatory patches: a. IOAPIC Fix. Without this fix most things such as USB, SATA, ethernet, many PCI devices, sound devices, etc will not work. ○ Use a text editor or a plist editor like PlistEdit Pro to modify your config.plist manually. Add this <dict> entry to EFI/CLOVER/config.plist in the KextsToPatch array: <key>KextsToPatch</key> <array> <dict> <key>Comment</key> <string>Skylake APIC fix, discovered by Pike R. Alpha</string> <key>Find</key> <data> wegQD7bw </data> <key>Name</key> <string>AppleAPIC</string> <key>Replace</key> <data> vhcAAACQ </data> </dict> </array> b. FakeCPUID patch. Since the Pentium is not supported in 10.11, 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 30 in AppleUSBXHCIPCI</string> <key>Find</key> <data> g72M/v//EA== </data> <key>Name</key> <string>AppleUSBXHCIPCI</string> <key>Replace</key> <data> g72M/v//Hw== </data> </dict> </array> Be sure to copy USBInjectAll.kext to /EFI/CLOVER/KEXTS/10.11. 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>MacPro3,1</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. NVIDIA graphics cards especially 'Maxwell' currently lack support natively in OS X. To correct this problem in order to boot the installer it requires "nv_disable=1". In addition to that, 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 nv_disable=1</string> </dict> g. SIP. Apple has implemented 'rootless' security or System Integrity Protection (SIP) (reference sources 1, 2, & 3) in 10.11 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> h. 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 toleda's 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 OS X v10.11.0 (15A284) El Capitan [Mac App Store]; "Install OS X El Capitan" will be in /Applications. a. Right-click "Install OS X El Capitan" → 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... 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. Or download the vanilla version here. 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 El Capitan 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 El Capitan at the boot menu screen and use boot flag nv_disable=1 to log in. • STEP 3: Mac OS X 10.11 Post-Installation 1. As the system is loading, you'll be prompted to the Mac OS X 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 name, password, and hint and Continue. g. Confirm "Diagnostics & Usage" h. Wait a moment for the OS X desktop to load. i. When prompted to back up any disk with Time Machine, click on the "Don't Use" button. • STEP 4: Mac OS X 10.11 Post-Installation (Continued) 1. Mount the EFI partition of the USB stick with EFI Mounter v3 and copy the 'EFI' folder to the EFI partition of El Capitan boot disk. 2. Install Clover v2.3k on the El Capitan 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. 3. Edit the config.plist from your boot disk in EFI/CLOVER/ by adding the following <dict> entries: a. Change boot flag to "nvda_drv=1" without "-v" <key>Boot</key> <dict> <key>Arguments</key> <string>nv_drv=1</string> </dict> NOTE: Ensure you have updated to the latest version FakeSMC kext. If your 'hack' happens to instant reboot loop randomly like mine did, to fix it I added cpus=1 in the boot arguments in Clover config.plist. Boot arguments: nvda_drv=1 cpus=1 SMBIOS: iMac14,2 system definition Situations may vary when accessing 10.11 with GTX 960 Video output should be connected through HDMI 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 OS X volume is called "ELCAP" because that's what I named the partition I installed OS X 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.: OS X 10.11 El Capitan. "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 OS X 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>ELCAP</string> <key>FullTitle</key> <string>OS X 10.11 El Capitan</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> d. 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 El Capitan 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: ○ Look for "Recovery HD" and see which identifier it is uses. In this screenshot it’s disk2s3. ○ To remove that partition we use the following command (you can also use the volume name): diskutil eraseVolume HFS+ Blank /dev/disk2s3 ○ The partition will be erased. You’ll now have a blank partition sitting around, so you’ll want to merge that with your other El Capitan partition: diskutil mergePartitions HFS+ ELCAP disk2s2 disk2s3 ○ This will merge the two partitions, with disk2s2 absorbing the space from disk2s3 and expanding, it causes data loss so don’t expect this to preserve anything. 4. 10.11.0 breaks compatibility with native graphics kexts so you will not be able to boot without nv_disable=1 flag. a. Download and install NVIDIA Web Driver 346.03.02f02 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. 5. Reboot without the USB installer and choose the El Capitan boot disk. 6. Download CUDA 7.5.20 drivers (increases GPU computing performance) needed for 10.11.0 support and install. 7. [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 OS X 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 and copy it to CLOVER/kexts/10.11 or CLOVER/kexts/Other. 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 8. [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-110.command.zip and extract "audio_cloverALC-110_v1.0q10.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 (or downgrade to ver. 3354) and add UseARTFrequency=false entry in the config.plist: <key>CPU</key> <dict> <key>UseARTFrequency</key> <false/> </dict> <key>Devices</key> <dict> 9. Create a DSDT??? (More to come later) 10. [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 11. [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 v3 and place SSDT.aml into /Volumes/EFI/EFI/CLOVER/ACPI/patched/ 12. Installing the following kexts/widget is optional. Mount the EFI partition to copy the kexts into the /EFI/CLOVER/KEXTS/10.11 folder. Install the widget using Launchpad → Dashboard: ○ HWSensors 6.19.1406 Binaries (with FakeSMC): Helps you monitor CPU, memory, disks, network, temperatures, fans, load/uptime, and processes. ○ 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.11.4 1. Download and install OS X El Capitan 10.11.4 Combo Update. 2. After restarting, booting from the El Capitan partition presents the following error: OsxAptioFixDrv: Error - requested memory exceeds our allocated relocation block a. This is caused by the lack of support for the OsxAptioFixDrv-64 in 10.11.4 which is intended to fix memory map issues on most UEFI systems, mainly in AMI BIOS. b. Plug the USB installer into another Mac (or Hackintosh) and reinstall the latest version of Clover (here) on the USB stick. Be sure to select the checkbox OsxAptioFix2Drv-64 instead of OsxAptioFixDrv-64. c. Once it completes, mount EFI of the USB stick using EFI Mounter v3 and remove OsxAptioFixDrv-64.efi from /EFI/CLOVER/drivers64UEFI/. 3. Reboot using the USB installer and choose the El Capitan install drive. Mount EFI of the El Capitan partition and remove OsxAptioFixDrv-64.efi and copy OsxAptioFix2Drv-64.efi from the USB stick to /EFI/CLOVER/drivers64UEFI/. 4. Reinstall audio by patching AppleHDA with audio_cloverALC-110.command.zip [for OPTION 2]. 5. Accept the popup window that prompts you to download and install the latest the NVIDIA Web Driver 346.03.06f01 to proceed. Download CUDA 7.5.26 drivers needed for 10.11.4 support from NVIDIA and install and reboot. • STEP 6: Updating to 10.11.5 1. Download and install OS X El Capitan 10.11.5 Combo Update. 2. After restarting, accept the popup window that prompts you to download and install the latest the NVIDIA Web Driver 346.03.10f01 to proceed. 3. Download CUDA 7.5.29 drivers needed for 10.11.5 support from NVIDIA and install and reboot. 4. Reinstall audio by patching AppleHDA with audio_cloverALC-110.command.zip [for OPTION 2]. • STEP 7: Updating to 10.11.6 1. Download and install OS X El Capitan 10.11.6 Combo Update. 2. After restarting, accept the popup window that prompts you to download and install the latest NVIDIA Web Driver 346.03.15f01 / NVIDIA Web Driver 346.03.15f02 to proceed. 3. Download CUDA 7.5.30 drivers needed for 10.11.6 support from NVIDIA and install and reboot. 4. Reinstall audio by patching AppleHDA with audio_cloverALC-110.command.zip [for OPTION 2]. config-WORKING for G4500 boot.plist.zip EFI-Mounter-v3.zip ssdtPRGen.sh-master.zip
  5. Hey guys! Have you ever wondered if you can update the OS on the USB installer you were using a while ago? Let's say you got a USB installer of El Capitan PB1 and you want to update it to PB5 or later, so that, if something bad happens to your system and you need to reinstall, you don't also need to reapply all the updates once the system is up and running again. But there is no separate installer for that. Only delta updates. So, can you do that? The answer is a definitive YES, and here is how. Prerequisites: 1. An already made and fully working USB installer (duh). 2. The delta or combo updates (usually coming as pkgs) that you're planning to install. You can Google for those. The how to: First of all, make sure you got all the updates in place. Before you start updating, you need to make sure the packages you're installing are distribution-style packages, and not component packages. Not sure how to check if a package is already distribution or not, but I don't think the following command will do any harm to it if it already is. Otherwise you might get something like this: So, to do that, you need to open up a Terminal window, navigate to the folder containing the package(s) or specify the direct path to it, and do: productbuild --package /path/to/component.pkg /path/to/distribution.pkg The names have to be different between the source and the output. Don't write onto the same file! It won't work. This change concerns OS X El Capitan users but seems that it also affects Yosemite users. For older OS X versions, installing the update and selecting the USB drive as destination, might be enough. Also, if you've got more than one update to apply, you will need to do this for each pkg individually. Note: if you're planning on installing multiple Delta updates, make sure you do it in the specific order they arrived in. For example: to get from PB1 to PB5, you need to install PB2, PB3, PB4, PB5, without skipping any of them. This flow most likely doesn't apply to Combo updates. After that, you can go ahead and simply double click to run the installer. Select your USB drive as destination. Wait for the installation to complete and voila! You've got yourself an up-to-date USB installer of your favorite version of OSX. Enjoy!
  6. This thread is a walkthrough on how to install Sierra. These are fully detailed instructions to make it easier for newbs. Although I haven't tested this on a Z87 FTW, in theory, the instructions in this guide should work for that motherboard since it only operates in Legacy Mode. PLEASE DO NOT PM ME FOR HELP. REPLY TO THIS GUIDE BELOW. THANKS • MY SPECS: 1. Intel Core i7-4770K (De-lidded) 2. EVGA Z97 FTW (ATX) 3. Western Digital VelociRaptor 1TB 4. Corsair Vengeance Pro 16GB DDR3 2400MHz 5. OCZ Vertex 4 512 GB 6. Patriot Dual Bay 2.5" SATA 3.5" drive bay (for SSD) 7. Noctua NH-U12S 8. My case: Modified Apple Powermac G5 9. ASUS BW-12B1ST 10. EVGA GeForce GTX680 SC 11. Silverstone SST-ST1200-G Evolution Strider Gold 1200W • 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. AHCI mode and CD/DVD first boot priority are set in the BIOS by default. Ensure your settings match these in your Z97 BIOS: a. Go to ADVANCED→ SATA Configuration→ All settings should set at default; notice that your disks won't show up here if they're connected to black Marvell SATA ports. b. Go to BOOT→ Speaker Beep; switch to 'Off'. Change Boot mode select to 'Legacy'. Continue to FIXED Boot ORDER Priorities→ Check if CD/DVD is 1st Boot; Scroll down to Hard Disk Drive BBS Priorities to set the boot sequence of the available hard disks. Go to CSM Configuration to ensure Launch CSM is 'Disabled'; This enables the bootloader menu screen to load with native HD as specified by your monitor. c. Go to ADVANCED→ Power Management→ ACPI Sleep State is S3 only (Suspend to RAM). d. Go to ADVANCED→ Graphics Configuration→ Disable internal graphics. e. Go to ADVANCED→ CPU Configuration; there is no option for Vt-d, so disable Intel Virtualization Technology (during installation). f. Go to ADVANCED→ USB Configuration→ Disable XHCI Mode. g. [OPTIONAL] Go to MEMORY; Under Memory Multiplier Configuration, set Performance Memory Profiles to XMP Profile 1. h. [OPTIONAL] Go to ADVANCED→ H/W Monitor Configuration→ Set all fan speeds to 50%. Save and Reset. • STEP 2: CREATING A BOOTABLE USB TO INSTALL OF SIERRA 1. 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... Get prepared to use the USB stick with at least 8GB. 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, and format the USB stick by highlighting its icon on the left and clicking the Partition tab, click Current, and choose 1 Partition. e. Click Options... Choose Master Boot Record. No need to name it (the default's OK), choose Mac OS Extended (Journaled) as its format type. Click Apply then Partition. f. 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 [untitled] partition (you just created) to the "Destination" field where you will restore the image: click "Restore" then "Erase"... g. 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. h. On the remaining volume "OS X Base System" (USB stick), go to System/Installation and delete Packages symlink. i. Open "OS X Install ESD" in a new Finder window, and copy the Packages folder to System/Installation folder inside "OS X Base System". j. Copy BaseSystem.chunklist, BaseSystem.dmg, AppleDiagnostics.chunklist, and AppleDiagnostics.dmg from "OS X Install ESD" and copy it to the volume root. k. 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. 2. We need to download and install the latest version of Clover (here) on the USB stick. a. Run the pkg, "Change Install Location" select your USB stick as your target location via "boot0af in MBR" and install using the following settings below: 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". b. Use ShowHiddenFiles to hide the hidden files, and quit the application. 3. You must copy your kexts to the EFI/Clover folder. a. Remove EFI/CLOVER/kexts/10.6, 10.7, 10.8, 10.9, 10.10, 10.11 leaving just 'Other'. Create a new folder titled '10.12'. b. Copy the required kexts FakeSMC.kext, VoodooPS2Controller.kext (for PS/2 keyboard), and your ethernet kext (Intel I219-V) IntelMausiEthernet-V2.2.0 or AppleIntelE1000e v3.3.3 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. 4. Use a text editor/plist editor like PlistEdit Pro to modify your config.plist manually. We must apply the following mandatory patches: a. You must add line ACPI/SSDT/DropOem=false in config.plist in order to boot without "Still waiting for root device" error. Add this <dict> entry to EFI/CLOVER/config.plist: <key>ACPI</key> <dict> <key>DSDT</key> <dict> <key>DropOEM_DSM</key> <false/> </dict> b. Use Clover’s built-in kernel patch to automatically apply the code to patch the (new) kernel after each OS X update to prevent reboot loop: <key>KernelAndKextPatches</key> <dict> <key>KernelPm</key> <true/> </dict> <key>Memory</key> <dict> c. AppleAHCIPort Clover patch disables orange drive icons. Add this <dict> entry to the config.plist: <key>KextsToPatch</key> <array> <dict> <key>Comment</key> <string>External icons patch</string> <key>Find</key> <data> RXh0ZXJuYWw= </data> <key>Name</key> <string>AppleAHCIPort</string> <key>Replace</key> <data> SW50ZXJuYWw= </data> </dict> </array> 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 1, 2, & 3) since 10.11 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 Haswell board comes with a Realtek ALC898 audio chip. In order to use AppleALC/CloverALC (discussed further in this guide), you must add the following patch in the config.plist: <key>KextsToPatch</key> <array> <dict> <key>Comment</key> <string>t1-10.9-10.11-AppleHDA/Realtek ALC898</string> <key>Find</key> <data> ixnUEQ== </data> <key>Name</key> <string>AppleHDA</string> <key>Replace</key> <data> mQjsEA== </data> </dict> </array> 5. 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. 6. Highlight the USB installer from the bootloader menu screen and type kernel boot flag nv_disable=1 to avoid a blank screen (for Maxwell+ GPU's), resulting in 'No Display' signal. 7. Once the installer is finished, it will automatically restart the system. Boot from the USB installer and select the drive where you installed Sierra. • 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 name, password, 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 2. Go to System Preferences → Security & Privacy and disable GateKeeper to allow installation of software by unidentified developers. 3. Copy the 'EFI' folder of the USB stick to the EFI partition of Sierra boot disk. 4. 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. 5. 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. Recovering designated name of boot menu entries. Copy NTFS.efi to EFI\CLOVER\drivers64 in order for Windows partitions to show their correct name instead of "Legacy HD" in Clover boot menu. c. Hide unwanted partitions. Now you can block any partition from showing up on boot menu with its given name or GUID in config.plist. <key>GUI</key> <dict> <key>Hide</key> <array> <string>HD(2,GPT,EA7857A1-DC6B-4BF9-A04C-43CADE9FCF89)</string> <string>MINI TB</string> <string>MISC TB</string> <string>GAMES</string> <string>VISTA</string> </array> </dict> d. USB patch. Sierra 10.12 requires the port limit to be raised in order for USB 3.0 ports to be recognized. This process involves installing FakePCIID.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 20 in XHCI kext (9-series) 10.12</string> <key>Find</key> <data>g710////EA==</data> <key>Name</key> <string>AppleUSBXHCIPCI</string> <key>Replace</key> <data>g710////FQ==</data> </dict> </array> Be sure to copy FakePCIID.kext and FakePCIID_XHCIMux.kext to /EFI/CLOVER/KEXTS/10.12. NOTE: Set 'XHCI Mode' to Smart Auto in the BIOS to enable USB 3.0. 6. 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: Look for "Recovery HD" and see which identifier it 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. 7. 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. 8. Reboot using the USB installer and choose the Sierra install drive. 9. Download CUDA 7.5.30 drivers (increases GPU computing performance) needed for 10.12 support and install. 10. [OPTION 1] Install AppleALC to enable native audio by injecting the layout id supported for ALC898 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 1 (or 2 or 3). <key>Devices</key> <dict> <key>Audio</key> <dict> <key>Inject</key> <integer>1</integer> </dict> b. Download the latest version of AppleALC (v1.0.18) 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 11. [OPTION 2] Install the following patch associated with Realtek ALC898 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> 12. Create a DSDT??? (More to come later) 13. [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 Haswell.cfg 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 Haswell.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 14. [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 Core i7-4770K 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. Place SSDT.aml into /Volumes/EFI/EFI/CLOVER/ACPI/patched/ folder. 15. Installing the following kexts/widget is optional. Copy the kexts into the /EFI/CLOVER/KEXTS/10.12 folder. Install the widget using Launchpad → Dashboard: ○ HWSensors 6.23.1417 Binaries (with FakeSMC): Helps you monitor CPU, memory, disks, network, temperatures, fans, load/uptime, and processes. 16. 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.2 1. Download and install macOS Sierra 10.12.2 Combo Update and reboot. 2. After restarting, accept the popup window that prompts you to download and install the latest the NVIDIA Web Driver 367.15.10.25 to proceed. 3. Download CUDA 8.0.57 drivers needed for 10.12.2 support from NVIDIA and install and reboot. 4. Reinstall audio by patching AppleHDA with audio_cloverALC-120.command.zip [for OPTION 2]. • 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 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. 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. 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. 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. WORKING-config.plist-for-Z97.zip
  7. My guide is a constant WIP... I have already installed El Capitan on my system, but I don't have it fully set up yet with all the supported kexts. Once I finish, I will update this thread with a fully detailed guide. I appreciate your patience. ---EDIT--- UPDATE 1/17/2016 From my experience, as of right now El Capitan is in a pretty unstable state to function or for me to implement as a daily workstation. I use my 10.11 install for experimental purposes only so I recommend anyone following this guide to do the same. In no way can I be held responsible for any mishap as a result. These are fully detailed instructions to make it easier for newbs. PLEASE DO NOT PM ME FOR HELP. REPLY TO THIS GUIDE BELOW. THANKS • HERE ARE MY SPECS: 1. Intel Core i7-4770K (De-lidded) 2. EVGA Z87 FTW (ATX) 3. Silverstone SST-ST1200-G Evolution Strider Gold 1200W 4. Noctua NH-U12S 5. ASUS BW-12B1ST 6. Western Digital VelociRaptor 600GB 7. OCZ Vertex 4 512 GB 8. Patriot Dual Bay 2.5" SATA 3.5" drive bay (for SSD) 9. EVGA GeForce GTX680 SC 10.Corsair Vengeance Pro 16GB DDR3 2400MHz 11. My case: Modified Apple Powermac G5 • WHAT YOU WILL NEED: 1. Mac OS X 10.11 El Capitan [from Mac App Store] 2. A computer running an Intel Processor 3. Access to OS X on VMWare (for Windows), Mac, or Hackintosh 4. A supported graphics card 5. Enoch rev. 2779 and up 6. A USB flash drive at least 8 GB 7. Update to the latest BIOS • STEP 1: BIOS SETTINGS 1. AHCI mode and CD/DVD first boot priority are set in the BIOS by default. Ensure your settings match these in your Z87 BIOS: a. Go to ADVANCED→ SATA Configuration→ All settings should set at default; notice that your disks won't show up here if they're connected to black Marvell SATA ports b. Go to BOOT→ Speaker Beep; switch to "Off." Continue to Set Boot Priority→ Check if CD/DVD is 1st Boot; Go to Hard Disk Drive BBS Priorities to set the boot sequence of the available hard disks. c. Go to ADVANCED→ ACPI Settings→ ACPI Sleep State must be S3 only (Suspend to RAM); d. Go to ADVANCED→ Graphics Configuration→ Disable internal graphics to prevent the potential following kernel panic: panic(cpu 0 caller 0xffffff8000379458)… expected 0xdeadbeeddeadbeef… e. Go to OVERCLOCK→ CPU Configuration; there is no option for Vt-d, so disable Intel Virtualization Technology (during installation). f. Go to ADVANCED→ USB Configuration; XHCI Mode = Disabled, XHCI Hand-off = Enabled, EHCI Hand-off = Enabled. [Disregard what's on pic] g. [OPTIONAL] Go to MEMORY; Under Memory Multiplier Configuration, set Performance Memory Profiles to XMP Profile 1. Save and Reset. • STEP 2: CREATING A BOOTABLE USB TO INSTALL OF EL CAPITAN 10.11 1. Download OS X v10.11.0 (15A284) El Capitan [Mac App Store] and Right-click "Install OS X El Capitan" → Show Package Contents → Contents → ShareSupport → Double click to mount "InstallESD.dmg". 2. Once "OS X Install ESD" appears, use ShowHiddenFiles to show hidden files. 3. Now you will see an image called "BaseSystem.dmg" appear. Mount it by right-clicking and opening it with DiskImageMounter... Get prepared to use the USB stick with at least 8GB. 4. Open Disk Utility, and format the USB stick by highlighting its icon on the left and clicking the Partition tab, click Current, and choose 1 Partition. 5. Click Options... Choose Master Boot Record. No need to name it (the default's OK), choose Mac OS Extended (Journaled) as its format type. Click Apply then Partition. 6. 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 [untitled] partition (you just created) to the "Destination" field where you will restore the image: click "Restore" then "Erase"... 7. 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. 8. On the remaining volume "OS X Base System" (USB stick), go to System/Installation and delete Packages symlink. 9. Open "OS X Install ESD" in a new Finder window, and copy the Packages folder to System/Installation folder inside "OS X Base System". 10. Copy BaseSystem.chunklist, BaseSystem.dmg, AppleDiagnostics.chunklist, and AppleDiagnostics.dmg from "OS X Install ESD" and copy it to the volume root. 11. 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. 12. CPU power management is handled directly by the BIOS and not with AppleIntelCPUPowerManagement.kext. Booting from the USB installer on a Haswell system will be followed by an instant reboot. To resolve the early reboot problem for Haswell: a. Patch the vanilla kernel located on your USB installer: Drag and copy kernel from the USB installer to the desktop. Open Terminal and type: cd ~/Desktop Apply the following perl script by copying and pasting into Terminal: #1: perl -pi -e 's|\xe2\x00\x00\x00\x02\x00\x00\x00|\x00\x00\x00\x00\x02\x00\x00\x00|g' kernel #2: perl -pi -e 's|\xe2\x00\x00\x00\x4c\x00\x00\x00|\x00\x00\x00\x00\x4c\x00\x00\x00|g' kernel #3: perl -pi -e 's|\xe2\x00\x00\x00\x90\x01\x00\x00|\x00\x00\x00\x00\x90\x01\x00\x00|g' kernel b. Replace the kernel with the patched version on your USB installer. 13. Now copy both NullCPUPowerManagement.kext, FakeSMC.kext (from Extra_MacPro3,1.zip), and TRACKPAD.SYNAPTIC-GESTURE (ApplePS2Controller.kext & AppleACPIPS2Nub.kext) into System/Library/Extensions of "OS X Base System". 14. Delete following kexts from System/Library/Extensions/: AppleIntelCPUPowerManagement.kext and AppleIntelCPUPowerManagementClient.kext 15. Extract OSInstaller(MBR)+OSInstall.mpkg(10.11.0.15A284), and copy and replace OSInstall.mpkg [patched for MBR] into System/Installation/Packages, and copy and replace OSInstaller [patched for MBR] into System/Library/PrivateFrameworks/OSInstaller.framework/Versions/A/OSInstaller folder. 16. Download and install Enoch rev. 2779. Remember to click on "Change Install Location" and select the USB stick ("OS X Base System") as destination, or they will be installed on the running system. a. IMPORTANT: It is imperative that you create a Kernel.plist in the Extra folder and add the following flag: KernelBooter_Kext=Yes. This can also be done when installing Enoch Bootloader by selecting the option as shown in the following screenshot: b. Unzip the Extra_MacPro3,1 zip file and drag the Extra folder to the root of USB boot. c. Add flag CsrActiveConfig=103 (Hex 0x67:01100111) to Boot.plist as: <key>CsrActiveConfig</key> <string>103</string> NOTE: This disables SIP; Refer to Step 4 #3. 17. Use ShowHiddenFiles to hide the hidden files, and quit the application. 18. With the USB installer ready, remember before restarting system to change boot priority of USB stick to first to install El Capitan on the hard disk of choice. 19. Once installer is finished, it will automatically restart the system. Boot from the USB installer and select the drive where you installed El Capitan. 20. After installing 10.11, the drive it's on will hold a vanilla kernel. You will need to replace it with the patched version to prevent the instant reboot problem from reoccurring. Copy over a patched kernel onto the root of a secondary USB stick. Use the USB installer to access Terminal and type the following commands: a. Verify secondary USB stick location: diskutil list b. Mount it: diskutil mount /dev/diskXsY e.g.: diskutil mount /dev/disk2s1 Terminal will confirm the name of the disk mounted c. Select directory of USB stick's root: cd /Volumes/USBStick/ e.g.: cd /Volumes/"NO NAME"/ d. Copy over patched kernel cp kernel "/Volumes/NameOfOSXDisk/System/Library/Kernels/kernel" e.g.: cp kernel "/Volumes/ELCAP/System/Library/Kernels/kernel" 21. Now reboot using the USB installer and select the El Capitan install drive at the boot menu screen and type kernel boot flag nv_disable=1 to log in or it will result in 'No Display' signal. • STEP 3: Mac OS X 10.11 Post-Installation 1. As the system is loading, you'll be prompted to the Mac OS X 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 name, password, and hint and Continue. g. Confirm "Diagnostics & Usage" h. Wait a moment for the OS X desktop to load. i. When prompted to back up any disk with Time Machine, click on the "Don't Use" button. • STEP 4: Mac OS X 10.11 Post-Installation (Continued) 1. Install Enoch rev. 2795 on the El Capitan install partition you plan to boot from. 2. Copy the Extra folder from the USB stick to the root El Capitan partition. 3. Edit the Boot.plist in the Extra folder with the following lines: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>CsrActiveConfig</key> <string>3</string> <key>DropSSDT</key> <string>Yes</string> <key>EHCIacquire</key> <string>Yes</string> <key>EthernetBuiltIn</key> <string>Yes</string> <key>ForceHPET</key> <string>No</string> <key>GenerateCStates</key> <string>Yes</string> <key>GeneratePStates</key> <string>Yes</string> <key>Instant Menu</key> <string>Yes</string> <key>Kernel</key> <string>>/System/Library/Kernels/kernel</string> <key>Kernel Flags</key> <string>-f npci=0x2000 nvda_drv=1</string> <key>Legacy Logo</key> <string>Yes</string> <key>PCIRootUID</key> <string>1</string> <key>PCIRoot</key> <string>1</string> <key>Rescan</key> <string>Yes</string> <key>Theme</key> <string>Default</string> <key>Timeout</key> <string>1</string> <key>UHCIreset</key> <string>Yes</string> <key>USBBusFix</key> <string>Yes</string> <key>Wake</key> <string>Yes</string> </dict> </plist> Remember to remove any variation of the following lines: <key>SMBIOS</key> <string>Extra/smbios.plist</string> or: <key>SMBIOS</key> <string>smbios.plist</string> It restores your correct system profile instead of the "iMac Summer 2001/SOMESRLNUMBER" model. The bootloader automatically reads the Smbios.plist in the Extra folder by default. Boot flag kext-dev-mode=1 is no longer required for OS X 10.11 El Capitan to load unsigned kexts. Apple has implemented 'rootless' security or System Integrity Protection (SIP) (reference sources 1, 2, & 3) in 10.11 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. When rebuilding kernel cache on a Hackintosh, SIP must be disabled in order to install anything to protected system folders. By adjusting CsrAactiveConfig in Boot.plist, you can to allow unsigned kexts in cache and install to protected folders and re-enable SIP after everything is set. To disable SIP completely: <key>CsrActiveConfig</key> <string>103</string> To disable SIP partially (loads unsigned kexts): <key>CsrActiveConfig</key> <string>3</string> 4. Edit the kernel.plist in the Extra folder with the following lines: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>KernelBooter_kexts</key> <string>Yes</string> <key>KernelHaswell</key> <string>Yes</string> <key>KernelLapicError</key> <string>Yes</string> <key>KernelLapicVersion</key> <string>No</string> <key>KernelPm</key> <string>Yes</string> <key>KernelSSE3</key> <string>No</string> <key>KernelcpuFamily</key> <string>No</string> </dict> </plist> 5. Use Chameleon Wizard 4.3.2 to generate new SMBios.plist with a VALID serial. You can use the following lines for your SMBios.plist: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>SMbiosdate</key> <string>06/12/13</string> <key>SMbiosvendor</key> <string>Apple Inc.</string> <key>SMbiosversion</key> <string>MP61.88Z.0116.B04.1312061508</string> <key>SMboardproduct</key> <string>Mac-F60DEB81FF30ACF6</string> <key>SMfamily</key> <string>Mac Pro</string> <key>SMmanufacturer</key> <string>Apple Inc.</string> <key>SMmaximalclock</key> <string>3500</string> <key>SMmemmanufacturer</key> <string>Corsair</string> <key>SMmempart_1</key> <string>999999999999</string> <key>SMmemserial_1</key> <string>123456789</string> <key>SMmemspeed</key> <string>2400</string> <key>SMmemtype</key> <string>DDR3:36</string> <key>SMproductname</key> <string>MacPro6,1</string> <key>SMserial</key> <string>CXXXXXXXXXX</string> <key>SMsystemversion</key> <string>1.0</string> </dict> </plist> 6. 10.11.0 breaks compatibility with native graphics kexts so you will not be able to boot without nv_disable=1 kernel flag. a. All of the graphics kexts need to be moved for a later patch. Open Terminal, run the following commands: sudo –s mkdir /kext_backup cd /System/Library/Extensions mv AppleIntelHD* AppleIntelSNB* AMDRadeon* ATI* GeForce* NVDA* /kext_backup b. Copy modded AppleGraphicsControl.kext into S/L/E and replace original and use Kext Utility to repair permissions. 7. Install NVIDIA Web Driver 346.03.02f02 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. 8. Reboot using the USB installer and choose the El Capitan install drive. 9. Download CUDA 7.5.20 drivers (increases GPU computing performance) needed for 10.11.0 support and install. 10. Create a SSDT (Secondary System Description Table) to configure the maximum clock speed. a. Download Pike’s script (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., i7-980 type code: sudo /Users/"YourUsername"/Desktop/ssdtPRGen.sh -TURBO 3600 Type your password when prompted and press Enter. c. A decompiled file called SSDT.aml will generate in a hidden folder "tmp". Type "open /tmp" (no quotations) to reveal its location and place it into your Extra folder. d. Make sure your Boot.plist has GeneratePStates/GenerateCStates to Yes and just set DropSSDT to Yes. It makes the generic SSDT match the processor TDP and desired top turbo freq. [OS X 10.11.0 is too unstable. -v boot flag has been required at random times in order to boot. OS X refuses to recognize any unsigned (custom) kexts that have been installed in E/E or S/L/E regardless of SIP being fully disabled, causing KP. INSTALL OS X UPDATE 10.11.1] • STEP 5: Updating to 10.11.1 1. Download OS X El Capitan 10.11.1 Update, install, and reboot. 2. 10.11.1 restores the vanilla kernel, causing the early reboot issue that prevents you from accessing Yosemite. Download the patched kernel for 10.11.1 and replace it with the version located on the root of the OS X installation disk. Follow Step 2 #20. 3. Booting into El Cap will cause the following error: **** [iOBluetoothHCIController] [searchForTransportEventTimeOutHandler] -- Missing Bluetooth Controller Transport! Boot using the flag -v nv_disable=1 GraphicsEnabler=No to access El Cap. Allow update to continue. a. Skip signing in with your Apple ID. 4. 10.11.1 breaks compatibility with native graphics kexts so you will not be able to boot without nv_disable=1 kernel flag. All of the graphics kexts need to be moved for a later patch. Open Terminal, run the following commands: sudo -s mkdir /kext_backup cd /System/Library/Extensions mv AppleIntelHD* AppleIntelSNB* AMDRadeon* ATI* GeForce* NVDA* /kext_backup 5. After reboot, a popup window prompts you to download and install the latest the NVIDIA Web Driver 346.03.03f02 to proceed. a. Copy modded AppleGraphicsControl.kext into S/L/E and replace original and repair permissions. 6. Download CUDA 7.5.21 drivers needed for 10.11.1 support from NVIDIA and install and reboot with -v flag. [OS X 10.11.1 is too unstable. -v boot flag has been required to use each time you boot and numerous attempts maybe necessary to access OS X. OS X can potentially freeze and KP during a session, forcing you to reboot. INSTALL OS X UPDATE 10.11.2] • STEP 6: Updating to 10.11.2 1. Download and install OS X El Capitan 10.11.2 Combo Update. 2. 10.11.2 restores the vanilla kernel, causing the early reboot issue that prevents you from accessing Yosemite. Download the patched kernel for 10.11.2 and replace it with the version located on the root of the OS X installation disk. Follow Step 2 #20. 3. 10.11.2 breaks compatibility with native graphics kexts so you will not be able to boot without nv_disable=1 kernel flag. All of the graphics kexts need to be moved for a later patch. Open Terminal, run the following commands: sudo -s mkdir /kext_backup cd /System/Library/Extensions mv AppleIntelHD* AppleIntelSNB* AMDRadeon* ATI* GeForce* NVDA* /kext_backup 4. After reboot, a popup window prompts you to download and install the latest the NVIDIA Web Driver 346.03.04f02 to proceed. a. Copy modded AppleGraphicsControl.kext into S/L/E and replace original and repair permissions. 5. Download CUDA 7.5.22 drivers needed for 10.11.2 support from NVIDIA and install and reboot with -v flag on Z87. NOTE: No graphics acceleration after installing NVIDIA Web Drivers for OS X. The only resolution available is 1024x1280. 6. Install OS X El Capitan Recovery Update 1.0. Extra_MacPro3,1.zip
  8. 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: 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: 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: 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. 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 1, 2, & 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 name, password, 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: 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 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. 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. 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
  9. After 2 weeks of researching how to successfully install Mavericks on a EVGA Z87 FTW and I finally figured it out. I would like to shoutout members of the Hackintosh community for all your contributions, especially slayer2333, RehabMan, and Jeevin (some random guy's name from tonymacx86.com) whose encouragement or tools motivated me to make this happen (check out my vent and frustration here). This thread is a walkthrough of how to accomplish this. To make it easier for the newbs, these are fully detailed instructions. PLEASE DO NOT PM ME FOR HELP. REPLY TO THIS GUIDE BELOW. Here are my system specs below: Intel Core i7-4770K (De-lidded) EVGA Z87 FTW (ATX) Silverstone SST-ST1200-G Evolution Strider Gold 1200W Noctua NH-U12S ASUS BW-12B1ST Western Digital VelociRaptor 500GB OCZ Vertex 4 512 GB Patriot Dual Bay 2.5" SATA 3.5" drive bay (for SSD) EVGA GeForce GTX480 SC (being used to install); will eventually change out to GTX680 after install Corsair Vengeance 4GB DDR3 1600 MHz; will update to 16GB after install My case: Modified Apple Powermac G5 WIP What is needed: The attachment and links to essential software included in this thread 8GB+ USB Stick OSX 10.9.0 Mavericks (13A603) Another Mac computer It's advisable to use 4GB RAM and USB 2.0 ports during install Update to the latest BIOS STEP 1: BIOS SETTINGS for Z87 1. AHCI mode and CD/DVD first boot priority are set in the BIOS by default. Ensure your settings match these in your Z87 BIOS: a. Go to ADVANCED → SATA Configuration → All settings should set at default; notice that your disks won’t show up here if they’re connected to black Marvell SATA ports b. Go to BOOT→ Set Boot Priority→ Set CD/DVD is 1st Boot and USB Key as 2nd Boot; Go to Hard Disk Drive BBS Priorities to set the boot sequence of the available hard disks. c. Go to OVERCLOCK → CPU Configuration; there is no option for Vt-d, so disable Intel Virtualization Technology (during the installation). d. Go to ADVANCE→ USB Configuration; XHCI Mode = Smart Auto, XHCI Hand-off = Enabled, EHCI Hand-off = Enabled. e. [OPTIONAL] Go to MEMORY; Under Memory Multiplier Configuration, set Performance Memory Profiles to XMP Profile 1. Save and Reset. STEP 2: CREATING A BOOTABLE USB TO INSTALL OF MAVERICKS 10.9 1. REFORMAT USB DISK a. Open Disk Utility, and format the USB stick by highlighting its icon on the left and clicking the Partition tab, click Current, and choose 1 Partition. b. Click Options... Choose GUID Partition Table. No need to name it (the default’s OK), choose Mac OS Extended (Journaled) as its format type. Click Apply then Partition. 2. MOUNT YOUR EFI PARTITION a. Eject the USB stick and reinsert it b. Open Terminal. Type: diskutil list NOTE: For all intents and purposes, let's assume the USB stick is the first disk ("disk0"), now let's begin. c. Type: sudo -s and enter your password d. Type: newfs_hfs -v EFI /dev/disk0s1 e. Type: mkdir /Volumes/EFI f. Type: mount_hfs /dev/disk0s1 /Volumes/EFI NOTE: To remount the partition for future use type the following below or repeat C thru F: mkdir /Volumes/EFI sudo mount_hfs /dev/disk2s1 /Volumes/EFI 3. INSTALL CHAMELEON TO EFI PARTITION a. Download the latest i386, here. b. Extract the Chameleon archive to the desktop and go back to the Terminal. c. Type: cd (space after "cd"), and drag the i386 folder onto the Terminal, press Enter. 4. Installing boot0 to partition a. Type: fdisk -f boot0 -u -y /dev/rdisk0 5. Install boot1h to the bootsector of your OS X partition a. Type: dd if=boot1h of=/dev/rdisk0s1 6. Copy the 'boot' file to partition a. Type: cp boot /Volumes/EFI 7. SET THE EFI PARTITION AS ACTIVE a. Type: sudo fdisk -e /dev/disk0 b. Type: p c. Type: f 1 (<== use your partition number here) 8. Save and exit a. Type: write b. Type: y (yes you are sure) c. Type: quit d. Type: exit (to logout) 9. COPY FILES TO EFI PARTITION a. Drag your current /Extra folder (from the attachment) to your EFI Partition. If this is a fresh installation, you'll also need to install FakeSMC to your main partition. 10. PREPPING FILES FOR THE USB INSTALLER a. Download OSX 10.9.0 Mavericks (13A603) from the Mac App Store and find InstallESD.dmg (Right-click "Install OS X Mavericks.app" → Show Package Contents → Contents/ShareSupport. Double click "InstallESD.dmg". b. Once "OS X Install ESD" appears, use Unhidden for Mac 1.0, here or ShowHiddenFiles, here to show hidden files. c. Now you will see an image called "BaseSystem.dmg". Mount it by double-clicking it... Get prepared to use the USB stick with at least 8GB. d. 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 [untitled] partition to the "Destination" field where you will restore the image: click "Restore" 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" in Disk Utility to isolate which is your USB stick. f. On the remaining volume "OS X Base System" (USB stick), go to System/Installation and delete the Packages symlink. g. Open "Mac OS X Install ESD" in a new Finder window (if it’s not already still open), and copy the Packages folder to System/Installation folder. h. Use Pacifist (here) to extract "mach_kernel" from "OS X Install ESD/Packages/BaseSystemBinaries.pkg" and copy it to the root of your volume. i. Now copy both NullCPUPowerManagement.kext and FakeSMC.kext (from the attachment) into System/Library/Extensions of "OS X Base System". j. Extract OSInstall(MBR)+OSInstall.mpkg(10.9 DP1).zip here, and copy and replace the patched OSInstall.mpkg into System/Installation/Packages, and copy and replace the patched OSInstall into System/Library/PrivateFrameworks/Install.framework/Frameworks/OSinstall.framwork/Versions/A. k. Use Unhidden or 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, type: -v (Verbose Mode) or -f (Ignore Caches), whichever works and press Enter and install Mavericks to your hard disk of choice. NOTE 1: Booting into the USB installer requires you to use onboard graphics. Remove your video card for the installation screen to appear. NOTE 2: CPU power management is handled directly by the BIOS and not with AppleIntelCPUPowerManagement.kext in Mavericks. Booting the USB installer on a Haswell system will be followed by a flashing white Apple logo screen and instant reboot. To resolve the early reboot problem: § OPTION 1: Set KernelPM=true in your boot.plist. § OPTION 2: Patch the vanilla mach_kernel located on your USB installer: Drag and copy mach_kernel from the USB installer to the desktop. Open Terminal and type: cd ~/Desktop Apply the following perl script by copying and pasting into Terminal: perl -pi -e 's|\x74\x6c(\x48\x83\xc7\x28\x90\x8b\x05..\x5e\x00\x85\x47\xdc)\x74\x54(\x8b\x4f\xd8\x45\x85\xc0\x74\x08\x44\x39\xc1\x44\x89\xc1)\x75\x44(\x0f\x32\x89\xc0\x48\xc1\xe2\x20\x48\x09\xc2\x48\x89\x57\xf8\x48\x8b\x47\xe8\x48\x85\xc0\x74\x06\x48\xf7\xd0\x48\x21\xc2\x48\x0b\x57\xf0\x49\x89\xd1\x49\xc1\xe9\x20\x89\xd0\x8b\x4f\xd8\x4c\x89\xca)(\x0f\x30\x8b\x4f\xd8\x0f\x32\x89\xc0\x48\xc1\xe2\x20\x48\x09\xc2\x48\x89\x17\x48\x83\xc7\x30\xff\xce)\x75\x99(\x5d\xc3)\x90{7}|\x74\x73${1}\x74\x5b${2}\x75\x4b${3}\x66\x81\xf9\xe2\x00\x74\x02${4}\x75\x92${5}|g' mach_kernel Replace the vanilla mach_kernel with the patched version on your USB installer. NOTE 3: If using more than 4GB of ram it is best to remove AppleTyMCEDriver.kext from System/Library/Extensions; this kext blocks/prevents booting on WD RE3 disks and causes following kernel panic: AppleTyMCEDriver::start coreVIDPID = 0xffffffff Number of packages = 1 Number of cpus = 8 memory m. After installing OS X, the hard disk it's on will hold a vanilla mach_kernel. You will need to replace it with the patched version to prevent the instant reboot problem from reoccurring. After modding mach_kernel on the USB stick, access the OS X installer, go into Terminal (using Utilities → Terminal) and type: cp /mach_kernel "/Volumes/NameOfOSXDisk/mach_kernel" NOTE 4: While using onboard graphics to boot into Mavs with the USB stick the following error will occur: **** [iOBluetoothHCIController][searchForTransportEventTimeOutHandler] -- Missing Bluetooth Controller Transport! Boot using the flag -x to access Mavs. Please mind you, this is as far as I have gotten. So far I do not have a fully functioning Mac yet. I haven't tried installing any plugins: network, graphics, audio, etc. If anyone has any ideas for the next course of action please feel free to reply below so I may try these out myself and report my findings. Thanks. 11. Booting into Mavs with the USB stick will cause the following error: **** [iOBluetoothHCIController][searchForTransportEventTimeOutHandler] -- Missing Bluetooth Controller Transport! You can now boot with your Graphics Card using the flag -f npci=0x2000 GraphicsEnabler=No to access Mavs. 12. Download OS X Mavericks 10.9.1 Update, install it, and restart with -x because it will cause a black screen before you login. 13. The graphics kexts need to be backed up to patch later. Open Terminal, run the following commands: sudo -s mkdir /kext_backup cd /System/Library/Extensions mv AppleIntelHD* AppleIntelSNB* AMDRadeon* ATI* GeForce* NVDA* /kext_backup Repair permissions and restart with -f npci=0x2000 only. 14. Download Nvidia Web Retail Drivers for 10.9.1 (Post 10.9 Install Files-Z87) to enable NVIDIA Graphics Cards that don't work OOB. This fixes OpenCL & allows GK110B cards to NOT crash for Preview, etc. No Cuda included. Install the drivers and restart with USB stick using "-f npci=0x2000". 15. Go to the NVIDIA Driver Manager menu bar at the top, change the settings to use Web drivers, and restart. 16. Download CUDA 5.5.47 drivers (Post 10.9…) needed for 10.9.0 support from NVIDIA and install. 17. Download and install Chameleon-2.2svn-r2377 (Creating 10.9 Boot) to the Mavs partition. Copy the Extra folder from the USB stick to the root Mavs partition and reboot Mavs using -f npci=0x2000 without the USB stick needed. 18. Some CPUs have issues with the SSDT (Secondary System Description Table) from the BIOS/UEFI of a motherboard because Apple updated its power management drivers in 10.7.4 which causes them to be stuck at a 16x multiplier, thus limiting them to a maximum clock speed of 1.6 GHz. A properly edited SSDT is needed to override its configuration. Perform the following to create a SSDT: a. Download the RevoGirl script (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 Thermal Design Power (TDP) for your processor, leave another space and type in the maximum turbo frequency (Frequency+Max Number of Turbo States) for your processor and then press enter. e.g., i7-950 type code: sudo /Users/"YourUsername"/Desktop/ssdtPRGen.sh 130 3333 Type your password when prompted and press Enter. It will put a decompiled file called ssdt-pr.dsl in the hidden folder "tmp". Type "open /tmp" (no quotations) to reveal the file location. c. Drag the file ssdt-pr.dsl out of the hidden folder and it onto your desktop and open it using a suitable app like DSDT Editor v0.7 to see what you have. d. Press the "Compile" button on DSDT Editor to generate the SSDT, save it as SSDT.aml and put it in your "Extra" folder. Make sure your Boot.plist has GeneratePStates/GenerateCStates to Yes and just set DropSSDT to Yes (telling the bootloader to use the SSDT you put in Extra next time you boot). Basically this simply seeks to make a generic SSDT that is matched to processor TDP and desired top turbo freq. 19. Edit the Boot.plist in the Extra folder with the following lines: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>DropSSDT</key> <string>Yes</string> <key>EHCIacquire</key> <string>Yes</string> <key>EthernetBuiltIn</key> <string>Yes</string> <key>ForceHPET</key> <string>No</string> <key>GenerateCStates</key> <string>Yes</string> <key>GeneratePStates</key> <string>Yes</string> <key>Instant Menu</key> <string>Yes</string> <key>Kernel</key> <string>mach_kernel</string> <key>Kernel Flags</key> <string>-f npci=0x2000 nvda_drv=1</string> <key>KernelPM</key> <string>True</string> <key>Legacy Logo</key> <string>No</string> <key>PCIRootUID</key> <string>1</string> <key>PCIRoot</key> <string>1</string> <key>Rescan</key> <string>Yes</string> <key>Theme</key> <string>Default</string> <key>Timeout</key> <string>1</string> <key>UHCIreset</key> <string>Yes</string> <key>USBBusFix</key> <string>Yes</string> <key>Wake</key> <string>Yes</string> </dict> </plist> Remember to remove any variation of the following lines: <key>SMBIOS</key> <string>Extra/smbios.plist</string> or <key>SMBIOS</key> <string>smbios.plist</string> It restores your correct system profile instead of the "iMac Summer 2001/SOMESRLNUMBER" model. The bootloader automatically reads the Smbios.plist in the Extra folder by default. 20. Use Chameleon Wizard 4.3.2 to generate new SMBios.plist with a VALID serial. 21. Install the following kext in the Extra/Extensions folder and afterwards use Kext Utility to repair permissions: a. AHCI_3rdParty_SATA (Orange Icon Fix) b. AppleIntelE1000e 3.0.4.1 (Intel Wired Ethernet) c. [OPTIONAL] HWSensors 6.0.1364 (with FakeSMC) Helps you monitor CPU, memory, disks, network, temperatures, fans, load/uptime, and processes. The iStat widget also helps you monitor temps. 22. Install the following kexts associated with Realtek ALC898 AppleHDA Audio (by Toleda) in the S/L/E folder and afterwards use Kext Utility to repair permissions: a. Patch in Place (native S/L/E/AppleHDA.kext) – 10.9+ Run (double-click) script "audio_alc898-ver_patch.command" in Downloads/audio_ALC898-master/ directory and enter password when prompted. b. No DSDT/Audio Kext Enabler (HDAEnabler1.kext - Audio ID injection) 23. The following features are enabled by default without any additional patching needed: No DSDT needed USB 3.0 works OOB Sleep and Auto-sleep (standby mode) work OOB Shutdown works OOB Bluetooth works OOB 24. Use the following scripts to patch the AppleIntelCPUPowerManagement.kext to work with locked wrmsr BIOS: a. Download this patch and extract its content to the desktop. b. Type: cd (space after "cd"), and drag the AICPMPatch folder onto the Terminal, press Enter. c. Search out wrmsr (list) perl AICPMPatch.pl /System/Library/Extensions/AppleIntelCPUPowerManagement.kext/Contents/MacOS/AppleIntelCPUPowerManagement d. Patch wrmsr sudo perl AICPMPatch.pl /System/Library/Extensions/AppleIntelCPUPowerManagement.kext/Contents/MacOS/AppleIntelCPUPowerManagement --patch e. Lastly, update cache sudo touch /System/Library/Extensions f. Remove NullCPUPowerManagement.kext (and any equivalents) from E/E, repair permissions and reboot with -v boot flag. Apple's native SpeedStep drivers will initiate after rebooting the system. 25. Patch the AppleRTC.kext found in S/L/E which eliminates any CMOS reset issues. a. Apply the following perl script by copying and pasting it into Terminal: sudo perl -pi -e 's|\x75\x30\x44\x89\xf8|\xeb\x30\x44\x89\xf8|; s|\x75\x3d\x8b\x75\x08|\xeb\x3d\x8b\x75\x08|' /System/Library/Extensions/AppleRTC.kext/Contents/MacOS/AppleRTC Repair permissions and reboot Updating to 10.9.2 on Z87 1. Remove any trace of GPUSensors.kext from E/E and repair permissions. 2. Download and install OS X Mavericks 10.9.2 Update (Combo). 3. 10.9.2 restores the vanilla mach_kernel, causing the early reboot issue that prevents you from accessing Mavs. Download and copy over a patched mach_kernel for 10.9.2 onto the root of a secondary USB stick [and also copy NullCPUPowerManagement.kext you removed from E/E]. Using the USB installer, replace it with Terminal by running the following commands: a. Verify secondary USB stick location: diskutil list b. Mount it: diskutil mount /dev/diskXsY e.g.: diskutil mount /dev/disk2s1 Terminal will confirm the name of the disk mounted c. Select directory of USB stick's root: cd /Volumes/USBStick/ e.g.: cd /Volumes/CRUZER/ d. Copy over patched mach_kernel [and NullCPUPowerManagement] cp /mach_kernel "/Volumes/NameOfOSXDisk/mach_kernel" e.g.: cp /mach_kernel "/Volumes/MAVS/mach_kernel" cp -R /Volumes/CRUZER/NullCPUPowerManagement.kext "/Volumes/MAVS/Extra/Extensions" 4. 10.9.2 also restores the native graphics kexts. Remove them by running the following commands in Terminal: a. Verify OS X disk location: diskutil list b. Mount OS X disk: diskutil mount /dev/diskXsY e.g.: diskutil mount /dev/disk1s2 c. Create 'backup' folder mkdir /Volumes/ NameOfOSXDisk /backup e.g.: mkdir /Volumes/MAVS/backup d. Select "Extensions" folder directory cd /Volumes/MAVS/System/Library/Extensions e. Transfer kexts to 'backup' folder mv AppleIntelHD* AppleIntelSNB* AMDRadeon* ATI* GeForce* NVDA* "/Volumes/MAVS/backup" f. Verify all kexts transferred: cd /Volumes/MAVS/backup ls g. Quit Terminal and reboot from you Mavs partition. 5. After updating to 10.9.2, you must restore the following drivers: Graphics: download and install Mac Quadro Certified Drivers 331.01.01f02. Audio (Patched AppleHDA+HDAEnabler1) Patched AppleIntelCPUPowerManagement. Remove NullCPUPowerManagement Patched AppleRTC 6. Installing Security Update 2014-002 (04-22-2014) from the App Store will restore the vanilla mach_kernel. Follow steps 3a.-3d. You'll also have to update to NVIDIA Web Retail Drivers 331.01.01f04 for graphics to work and update to CUDA 6.0.37. Updating to 10.9.3 on Z87 1. Download and install OS X Mavericks 10.9.3 Update (Combo). 2. 10.9.2 restores the vanilla mach_kernel, causing the early reboot issue that prevents you from accessing Mavs. Download a patched mach_kernel for 10.9.3 and replace it with the version located on the root of the OS X installation disk. Follow Steps #3a-3d (Updating to 10.9.2 on Z87). 3. 10.9.3 also restores the native graphics kexts. Remove them by following Steps #4a-4g (Updating to 10.9.2 on Z87). 4. Set your system identifier to Mac Pro 3,1, 4,1, or 5,1 in order to install NVIDIA Web Driver 334.01.01f01 which updates your system with the most current graphics. You then can revert back to your preferred SMBios.plist after it’s installed. NOTE: The drivers work with HDMI connection only. 5. Download CUDA 6.0.46 drivers needed for 10.9.3 support from NVIDIA and install. 6. Repatch AppleIntelCPUPowerManagement and AppleRTC, refer to Steps #24-55 (CREATING A BOOTABLE USB TO INSTALL OF MAVERICKS 10.9). 7. Reinstall audio, replacing AppleHDA with the patched version, and reboot for changes to take effect. Updating to 10.9.4 on Z87 1. Download OS X Mavericks 10.9.4 Update (Combo), install, and reboot -v. 2. 10.9.4 restores the vanilla mach_kernel, causing the early reboot issue that prevents you from accessing Mavs. Download a patched mach_kernel for 10.9.4 and replace it with the version located on the root of the OS X installation disk. Follow Steps #3a-3d (Updating to 10.9.2 on Z87). 3. Upon reboot, 10.9.4 has restored the native graphics kexts which however are finally compatible and a popup window prompts you to download and install the latest web driver. Installing NVIDIA Web Driver 334.01.02f02 is optional. 4. Install CUDA 6.0.51 drivers (increases GPU computing performance). 5. Repatch AppleIntelCPUPowerManagement, refer to Steps #24-55 (CREATING A BOOTABLE USB TO INSTALL OF MAVERICKS 10.9). 6. Reinstall audio, replacing AppleHDA with the patched version, and reboot for changes to take effect. Updating to 10.9.5 on Z87 1. Download OS X Mavericks 10.9.5 Update (Combo), install, and reboot. 2. 10.9.5 restores the vanilla mach_kernel, causing the early reboot issue that prevents you from accessing Mavs. Download a patched mach_kernel for 10.9.5 and replace it with the version located on the root of the OS X installation disk. Follow Steps #3a-3d (Updating to 10.9.2 on Z87). 3. Upon reboot, 10.9.5 has been restored to the native graphics kexts and a popup window prompts you to download and install the latest web driver. Installing NVIDIA Web Driver 334.01.03f01 is optional. 4. Install CUDA 6.5.18 drivers (increases GPU computing performance). 5. Repatch AppleIntelCPUPowerManagement, refer to Steps #24-55 (CREATING A BOOTABLE USB TO INSTALL OF MAVERICKS 10.9). 6. Reinstall audio, replacing AppleHDA with the patched version, and reboot for changes to take effect. 7. Security Update 2015-001 1.0 restores the vanilla mach_kernel, causing the early reboot issue that prevents you from accessing Mavs. Download a patched mach_kernel for Security Update 2015-001 1.0 and replace it with the version located on the root of the OS X installation disk. Follow Steps #3a-3d (Updating to 10.9.2 on Z87). 8. Download CUDA 6.5.45 drivers needed for 10.9.5 support from NVIDIA and install. 9. Security Update 2015-004 1.0 restores the vanilla mach_kernel, causing the early reboot issue that prevents you from accessing Mavs. Download a patched mach_kernel for Security Update 2015-004 1.0 and replace it with the version located on the root of the OS X installation disk. Follow Steps #3a-3d (Updating to 10.9.2 on Z87). 10. Installing NVIDIA Web Driver 334.01.03f03 is optional. 11. Security Update 2015-005 1.0 restores the vanilla mach_kernel, causing the early reboot issue that prevents you from accessing Mavs. Download a patched mach_kernel for Security Update 2015-005 1.0 and replace it with the version located on the root of the OS X installation disk. Follow Steps #3a-3d (Updating to 10.9.2 on Z87). 12. Installing NVIDIA Web Driver 334.01.03f04 is optional. 13. Security Update 2015-006 1.0 restores the vanilla mach_kernel, causing the early reboot issue that prevents you from accessing Mavs. Download a patched mach_kernel for Security Update 2015-006 1.0 and replace it with the version located on the root of the OS X installation disk. Follow Step #3a-3d. 14. Install CUDA 7.0.61 drivers. 15. Installing NVIDIA Web Driver 334.01.03f05 is optional. Extra_MacPro3,1.zip
×