Jump to content
InsanelyMac Forum
tluck

[GUIDE] Lenovo T460 macOS with Clover

Recommended Posts

Lenovo T460 macOS with Clover Guide

  • Release v2018.05.17 on GitHub
    • Updated to Clover r4458
    • Updated Lilu.kext - supports both Sierra and High Sierra
    • Updated AppleALC.kext - supports both Sierra and High Sierra + added back DVMT patch for 10.13.2+
    • Updated VoodooPS2Controller.kext (RehabMan version) + SSDT updates for T460
    • Added Frank's T470p DSDT files
       
  • Various Tweaks over Last months
 
  • Release v2018.04.04 on GitHub
    • Updated to Clover r4424
    • Updated apfs.efi - patched 10.13.4 version
    • Updated Lilu and AppleALC kexts - supports both Sierra and High Sierra)
  • Release v2018.01.28 on GitHub
    • Updated to Clover r4394
    • Updated apfs.efi to patched 10.13.3 version
    • Updated Lilu and AppleALC kexts to v1.2.3 (supports both Sierra and High Sierra)
    • Revised misc kexts (FakeSMC) 
  • Release v2017.11.05 on GitHub
    • Updated Clover to r4293
    • Updated Lilu and AppleALC kexts to v1.2.1 (for Sierra and High Sierra)
  • Release v2017.10.15 on GitHub
    • Updated Clover to r4247
    • Updated FakeSMC kext (merged slices's FakeSMC keys)
    • Updated ACPIBatteryManager kext to latest
    • Revised Utility and Clover scripts installer
    Release v2017.09.20 on GitHub
    • Updated to Clover r4212
    • Updated Lilu and AppleALC kexts to v1.2 (for Sierra and High Sierra)
    • Updated USBInjectAll kext
    Release v2017.09.02 on GitHub
    • Updated to Clover r4189
    • Updated AppleALC and Lilu kext
    • Updated VoodooPS2Controller kext
    • Updated ACPIBatteryManager kext
    • Updated misc scripts for 10.13
    • Updated Theme for High Sierra
    • Update install_nvram_save script in Utility folder
  • Release v2017.07.31 on GitHub
    • Updated to Clover r4129
    • Updated Theme for High Sierra
    • Updated Lilu and AppleALC for High Sierra
  • Release v2017.05.28 on GitHub
    • Updated to Clover r4078
    • Updated SSDT-XHC for Sierra method for USB power and current
    • Updates on misc scripts for esp mount and esp cleanup
    • Updated AppleALC and Lilu (1.1.2b) - revised patching to use the RehabMan's patch frame buffer method vs patch assertion for DVMT 32MB
    • Updated BrcmPatchRAM2.kext - increase sleep times for better BT recovery after wakeup from sleep

    • Config.plist - remove GFX properties - let Clover inject them

    • revised NVRAM script (1.16.5) + GFX fixes
    • Updated IntelMausiEthernet.kext Info.plist to enable TSO
    • Updated VoodooPS2Trackpad.kext Info.plist for TrackPad changed bogus move threshold = 100
  • Release v2017.04.25 on GitHub:
    • Updated to Clover 4063
    • Updated AppleALC (1.1.2a) - this kext does all the patching of SKLGraphicsFramebuffer and AppleHDA kexts - no GFX FakeID needed anymore
    • Updated Lilu.kext (1.1.0)
    • Added config.patchSKL.plist and config.noSKL.plist (to patch SKL FB and AppleHDA via Clover - the old way)
    • Converted the .bash scripts to .command script to be runnable from Finder
    • Added extra tools and scripts in the Utilities folder - patchmatic, iasl, skylakeFB patch/unpatch scripts
    • Cleaned up stuff for GitHub
  • Tweaks for config.plist
  • Updated FakeSMC.kext and HWMonitor pkg - see Utilities folder for full installation tool.
  • Updated VoodooPS2Trackpad kext Info.plist - setting to ignore larger bogus jumps.
  • re-added SSDT-CPU for HWP feature
  • Updated "NVRAM save scripts" with installation script to use a LogoutHook for the launch method.
  • Added RehabMan's AppleBacklightInjector method for Backlight for 10.12.4 and removed IntelBackLight.kext from Other (now an optional kext)
  • Changed to model MacbookPro13,1 for HWP support with syscl's X86Platform injector and SSDT in support of HWP 
  • Switched Audio to use AppleALC.kext instead of AppleHDA_ALC293/CodecCommander
  • Added revised rc.boot and rc.shutdown scripts by syscl/tluck that seem to save nvram.plist to ESP more reliably.
  • Updated Audio - added LineOut for Dock and ambient noise for external Mic input. - reduced Boost levels - thanks to syscl who figured HDMI out.
  • Updated CodecCommander - seems to help after wake.
  • USB - updated SSDT-XHC-T460 - added internal HS09 device for fingerprint reader
  • Added EDID patch scripts to force RGB mode in Utilities directory - gets rid of menu color glitches
  • Updated sleepwatcher scripts to deal with ethernet and wifi on sleep/wakeRevised VoodooPS2Controller kext - based on Jakibaki's work for middle button cut/paste + TrackPoint Scroll.
  • Changed layout id for Audio to 28 - for AppleALC implementation
  • Updated VoodooPS2Controller.kext
    -- TrackPoint scroll with cut/paste
    -- adding T560 support by barrrrt
    -- which include Belyaev's Sierra TrackPad preference pane mods
    -- cap locks fix

The zip file is a complete Clover ESP (/EFI) bundle and kext pack for the Lenovo T460. The current file bundle is tested on Sierra. 

Note: I never got the GFX fully working on El Capitan. 

  • Full Clover file set - config.plist etc.
  • Includes all custom kexts
  • Includes custom DSDT/SSDT scripts and patches
  • Utility scripts

The zip bundles are posted to GitHub: https://github.com/tluck/Lenovo-T460-Clover/releases

Caveat: The T460 systems used here was configured with: i5-6300U, Intel HD Graphics 520, 1920x1080 touch screen. If you have a different system model, then extract the ACPI files and use the included scripts to create a set of files consistent with your system type and BIOS version. See below for details.

Credits: RehabMan, Shmilee, vusun123, TimeWalker, Mieze from which, much of their work and help is/was was used to get the T460 to this point.

Devices and aspects working:

  1. Ethernet -  Intel I219LM is enabled via IntelMausiEthernext.kext
  2. WiFi/BT - substitute the Intel WiFi/BT with a compatible Broadcom or Atheros chip
  3. Audio - ALC293 codec implemented via AppleALC.kext (old AppleHDA_ALC293 and CodecCommander kexts are not needed)
  4. PS2 - ClickPad + TrackPoint + all 3 buttons - using a modified VoodooPS2Controller to support new layouts - and added some custom Fn key maps based on 440/450 dsdt
  5. USB - implemented via custom SSDT + USBInjectAll kext. All USB3/USB2 ports are intel-based and work -  3 external USB and internal Camera, BT, etc 
  6. Sleep/Wake - the sleepwatcher package and custom sleep/wake scripts are used to help with sleep/wake for BT and PS2 devices.

Note: have not tried to implement the SD card reader - no driver found.

ACPI Files

 

 

If you have a T460, the ACPI files in zip should just "work" - at least to get the macOS installed. But in general it is best to make your own custom DSDT based on your system BIOS.  The ACPI (DSDT/SSDT) modifications are handled by combination of Clover on-the-fly patches, custom/direct patches to DSDT and the "hot-patch" method. Here are the key files:

  • DSDT- patched DSDT with included scripts. 
  • ssdt - (not included) and can be created for your CPU - will define C/P states via Pike's script ssdtPRGen.sh
  • SSDT-CPU - generic - for HWP support -  (no longer needed)  Clover 4016+ will generate SSDT with HWPEnabled and PStates true
     
  • SSDT-ARPT-T460 - Airport for Broadcom 4360 (if added)
  • SSDT-HACK-T460 - add misc functions for DSDT
  • SSDT-HDEF-T460 - fix/define Audio for ALC293 codec with layout ID 28 - linked to AppleALC.kext (or optional AppleHDA_ALC293.kext)
  • SSDT-IGPU-T460 - fix/define GFX for Intel HD 520 device 1916 (not really needed - since we inject graphics via clover as 4063)
  • SSDT-LPC-T460 - add/fix/define LPC device
  • SSDT-PNLF-T460 - add LCD/Panel
  • SSDT-PS2K-T460 - fix/define/add T460 defines keyboard and ClickPad/TrackPoint - linked to VoodooPS2Controller.kext
  • SSDT-SMBUS-T460 - add/fix/define SMBUS device
  • SDT-XHC-T460 - fix/define/add internal and external USB ports by custom UIAC device - linked to USBInjectAll.kext
  • SSDT-XOSI - generic - to set OS type

 

The (sample) custom DSDT in the zip is extracted from a T460 on BIOS v1.22.  

In the DSDT.T460 directory, there are the samples and scripts to create your own custom DSDT. The DSDT in the zip may work but its best to just match your system. The create_patch_DSDT.bash script will create a patched DSDT starting from the original ACPI files located the ACPI-Tables folder. The final DSDT is patched via patchmatic using the files in patch-files folder.  Follow these steps:

 

  1. Download and expand (extract) the contents from the Latest Release (zip file). 
     
  2. Copy the Utilities files into /usr/local/bin  The key files needed here are patchmatic, iasl, and espmount.bash
    Note: I assume the directory /usr/local/bin exists and is in your environment variable PATH
    
    cd ~/Downloads/Lenovo-T460-Clover-YYYY.MM.DD/Utilities/
    sudo ./install_tools.command
  3. Extract ACPI files.
    Start by extracting your original ACPI files by hitting F4 after you boot up with Clover. It will save the files to EFI/CLOVER/ACPI/origin. Note: this origin folder needs to exist.
     
  4. Copy the newly created ACPI files from the HD ESP to your working folder
    Copy the original .aml files from the origin directory - just the ones with names starting with DSDT and SSDT - from the ESP to a directory called DSDT.T460/ACPI-Tables ( which is part of the expanded zip file).

    Note: To mount the main system ESP, run this command which was installed with the tools in step 1.
    
    /usr/local/bin/espmount.bash 0
  5. Create your own patched DSDT.
    Using the original copied to the ACPI-Tables directory as the source, create a custom patched DSDT.dsl by:
    
    cd ~/Downloads/Lenovo-T460-Clover-YYYY.MM.DD/DSDT.T460
    ./create_patched_DSDT.command
  6. Install the new custom ACPI files into the ESP
    Now there is a new custom DSDT.dsl along with some other .dsl files in this same directory as the result of the patching script. To compile and install this newly create patched DSDT.dsl along with the other SSDT*.dsl files into the ESP, run this script below. It will mount the system disk partition disk0s1 (the ESP) on /Volumes/ESP, compile all the *.dsl files, and then copy them all to /Volumes/ESP/EFI/CLOVER/ACPI/patched location
    
    ./install_ACPI_to_ESP.command

 

New Installation - Steps and Details

 

BIOS settings:

  • Update to latest BIOS
  • Use Defaults settings, but check these items:
  • Set Security / Memory Protection / Execution Prevention = Enabled
  • Disable Secure Boot

Terms:

GPT = GUID Partition Table
MBR = Master Boot Record
ESP = EFI System Partition

The ESP is created automatically as the first (hidden) partition by the Disk Utility when the GPT option is selected for partitioning a disk.

Part 1 - OS Installation

 

 

 
This procedure is for a new macOS installation using a USB Installer. If you are upgrading from an older working version of OS X (say El Capitan) already on your HD, skip down to Part 2, Step 3 to update your ESP. You must replace or merge in the changes from the EFI/CLOVER files to your HD ESP before you perform the upgrade. 

  1. Download and expand (extract) the zip file contents from the GitHub Lenovo T460 Clover Latest Release.
    This same file set will be installed on the USB and the HD for UEFI boot.
     
  2. Download macOS from the App Store - they are freely available
    We build a macOS USB installer with the standard macOS installer app downloaded from the "App Store".
     
  3. Install macOS to a GPT formatted disk using the standard Install macOS.app downloaded from the Apple Store.

Create macOS USB installer

  1. Partition an 8GB (or larger) USB formatted with GUID Partition Table (GPT)
    - In Sierra, use the Erase option to change from MBR to GPT/GUID scheme.
    - Name the new partition USB. The install process will rename it, but this matches the script below.
    - Use format: macOS Extended (Journaled)
    Note: if you have a larger USB (say 16GB) you can split into 2 8GB partitions, so you can have 10.12 and 10.11 installers on the same USB key 
     
  2. Run this command to copy the downloaded bits to the USB key: 
    
    sudo /Applications/Install\ macOS\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/USB --applicationpath /Applications/Install\ macOS\ Sierra.app --nointeraction

Put Clover installation on USB

  1. Install Clover on the USB
    a ) Manually mount the ESP of the USB and copy the entire EFI directory.
    b ) If not done already, expand the downloaded Zip to ~/Downloads/Lenovo-T460-Clover-YYYY.MM.DD (this set is called the Zip below)
    c ) Copy the EFI directory to the ESP directory of the USB

    For example, assuming the USB is disk1:
    
    sudo mkdir /Volumes/ESP-USB
    sudo mount -t msdos /dev/disk1s1       /Volumes/ESP-USB
    cp -a ~/Downloads/Lenovo-T460-Clover-YYYY.MM.DD/EFI/ /Volumes/ESP-USB/EFI
    Note: run "diskutil list" on the command line to find your USB and HD disk devices
 

    Dual BOOT tip:
    If you plan to dual boot Windows from the same HD - DO NOT make the 2nd partition NTFS or ExFAT with the Disk Utility app.
    Make them both macOS Extended (Journaled) to keep a PMBR vs MBR.
    Size the 2 partitions appropriately - but later you will delete/reformat the 2nd partition for Windows. I recommend gpt which can make an NTFS partition without converting the PBMR.
         
  2. For a T560: Set up the ACPI configuration files to match your model.  

    go to /Volumes/ESP-USB/EFI/CLOVER
    Rename  ACPI to ACPI.T460
    Rename ACPI.T560 to ACPI

Boot Clover from USB Installer and select Install macOS

  1. Boot from the USB and install macOS on your GPT disk partition. (Hit F12 to select USB drive)

    Make sure the HD/SSD drive is formatted using:
        Scheme: GUID Partition Map (GPT),
        Partition Name: macOS,
        Format: mac OS Extended (Journaled)

    Note: *should NOT be needed* but If you get a KP from AppleIntelSKLGraphicsFramebuffer, then use the Clover Options Menu and to select the alternate configuration file: config.noSKL.plist. This injects a bogus graphics device ID 0x12345678.
     
  2. Click through GUI Install menus and wait for the installation to fully complete - on a spinning disk takes about 30-45 minutes. Follow these Notes and Tips
    • When the installer screens shows:   "To pair a Bluetooth keyboard, turn it on and wait for your computer to connect to it.”

  
               Hit the Space Bar to get past this step
    • When installer seems to hang at:  "About a second remaining”
               

Don’t Panic, this "second" may take about 10 minutes or more to finish.
               Just wait for the installer to reboot the computer and continue the installation.
               The whole install process takes  about 1 hour to complete.
    • On the first boot from the HD when asked:  "How Do You Connect?”
               

Select: “My computer does not connect to the Internet”
               And set up the network later after installation the NIC driver kext.
               Your Intel WiFi will not work. Period. 

 

Part 2- Post OS Installation and Setup

 
  1. Boot Clover from the USB 
    On startup, hit F12 and select USB -  You boot Clover from the USB, but now select the newly installed disk/partition to start macOS.  

    Note: *should NOT be needed* but if you get a KP from AppleIntelSKLGraphicsFramebuffer, then use the Clover Options Menu and select config.noSKL.plist. See step 7 below to fix this problem. AppleALC.kext + Lilu.kext will patch the Graphics Framebuffer to avoid a DVMT check KP.

    Note: You may see 3 Volumes instead of the expected 2 on the HD - macOS + Recovery HD - make sure you pick the volume that is NOT labelled Recovery HD. See step 3 below to convert the logical volume which will eliminate the abstraction and confusion.
     
  2. Complete the installation steps and login
    Note: This will boot up macOS with Clover injecting the custom kexts from the USB (for now). 
     
  3. Convert the Logical volume to Physical volume

    The full installer likes to make a logical volume. So for simplicity, I recommend one to revert the root volumes to a regular volume.

    In Terminal run: 
    
    sudo diskutil corestorage revert /
  4. Install Clover (ESP) on the HD
    Now the make the HD bootable with Clover. Transfer the Zip file contents to the new HD. Then use a similar process as used for the USB.  
    Note: I assume the Zip is in ~/Downloads/Lenovo-T460-Clover-YYYY.MM.DD/

    a ) NVRAM
    Since we are using Clover's EmuVariable method to simulate NVRAM, Clover looks for the file nvram.plist to get its persistent values - which is stored in the ESP now. Install the "root" utilities and clover scripts and files from Utilities folder to your HD. This step is important as it installs the "rc scripts" to save the nvram contents to a file upon reboot.

    Important: It will register your system to use a LogoutHook.
    
    cd ~/Downloads/Lenovo-T460-Clover-YYYY.MM.DD/Utilities/
    sudo ./install_clover_scripts.command
    b ) ESP
    The ESP contents on the HD are now to be made exactly like the ESP used for the USB installer above.  
    Mount the HD ESP and copy over the EFI items. You can follow the same procedure used for the USB installer.
    Note: If you previously installed Windows, be careful to not lose the EFI/Microsoft contents by following the procedure outlined below. 

    For example, assuming the main drive is disk0:
    
    sudo mkdir /Volumes/ESP
    sudo mount -t msdos /dev/disk0s1       /Volumes/ESP
    cp -a ~/Downloads/Lenovo-T460-Clover-YYYY.MM.DD/EFI/ /Volumes/ESP/EFI
    c ) Custom DSDT
    Using the procedure outlined above in the ACPI Files section, create and replace the custom DSDT in EFI/CLOVER/ACPI/patched
     
  5. Install Kexts onto the HD in /Library/Extensions

    a ) For 10.12.4+: Create a custom AppleBackLightInjector kext

    Note: This kext is not needed on the USB installer.

    Since this method replaces the IntelBacklight.kext (which is still included as an optional kext) - manually remove that kext if present. Now create a custom Backlight Injector that matches your LCD Panel. The script will update the kext in the ../../EFI/CLOVER/kexts/Other directory - which is the unzipped package location. Run this procedure script:

    
    cd ~/Downloads/Lenovo-T460-Clover-YYYY.MM.DD/Utilities/Create_AppleBacklightInjector_kext/
    sudo ./createAppleBacklightInjector.command

    b )  Install the kexts
    Install the custom kexts from the Zip kexts directory to the /Library/Extensions directory by running:

    
    cd ~/Downloads/Lenovo-T460-Clover-YYYY.MM.DD/EFI/CLOVER/kexts/
    ./_kext-install.command
  6. Ethernet Device Installation (Optional)
    This step loads the ethernet kext and resets network device order to have ethernet as en0 (seems to help with AppStore and iMessage etc)

    Note:  macOS may already have configured the ethernet, so this step may be unnecessary but it will not hurt anything either for a fresh installation.
    Run this set of commands:

    
    sudo kextload /Library/Extensions/IntelMausiEthernet.kext
    sleep 10
    sudo rm       /Library/Preferences/SystemConfiguration/NetworkInterfaces.plist
  7. Remove the USB and Reboot with Clover from the HD

    Note: For this boot session, you may want to
    1- in Clover hit F3 to save the ACPI files
    and 
    2 - in Clover hit the spacebar on your boot volume selection (macOS) to set verbose mode to watch for any issues.

Notes on Custom Kexts

 

All the kexts listed below are contained in the zip file. The origin is listed below if you wish to download them as well. I recommend you use the _kext-install.command script to properly copy all kexts to the /Library/Extensions directory.
 

  • Audio/GFXAppleALC.kext (1.2.7-tluck) + Lilu.kext (1.2.3) kernel patcher
    - 2 layout options
    - If you have a Docking Station, you can use LayoutID 28 for HDMI, Speaker, Mic, Headphones, ExtMic + extra LineOut for Dock Out
    - or optionally use LayoutID 29 to remove the extra LineOut option if it is not wanted.

    Important:
    1. Requires matching SSDT-HDEF with layoutID=28 or 29. The AppleALC kext defines the patches for AppleHDA and AppleIntelSKLGraphicsFramebuffer.kex in lieu of Clover. This kext version has extra GFX Framebuffer patching for DVMT KP,  brightness levels, as compared to the AppleALC distribution on GitHub.

    2. Keep original/unmodified AppleHDA.kext in /S/L/E and add the AppleALC.kext and Lilu.kext to /Library/Extensions for full audio support (and critical patching)


Obsolete: Also included are the old alternate audio kexts in ALC293 directory: 
- AppleHDA_ALC293.kext (v9278.56) -  custom kext adapted from an ALC292.kext and based on 10.12.3 AppleHDA. This kext requires the HDA kext patching via Clover.
- CodecCommander_ALC293.kext  - TimeWalker's kext - with ALC293 added - OPTIONAL - used to resolve missing input/outputs or sleep/wake issues.

 

  • Keyboard/Mouse: VoodooPS2Controller.kext (v1.8.32) - RehabMans's PS2 Keyboard/TouchPad/TrackPoint (my branch has been merged in to master branch)
    • This version has T460 definitions in the SSDT-PS2K 
      see LENOVO T460 "override" settings. Change defaults to suite your needs.
    • VoodooPS2Controller keyboard mappings have 3 or 4 finger swipe left/right to back/forward configured for Safari browser
    • Note: If MouseMiddleScroll is set to true - TrackPoint scrolling with MiddleButton works better. 
       
  • OSFakeSMC.kext (v6.26.1443) - Core hack mechanism. Using Kozlek's version + plugins + custom FakeSMC Info.plist
    - A Custom package is included in the Utilities folder so you can install HWMonitor.app - it just selects these 2 Plugins Sensors: ACPI and CPU.
    - Two Custom SMC keys are added to Kozlec's standard FakeSMC - FNum (to find the Fan) and ACID (for AC power and eliminate powerd syslog messages every 30 seconds).
     
  • Battery: ACPIBatteryManager.kext (v1.81.4) - RehabMan's kext to show/track battery info on menu bar
     
  • LCD: AppleBackLightInjector.kext (v0.9.2) - RehabMan's Injector method - modified for Lenovo T460 to incrementally scale brightness in 17 levels from 0 to 1000 - see matching kext patch for Framebuffer brightness - which changes the maximum backlight brightness level to 1000. Note: The template file has 2 models: T420 and T460 but can be expanded as needed. To create a customer Injector, run the Utilities createAppleBacklightInjector script to create a custom Panel definition specific to your LCD. It will put the new injector in the kexts/Other folder. Install it along other kexts with _kext_install.bash script.
    
    cd ~/Downloads/Lenovo-T460-Clover-YYYY.MM.DD/Utilities/Create_AppleBacklightInjector_kext
    sudo ./createAppleBacklightInjector.command

Optional: IntelBacklight.kext (v1.0.10) - RehabMan's kext for smoother/enhanced LCD backlight (dimming) control. In 10.12.4 (or later) this kext does communicate with Brightness keys or System Preferences Display Slider. So remove this kext unless on a version older (less) than 10.12.4
 

  • Ethernet: IntelMausiEthernet.kext (v.2.3.0) - Mieze's kext for Intel LAN that supports TSO, EEE and other features. 
     
  • USB: USBInjectAll.kext (v0.6.2) - RehabMan's kext -  See SSDT-XHC.dsl for related UIAC Device
     
  • CPU: X86PlatformPluginInjector.kext (v9.9.9) - based on syscl's injector for HWP properties. When using, MBP13,1 there is a custom property file for standard T460 CPUs:  i7-6600U 3400 MHz, i5-6300U 3000 Mhz, i5-6200U 2800 Mhz and i3-6100U 2300 Mhz.  This is the only kext that must be in /L/E since it uses a symbolic link to the standard version of this kext.


WiFi Replacement

These kexts and procedure are used with Broadcom WiFi/B. Replace the Intel WiFi with suitable supported card such as a BCM94352Z (Dell DW1560) with proper M.2 form-factor. To install the SleepWatcher scripts, which will help with WiFi on Sleep/Wake use this process to install the scripts into / of your HD


cd ~/Downloads/Lenovo-T460-Clover-YYYY.MM.DD/Utilities/
sudo ./install_sleepwatcher.command

Reboot and check that SleepWatcher is running via "ps -ef | grep sleep". 

Install these kexts for a Broadcom chip.

  • BrcmFirmwareRepo.kext (v2.2.7) - RehabMan's kext - to load firmware for Broadcom
  • BrcmPatchRAM2.kext  (v2.2.7) - based on RehabMan's kext, but modified to fix/change sleep/wake timings for T460.
  • FakePCIID.kext (v1.3.6)- RehabMan's kext
  • Fake_Broadcom_WiFi.kext (v1.3.6) - RehabMan's kext

 

 

Edited by tluck
Updates

Share this post


Link to post
Share on other sites
Advertisement

On the graphics, I don't think the DVMT is the problem, as most Skylake laptops with closed-off bios such as Dell and Acer also have 32MB DVMT-pre allocated memory and they still boot in just fine - only minor glitch on finder bar and gradient area, but that can be dealt with by using other display color profiles

Share this post


Link to post
Share on other sites

First off, EDID. Use MonInfo ( Windows ) and post the current EDID of your monitor ( in text format, save the raw numbers ). Then we will actually have something to work with. There are also cases of laptop display ( mainly Sony Vaio ) doesn't detect the right EDID, therefore it will get stuck or black screen with backlight on

Share this post


Link to post
Share on other sites

Hello,

 

Can you upgrade your guide with what is working or not?

 

Thank you

Everything will work except for:

1. Stock Intel Wireless Card ( replace with a BCM4352Z or Dell Wireless 1830A ( BCM4360Z )

2. Graphics ( currently bugged )

Share this post


Link to post
Share on other sites

@azerty076 - just posted a reply on another site. but i will update the GUIDE with my latest files etc. 

 

So quickly what works:

1) ethernet - IntelMausi kext
2) WiFi/BT - with Dell 1510 (BCM43252Z) - BrcmPatchRAM2 modified for to slow down firmware for USB wake.
3) Audio - ALC293 AppleHDA.kext
4) PS2 - Clickpad/Trackpad + TrackPoint + all 3 buttons - VoodooPS2Controller modified - F key maps
5) USB - custom SSDT + USBInjectAll kext mods. so all external USB3/USB2 ports and internal ports - Camera, BT work.
6) sleep/wake
 

have not messed with SD Card.

Share this post


Link to post
Share on other sites

@azerty076 - just posted a reply on another site. but i will update the GUIDE with my latest files etc. 

 

So quickly what works:

1) ethernet - IntelMausi kext

2) WiFi/BT - with Dell 1510 (BCM43252Z) - BrcmPatchRAM2 modified for to slow down firmware for USB wake.

3) Audio - ALC293 AppleHDA.kext

4) PS2 - Clickpad/Trackpad + TrackPoint + all 3 buttons - VoodooPS2Controller modified - F key maps

5) USB - custom SSDT + USBInjectAll kext mods. so all external USB3/USB2 ports and internal ports - Camera, BT work.

6) sleep/wake

7) GFX 2D - turn off IntelAccellerator.

have not messed with SD Card.

 

Hello,

 

I saw your message on the other site. It will be good if you can update this guide with the latest files ;) 

 

Otherwise, I think that i saw in the bios that we can configure the NVRAM size, for me it was 128Mo I think. I have a core i7 6660U.

Share this post


Link to post
Share on other sites

I posted the current/updated zip - not much changed. 

 

@tluck,

hello In my case I have 3D acceleration but I have transparency glitches only. I didn't rename file AppleIntelSKLGraphics.kext and my Hackintosh is working like a charm.

 

 

Here I attach transparency glitch example:

 

 

 

do you have this issue also ?

post-1637991-0-53571700-1475696139_thumb.png

Share this post


Link to post
Share on other sites

@aleixsr - what is your machine model? perhaps post your clover ESP and any other ideas for comparison? i will repost my zip later today. i made some slight changes in the VoodooPS2Controller kext.

Share this post


Link to post
Share on other sites

@tluck,

hello In my case I have 3D acceleration but I have transparency glitches only. I didn't rename file AppleIntelSKLGraphics.kext and my Hackintosh is working like a charm.

 

 

Here I attach transparency glitch example:

 

 

 

do you have this issue also ?

Try changing display color profile. One of the sRGB profiles will solve the issue

Share this post


Link to post
Share on other sites

darn. no joy. i tried your clover zip and got to same exact place - hung on IntelAccelerator.

 

wonder about differences in computer

cpu  - mine is i5-6300U? vs you have i5-6200U.

LCD - do you have touch screen?

 

i noticed you dont have a DSDT or SSDT files in your ACPI folders?

 

$ ioreg -l 

 ....

    | |   | | +-o IOFramebufferUserClient  <class IOFramebufferUserClient, id 0x1000003df, !registered, !matched, active, busy 0, retain 5>

    | |   | |     {

    | |   | |       "IOUserClientCreator" = "pid 220, WindowServer"

    | |   | |     }

    | |   | |    

    | |   | +-o IntelAccelerator  <class IntelAccelerator, id 0x1000002fd, registered, matched, active, busy 0 (0 ms), retain 10>

    | |   |   | {

^C^C^C

 

I don't have touch screen.

Why you said I don't have DSDT and SDST? Yes, I have it and I'm based on your files you posted on another forum. Please let me know.

 

Here is my ioreg -l:

...

| |   | | +-o IOFramebufferUserClient  <class IOFramebufferUserClient, id 0x100000380, !registered, !matched, active, busy 0, retain 5>

    | |   | | |   {

    | |   | | |     "IOUserClientCreator" = "pid 172, WindowServer"

    | |   | | |   }

    | |   | | |

    | |   | | +-o IOFramebufferSharedUserClient  <class IOFramebufferSharedUserClient, id 0x100000431, !registered, !matched, active, busy 0, retain 6>

    | |   | |     {

    | |   | |       "IOUserClientSharedInstance" = Yes

    | |   | |       "IOUserClientCreator" = "pid 1071, firefox"

    | |   | |     }

    | |   | |

    | |   | +-o AppleIntelFramebuffer@1  <class AppleIntelFramebuffer, id 0x1000002d3, registered, matched, active, busy 0 (1 ms), retain 14>

    | |   | | | {

 

...

 

| |   | +-o IntelAccelerator  <class IntelAccelerator, id 0x1000002d0, registered, matched, active, busy 0 (42 ms), retain 92>

 

 

Please tell me how can I help you.

Try changing display color profile. One of the sRGB profiles will solve the issue

 

GREAAAATTTT !!!!!

 

It's true! Using sRGB IEC61966-2.1 Display profile did the trick!!

 

Thank you very much!!!

Share this post


Link to post
Share on other sites

GREAAAATTTT !!!!!

 

It's true! Using sRGB IEC61966-2.1 Display profile did the trick!!

 

Thank you very much!!!

In fact your problem is the same as Haswell's 9MB Cursor issue. A little bit edit to the framebuffer will solve this matter without changing display profile, but I'm no expert on this one

Share this post


Link to post
Share on other sites

Sorry, you're completely right, I don't understand what happened when I compressed files.

 

Here is the correct version, you'll fine references to your nickname ;)

 

 

CLOVER.zip

Share this post


Link to post
Share on other sites

cool. i'll test this out later. as i said i wanted to replicate your setup to see what is different on my box.

 

is your LCD touch?

 

No, my LCD isn't touch.

Share this post


Link to post
Share on other sites

In fact your problem is the same as Haswell's 9MB Cursor issue. A little bit edit to the framebuffer will solve this matter without changing display profile, but I'm no expert on this one

 

Hi, it is not fully fixed, can you help me or tell me where I can found info about how to solve it ?

 

Thank you

Share this post


Link to post
Share on other sites

Hi, it is not fully fixed, can you help me or tell me where I can found info about how to solve it ?

 

Thank you

Google "Haswell 9MB Cursor Patch" and 1st result should be from tony's site. It has basic information on how to fix that problem on Haswell, take that and do what you can with Skylake ( do not replicate the same patch onto the SKLFramebuffer, I do not know if the patch will crash your system or not )

Share this post


Link to post
Share on other sites

well - still no luck here on full 3D gfx - i took your zip and booted up - but again IntelAcellerator hangs.

seems the touch display is the difference.

Is your touch display PS2-based or I2C based ?

Share this post


Link to post
Share on other sites

In fact your problem is the same as Haswell's 9MB Cursor issue. A little bit edit to the framebuffer will solve this matter without changing display profile, but I'm no expert on this one

 

Hello, I discovered that if I boot Windows and then reboot these graphic glitches don't appear, it is related to framebuffer? How can I know what I must change?

Here I attach ioreg files booting directly to OS X and rebooting from Windows.

 

Thank you very much

T460-01-Post_WIN_Boot.ioreg.zip

T460-01-OSX_Boot.ioreg.zip

Share this post


Link to post
Share on other sites

In fact your problem is the same as Haswell's 9MB Cursor issue. A little bit edit to the framebuffer will solve this matter without changing display profile, but I'm no expert on this one

 

Can you please help me on how to edit framebuffer ?

 

thank you.

Share this post


Link to post
Share on other sites

Lenovo T460 Clover Guide

 

Overview - Work in Progress - 05-Oct-2016

 

  • Updated Clover to 3787
  • Updated VoodooPS2Controller.kext (again) 
  • Updated FakeSMC kext to next rev

Attached is a current zip file with a complete /EFI pack for the Lenovo T460 using Clover on OS X

The current File Bundle is for 10.11 - the zip file attached to the bottom of this post

  • Full Clover file set - config.plist etc.
  • Includes all custom kexts
  • Includes custom DSDT/SSDT scripts and patches

Caveat:

My system is a T460 with Intel 520 Graphics. Currently, the full advanced graphics are not working due to lack of DVMT pre-allocated memory. Most systems need 64, 96 or 128 MB. This system seems to have 32 MB. 

I must rename /S/L/E/AppleIntelSLKGraphics.kext to not be used at this time.

 

Credits to: RehabMan and Shmilee (more to come) from which, much is/was based on to get the T460 to this point.

 

 

Devices and aspects working:

  1. Ethernet -  needs IntelMausiEthernext.kext
  2. WiFi/BT - substituted Intel WiFi/BT with Dell 1510 (BCM43252Z) - BrcmPatchRAM2 modified for to slow down firmware for USB wake.
  3. Audio - ALC293 AppleHDA.kext
  4. PS2 - Clickpad/Trackpad + TrackPoint + all 3 buttons - VoodooPS2Controller modified - F key maps
  5. USB - custom SSDT + USBInjectAll kext mods. so all external USB3/USB2 ports and internal ports - Camera, BT work.
  6. Sleep/Wake - sleep watch
  7. GFX 2D - turn off IntelAccellerator.

Note: have not tried to implement the SD card reader.

 

 

ACPI Patches and Files:

  • DSDT.dsl - patched DSDT  
  • ssdt.dsl - define C/P state for I5 via Pike's script

     

  • SSDT-HACK-T460.dsl - add misc functions
  • SSDT-XOSI.dsl  - sets OS type
  • SSDT-LPC-T460.dsl - add/fix/define LPC device
  • SSDT-SMBUS-T460.dsl - add/fix/define SMBUS device
  • SSDT-HDEF-T460.dsl - fix/define Audio for ALC293 codec
  • SSDT-IGPU-T460.dsl - fix/define GFX for Intel HD 520 device 1916
  • SSDT-PNLF-T460.dsl - add LCD/Panel
  • SSDT-PS2K-T460.dsl - fix/define/add T460 keyboard
  • SSDT-XHC-T460.dsl - fix/define/add internal and external USB ports 

 

Boot Clover and define gfx device ID=0x12345678 until able to disable AppleIntelSKLGraphics.kext

 

Part 1 - OS Installation

 

see http://www.insanelymac.com/forum/topic/285678-lenovo-thinkpad-t420-with-uefi-only/page-25?do=findComment&comment=1952283

 

Part 2 - Post OS Installation and Setup on HD

 

 

  1. Boot Clover from USB 

    On startup, hit F12 and select USB boot -  but now in Clover select the newly installed disk/partition to start OS X.  

     

    Note: You may see 3 Volumes instead of the expected 2 on the HD - OS X + Recovery HD - make sure you pick the volume that is NOT labelled Recovery HD. See step 3 below to remove the logical volume eliminates the confusion.

     

  2. Complete the installation steps and login

    Note: This will boot up OS X with Clover injecting the custom kexts from the USB (for now). 

     

  3. Convert the Logical volume to Physical volume

    The full installer likes to make a logical volume. So for simplicity, I recommend one to revert the root volumes to a regular volume.

     

    Run: 

    sudo diskutil corestorage revert /
  4. Install Clover on the HD

    Transfer the Zip file and the most Clover installation pkg to HD (via another USB). 

     

    a ) Run the Clover_v2.3k_rxxxx.pkg to install the related latest bits into the HD OS and ESP (usually partition 1) of disk0. Use the link to download the pkg from SourceForge.  You can do this step later on if you don't have way to get it before you are setup on the network.

     

    Select (check box) at least first 2 items! This picture shows a good set of overall options:

    attachicon.gifclover-pkg-options.png  After you close the pkg installer, then follow these step to replace the ESP.

     

    b ) The ESP contents on the HD are now to be made exactly like the ESP used to setup the USB installer above. If the ESP is not mounted from the running Clover installer pkg, manually mount the ESP of your HD on /Volumes/ESP. (See first 2 commands below.) Then you will replace the ESP installed by Clover in the previous step. Which means you copy/replace these 2 directories /Volume/ESP/EFI/CLOVER and BOOT with the ones from the Zip file. Then just as you did for the USB, the config.plist is renamed from the one that matched your LCD. For a manual mount and install of the ESP bits to disk0 follow same procedure as for the USB. If you previously installed Windows, be careful to not lose the EFI/Microsoft contents.

    Note:

    The Clover config.plist default volume name (the volume to boot automatically) is set to OSX - meaning your new volume is assumed to be named OSX

    If you use a different name, change the volume name or edit the name in config.plist to match. 

    mkdir /Volumes/ESP
    sudo mount -t msdos /dev/disk0s1 /Volumes/ESP
    
    mkdir -p /Volumes/ESP/EFI
    cp -a ~/Downloads/T460/EFI/* /Volumes/ESP/EFI
    
    
  5. Install custom kexts on HD

     

    Install the custom kexts from the Zip kexts directory to the /Library/Extensions directory by running EFI/CLOVER/kexts/_kext-install.command

    Note: If you choose to NOT install the custom kexts in the OS /L/E directory, then AppleHDA kext will not work properly. DO NOT remove standard AppleHDA.kext from /S/L/E.

     

    Run this script:

     ~/Downloads/T460/EFI/CLOVER/kexts/_kext-install.command
  6. Ethernet Device Installation

     

    This step loads the ethernet kext and resets network device order to have ethernet as en0 (seems to help with AppStore and iMessage etc)

    Note: OSX may already have configured the ethernet, so this step may be unnecessary but it will not hurt anything either for a fresh installation.

    Run this set of commands:

     

    sudo kextload /Library/Extensions/IntelMausiEthernet.kext
    sleep 10
    sudo rm       /Library/Preferences/SystemConfiguration/NetworkInterfaces.plist
  7. Remove the USB and Reboot to load Clover from the HD

    Note: For this first boot, hit the spacebar on your boot selection (OSX) and use verbose mode.

 

 

 

Notes on Custom Kexts

 

All the kexts listed below are contained in the zip file. The origin is listed below if you wish to download them as well. I recommend you use kext install tool to properly copy all kexts to the /Library/Extensions directory.

  • FakeSMC.kext (v6.21.1413) - Core hack mechanism. Using Kozlek's version + plugins + custom FakeSMC Info.plist

    A Custom package is included in the Utilities folder so you can install HWMonitor.app - it just selects these 2 Plugins Sensors: ACPI and CPU.

    • ​2 Custom SMC keys are added to Kozlec's standard FakeSMC - FNum (to find the Fan) and ACID (for AC power and eliminate powerd syslog messages every 30 seconds).
  • ACPIBatteryManager.kext (v1.70.1) - RehabMan's kext to show/track battery info on menu bar

     

  • AppleHDA_ALC293.kext (v9274.12) adapted from ALC292.kext. Note: Keep original/unmodified AppleHDA.kext and add this kext to /L/E for full audio support. Note: requires matching DSDT sections for config.plist layoutID 1. and uses Kext Patch via Clover. 

     

  • USB_Injector.kext (1.0.0) - based on RehabMan's UsbInjectAll.kext but modified for T460 XHCI devices. see SSDT-XHC.dsl for related details. 

     

  • IntelBacklight.kext (v1.0.10) - RehabMan's kext for smoother/enhanced LCD backlight (dimming) control. 

     

  • IntelMausiEthernet.kext (v.2.2.0) - Mieze's Intel LAN kext that supports TSO, EEE and other features. Put this kext in /Library/Extensions

     

  • VoodooPS2Controller.kext (v1.8.24a) - New T460 version of RehabMans's PS2 Keyboad/TouchPad/TrackPoint -  

     

    This version has extra T460 definitions in the Info.plist files. And recoded to support 3 real buttons as well ClickPad Right/Left click.

    • Modified Info.plist(s) to add LENOVO T460 override settings. Change defaults to suite your needs in VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2TrackPad.kext/Contents/Info.plist
    • Reduced MouseMultiplier X and Y for TrackPoint.
    • Note: VoodooPS2Controller keyboard mappings have 3 or 4 finger swipe left/right to back/forward configured for Safari browser

OPTIONAL - used with Dell 1560 Wifi/BT replacement card:

 

Hi @tluck,

your script is returing this error:

 

./_kext-install.command: line 86: cd: /Library/Extensions/AppleHDA_20672.kext/Contents/MacOS: No such file or directory

 

Where is AppleHDA_20672.kext ?

 

Thank you

 

Share this post


Link to post
Share on other sites

ah sorry that is an older script that was hardcoded for my T420... meaning that kext is for the T420 not the T460.

 

ill update the package later but here is revised script that ought to work 

Thank you, I just saw there is:

sudo ln -s /System/Library/Extensions/AppleHDA.kext/Contents/MacOS/AppleHDA

but I don't have AppleHDA.kext ?¿?¿ Does it make sense?

Thank you, I just saw there is:

sudo ln -s /System/Library/Extensions/AppleHDA.kext/Contents/MacOS/AppleHDA

but I don't have AppleHDA.kext ?¿?¿ Does it make sense?

 

Sorry, I found it was on /Backup Extensions folder, I restored it but I don't have any sound device, how did you got it working?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

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

Create an account

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

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   1 member



  • Similar Content

    • By Cyberdevs
      Installing macOS® Sierra® on Gigabyte GA-Z170X-Gaming 5 rev 1.0
      Intel® Core i7 6700K
      nVidia® Graphics Maxwell® or Pascal®
      Disclaimer:
      This guide will assume that you know what you are doing and also assumes that you have already made a backup of your data before making any changes to your hardware or software. If you have not made a backup STOP HERE! and create one.
      I will not be held responsible for any data loss or any damage you might cause to your computer in the process of installing macOS® on your computer.
      By following this guide, you acknowledge that installing Mac OS X® and macOS® on any hardware that is not produced by Apple® is illegal and you will be responsible if you break any laws.
      All the trademarks and copy rights belong to their respective owners.
      This guide is only for your personal use and your information, therefore if you break any laws by using this manual you will be responsible for it not me. Any commercial use of the contents of this guide is prohibited.
      If I forget to mention your name or someone else’s name in the credits section forgive my negligence and feel free to contact me and I will add your name/s.
      This guide is written specifically for the hardware specifications I’m using, but the principal in general might apply to other hardware with similar specs with the exception of DSDT and SSDT files.
      Important Notes:
      1. Always backup your data before making any changes to your hardware or software.
      2. Always keep a bootable Clover USB disk with the latest working configurations just in case.
      3. I suggest you use another bootable USB for testing and not to edit the EFI folder on the hard drive.
      4. Preferably use the latest BIOS (F21 at the time of writing) version and the latest version of Clover EFI bootloader (4077 at the time of writing).
      5. There are two main versions of Clover EFI bootloader available in this package. One for the users with a nVidia GPU and the other one is for the users with IntelHD 530 GPU.
      6. So many parts of this tutorial are universal and they apply to all Hackintosh and Apple computers, like creating the Bootable USB disk drive or mounting the EFI partition. So, you can use them on all the computers that run macOS or even use them for installing macOS on other Hackintosh computers.
      7. The config.plist, the DSDT.aml file and the SSDT tables are specifically created for the GA-Z170X-Gaming 5 motherboard so do not use them on other hardware because they simply won’t work or even if they do you might experience some problems and errors.
      8. This tutorial is based on my personal experience. So, you might need to make some extra adjustments.
       
      Downloading the macOS® Sierra installer from App Store:
      Download the version of macOS® you want to install on your computer from App Store, macOS® Sierra. For downloading the macOS® installer you’ll need an Apple® computer or a working Hackintosh and a valid Apple ID. Although downloading macOS® Sierra® doesn’t require an Apple ID but if you are going to use your Hackintosh for day to day use you’re going to need a valid Apple ID.
      You can download the macOS® Sierra® installer by using the link below:
      macOS® Sierra® 10.12.5:
      https://itunes.apple.com/us/app/macos-sierra/id1127487414?mt=12&ls=1
      You can also use App Store directly for downloading it. The “Install macOS® Sierra.app” will be saved to the following path once downloaded: /Applications/
       
      Creating bootable USB Disk for macOS®:
      Plug in a USB flash drive (8Gb or larger) and launch disk utility to format the flash drive.
      To create a bootable USB drive for macOS®, everything must be exactly as shown in the picture below.
      Once you successfully formatted the flash drive, open Terminal from /Applications/Utilities:
      Copy and paste the following command into terminal without the “”:
      For macOS® Sierra®:
      “sudo /Applications/Install\ macOS\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ macOS\ Sierra.app —nointeraction”
      Press return/enter to run the command. You’ll be asked to give your password and once you type your password press return/enter and the process will start.
      Depending on the speed of the USB drive you are using it will take about 5 to 30 minutes to complete the process. It took about 5 minutes on my computer to create the bootable disk on a USB 3.0 flash drive.
       
      How to mount the EFI partition using command line:
      Launch the terminal application again if you closed it previously.
      Type “diskutil list” and press return/enter
      You’ll see list of all the Internal and the external hard drives 
      Type “diskutil mount /dev/diskXsX” and press return/enter
      First X is the number of the disk and the second X is the number of the partition
      In this case the command will be:
      e.g. diskutil mount /dev/disk2s1
      Now you can see the EFI partition of disk6 is mounted on the desktop, if you can’t see the partition on the desktop you can find it in finder window’s “Sidebar” under “Devices”

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

      VERY IMPORTANT NOTE:
      Before you start using macOS® Sierra®, you need to change the SMBIOS of the config.plist:
      You have to change the SMBIOS settings before starting to use macOS® Sierra®, because the config.plist that is included in this guide doesn’t have a serial number for your Hackintosh, so you won’t be able to use any of Apple’s services without a serial number and a hardware UUID. It’s imperative to do so specially if you are going to use your Hackintosh for daily use. If you don’t change the serial number you won’t be able to use App Store, iCloud, iMessage etc. It’s highly recommended that you use iMac 17,1 SMBIOS as your default. iMac 17,1 and iMac 17,2 models use Skylake processors in Apple's original iMacs.
      For changing the SMBIOS you can use the built-in wizard inside “Clover Configurator” under SMBIOS Section. To open the wizard, click the small magic wand on the right side of the window to use the wizard.
       
      Audio:
      By using the EFI folder included with this guide and by using the patched DSDT/SSDT tables, “AppleALC.kext” and “Lilu.kext” you won’t need to do much to make the audio active on your Hackintosh.
      Just install the macOS® Sierra®, copy the EFI folder and audio is activated by default, HDMI audio will be active once you install nVidiaWebDrivers and restart the computer.
      If the audio didn’t work, you can rebuild prelinked kernel and kexts cache by using the following commands in terminal:
      1. sudo nvram -c 2. sudo purge 3. sudo rm -f /System/Library/Caches/com.apple.kext.caches/Startup/kernelcache && sudo touch /System/Library/Extensions && sudo kextcache -u / sudo update_dyld_shared_cache -force Or you can use “Kext Utility” to repair permissions on /System/Library/Extensions and /Library/Extensions and also it will also rebuilds the system cache for you.
      Kext Utility could be found at:
      http://www.insanelymac.com/forum/index.php?app=core&module=attach&section=attach&attach_id=186603
       
      Note:
      If you see the following output in terminal it means that you forgot to mount the EFI partition, mount it and run the command again.
      EFI partition not mounted
      Boot/EFI not found
      EFI/CLOVER folder not available to install audio
      No system files were changed
      To save a Copy of this Terminal session: Terminal/Shell/Export Text As ...
      logout
      Saving session...
      ...copying shared history...
      ...saving history...truncating history files...
      ...completed.
      [Process completed]
       
      Other methods for activating the Audio:
      1. audio_codecdetect.command
      This command will give you useful information about the audio chipsets and devices that are available on the system, after you run the command, the output will be like this:
      cdetect_v2.2.command ; exit;
      File: audio_codecdetect.command_v2.2
      HDMI audio codec(s)
      Nvidia:   0x10de0083
      Onboard audio codec
      Realtek: 0x10ec0900
      Name: Realtek ALC1150
      Audio ID: 1
      Valid audio codec, audio device and Audio ID; audio injection is working
      Finished
      logout
      Saving session...
      ...copying shared history...
      ...saving history...truncating history files...
      ...completed.
      [Process completed]
       
      This means that the audio chipset is supported and you can go to the next step of installing the audio using Toleda's scripts.
       
      2. audio_cloverALC-120_v1.0f3.command
      Type in the password and press return/enter
      Agreement
      The audio_cloverALC script is for personal use only. Do not distribute
      the patch, any or all of the files or the resulting patched AppleHDA.kext
      for any reason without permission. The audio_cloverALC script is
      provided as is and without any kind of warranty.
      File: audio_cloverALC-120.command_v1.0f3
      Release Mode
      Password:
      EFI partition is mounted
      System Integrity Protection status: disabled.
      OK to patch
      Confirm Realtek ALC1150 (y/n): y
      Clover Audio ID Injection (y/n): y
      Use Audio ID: 1 (y/n): y
      Download ALC1150 files ...
        % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                       Dload  Upload   Total   Spent    Left  Speed
      100 23555  100 23555    0     0  12259      0  0:00:01  0:00:01 --:--:-- 12255
      Edit config.plist/Devices/Audio/Inject/1
      Edit config.plist/SystemParameters/InjectKexts/YES
      Download kext patches
        % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                       Dload  Upload   Total   Spent    Left  Speed
      100  1855  100  1855    0     0   3033      0 --:--:-- --:--:-- --:--:--  3031
      Download config kext and install ...
        % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                       Dload  Upload   Total   Spent    Left  Speed
      100  4223  100  4223    0     0   3383      0  0:00:01  0:00:01 --:--:--  3383
      Install /Volumes/EFI/EFI/CLOVER/kexts/10.12/realtekALC.kext
      Install System/Library/Extensions/AppleHDA.kext/ALC1150 zml files
      Fix permissions ...
      Kernel cache...
      rebuilding //System/Library/PrelinkedKernels/prelinkedkernel
      kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext CodecCommander.kext
      kext-dev-mode allowing invalid signature -67013 0xFFFFFFFFFFFEFA3B for kext AppleMobileDevice.kext
      kext-dev-mode allowing invalid signature -67054 0xFFFFFFFFFFFEFA12 for kext AppleHDA.kext
      kext-dev-mode allowing invalid signature -67030 0xFFFFFFFFFFFEFA2A for kext AppleGraphicsDevicePolicy.kext
      KernelCache ID: 4EEE3A25D6E9388FE8F02F8E56A57A1D
      kextcache updated critical boot files, requesting launchd reboot
      Install finished, restart required.
      To save a Copy of this Terminal session: Terminal/Shell/Export Text As ...
      logout
      Saving session...
      ...copying shared history...
      ...saving history...truncating history files...
      ...completed.
      [Process completed]
      All you need to do now is to reboot the system and you’ll have audio!
       
      3. HDMI Audio
      For activating the HDMI Audio for you need to run audio_cloverHDMI-120.command
      This command will detect the audio codec for you integrated graphics and discrete GPU and will add the proper SSDT table to /EFI/Cover/ACPI/patched folder
      Agreement
      The audio_cloverHDMI script is for personal use only. Do not distribute
      the patch, any or all of the files for any reason without permission.
      The audio_cloverHDMI script is provided as is and without any warranty.
      File: audio_cloverHDMI-120.command_v1.0d
      Release Mode
      EFI partition is mounted
      No HDMI audio codec(s) detected, continue (y/n): y
      HDMI audio codec(s)
      Integrated Graphics is not installed/enabled
      Install AMD/Nvidia HDMI audio (y/n): y
      Nvidia discrete graphics card 10de1b81 found on PEG0@1/PEGP@0
      Nvidia HDMI audio is not enabled
      Install Nvidia HDMI audio ssdt (y/n): y
      Download SSDT-HDMI-NVIDIA-PEG0 ...
      Password:
        % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                       Dload  Upload   Total   Spent    Left  Speed
      100 44888  100 44888    0     0  39094      0  0:00:01  0:00:01 --:--:-- 39101
      /Volumes/EFI/EFI/CLOVER/ACPI/patched/SSDT-HDMI-NVIDIA-PEG0.aml installed
      Install finished, restart required.
      To save a Copy of this Terminal session: Terminal/Shell/Export Text As ...
      logout
      Saving session...
      ...copying shared history...
      ...saving history...truncating history files...
      ...completed.
      [Process completed]
       
      Audio Troubleshooting:
      If after running the audio_cloverHDMI-120_v1.0d.command you see the following statement
      “Agreement
      The audio_cloverHDMI script is for personal use only. Do not distribute
      the patch, any or all of the files for any reason without permission.
      The audio_cloverHDMI script is provided as is and without any warranty.
      File: audio_cloverHDMI-120.command_v1.0d
      Release Mode
      EFI partition is mounted
      Error: no IOReg/HDEF; BIOS/audio/disabled or ACPI problem
      Continue without HDEF/onboard audio (y/n): y
      No audio codec detected
      No system files were changed
       
      It means you either don’t have a patched DSDT.aml file or SSDT tables and no patches are present inside the config.plist so you need to either add the DSDT/SSDT tables or add patches yourself.
      Don’t be alarmed it’s so easy.
      Open clover configurator and after mounting the EFI partition, open the config.plist and add the following patch :
      Under ACPI, DSDT patches select “change HDAS to HDEF” from “List of Patches” and this will add the following code in the config.plist
      </dict>
      <key>Comment</key>
      <string>change HDAS to HDEF</string>
      <key>Disabled</key>
      <false/>
      <key>Find</key>
      <data>
      SERBUw==
      </data>
      <key>Replace</key>
      <data>
      SERFRg==
      </data>
      </dict>
      or
      Comment: change HDAS to HDEF
      Find*[HEX] 48444153
      Replace*[HEX]48444546
       
      Graphics:
      This section will be dedicated to nVidia GPUs specially Maxwell and Pascal. If you are using any other nVidia or AMD graphics you can skip this section.
      We tested these instructions on an EVGA 1070 Superclocked GPU and a Gigabyte nVidia GeForce GTX960 GAMING-4GB (Please include the brand for reference).
      As you might know the 10 series nVidia GPUs or Pascal are not compatible with Mac OS X El Capitan and earlier versions of macOS® but 9 series and Maxwell are compatible and they both need nVidiaWebDrivers to be fully functional.
      For macOS® Sierra® 10.12.5 you’ll need to download 378.05.05.15f01
      https://images.nvidia.com/mac/pkg/378/WebDriver-378.05.05.15f01.pkg
      Solution 1:
      If you are looking for an easy way to get the GPU working all you have to is to copy the Lilu.kext and nVidaiGraphicsFixup.kext inside the kext folder in clover EFI bootloader.
      The full path is /EFI/Clover/kext/10.12
      Once you finished installing macOS® and nVidiaWebDrivers you’ll need to add the following flags and setting to the config.plist
      Under “Boot” section add or remove nvda_drv=1 if necessary. I don’t need to use it on my computer. You don’t need to inject anything in “Graphics” section Under “System Parameters” check “NvidiaWeb”   When installing Clover EFI bootloader under “Drivers64UEFI” install “EMUVariableUefi-64” // I also use OsxAptioFix2Drv.efi, never tested without it.
      and that’s it!
       
      Solution 2:
      If you don’t want to use nVidaiGraphicsFixup.kext you only have two options:
      1. Run AGDP-fix.app to edit the “AppleGraphicsDevicePolicy.kext” to fix “Boot to Black Screen” issue 2. Or you can edit the “AppleGraphicsDevicePolicy.kext” manually using terminal. If you choose the second solution for any reason remember after each major update you need to apply the patch all over again.
       
      Wi-Fi:
      TP-Link WDN4800 works out of the box without any hassle.
      The only problem that you might encounter with it is "ATHR: unknown locale: 21" error in the verbose boot.
      The Atheros patch is to avoid the series of "ATHR: unknown locale: 21" messages in the verbose boot which they will be registered in message console's logs and they will make the log file bigger. The patch will fix the WiFi location and will stop the error and therefore there will be no more logs.
      Without the patch, the WiFi will work just the same but with lots of messages in the log.
      If you don’t use the TP-Link WDN4800 you can remove the patch or simply leave it as disabled.
       
      USB 3.0:
      Under Kernel and Kext Patches add the following to “KextsToPatch”:
      This patch will raise the limit of the USB ports from 15 to 26.
      For macOS® Sierra
      Name*: AppleUSBXHCIPCI
      Find* [HEX] : 83bd74ff ffff10
      Replace [HEX] : 83bd74ff ffff1b
      Comment: Raise change 15 port limit to 26 in XHCI kext (100-series)
      MatchOS: 10.12.x
      You also might need to add RehabMan’s “USBInjectAll.kext” to the following path under “/EFI/Clover/kexts/10.12” for macOS® Sierra
      Note:
      If you are using a patched DSDT or SSDT tables you don’t need to use any DSDT patches in clover and the “USBInjectAll.kext” you will have full functional USB 2.0 and USB 3.0 ports. I didn’t test USB 3.1 ports because I have no USB 3.1 device to test it!
      The port limit patch must only be temporary, you will need to create your own custom SSDT-UIAC to only inject the ports you use.
       
      Custom SSDT-UIAC:
      A quick rundown on how to create a custom SSDT-UIAC.
      Add the following patch to your config.plist if you don’t already have the patch.
      <dict>
      <key>Comment</key>
      <string>change 15 port limit to 26 in XHCI kext (100-series)</string>
      <key>MatchOS</key>
      <string>10.12.x</string>
      <key>Name</key>
      <string>com.apple.driver.usb.AppleUSBXHCIPCI</string>
      <key>Find</key>
      <data>g710////EA==</data>
      <key>Replace</key>
      <data>g710////Gw==</data>
      </dict>
       
      or
       
      Name*: AppleUSBXHCIPCI
      Find* [HEX] : 83bd74ff ffff10
      Replace [HEX] : 83bd74ff ffff1b
      Comment: Raise change 15 port limit to 26 in XHCI kext (100-series)
      MatchOS: 10.12.x
       
      The USBInjectAll.kext provided in this guide needs to be and stay installed.
      Download ioregistryexplorer Version 3.0.3 from http://mac.softpedia.com/get/System-Utilities/IORegistryExplorer.shtml
      or download IOJones which is an alternative to IORegistryExplorer at: https://sourceforge.net/projects/iojones/
      Download MaciASL from https://bitbucket.org/RehabMan/os-x-maciasl-patchmatic/downloads/RehabMan-MaciASL-2017-0117.zip and extract, drag MaciASL.app into /Applications. (Credit RehabMan)
      Download OS-X-USB-Inject-All Master from: (Credit RehabMan)
      https://github.com/RehabMan/OS-X-USB-Inject-All/archive/master.zip
      and extract the zip file.
      Inside the OS-X-USB-Inject-All-master folder you will find SSDT-UIAC-ALL.dsl, copy it to your desktop.
      Open ioregistryexplorer and find your device id by typing XHC in the search field.
      Open SSDT-UIAC-ALL.dsl with MaciASL and find your appropriate device id section.
      Remove all other sections in the SSDT-UIAC-ALL.dsl that do not correspond with your device id leaving just the one section. Skylake does not have a EHCI controller so “HUB1”, ”HUB2”, ”EH01”, "EH02" can be removed and in my case I can also remove "8086_1e31", "8086_8xxx", "8086_9xxx", "8086_9cb1", "8086_9d2f" and "8086_a2af".
      Compile the file to make sure there are no errors in the code and then save the file with “ACPI Machine Language Binary”. 
      Now we turn our attention to ioregistryexplorer, while you have ioregistry open go to the XHC section and take note of the HSxx or SSxx locations that have devices attached. Now plug in a USB 2.0 device into all USB 2.0 you NEED and do the same with USB 3.0 ports with USB 2 and 3 devices and take note of them all.
      Returning back to the SSDT-UIAC-ALL.dsl you will see all ports listed, you need to remove the ones you did not take note of and you can also add a comment to the ones you keep. 
      UsbConnector values = USB 2.0 = 0, USB 3.0 = 3. Internal = 255
      USB 2.0 devices plugged into USB 3.0 ports HSxx are still marked as USB 3.0 = 3.
      Internal devices such as Bluetooth etc are marked as 255
      Once you gone through and done this to all the devices you need and removed the ones you don’t you can save your SSDT-UIAC-ALL.dsl in MaciASL. Make sure you rename it to SSDT-UIAC and that the file format is ACPI Machine Language Binary
      Copy and paste the resulting SSDT-UIAC.aml into your EFI/EFI/CLOVER/ACPI/patched folder.
      Disable the port limit patch in config.plist and add SSDT-UIAC.aml into SortedOrder if needed.
      Reboot.
       
      Open ioregistryexplorer and test the ports you left enabled USB 2 & 3.
      The number of ports you should see in ioreg should be significantly reduced as they are not being injected anymore.
       
      Special Thanks to:
      I would like to thank MaLd0n for providing the patched version of DSDT and SSDT tables and SavageAUS for doing such a great work on helping me to write this tutorial and testing the files and also writing the “Custom SSDT-UIAC” section.
      I also would like to thank:
      Vit9696 for Lilu.kext
      RehabMan for CodecCommander.kext FakeSMC.kext, IntelMausiEthernet.kext, USBInjectAll.kext.
      Toleda for AppleALC.kext, Audio commands and kexts
      netkas for FakeSMC.kext
      lvs1974 for IntelGraphicsFixup.kext and NvidiaGraphicsFixup.kext
      hnak for AppleIntelE1000e.kext
      Mieze for IntelMausiEthernet.kext
      apianti, blackosx, blusseau, dmazar, slice2009 for Clover EFI Bootloader
      http://mackie100projects.altervista.org for Clover Configurator
      Apple Inc. for macOS® and great many other products.
      And many other great people whom make Hackintosh possible!
       
      The hardware I use in my computer:
      Gigabyte GA-Z170X-Gaming 5
      Intel Skylake Core i7 6700K @ 4.0 GHz
      32 GB (4x8 GB) 2666 GSKILL Ripjaws
      EVGA GTX 1070 SC 8 GB
      Dual Display 23.5"
      Kingston HyperX 240GB SATA III SSD
      250 GB Samsun EVO 850 SSD 
      TP-Link WDN4800 PCIe Wireless Network Adapter
      CoolerMaster Silencio 452 Case
      CoolerMaster Nepton 120XL Liquid Cooler
      CoolerMaster V750 Watts Power Supply
      2x24" Samsung LED Displays + 32" TV
       
      SavageAUS's hardware that was used for testing:
      Gigabyte GA-Z170X-Gaming 5
      Intel Skylake core i7-6700k @ 4Ghz
      32Gb (4 x 8Gb) DDR4 3200 G.Skill Ripjaws
      Gigabyte GTX960 GV-N960WF2OC-4GD
      240Gb Intel SSD
      240Gb Kingston HyperX Savage SSD
      TP-Link WDN4800 WiFi
      Corsair H110i AIO Liquid Cooler
      Corsair RM850i PSU
      Corsair 760t Case
      24" single display Benq GL2450
       
      Please download the PDF version which includes pictures on this guide.
      I hope you find this tutorial helpful.
      Best Regards,
      Cyberdevs
      GA-Z170X-Gaming 5 Release 01 DSDT and SSDT nVidia Version.zip
      GA-Z170X-Gaming 5 Release 01 DSDT and SSDT IntelHD 530 Version.zip
      Installing macOS Sierra on GA-Z170X-Gaming 5 - Final.pdf
      IORegistryExplorer_3.0.3.zip
       
      Updated Clover folders can be found at this post:
      Updated Folders
    • By TheMiningSheep
      Olá gente. Já faz um tempo que eu venho pesquisando sobre o Hackintosh e a obsessão só vem crescendo. 
       
      Li muita coisa mas ainda não tenho total certeza em como fazer o processo. Meu notebook é um Lenovo G40-80, gostaria da opinião de vocês se realmente é aconselhável fazer, se rodaria legal e coisas assim.
       
      System Info está aqui (https://i.imgur.com/4EMTdRc.png) 
       
      Já sei como criar o pendrive bootavel e que minha placa de rede não é compatível, usarei um adaptador usb até a outra chegar. O que eu mais venho duvida é sobre pós-instalação e sobre quais kexts devo usar.
      Caso for possível o hack, farei um tutorial exclusivo para quem tem essa maquina e está sofrendo também. 
       
      Agradeceria muito as vossas ajudas. 
       
    • By vesting
      Hello,
      I own a Lenovo Thinkpad T520 with this hardware:
      CPU: Intel Core i5-2520M 2.50 GHz
      Motherboard: Lenovo 4242Y13 Chipset Intel sandy bridge
      RAM: 8Gb DDR3 dual channel
      Graphics: Intel HD Graphics 3000
      Storage: 320 Gb HDD 7200 rpm.
      Wireless Card: Intel 82579LM Gbit network connection
      Trackpad.
      Ports:
       - 2 USB 2.0  - 1 USB 3.0  - 1 VGA  - 1 Card reader  - 1 Ethernet Is it Hackintosh compatible? I would like to install High Sierra, or at least El Capitan. I read that someone made it following the T410's guide, but they had the i7 version of the T520 with NVidia graphics. can you help me please?
      Thank you for your time.
       
    • By zeg66
      Trying to install Mavericks on an Asus H170M-E D3 motherboard, Skylake I3-6100 cpu, Intel 530 graphics.
      Last message I see is "root device uud is" and a series of "+++" but then it just stops.
      Have prepared usb with createinstallmedia, added Clover 4413 and changed a few settings with Configurator.
      Any help is welcome.
    • By Cyberdevs
      First of all I want to thank all the people in advance who helped make this happen all the credit goes to them, I just gathered what I’ve learned from them.
      Pike R Alpha, RehabMan, Majonéz, Yassinex, Toledo, Todeleda, TheRacerMaster, OiCKilL, Andres ZeroCross, bomerr and many other great minds who helped me out. If any name/s is/are left out please let me know so I put it/them right here.
      These are my specs:
      Gigabyte Z170X-Gaming 5
      Intel Skylake 6700K @ 4.0 GHz up to 4.2 GHz
      4x8 GB 2666 DDR4 GSKILL RIPJAWS Memory Modules
      Kingston HyperX Savage 240 GB 6Gbps SSD
      AMD Radeon HD7790 1 GB GDDR5
      TP-Link WDN-4800
      CoolerMaster Nepton 120XL Cooling Unit
      CoolerMaster V750-Gold Power Supply Unit
      CoolderMaster Silencio 452 MidTower Case
       
      BIOS Settings:
      In BIOS from M.I.T. choose Advanced Memory Settings
           I. From Extreme Memory Profile(X.M.P.) I Choose [Profile1] it's crucial to choose this option if you want your memory modules work with their full frequency.
           II. Enter the correct System Memory Multiplier which in my case based on my 2666MHz DDR4 it must be 26.6.
           III. Select [Enhanced Performance] from Memory Enhancement Settings. You can choose any of the options I chose Enhanced Performance.
           IV. From BIOS Features Fast Boot is disabled, Windows 8/10 Features is set to Windows 8/10 WHQL, LAN PXE Boot Option is disabled, CMS Support is Enabled, Storage Boot Option Control is UEFI Only, Other PCI Device RPM Priority is UEFI Only and Network Stack is Disabled and Secure Boot State is Disabled.
           V. From Peripherals: VT-d is disabled, Internal Graphics is set to Auto, Audio Controller is Enabled, Audio DSP is Disabled, PCH LAN Controller,SATA Configuration is set to AHCI, Wake on LAN and High Precision Timer are Enabled. I didn’t patch my BIOS because of a great job that Pike R Alpha did with a kext based patch for Skylake processors and to patch the AppleACPI.kext.
      Under Super IO Configuration Serial Port must be disabled as well.
      UPDATE: I recently updated my BIOS to f5h and IOAPCIEntries 24-119 Entries is there so if you are using that version of the BIOS or anything prior to original f4 you don't need to use the ACPI patch.
           VI. Save your new settings and reboot.
      Here is a copy of my EFI folder which works great with this configurations, Just remember I didn’t inject any Graphic Adapters so you have to configure it with yourself based on the graphic adapter you are using.
      https://www.dropbox.com/s/7bthzjmrhex9ivp/GA-Z170X-Gaming%205.zip?dl=0
       
      Activating Audio:
      Download and install VoodooHDA 2.8.8.V3
      Use clover configurator to edit your config.plist
      ACPI: "Add the following DSDT Patch"
      Comment: Rename HDAS to HDEF
      Find* [HEX] :48444153
      Replace [HEX] :48444546
      Set the following flags under Boot section:
      kext-dev-mode=1 and rootless=0
      The audio won't work by default, you need to install Toledo's audio driver or install VoodooHDA.
      Toledo's commands are available at: https://github.com/t...audio_CloverALC
      and
      VoodooHDA is available at: http://sourceforge.n...ects/voodoohda/
      I personally use VoodooHDA instead of Toledo's script because for some unknown reason with Toledo's audio kexts and script while I was playing musics after a few minutes I could hear a noise which was getting worse so I tried VoodooHDA and now it work perfectly fine.
      My audio layout is set to 1.
      FYI: If you are going to use VoodooHDA just remember after you installed the VoodooHDA there will be a file in your application folder called "VoodooHdaSettingsLoader" which you need to place it in your login items in system preferences under "Users and groups" ---> "login Items" and adjust the "input Gain" under "VoodooHDA" in system preferences to avoid the hissing sound every time the OS starts. and if you don't every time you restart the system you'll need to adjust your audio settings. By loading this application OS will remember you settings and load them.
       
       
      USB 3.0
      Under ACPI add this DSDT Patch:
      Comment: change _OSI to XOSI
      Find* [HEX] : 5F4F5349
      Replace [HEX] : 584F5349
       
      and
       
      Comment: Change EHC1 to EH01
      Find* [HEX] : 45484331
      Replace [HEX] : 45483031
       
      and
       
      Comment: Change EHC2 to EH02
      Find* [HEX] : 45484332
      Replace [HEX] : 45483032
       
      Under Kernel and Kext Patches add the following to “KextsToPatch”:
      Name*: AppleUSBXHCIPCI
      Find* [HEX] : 83BD8CFEFFFF10
      Replace [HEX] : 83BD8CFEFFFF15
      Comment: Raise USB Port Limit
      You also need to add RehabMan’s “USBInjectAll.kext” to the following path under EFI\Clover\kexts\10.11\
      which is available for download at RehabMan’s site.
      https://bitbucket.org/RehabMan/os-x-usb-inject-all/downloads
       
      Graphics:
      I Use an AMD RadeonHD 7790 Graphic Adapter with these settings:
      Under Graphics:
      Dual Link is set to 1, FB Name is set to Baladi, VRAM is set to 1024, Video Ports is se to 4, Load VBIOS is checked and finally Inject ATI is checked too.
      Under Kernel and Kext Patches:
      ATI Connectors Data is set to:
      000400000403000000010300120403030004000004030000000101001102010100040000040300000001020021030202000400000403000000010400220504040004000004030000000105001000050500040000040300000001060020010606
      and
      ATI Connectors Patch is set to:
      000800000400000000010300220503030004000004000000000101002103010200040000040000000001020012040201040000000400000000010400010204040400000004000000000105000000050600040000040000000001060020010605
      and finally Ati Connectors Controller is set to 8000 
       
      Cheers!









×