Contribute
Register

[Guide] High Sierra on HP Spectre x360 8th Gen Coffee Lake

Status
Not open for further replies.
Your ioreg shows no BT controller on the USB bus.
USB configuration not correct.
See USB guides in FAQ:
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/

HI, Rehabman thank you for your answer, the Bluetooth controller is part of the Broadcom BCM94352Z card but it works only sometimes, it sometimes appears that is not there, then other times for example when the laptop wakes up. it starts to work. Maybe it is an issue of the card. Also, it seems that when the Bluetooth is on the CPU frequency is much higher not sure if related. THank you ill take a look at the usb
 
HI, Rehabman thank you for your answer, the Bluetooth controller is part of the Broadcom BCM94352Z card but it works only sometimes, it sometimes appears that is not there, then other times for example when the laptop wakes up. it starts to work. Maybe it is an issue of the card. Also, it seems that when the Bluetooth is on the CPU frequency is much higher not sure if related. THank you ill take a look at the usb

You should check BIOS settings (legacy/CSM enabled, fast boot disabled), and configure your USB correctly...
 

Attachments

  • debug_14155.zip
    2.1 MB · Views: 100
I am following the guide on the USB i applied the patches to rename the usb but not all of my usb are recognized only two. Maybe can you help me ?Thank you for the help

No idea what you mean by "but not all of my usb are recognized only two".
You will need to describe your problem in detail. I cannot begin to guess.
 
No idea what you mean by "but not all of my usb are recognized only two".
You will need to describe your problem in detail. I cannot begin to guess.

Only two of my USB ports are recognized
 
Only two of my USB ports are recognized

Maybe the others are connected to a TB3 controller?
Try plugging a device into them prior to booting.
 
Maybe the others are connected to a TB3 controller?
Try plugging a device into them prior to booting.

I believe the other is connected to a tb3 controller, What can i do in that case ?
 
I believe the other is connected to a tb3 controller, What can i do in that case ?

You will need to plug the device into the ports before booting, otherwise the TB3 controller doesn't appear on the PCIe bus.

Use search/google to find other "work in progress" solutions.
 
Hello everyone, so maybe there are other people around with the HP Spectre x360, Coffee Lake or 8th gen intel processor. I will post here what I have recompiled from different threads and of course with the very helpful guides from @RehabMan.

If you have some suggestions or better solutions to what I have written here please let me know I'll add it to the thread we can make a good guide that can help all of us!

For reference, I have an HP Spectre x360 with i7 8550U and Nvidia mx150/Intel Hd 620. my Bios version at the moment of the guide is F35

Must read before

https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
https://www.tonymacx86.com/threads/guide-booting-the-os-x-installer-on-laptops-with-clover.148093/


First, read and follow Rehabman’s guide I will post a few notes that helped me install and run High Sierra on my laptop. But basically, if you read carefully and follow all steps you will have no problems.

https://www.tonymacx86.com/threads/guide-booting-the-os-x-installer-on-laptops-with-clover.148093/


Downloads

Clover: https://sourceforge.net/projects/cloverefiboot/
Clover fork by RehabMan: https://bitbucket.org/RehabMan/clover
Kext Utility: http://www.insanelymac.com/forum/topic/140647-latest-kext-utility-macos-sierra-super-speed-edition/
IOReg + guide: https://www.tonymacx86.com/threads/guide-how-to-make-a-copy-of-ioreg.58368/
iasl fork by RehabMan: https://bitbucket.org/RehabMan/acpica/downloads/ + guide https://github.com/RehabMan/Intel-iasl
MaciASL fork by RehabMan: https://bitbucket.org/RehabMan/os-x-maciasl-patchmatic/downloads/
Intel Power Gadget: https://software.intel.com/en-us/articles/intel-power-gadget-20



The very first recommendation is to update your Bios version in Windows. Search for the new version in the HP support page and install it, to avoid future problems.


You need to enter the Bios (when booting press Esc and F10):

Disable Virtualization technology

Disable Secure Boot.

You can enable legacy boot but you do not need it, it can work either way.


Following @RehabMan guide install clover and the OSX installer in your USB drive.
Once you have installed Clover on your USB drive and the osx installer you will need:


Add to the drivers64UEfi folder

  • AptioMemoryFix from clover
  • HFSPlus.efi (download from https://github.com/JrCs/CloverGrowerPro/raw/master/Files/HFSPlus/X64/HFSPlus.efi )
  • Apfs.efi only if you are installing in APFS I recommend to avoid the APFS conversion, HFS is faster for the moment and is better supported (Can be found in High Sierra installer under /Applications/Install macOS High Sierra.app/Contents/SharedSupport/BaseSystem.dmg )
For the kext folder add all essential kexts to EFI/CLOVER/kexts/Other delete every other folder

  • USBInjectAll.kext
  • VoodooPS2Controller.kext
  • FakeSMC.kext
  • Lilu.kext
  • Whatevergreen.kext
I will upload a folder of my kext files and EFI files (Please note they may be outdated and you may need to search and use more recent files)

Config.plist

For the config.plist download this https://github.com/RehabMan/OS-X-Clover-Laptop-Config/archive/master.zip

And replace the clover plist with config_HD615_620_630_640_650.plist


In the config.plist find this line


Code:
<key>Comment</key>
<string>0x591b0000, 32MB BIOS, 19MB framebuffer 9MB cursor bytes (credit RehabMan)</string>
<key>Disabled</key>
<true/>

Set it to Disabled or disabled to true

To Avoid the APFS Conversion

Boot into your USB MacOS install, set the Drive/Partition that you want to install OS X in. Remember to Format it to MacOS Extended (Journaled). You can do this by accessing the disk utility from the "Utilities" menu within the macOS installer.

Access the terminal. (Terminal is available from the "Utilities" menu within the macOS installer.)
And run the following code, change the drive paths to your partition path.

Code:
/Volumes/"Image Volume/Install macOS High Sierra.app"/Contents/Resources/startosinstall --volume the_target_volume --converttoapfs NO --agreetolicense

The computer will restart and you can continue the installation from the internet partition.

Install High Sierra on the laptop but you will need to boot the SSD installation from the USB drive still.

Install Clover in the Internal partition

Similar to what you did installing clover on the USB drive install it into the SSD. And mount the EFI drive.


You will need to follow this guide to be able to boot from the SSD drive if you have a dedicated GPU like the Nvidia MX150 in my case.

https://www.tonymacx86.com/threads/...-only-ran-for-0-seconds-with-dual-gpu.233092/

After following this guide you will end up with the file EFI/Clover/ACPI/patched/SSDT-DiscreteSpoof.aml.
This file disables the GPU as it is not supported in Hackintosh.

To be able to boot also you will need this solution. HP has a bug in the bootloader so this was a solution for me.
Do the preloader solution. In my files, I have the preloader.efi file attached you can copy it from there to the clover folder. Rename the Cloverx64.efi to loader.efi

For the preloader solution, I found it very easy using EasyUefi in windows.
  • Open EasyUEFI, and click on the button labeled “Manage EFI Boot Option”
  • Click on the plus button alongside the list of boot entries to add a new entry
  • Select “Linux or Other OS” in the Type menu
  • Add a description for the bootloader entry, such as “Clover PreLoader”
  • Select the EFI partition on your disk
  • Now click the browse button, and browse to the CLOVER folder and select PreLoader.efi as the file
  • Click OK to add the entry. Use the up and down arrows to set the priority of the boot entry if you’d like
Now, select the Windows boot entry and click the red circle. The status should change to “Disabled”, which will prevent you from booting windows instead of clover on accident This solution was given by @ddegrasse,

Disable hibernation not supported on Hackintosh on the terminal:

sudo pmset -a hibernatemode 0
sudo rm /private/var/vm/sleepimage
sudo mkdir /private/var/vm/sleepimage


Now you will need to install the following kexts to the Library/Extensions folder

  • USBInjectAll.kext
  • VoodooPS2Controller.kext
  • FakeSMC.kext
  • Lilu.kext
  • Whatevergreen.kext
  • ACPIBatteryManager.kext
  • FakePCIID.kext
  • FakePCIID_Intel_HDMI_Audio.kext
  • FakePCIID_Intel_HD_Graphics.kext
  • FakeSMC_ACPISensors.kext
  • FakeSMC_CPUSensors.kext
  • FakeSMC_GPUSensors.kext
  • FakeSMC_LPCSensors.kext
You will need to install a few extra kexts to fix the backlight control, audio, wifi and bluetooth. Ill explain them on the DSDT section.

To install a kext do this

Code:
sudo cp -R KextToInstall.kext /Library/Extensions

then reload the kext cache

Code:
sudo kextcache -i /

For me, I found it very easy to just copy paste all kexts to the /Library/Extensions folder then opening kext utility to repair permissions and finally reload the cache

Code:
sudo kextcache -i /

When something stopped working I usually opened kext utility let it work then restart.

Patch the DSDT SSDT

Now the most important part is to patch your DSDT and SSDT files. Please read this guide very carefully so that you understand how to patch them and how do they work.

https://www.tonymacx86.com/threads/guide-patching-laptop-dsdt-ssdts.152573/


Please do not copy this files from other computers as they may not work, this is entirely based on your hardware.

When patching you mainly are going to be working on the DSDT.dsl.file try to compile it. The first fix you need to do is remove all of those zero that are producing errors. Fix all compilation errors first before applying patches. For me, it was only removing all zero that was causing problems.

Apply the following patches


If your hardware is the same as mine use this patch to fix the brightness keys in the DSDT

Code:
into method label _Q10 replace_content
begin
// Brightness Down\n
    Notify(\_SB.PCI0.LPCB.PS2K, 0x0205)\n
    Notify(\_SB.PCI0.LPCB.PS2K, 0x0285)\n
end;
into method label _Q11 replace_content
begin
// Brightness Up\n
    Notify(\_SB.PCI0.LPCB.PS2K, 0x0206)\n
    Notify(\_SB.PCI0.LPCB.PS2K, 0x0286)\n
end;

To fix backlight control follow this guide.

https://www.tonymacx86.com/threads/...rol-using-applebacklightinjector-kext.218222/

After following this you will have

  • a single pre-built AppleBacklightInjector.kext
  • a patch for AppleBacklight in config.plist/KernelAndKextPatches/KextsToPatch
  • SSDT-PNLF.aml to activate the AppleBacklight kext
For wifi and Bluetooth you will need to change the wifi card I bought this one and it works perfectly, it's also not expensive.

Broadcom BCM94352Z card

After an update, you may have to install some of the kexts again and reload your kext cache.


To make it work follow install this kexts

  • BrcmFirmwareRepo.kext
  • BrcmFirmwarePatchRam2.kext
from https://github.com/RehabMan/OS-X-BrcmPatchRAM

For the audio, you can either use VoodooHDA but I used


https://github.com/acidanthera/AppleALC/releases

THe version which works best for mmy laptop is 1.2.7 install the kext in L/E then you wil need to inject layout 3 in clover config.plist

in Devices>Audio> Inject > 3

Finally, to save battery it is better to completely disable the dedicated GPU (If you have it) for this follow this guide, it might be a bit complicated.

http://www.tonymacx86.com/el-capita...bling-discrete-graphics-dual-gpu-laptops.html

My solution in my laptop was this read the guide then read this it might help.

credit @RehabMan

Follow this steps, I hope your hardware is the same so it works for you as well.

Find the _OFF function is in SSDT-11.aml , recall the adress in my case is

Code:
_SB.PCI0.RP01.PEGP._OFF

then add in the SSDT-10.aml _INI method
this:

Code:
//added to turn nvidia/radeon off
 External(\_SB.PCI0.RP01.PEGP._OFF, MethodObj)
  _OFF()

THen you will need to open the SSDT-9.aml and find HGOF

and remove this line

Code:
Store (Zero, \_SB.PCI0.LPCB.EC0.GFXT)
then you will need to add it to the _REG method in the DSDT like this

Code:
                //added to turn nvidia/radeon off
                If (LAnd(LEqual(Arg0,3),LEqual(Arg1,1)))
                {
                    Store (Zero, \_SB.PCI0.LPCB.EC0.GFXT)
                }

At the end will have a patched:

SSDT-10.aml needs to be patched (call _OFF from _INI).
SSDT-9.aml needs patching to remove the mentioned EC related code.
EC related code from SSDT-9 gets added to _REG in DSDT.


Touchscreen and pen

This is a relatively easy fix compared to the last
I did not need to do any patches to the DSDT only copy the patch to the config.plist and install the kexts. Follow this nice guide by @jaymonkey

https://www.tonymacx86.com/threads/...2c-touchscreen-and-pen-working-in-osx.246052/
https://github.com/alexandred/VoodooI2C/releases

If you have a problem remember to ask about your problem attaching the problem reporting files. For me, it was always easier to use this tool
It automates the process of creating the files. The part it cannot do is pressing F2 and F4 for you at the main Clover screen.
https://www.tonymacx86.com/threads/tool-generate-proper-problem-reporting-files.235953/

IF I missed something or you have a better solution I can add it to the thread

can i use this guide to install macOS on lenovo legion y530?
 
can i use this guide to install macOS on lenovo legion y530?

Thread title is "High Sierra on HP Spectre x360 8th Gen Coffee Lake".
 
Status
Not open for further replies.
Back
Top