Contribute
Register

Sebinouse's Build : CustoMacMini 2014 - Intel NUC Haswell i5-4250U - El Capitan

Joined
May 1, 2010
Messages
391
Motherboard
MacPNT
CPU
CoreDuo 1,66 GHz
Graphics
Intel GMA 950
Mac
Mac mini
Classic Mac
Mobile Phone
iOS
My built is inspired by Minihack's and WonkeyDonkey's works
on the same NUC on Maverick & Yosemite.


Components Installation Configuration Troubleshooting Files


Latest version supported : MacOSX 10.11.6 (15G31)
Files 2016 05 02 / Clover r3354 / BIOS 41








Components
BOXD54250WYK2
Intel Core i5-4250U​
Intel Graphic HD5000​
Audio Realtek ALC283​
LAN Intel I218-V​
Streacom NC2
Fanless Chassis​
4x INFI2 Internal WiFi Antenna​
Crucial M500
SSD​
SATA III (6Gb/s)​
480 GB​
2 x Crucial 8 Go So-Dimm DDR3L
Ballistix Sport​
PC 12800 1600Mhz CL9​
BLS8G3N169ES4CEU​
(DD3L 1,35v, not DDR3 1,5v)(PASR support)
Broadcom BCM94360CDAX
Genuine Apple BCM94360 chipset​
802.11 ac/n/g/b & Bluetooth 4.0​
Mini-PCIe adapter (Full Size)​





Installation

1. Download MacOSX 10.11 "El Capitan" from the AppStore

2. Create a Bootable USB Drive / Create a partition for MacOSX

For the USB drive and the future MacOSX drive (if this one is not accessible perform the same from DiskUtility of the installer)
  • Partition Table : GUID
  • Number of partitions : at least 1 partition
  • Size : at least 8 GB
  • Format: Mac OS Extended (Journaled)
  • Name : "USB" / "ElCapitan"

3. Create an Installer on this USB Drive

Choose the method of your choice :

  • CreateInstallMedia
    Code:
    sudo /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia --volume /Volumes/USB --applicationpath /Applications/Install\ OS\ X\ El\ Capitan.app --nointeraction
  • Detailed Unibeast method
  • Restore InstallESD.dmg
  • ...

4. Install Clover this USB Drive

  • Run the Installer
    • Install for uefi booting only
    • Install clover in the esp
    • Drivers64 > Osxaptiofixdrv64 or Osxaptiofix2drv64
    • Install rc scripts on target volume
    • install Clover Configuration Panel
  • Mount EFI partition of the USB Drive
  • Copy the files from my package /Clover/* to /EFI/EFI/CLOVER/*

5. BIOS Settings (Credits ammulder)

Press F2 during boot to access BIOS

a. Boot > Boot Priority.

Enable 'UEFI Boot' and disable 'Legacy Boot' :

b. Boot > Boot Configuration

Enable 'Boot USB Devices First'
Disable 'Network Boot'

c. Power > Secondary Power Settings

Set Wake on LAN from S4/S5 to "Stay Off"

d. Security > Intel(R) VT for Directed I/O (VT-d).

Disable 'VT-d'

e. Devices > Video.

Set the "IGD Minimum Memory" to 128 Mo



6. Install MacOS X 10.11 "El Capitan"

  • Reboot (automatically on this USB Device ... normally)
  • Select "Boot Mac OS X from USB" from Clover GUI
  • Perform the install (if necessary format your HDD/SSD with Utility/DiskUtility from the upper menu bar)

7. Post-Installation

  • Reboot (automatically on this USB Device ... normally)
  • Select "Boot Mac OS X from El Capitan" from Clover GUI
  • Complete MacOS X setup
  • Install Clover on your "ElCapitan" HDD/SSD (same settings as above for USB)
  • Mount EFI partition of your "ElCapitan" HDD/SSD
  • Copy the files from my package /Clover/* to /EFI/EFI/CLOVER/*
  • Customize your config.plist (serial and 5GHz patch)
  • Copy AppleHDA_ALC283_out.kext in "ElCapitan" /System/Library/Extensions/ folder if you don't use Microphone
  • Copy AppleHDA_ALC283.kext in "ElCapitan" /System/Library/Extensions/ folder if you use Microphone
  • Run script "HDA permissions.command"
    (enter your password when asked)
  • Unplug your USB Drive
  • Reboot
  • ...
  • Enjoy ;)





Configuration

SSDT

  • SSDT.aml : CPU Power Management for Intel Core i5 4250U (Generated by ssdtPRGen)
  • SSDT-HACK.aml : Region Fix
  • SSDT-HDEF.aml : Audio HDEF "layout-id 1" (former SSDT-2.aml)
  • SSDT-IGPU.aml : Graphics IGPU "0x0a26000d", Digital Audio HDAU (former SSDT-3.aml)
  • SSDT-LAN.aml : DSM_ method for LAN Intel I218-V (cosmetic)
  • SSDT-SATA.aml : SATA support (part of former SSDT-1.aml)
  • SSDT-USB.aml : USB support (part of former SSDT-1.aml)

Config.plist

  • ACPI>DSDT (USB reboot instead of shut down issue)
    • Fixes / FixShutdown_0004 : Yes
    • SlpSmiAtWake : Yes
  • Boot Arguments : none
  • Graphics (Optional. Should be handled by SSDT)
    • Inject / Intel : Yes
    • ig-platform-id : 0x0a26000d
  • KernelAndKextPatches
    • Asus : Yes (MSR 0xE2 bit 15 locked)
    • KernelPM : Yes (MSR 0xE2 bit 15 locked)
    • KextToPatch
      • HDMI Audio Out
        Code:
        Comment  0x5 port DP>HDMI
        Name     AppleIntelFramebufferAzul
        Find     0105 0900 0008 0000 0701 0000 
        Replace  0105 1200 0008 0000 0701 0000
      • Trim Enabler
        Code:
        Comment  Trim Enabler
        Name     IOAHCIBlockStorage
        Find     4150504C4520535344 
        Replace  000000000000000000
      • ALC283
        Code:
        Comment  ALC283   | Zero ALC884 | Zero 1983
        Name     AppleHDA | AppleHDA    | AppleHDA
        Find     8419D411 | 8408EC10    | 8319D411
        Replace  8302EC10 | 00000000    | 00000000
      • Second Boot Stage
        Code:
        Comment    Second Boot Stage
        Name    IOGraphicsFamily
        Find    0100007517
        Replace    0100007417
  • RtVariables
    • CsrActiveConfig : 0x67 01100111
    • BooterConfig : 0x28 00101000
  • SMBIOS : MacMini Late 2014 (MacMini7,1)
    BiosVendor Apple Inc.
    BiosVersion MM71.88Z.0220.B00.1409291751
    Board-ID Mac-35C5E08120C7EEAF
    BoardManufacturer Apple Inc.
    BoardType 10
    ChassisAssetTag Mini-Aluminum
    ChassisManufacturer Apple Inc.
    ChassisType 16
    Family Mac mini
    Manufacturer Apple Inc.
    Mobile <false/>
    ProductName MacMini7,1
    SerialNumber CK2wwrrrGCVH
    Trust <false/>
    Version 1.0
Customize your own serial number : CK2wwrrrGCVH according to this post.

Kext
  • FakeSMC.kext (Source)
  • FakePCIID.kext & FakePCIID_XHCIMux.kext (Source) EHC(USB2.0) vs XHC(USB3.0) routing by Rehabman
  • IntelMausiEthernet.kext : (Source)Ethernet support for Intel I218-V
  • BrcmPatchRAM2.kext & BrcmFirmwareData.kext (Source) BCM94352HMB Bluetooth support

Audio ALC283

You have to choose between 2 kexts according what you uses the most : none of them is perfect ...
Always run the script "HDA permissions.command" after any modification on Audio.

  • AppleHDA_ALC283_out.kext is "one plug only" for AudioIn (you need to reboot if you loose AudioIn) but it has no issue with quality drop after a few seconds if not used for AudioOut (EAPD Support, codec remains alive)
  • AppleHDA_ALC283.kext is hot plug compatible for AudioIn (system detects presence of MIC) but it has issue with quality drop after a few seconds if not used for AudioOut (lack of EAPD Support, codec sleeps, a Sleep/wake cycle wakes it)
  • PathMap
    Headphone OUT
    2 > 12 > 33 (dec)
    MIC2
    25 > 35 > 8 (dec)
  • Verbs
    Code:
    01971c10 01971d01 01971ea0 01971f90 01970c02 
    02171c50 02171d10 02171e21 02171f03 02170c02
Azurewave AW-CE123H
  • SSDT-WIFI.aml : WIFI support for BCM94352HMB (former SSDT-4.aml)
  • KernelAndKextPatches
    • KextToPatch
      • BCM94352HMB
        Code:
        Comment  Airport Extreme | Custom 5 GHz
        Name     AirPortBrcm4360 | AirPortBrcm4360
        Find     6B100000750D    | 4183FCFF742C48
        Replace  6B1000009090    | 66C706xxxxEB2B
        Customize your own patch : 66C706xxxxEB2B according to this page.
        Code:
        Comment  HandOff 
        Name     IOBluetoothFamily
        Find     4885FF7447488B07
        Replace  41BE0F000000EB44
  • Kext
    • FakePCIID.kext & FakePCIID_Broadcom_WiFi.kext (Source) BCM94352HMB wifi support by Rehabman




Troubleshooting

  • For troubleshoot attach Rapport.zip generated by the Hack_Report_Clov command attached to this post

  • Huge screen resolution tested :
    ->3840 x 2160 @ 45 Hz (post#130, franzzup)
    ->3440 x 1440 @ 50 Hz (32bit) (post#96, gorila)
    ->1920 x 1200 @ 60 Hz (32bit) (post#1, sebinouse)
  • No Volume Control on HDMI Output : see #post426
  • Installer not showing in Clover GUI (post#2, craig5571):
    -> re-create the installer from scratch (prefer createinstallmedia command)
  • Installer not loading completely (spinning wheel) (post#7, craig5571):
    -> use recent config.plist (2015 11 01 or newer), with "SystemParameters" populated
  • No ethernet after sleep (post#39 , innatech):
    -> use Mausi'kext (post#59) instead of AppleIntelE1000e
  • Different wifi card (post#81, PaulyGlocke):
    ->Remove SSDT-4.aml
  • Nuc D34010WYK (Intel Core i3) (post#139, post#140& #post194, intopieces & bomsom):
    -> Different files are needed : config.plist, SSDT.aml, SSDT-3.aml, 2 kexts for graphics, another HDMI audio patch and "IGP min mem"=32MB in BIOS




Files

Get Latest BIOS
Get Latest Clover Installer

2015 10 30 : Initial Release
2015 11 01 : New config.plist to allow Install
2016 02 12 : New solutions for ALC283, Ethernet, Wifi, BT, SSDTs

2016 05 02 : Instructions for ALC283, no more BCM94352 support
 

Attachments

Last edited:
Joined
Dec 27, 2014
Messages
9
Mac
Classic Mac
Mobile Phone
Hey,

I followed your instructions and when i went to install the usb drive into the nuc for the first time.
the clover screen was blank..

can you also change your screenshot, for the clover install , to english, it looks like its in french..

One more thing , you say Set the "IGD Primary Video Port" to 128 Mo
there is no 128 Mo setting , do you mean set it to display port?

I also wanted to thank you very much, for all your hard work, it is truly appreciated.
 

Attachments

Joined
May 1, 2010
Messages
391
Motherboard
MacPNT
CPU
CoreDuo 1,66 GHz
Graphics
Intel GMA 950
Mac
Mac mini
Classic Mac
Mobile Phone
iOS
Thanks a lot for the feedback ... there is still work to do on this guide !

About the 128mo : I meant "IGD Minimum Memory", my mistake !

About the blank Clover Screen, which method did you choose to create the installer. Something seems to be wrong with this step.
 

Attachments

Joined
Dec 27, 2014
Messages
9
Mac
Classic Mac
Mobile Phone
I used clover version 2.3k r3320 i got it from source forge ( is there a preferred version of clover? does it matter what version i am using

my bios settings match what you posted.

the nuc is running bios 41

the model number is d54250wykh

i has 16 gigabytes of memory gskill 1.35 volt

samsung 840 pro 256gb ssd
the same wireless card as you.



this is what i used to create the usb stick

sudo /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia --volume /Volumes/USB --applicationpath /Applications/Install\ OS\ X\ El\ Capitan.app --nointeraction

for the clover options
install for uefi booting only
install clover in the esp

for themes i only had bootcamp checked
i had csmvideodxe-64 checked
datahubdxe64 checked
osxaptiofix2drv64 checked
install rc scripts on target volume

using mini display port to dvi cable to connect to dell 1708 monitor screen res 1280 x 1024

the usb stick is a microcenter generic usb 3.0 8gb stick
the keyboard and mouse are dell brand

is there any other info i can provide?

are my clover options correct? does the clover version matter?
are there any boot args that need to be passed from clover?
 
Joined
Dec 27, 2014
Messages
9
Mac
Classic Mac
Mobile Phone
I rebuilt the installer, and this time, it shows the boot screen, i click on install os x el capitan, it goes through all the verbose boot up.. and gets to the apple screen and the little wheel just spins and spins...
and just sits there..
 

Attachments

Joined
May 1, 2010
Messages
391
Motherboard
MacPNT
CPU
CoreDuo 1,66 GHz
Graphics
Intel GMA 950
Mac
Mac mini
Classic Mac
Mobile Phone
iOS
I used clover version 2.3k r3320 i got it from source forge ( is there a preferred version of clover? does it matter what version i am using
Latest Clover is fine

my bios settings match what you posted.
I noticed a few differences :
Devices>Onboard Devices>Audio true
Devices>Onboard Devices>HDMI/DP audio true
Devices>Onboard Devices>LAN
Devices>Video>IGD Minimum Memory 128 mo (as long as >32mo every setting is OK)
Devices>Video>IGD Primary port>auto (probably not important)

the nuc is running bios 41
I've got the same

the model number is d54250wykh
i has 16 gigabytes of memory gskill 1.35 volt
samsung 840 pro 256gb ssd
the same wireless card as you.
Hardware is OK

this is what i used to create the usb stick
sudo /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia --volume /Volumes/USB --applicationpath /Applications/Install\ OS\ X\ El\ Capitan.app --nointeraction
I never tried this method, I will check later.

for the clover options
install for uefi booting only
install clover in the esp

for themes i only had bootcamp checked
i had csmvideodxe-64 checked
datahubdxe64 checked
osxaptiofix2drv64 checked
install rc scripts on target volume
install for uefi booting only
install clover in the esp
themes > bootcamp
drivers64 > osxaptiofixdrv64 or osxaptiofix2drv64
install rc scripts on target volume

using mini display port to dvi cable to connect to dell 1708 monitor screen res 1280 x 1024
the usb stick is a microcenter generic usb 3.0 8gb stick
the keyboard and mouse are dell brand
Should be OK

is there any other info i can provide?
are my clover options correct? does the clover version matter?
are there any boot args that need to be passed from clover?
You can boot verbose by adding "-v" in your bootarg or just press spacebar before selecting the drive you want in clover.
And report here with more informations ... good hack !
 
Joined
May 1, 2010
Messages
391
Motherboard
MacPNT
CPU
CoreDuo 1,66 GHz
Graphics
Intel GMA 950
Mac
Mac mini
Classic Mac
Mobile Phone
iOS
I rebuilt the installer, and this time, it shows the boot screen, i click on install os x el capitan, it goes through all the verbose boot up.. and gets to the apple screen and the little wheel just spins and spins...
and just sits there..
Full progressbar and spinning wheel mean that you are very close to the end. Booting the installer is longer than normal boot (several minutes even on SSD).
As I said, try verbose and see what hangs.
 
Joined
Sep 13, 2012
Messages
35
Motherboard
INTEL D54250WYKH2
CPU
i5-4250U
Graphics
HD 5000
Mobile Phone
Android
First, thanks Sebinouse for good fresh start! :clap:

A couple of minutes ago I've accidentally upgraded to 10.11.2. I simply pushed the wrong button too quickly and voila:

System Version: OS X 10.11.2 (15C27e) Kernel Version: Darwin 15.0.0
Boot Volume: MAC
Boot Mode: Normal
User Name: .......
Secure Virtual Memory: Enabled
System Integrity Protection: Enabled
Time since boot: 1 minute

This is beauty of Clover - it simply works with a little help from my friends.

Happy Halloween!
Happy-Halloween-06.jpg
 
Top