- Joined
- Jun 24, 2011
- Messages
- 39
- Motherboard
- Zbook 15 G2 (Clover)
- CPU
- i7-4810MQ Haswell, QM87
- Graphics
- HD 4600, NVIDIA Quadro K2100M (2GB GDDR5), 1920x1080
- Mac
- Classic Mac
- Mobile Phone
Guide documenting the journey to get a fully functional HP ZBook 15 G2 with MacOS Sierra. Have relied on ProBook Installer to date... basing journey on RehabMan guides and posts to dig deeper...
Documenting journey
Step 1 - Understand limitations of Sierra today...
https://www.tonymacx86.com/threads/readme-common-some-unsolved-problems-in-10-12-sierra.202316/
J> Read through article, especially noted issues with HD4600 and audio...
Step 2 - Build installation media and install Sierra
https://www.tonymacx86.com/threads/guide-booting-the-os-x-installer-on-laptops-with-clover.148093/
J> Read all the way through article, then read again... once more for flow to be understood, and then lets go...
Installed Linux Mint on zbook... want to get details on hardware...
Use "lshw" command to get details...
J> After reviewing, one thing I am concerned about is what Audio chipset am I using... I often see ACxyz noted...
Even using ProBook Installer in the past, I have never gotten the audio to work, so I have used USB headsets or speakerphones.
Following the steps, preparing the USB...
Follow Option 2 (GPT, one partition)
Download the Clover installer. Current builds are available on sourceforge: http://sourceforge.net/projects/cloverefiboot/
In this case, it downloaded Clover_v2.3k_r3882.zip
For Clover UEFI, run the Clover Installer package:
- if using GPT, select the target of the install to "install_osx" using "Change Install Location"
- select "Customize" (the default is a legacy install -- we need to change it)
- check "Install for UEFI booting only", "Install Clover in the ESP" will automatically select
- check "Bluemac" from Themes (the config.plist files I provide use this theme)
J> Bluemac is not included in r3882, so I selected "metal" - note to self, will probably need to edit config.plist somewhere to replace Bluemac with metal...
- check "OsxAptioFixDrv-64" from Drivers64UEFI
- most systems will work without DataHubDxe-64.efi, but some may require it
J> assumed at this point, that I will not need...
J> noted differences between installing to USB and SDD/HDD later...
Get HFSPlus.efi from https://github.com/JrCs/CloverGrowerPro/raw/master/Files/HFSPlus/X64/HFSPlus.efi.
- copy it to /EFI/Clover/drivers64UEFI
J> note this appears to be different than the documentation, many more efi files than expected...
When I go back into the installer... the only options selected are the ones I followed in the directions above...
Continuing with instructions...
Preparing essential kexts
Remove EFI/CLOVER/kexts/10.6, 10.7, 10.8, 10.9, 10.10, leaving just 'Other'
Copy essential kexts to the 'Other' directory (FakeSMC, VoodooPS2Controller).
FakeSMC.kext: https://github.com/RehabMan/OS-X-FakeSMC-kozlek
VoodooPS2Controller.kext: https://github.com/RehabMan/OS-X-Voodoo-PS2-Controller
AppleIntelE1000e.kext: http://www.insanelymac.com/forum/topic/205771-appleintele1000ekext-for-108107106105/
J> select link in the readme/descriptions to take you to downloads. In this case it was:
RehabMan-FakeSMC-2016-0908.zip
RehabMan-Voodoo-2016-0616.zip
AppleIntelE1000e.kext.zip
GenericUSBXHCI.kext: https://github.com/RehabMan/OS-X-Generic-USB3
J> Per RehabMan instructions, I don't expect to need this kext since we are 10.11+
Choosing a config.plist
The Clover installer places a default config.plist at /EFI/Clover/config.plist. It is almost universally wrong and most likely will not work at all for most laptops. You should choose one that matches your hardware from this repository
https://github.com/RehabMan/OS-X-Clover-Laptop-Config
Building the OS X installer with createinstallmedia method
Replace Bluemac since current Clover does not have that theme
J> note that the recommendation is to use an editor that understands plists... the format uses control characters (^I) so it is easy to mess up. We will see if my simple edit is ok.
Eject USB
BIOS settings - F10 -> Advanced -> Boot Options
- "fast boot" disabled
- "USB device boot" enabled
- "secure boot" disabled
- Boot Mode "UEFI Native (Without CSM)" selected
BIOS settings - F10 -> Advanced -> Device Configurations
- "Data Execution Prenvention" enabled
- "Virtualization Technology for Directed I/O (VTd)" disabled
Boot from USB
J> note, I did get the metal theme -- don't really like it
ARGH - Garbled screen, so change BIOS settings - F10 -> Advanced -> Boot Options
- Boot Mode "UEFI Hybrid (With CSM)" selected
Boot (again) from USB
Successfully booted into the Installer...
Select Disk Utility from macOS Utilities dialog...
Reformat internal SSD with name "macOS HD", format "Mac OS Extended (Journaled)" and scheme "GUID Partition Map"
Select Install macOS from macOS Utilities dialog...
J> since we used the createinstallmedia method, the about 7 minutes remaining is not accurate... it will take longer...
Actually took ~15 minutes
J> on reboot, got a CMOS reset error, which said that BIOS had been reset to defaults...
Checking F10 BIOS settings... don't notice anything different...
so, going to live on the edge and select UEFI Native (Without CSM)
That so did not work. Booted into garbled screen, eventually rebooted itself into a second CMOS reset. This time some of the Boot Options did change, like Fast Boot was enabled.
Fixed Boot options, also selected UEFI Hybrid (With CSM)
Reboot
Successfully booted into macOS Welcome screen...
Successfully made it through setup wizard...
Next to download Clover and install
J> downloaded same version but seem to have more Theme options, still not Bluemac...
Remove EFI/CLOVER/kexts/10.6, 10.7, 10.8, 10.9, 10.10, leaving just 'Other'
Copy essential kexts from EFI/Clover/kexts/Other from USB to SDD in same location
- FakeSMC, VoodooPS2Controller, AppleIntelE1000e.kext
Copy EFI/Clover/drivers64UEFI/HFSPlus.efi from USB to SDD in same location
Copy EFI/Clover/config.plist from USB to SDD in same location
J> note, replaced metal with BGM in config.plist... hopefully will like this theme better...
Reboot and remove USB
ARGH, another CMOS reset error!!!
No changes apparent this time...
Boot error, no boot media... dropped into HP PC Hardware Diagnostics UEFI, just select exit, reboot...
And booted into Clover...
Black screen, waiting...
Somethings wrong, booting from USB, will empty out SDD EFI and reinstall clover, etc...
Still wrong, will reinstall macOS from USB...
SCORE!
Step 3 - using Clover UEFI hotpatch approach for ZBook 15 G2 - thanks RehabMan!
https://www.tonymacx86.com/threads/...book-using-clover-uefi-hotpatch-10-11.189416/
J> resinstalling from USB again... too much experimentation... going to clean slate for Clover UEFI hotpatch
Also, there is not a USB aml for ZBook 15 G2 Haswell... will need to go through generation process...
J> after following instructions, I do not have working WiFi or Audio, however I do have working Bluetooth.
Three additional patches are needed to get WiFi working on 10.12.1. See the following thread:
http://www.insanelymac.com/forum/topic/312759-fix-macos-sierra-dp1-bcm94532z-wifi/?p=2308428
Other posts that were not required because they are already included in RehabMan's hotpatches, but are good information:
https://www.tonymacx86.com/threads/guide-airport-pcie-half-mini-v2.104850/
https://github.com/toleda/wireless_half-mini
Step 4 - Get audio to work
to be researched...
Step 5 - Get discrete graphics to work
to be researched...
Documenting journey
Step 1 - Understand limitations of Sierra today...
https://www.tonymacx86.com/threads/readme-common-some-unsolved-problems-in-10-12-sierra.202316/
J> Read through article, especially noted issues with HD4600 and audio...
Step 2 - Build installation media and install Sierra
https://www.tonymacx86.com/threads/guide-booting-the-os-x-installer-on-laptops-with-clover.148093/
J> Read all the way through article, then read again... once more for flow to be understood, and then lets go...
Installed Linux Mint on zbook... want to get details on hardware...
Use "lshw" command to get details...
Code:
jzbook
description: Notebook
product: HP ZBook 15 G2 (L5U55UC#ABA)
vendor: Hewlett-Packard
version: A3009DD10203
serial: redacted
width: 64 bits
capabilities: smbios-2.7 dmi-2.7 vsyscall32
configuration: boot=normal chassis=notebook family=103C_5336AN G=N L=BUS B=HP S=ELI sku=L5U55UC#ABA uuid=FF54CE80-E8F1-E411-9406-4036180000FF
*-core
description: Motherboard
product: 2253
vendor: Hewlett-Packard
physical id: 0
version: KBC Version 03.12
serial: redacted
*-firmware
description: BIOS
vendor: Hewlett-Packard
physical id: 0
version: M70 Ver. 01.15
date: 04/25/2016
size: 64KiB
capacity: 10176KiB
capabilities: pci pcmcia upgrade shadowing cdboot bootselect edd int5printscreen int9keyboard int14serial int17printer acpi usb smartbattery biosbootspecification netboot uefi
*-cpu
description: CPU
product: Intel(R) Core(TM) i7-4810MQ CPU @ 2.80GHz
vendor: Intel Corp.
physical id: 1e
bus info: cpu@0
version: Intel(R) Core(TM) i7-4810MQ CPU @ 2.80GHz
serial: To Be Filled By O.E.M.
slot: U3E1
size: 3700MHz
capacity: 4200MHz
width: 64 bits
clock: 100MHz
capabilities: x86-64 fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm epb tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt dtherm ida arat pln pts cpufreq
configuration: cores=4 enabledcores=4 threads=8
*-cache:0
description: L1 cache
physical id: 1f
slot: L1 Cache
size: 32KiB
capacity: 32KiB
capabilities: asynchronous internal write-back instruction
configuration: level=1
*-cache:1
description: L2 cache
physical id: 20
slot: L2 Cache
size: 256KiB
capacity: 256KiB
capabilities: asynchronous internal write-back unified
configuration: level=2
*-cache:2
description: L3 cache
physical id: 21
slot: L3 Cache
size: 6MiB
capacity: 6MiB
capabilities: asynchronous internal write-back unified
configuration: level=3
*-cache
description: L1 cache
physical id: 1d
slot: L1 Cache
size: 32KiB
capacity: 32KiB
capabilities: asynchronous internal write-back data
configuration: level=1
*-memory
description: System Memory
physical id: 13
slot: System board or motherboard
size: 32GiB
*-bank:0
description: SODIMM DDR3 Synchronous 1600 MHz (0.6 ns)
product: 16KTF1G64HZ-1G6E1
vendor: Micron
physical id: 0
serial: 14741920
slot: Top - Slot 2 (under)
size: 8GiB
width: 64 bits
clock: 1600MHz (0.6ns)
*-bank:1
description: SODIMM DDR3 Synchronous 1600 MHz (0.6 ns)
product: M471B1G73QH0-YK0
vendor: Samsung
physical id: 1
serial: 15242185
slot: Bottom-Slot 2(right)
size: 8GiB
width: 64 bits
clock: 1600MHz (0.6ns)
*-bank:2
description: SODIMM DDR3 Synchronous 1600 MHz (0.6 ns)
product: 16KTF1G64HZ-1G6E1
vendor: Micron
physical id: 2
serial: 14741921
slot: Top - Slot 1 (top)
size: 8GiB
width: 64 bits
clock: 1600MHz (0.6ns)
*-bank:3
description: SODIMM DDR3 Synchronous 1600 MHz (0.6 ns)
product: M471B1G73QH0-YK0
vendor: Samsung
physical id: 3
serial: 15242124
slot: Bottom-Slot 1(left)
size: 8GiB
width: 64 bits
clock: 1600MHz (0.6ns)
*-pci
description: Host bridge
product: Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller
vendor: Intel Corporation
physical id: 100
bus info: pci@0000:00:00.0
version: 06
width: 32 bits
clock: 33MHz
*-pci:0
description: PCI bridge
product: Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller
vendor: Intel Corporation
physical id: 1
bus info: pci@0000:00:01.0
version: 06
width: 32 bits
clock: 33MHz
capabilities: pci pm msi pciexpress normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:24 ioport:5000(size=4096) memory:cd000000-ce0fffff ioport:50000000(size=301989888)
*-display
description: VGA compatible controller
product: GK106GLM [Quadro K2100M]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: irq:37 memory:cd000000-cdffffff memory:50000000-5fffffff memory:60000000-61ffffff ioport:5000(size=128) memory:ce080000-ce0fffff
*-multimedia
description: Audio device
product: GK106 HDMI Audio Controller
vendor: NVIDIA Corporation
physical id: 0.1
bus info: pci@0000:01:00.1
version: a1
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: driver=snd_hda_intel latency=0
resources: irq:17 memory:ce000000-ce003fff
*-display
description: VGA compatible controller
product: 4th Gen Core Processor Integrated Graphics Controller
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 06
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:34 memory:ce400000-ce7fffff memory:a0000000-afffffff ioport:6000(size=64)
*-usb:0
description: USB controller
product: 8 Series/C220 Series Chipset Family USB xHCI
vendor: Intel Corporation
physical id: 14
bus info: pci@0000:00:14.0
version: 04
width: 64 bits
clock: 33MHz
capabilities: pm msi xhci bus_master cap_list
configuration: driver=xhci_hcd latency=0
resources: irq:30 memory:ce820000-ce82ffff
*-usbhost:0
product: xHCI Host Controller
vendor: Linux 4.4.0-21-generic xhci-hcd
physical id: 0
bus info: usb@4
logical name: usb4
version: 4.04
capabilities: usb-3.00
configuration: driver=hub slots=6 speed=5000Mbit/s
*-usbhost:1
product: xHCI Host Controller
vendor: Linux 4.4.0-21-generic xhci-hcd
physical id: 1
bus info: usb@3
logical name: usb3
version: 4.04
capabilities: usb-2.00
configuration: driver=hub slots=15 speed=480Mbit/s
*-usb:0 UNCLAIMED
description: Generic USB device
product: VFS495 Fingerprint Reader
vendor: Validity Sensors, Inc.
physical id: 5
bus info: usb@3:5
version: 1.04
serial: 00a0a2f7c495
capabilities: usb-1.10
configuration: maxpower=100mA speed=12Mbit/s
*-usb:1
description: Video
product: HP HD Webcam
vendor: DEFSU019I7ZJJK
physical id: 7
bus info: usb@3:7
version: 0.01
serial: 200901010001
capabilities: usb-2.00
configuration: driver=uvcvideo maxpower=500mA speed=480Mbit/s
*-usb:2
description: Generic USB device
product: BCM20702A0
vendor: Broadcom Corp
physical id: c
bus info: usb@3:c
version: 1.12
serial: 1008B1E3F85E
capabilities: usb-2.00
configuration: driver=btusb speed=12Mbit/s
*-communication:0
description: Communication controller
product: 8 Series/C220 Series Chipset Family MEI Controller #1
vendor: Intel Corporation
physical id: 16
bus info: pci@0000:00:16.0
version: 04
width: 64 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list
configuration: driver=mei_me latency=0
resources: irq:35 memory:ce838000-ce83800f
*-communication:1
description: Serial controller
product: 8 Series/C220 Series Chipset Family KT Controller
vendor: Intel Corporation
physical id: 16.3
bus info: pci@0000:00:16.3
version: 04
width: 32 bits
clock: 66MHz
capabilities: pm msi 16550 cap_list
configuration: driver=serial latency=0
resources: irq:19 ioport:60b0(size=8) memory:ce83b000-ce83bfff
*-network
description: Ethernet interface
product: Ethernet Connection I217-LM
vendor: Intel Corporation
physical id: 19
bus info: pci@0000:00:19.0
logical name: enp0s25
version: 04
serial: 3c:a8:2a:db:7c:ee
size: 1Gbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k duplex=full firmware=0.13-4 ip=172.16.16.118 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
resources: irq:32 memory:ce800000-ce81ffff memory:ce83a000-ce83afff ioport:6080(size=32)
*-usb:1
description: USB controller
product: 8 Series/C220 Series Chipset Family USB EHCI #2
vendor: Intel Corporation
physical id: 1a
bus info: pci@0000:00:1a.0
version: 04
width: 32 bits
clock: 33MHz
capabilities: pm debug ehci bus_master cap_list
configuration: driver=ehci-pci latency=0
resources: irq:16 memory:ce836000-ce8363ff
*-usbhost
product: EHCI Host Controller
vendor: Linux 4.4.0-21-generic ehci_hcd
physical id: 1
bus info: usb@1
logical name: usb1
version: 4.04
capabilities: usb-2.00
configuration: driver=hub slots=3 speed=480Mbit/s
*-usb
description: USB hub
vendor: Intel Corp.
physical id: 1
bus info: usb@1:1
version: 0.04
capabilities: usb-2.00
configuration: driver=hub slots=6 speed=480Mbit/s
*-multimedia
description: Audio device
product: 8 Series/C220 Series Chipset High Definition Audio Controller
vendor: Intel Corporation
physical id: 1b
bus info: pci@0000:00:1b.0
version: 04
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: driver=snd_hda_intel latency=0
resources: irq:36 memory:ce830000-ce833fff
*-pci:1
description: PCI bridge
product: 8 Series/C220 Series Chipset Family PCI Express Root Port #1
vendor: Intel Corporation
physical id: 1c
bus info: pci@0000:00:1c.0
version: d4
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:25 ioport:2000(size=4096) memory:b0000000-c60fffff ioport:70000000(size=570425344)
*-pci:2
description: PCI bridge
product: 8 Series/C220 Series Chipset Family PCI Express Root Port #7
vendor: Intel Corporation
physical id: 1c.6
bus info: pci@0000:00:1c.6
version: d4
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:26 ioport:3000(size=8192) memory:c8000000-cc3fffff ioport:4e300000(size=4194304)
*-pci
description: PCI bridge
product: Pericom Semiconductor
vendor: Pericom Semiconductor
physical id: 0
bus info: pci@0000:3b:00.0
version: 05
width: 32 bits
clock: 33MHz
capabilities: pci pm vpd pciexpress normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:0 ioport:3000(size=8192) memory:c8000000-cc3fffff ioport:4e300000(size=4194304)
*-pci:0
description: PCI bridge
product: Pericom Semiconductor
vendor: Pericom Semiconductor
physical id: 1
bus info: pci@0000:3c:01.0
version: 05
width: 64 bits
clock: 33MHz
capabilities: pci pm msi pciexpress normal_decode bus_master cap_list
configuration: driver=pcieport
resources: iomemory:1f10-1f0f irq:27 memory:cc000000-cc2fffff
*-network
description: Wireless interface
product: BCM4352 802.11ac Wireless Network Adapter
vendor: Broadcom Corporation
physical id: 0
bus info: pci@0000:3d:00.0
logical name: wlp61s0
version: 03
serial: 10:08:b1:e3:f8:5d
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=wl0 driverversion=6.30.223.248 (r487574) latency=0 multicast=yes wireless=IEEE 802.11abg
resources: irq:19 memory:cc200000-cc207fff memory:cc000000-cc1fffff
*-pci:1
description: PCI bridge
product: Pericom Semiconductor
vendor: Pericom Semiconductor
physical id: 2
bus info: pci@0000:3c:02.0
version: 05
width: 64 bits
clock: 33MHz
capabilities: pci pm msi pciexpress normal_decode bus_master cap_list
configuration: driver=pcieport
resources: iomemory:41310-4130f irq:28 ioport:3000(size=8192) memory:c8000000-cbffffff ioport:4e300000(size=2097152)
*-pci:2
description: PCI bridge
product: Pericom Semiconductor
vendor: Pericom Semiconductor
physical id: 3
bus info: pci@0000:3c:03.0
version: 05
width: 64 bits
clock: 33MHz
capabilities: pci pm msi pciexpress normal_decode bus_master cap_list
configuration: driver=pcieport
resources: iomemory:1f10-1f0f irq:29 memory:cc300000-cc3fffff ioport:4e500000(size=2097152)
*-generic
description: Unassigned class
product: RTS5249 PCI Express Card Reader
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:5f:00.0
version: 01
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: driver=rtsx_pci latency=0
resources: irq:31 memory:cc300000-cc300fff
*-usb:2
description: USB controller
product: 8 Series/C220 Series Chipset Family USB EHCI #1
vendor: Intel Corporation
physical id: 1d
bus info: pci@0000:00:1d.0
version: 04
width: 32 bits
clock: 33MHz
capabilities: pm debug ehci bus_master cap_list
configuration: driver=ehci-pci latency=0
resources: irq:17 memory:ce835000-ce8353ff
*-usbhost
product: EHCI Host Controller
vendor: Linux 4.4.0-21-generic ehci_hcd
physical id: 1
bus info: usb@2
logical name: usb2
version: 4.04
capabilities: usb-2.00
configuration: driver=hub slots=3 speed=480Mbit/s
*-usb
description: USB hub
vendor: Intel Corp.
physical id: 1
bus info: usb@2:1
version: 0.04
capabilities: usb-2.00
configuration: driver=hub slots=8 speed=480Mbit/s
*-isa
description: ISA bridge
product: QM87 Express LPC Controller
vendor: Intel Corporation
physical id: 1f
bus info: pci@0000:00:1f.0
version: 04
width: 32 bits
clock: 33MHz
capabilities: isa bus_master cap_list
configuration: driver=lpc_ich latency=0
resources: irq:0
*-storage
description: SATA controller
product: 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode]
vendor: Intel Corporation
physical id: 1f.2
bus info: pci@0000:00:1f.2
version: 04
width: 32 bits
clock: 66MHz
capabilities: storage msi pm ahci_1.0 bus_master cap_list
configuration: driver=ahci latency=0
resources: irq:33 ioport:60a8(size=8) ioport:60bc(size=4) ioport:60a0(size=8) ioport:60b8(size=4) ioport:6060(size=32) memory:ce834000-ce8347ff
*-serial UNCLAIMED
description: SMBus
product: 8 Series/C220 Series Chipset Family SMBus Controller
vendor: Intel Corporation
physical id: 1f.3
bus info: pci@0000:00:1f.3
version: 04
width: 64 bits
clock: 33MHz
configuration: latency=0
resources: memory:ce837000-ce8370ff ioport:ef80(size=32)
*-scsi
physical id: 1
logical name: scsi0
capabilities: emulated
*-disk
description: ATA Disk
product: MTFDDAK1T0MBF-1A
physical id: 0.0.0
bus info: scsi@0:0.0.0
logical name: /dev/sda
version: M603
serial: redacted
size: 953GiB (1024GB)
capabilities: gpt-1.00 partitioned partitioned:gpt
configuration: ansiversion=5 guid=7da0a360-5894-4acf-b874-b65fdc7a57ce logicalsectorsize=512 sectorsize=512
*-volume:0 UNCLAIMED
description: Windows FAT volume
vendor: mkfs.fat
physical id: 1
bus info: scsi@0:0.0.0,1
version: FAT32
serial: 6605-24c2
size: 510MiB
capacity: 511MiB
capabilities: boot fat initialized
configuration: FATs=2 filesystem=fat
*-volume:1
description: EFI partition
vendor: Linux
physical id: 2
bus info: scsi@0:0.0.0,2
logical name: /dev/sda2
logical name: /boot
version: 1.0
serial: 4bec3992-da53-4d93-9dbc-bc5cb1a2577d
size: 488MiB
capabilities: extended_attributes large_files ext2 initialized
configuration: filesystem=ext2 lastmountpoint=/boot modified=2016-10-29 10:45:02 mount.fstype=ext2 mount.options=rw,relatime,block_validity,barrier,user_xattr,acl mounted=2016-10-29 10:45:02 state=mounted
*-volume:2
description: LVM Physical Volume
vendor: Linux
physical id: 3
bus info: scsi@0:0.0.0,3
logical name: /dev/sda3
serial: aUN1ql-foyR-m4gA-4D27-JjDX-1hAh-htRtFu
size: 952GiB
capabilities: multi lvm2
*-battery
product: AR08083
vendor: 13-14
physical id: 1
slot: Primary
capacity: 82880mWh
configuration: voltage=14.8V
J> After reviewing, one thing I am concerned about is what Audio chipset am I using... I often see ACxyz noted...
Even using ProBook Installer in the past, I have never gotten the audio to work, so I have used USB headsets or speakerphones.
Following the steps, preparing the USB...
Code:
$ diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.1 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS Time Machine 499.8 GB disk0s2
/dev/disk1 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.1 GB disk1
1: EFI EFI 209.7 MB disk1s1
2: Apple_HFS Mac HD 499.2 GB disk1s2
3: Apple_Boot Recovery HD 650.0 MB disk1s3
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *31.0 GB disk2
1: DOS_FAT_32 31.0 GB disk2s1
Follow Option 2 (GPT, one partition)
Code:
$ diskutil partitionDisk /dev/disk2 1 GPT HFS+J "install_osx" R
Started partitioning on disk2
Unmounting disk
Creating the partition map
Waiting for partitions to activate
Formatting disk2s2 as Mac OS Extended (Journaled) with name install_osx
Initialized /dev/rdisk2s2 as a 29 GB case-insensitive HFS Plus volume with a 8192k journal
Mounting disk
Finished partitioning on disk2
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *31.0 GB disk2
1: EFI EFI 209.7 MB disk2s1
2: Apple_HFS install_osx 30.7 GB disk2s2
Download the Clover installer. Current builds are available on sourceforge: http://sourceforge.net/projects/cloverefiboot/
In this case, it downloaded Clover_v2.3k_r3882.zip
For Clover UEFI, run the Clover Installer package:
- if using GPT, select the target of the install to "install_osx" using "Change Install Location"
- select "Customize" (the default is a legacy install -- we need to change it)
- check "Install for UEFI booting only", "Install Clover in the ESP" will automatically select
- check "Bluemac" from Themes (the config.plist files I provide use this theme)
J> Bluemac is not included in r3882, so I selected "metal" - note to self, will probably need to edit config.plist somewhere to replace Bluemac with metal...
- check "OsxAptioFixDrv-64" from Drivers64UEFI
- most systems will work without DataHubDxe-64.efi, but some may require it
J> assumed at this point, that I will not need...
J> noted differences between installing to USB and SDD/HDD later...
Get HFSPlus.efi from https://github.com/JrCs/CloverGrowerPro/raw/master/Files/HFSPlus/X64/HFSPlus.efi.
- copy it to /EFI/Clover/drivers64UEFI
Code:
$ cp ~/Downloads/HFSPlus.efi /Volumes/ESP/EFI/Clover/drivers64UEFI/
$ ls -l
total 300
-rwxrwxrwx 1 jalembic staff 17216 Oct 28 14:50 AppleImageCodec-64.efi
-rwxrwxrwx 1 jalembic staff 4800 Oct 28 14:50 AppleKeyAggregator-64.efi
-rwxrwxrwx 1 jalembic staff 2400 Oct 28 14:50 AppleUITheme-64.efi
-rwxrwxrwx 1 jalembic staff 5152 Oct 28 14:50 DataHubDxe-64.efi
-rwxrwxrwx 1 jalembic staff 21344 Oct 28 14:50 FSInject-64.efi
-rwxrwxrwx 1 jalembic staff 7232 Oct 28 14:50 FirmwareVolume-64.efi
-rwxrwxrwx@ 1 jalembic staff 24900 Oct 29 11:47 HFSPlus.efi
-rwxrwxrwx 1 jalembic staff 23264 Oct 28 14:50 OsxAptioFixDrv-64.efi
-rwxrwxrwx 1 jalembic staff 4672 Oct 28 14:50 OsxFatBinaryDrv-64.efi
-rwxrwxrwx 1 jalembic staff 10432 Oct 28 14:50 SMCHelper-64.efi
-rwxrwxrwx 1 jalembic staff 28832 Oct 28 14:50 VBoxHfs-64.efi
J> note this appears to be different than the documentation, many more efi files than expected...
When I go back into the installer... the only options selected are the ones I followed in the directions above...
Continuing with instructions...
Preparing essential kexts
Remove EFI/CLOVER/kexts/10.6, 10.7, 10.8, 10.9, 10.10, leaving just 'Other'
Copy essential kexts to the 'Other' directory (FakeSMC, VoodooPS2Controller).
FakeSMC.kext: https://github.com/RehabMan/OS-X-FakeSMC-kozlek
VoodooPS2Controller.kext: https://github.com/RehabMan/OS-X-Voodoo-PS2-Controller
AppleIntelE1000e.kext: http://www.insanelymac.com/forum/topic/205771-appleintele1000ekext-for-108107106105/
J> select link in the readme/descriptions to take you to downloads. In this case it was:
RehabMan-FakeSMC-2016-0908.zip
RehabMan-Voodoo-2016-0616.zip
AppleIntelE1000e.kext.zip
GenericUSBXHCI.kext: https://github.com/RehabMan/OS-X-Generic-USB3
J> Per RehabMan instructions, I don't expect to need this kext since we are 10.11+
Code:
$ rm -fr /Volumes/ESP/EFI/Clover/kexts/10*
$ ls -l
total 1
drwxrwxrwx 1 jalembic staff 512 Oct 28 15:05 Other
$ cp -rp ~/Downloads/RehabMan-FakeSMC-2016-0908/FakeSMC.kext /Volumes/ESP/EFI/Clover/kexts/Other/
$ cp -rp ~/Downloads/RehabMan-Voodoo-2016-0616/Release/VoodooPS2Controller.kext /Volumes/ESP/EFI/Clover/kexts/Other/
$ cp -rp ~/Downloads/AppleIntelE1000e.kext /Volumes/ESP/EFI/Clover/kexts/Other/
$ ls -l
total 3
drwxrwxrwx@ 1 jalembic staff 512 Sep 27 02:33 AppleIntelE1000e.kext
drwxrwxrwx@ 1 jalembic staff 512 Sep 8 11:22 FakeSMC.kext
drwxrwxrwx@ 1 jalembic staff 512 Jun 16 08:16 VoodooPS2Controller.kext
Choosing a config.plist
The Clover installer places a default config.plist at /EFI/Clover/config.plist. It is almost universally wrong and most likely will not work at all for most laptops. You should choose one that matches your hardware from this repository
https://github.com/RehabMan/OS-X-Clover-Laptop-Config
Code:
$ rm /Volumes/ESP/EFI/Clover/config.plist
$ cp ~/Downloads/OS-X-Clover-Laptop-Config-master/config_HD4600_4400_4200.plist /Volumes/ESP/EFI/Clover/config.plist
$ ls -l
total 2537
drwxrwxrwx 1 jalembic staff 512 Oct 28 15:05 ACPI
-rwxrwxrwx 1 jalembic staff 628992 Oct 28 15:05 CLOVERIA32.efi
-rwxrwxrwx 1 jalembic staff 650656 Oct 28 15:05 CLOVERX64.efi
drwxrwxrwx 1 jalembic staff 512 Oct 28 15:05 OEM
drwxrwxrwx 1 jalembic staff 512 Oct 28 15:05 ROM
-rwxrwxrwx@ 1 jalembic staff 12102 Oct 29 12:19 config.plist
drwxrwxrwx 1 jalembic staff 512 Oct 28 15:05 doc
drwxrwxrwx 1 jalembic staff 512 Oct 29 11:42 drivers32UEFI
drwxrwxrwx 1 jalembic staff 1536 Oct 29 11:47 drivers64UEFI
drwxrwxrwx 1 jalembic staff 512 Oct 29 11:56 kexts
drwxrwxrwx 1 jalembic staff 512 Oct 28 15:05 misc
drwxrwxrwx 1 jalembic staff 1024 Oct 29 11:42 themes
drwxrwxrwx 1 jalembic staff 512 Oct 28 15:05 tools
Building the OS X installer with createinstallmedia method
Code:
$ ls -l /Volumes/
total 9
drwxrwxrwx@ 1 jalembic staff 512 Oct 29 11:42 ESP
lrwxr-xr-x 1 root wheel 1 Oct 29 09:20 Mac HD -> /
drwxrwxr-x 12 root admin 476 Oct 24 17:07 Time Machine
drwxrwxr-x 10 jalembic staff 408 Oct 29 11:44 install_osx
$ sudo "/Applications/Install macOS Sierra.app/Contents/Resources/createinstallmedia" --volume /Volumes/install_osx --applicationpath "/Applications/Install macOS Sierra.app" --nointeraction
Password:
Erasing Disk: 0%... 10%... 20%... 30%...100%...
Copying installer files to disk...
Copy complete.
Making disk bootable...
Copying boot files...
Copy complete.
Done.
$ sudo diskutil rename "Install macOS Sierra" install_osx
Password:
Volume on disk2s2 renamed to install_osx
Replace Bluemac since current Clover does not have that theme
Code:
$ grep -R Bluemac /Volumes/ESP
/Volumes/ESP/EFI/CLOVER/config.plist: <string>Bluemac</string>
$ vi /Volumes/ESP/EFI/CLOVER/config.plist
Eject USB
BIOS settings - F10 -> Advanced -> Boot Options
- "fast boot" disabled
- "USB device boot" enabled
- "secure boot" disabled
- Boot Mode "UEFI Native (Without CSM)" selected
BIOS settings - F10 -> Advanced -> Device Configurations
- "Data Execution Prenvention" enabled
- "Virtualization Technology for Directed I/O (VTd)" disabled
Boot from USB
J> note, I did get the metal theme -- don't really like it
ARGH - Garbled screen, so change BIOS settings - F10 -> Advanced -> Boot Options
- Boot Mode "UEFI Hybrid (With CSM)" selected
Boot (again) from USB
Successfully booted into the Installer...
Select Disk Utility from macOS Utilities dialog...
Reformat internal SSD with name "macOS HD", format "Mac OS Extended (Journaled)" and scheme "GUID Partition Map"
Select Install macOS from macOS Utilities dialog...
J> since we used the createinstallmedia method, the about 7 minutes remaining is not accurate... it will take longer...
Actually took ~15 minutes
J> on reboot, got a CMOS reset error, which said that BIOS had been reset to defaults...
Checking F10 BIOS settings... don't notice anything different...
so, going to live on the edge and select UEFI Native (Without CSM)
That so did not work. Booted into garbled screen, eventually rebooted itself into a second CMOS reset. This time some of the Boot Options did change, like Fast Boot was enabled.
Fixed Boot options, also selected UEFI Hybrid (With CSM)
Reboot
Successfully booted into macOS Welcome screen...
Successfully made it through setup wizard...
Next to download Clover and install
J> downloaded same version but seem to have more Theme options, still not Bluemac...
Remove EFI/CLOVER/kexts/10.6, 10.7, 10.8, 10.9, 10.10, leaving just 'Other'
Copy essential kexts from EFI/Clover/kexts/Other from USB to SDD in same location
- FakeSMC, VoodooPS2Controller, AppleIntelE1000e.kext
Copy EFI/Clover/drivers64UEFI/HFSPlus.efi from USB to SDD in same location
Copy EFI/Clover/config.plist from USB to SDD in same location
J> note, replaced metal with BGM in config.plist... hopefully will like this theme better...
Reboot and remove USB
ARGH, another CMOS reset error!!!
No changes apparent this time...
Boot error, no boot media... dropped into HP PC Hardware Diagnostics UEFI, just select exit, reboot...
And booted into Clover...
Black screen, waiting...
Somethings wrong, booting from USB, will empty out SDD EFI and reinstall clover, etc...
Still wrong, will reinstall macOS from USB...
SCORE!
Step 3 - using Clover UEFI hotpatch approach for ZBook 15 G2 - thanks RehabMan!
https://www.tonymacx86.com/threads/...book-using-clover-uefi-hotpatch-10-11.189416/
J> resinstalling from USB again... too much experimentation... going to clean slate for Clover UEFI hotpatch
Also, there is not a USB aml for ZBook 15 G2 Haswell... will need to go through generation process...
J> after following instructions, I do not have working WiFi or Audio, however I do have working Bluetooth.
Three additional patches are needed to get WiFi working on 10.12.1. See the following thread:
http://www.insanelymac.com/forum/topic/312759-fix-macos-sierra-dp1-bcm94532z-wifi/?p=2308428
Other posts that were not required because they are already included in RehabMan's hotpatches, but are good information:
https://www.tonymacx86.com/threads/guide-airport-pcie-half-mini-v2.104850/
https://github.com/toleda/wireless_half-mini
Step 4 - Get audio to work
to be researched...
Step 5 - Get discrete graphics to work
to be researched...
Last edited: