Contribute
Register

[Guide] Aero 15X V8 (High Sierra + Nvidia Graphics, and Mojave)

Joined
Sep 25, 2018
Messages
32
Motherboard
Gigabyte Aero 15X V8
CPU
i7-8750H
Graphics
GTX 1070
I've managed to install High Sierra (also Mojave) on my Aero 15X V8, and I just want to share with you. And, if possible, get help with things that are still not working

For now I'll not add much info here, so I'll be sharing only quick summary and the repo that I created for us:
https://github.com/zacmks/Hackintosh-Aero-15X
Which contains:
  • Patches used (USB ports/PM/backlight/battery indicator, etc..)
  • Config (Intel/Nvidia)
  • Kexts
If anyone finds any issues on what I've done, please correct me. Thanks a lot!

Please note that I made this DSDT patchless, I have mostly the clover patches + SSDT patches (many configurable) to keep the system clean
Thanks to @RehabMan and his great laptop config repo and many resources and guides

I wanted to do it as much as compatible with other Aero 15Xs as possible. Thus, mostly you just need to copy the aml files from my repo
I always try to make this very minimal, please let me know if there's anything that is unnecessary with my configs, kexts, DSDT/SSDT patches

I will always be doing minor tweaks (on the repo mostly, but will update here if needed). Thanks a lot for the forum, in general. Got many helpful info here

What's working
  • CPU/IGPU Power Management
  • Battery indicator
  • Touchpad
  • Ethernet card
  • WiFi + Bluetooth
  • Sound (internal speakers + mic jack on/off)
  • Intel graphics card
  • Built-in display backlight
  • All USB ports (2.0 + 3.0); USB PM
  • Card Reader (USB 3.0)
  • HD Camera (USB 2.0)
  • Keyboard (USB 2.0)
  • Bluetooth (Internal 2.0)
  • Nvidia graphics card (over HDMI) - NOT on Mojave, since we user Nvidia Web Drivers
  • Shutdown/Sleep/Restart
Not working/Issues
  • Very minor (for me): Improve keyboard shortcuts (only volume controls working)
Known issues

- Black screen on boot (stays dark for a few minutes):
https://www.tonymacx86.com/threads/bug-black-screen-3-minutes-after-booting-coffeelake-uhd-630.261131/
- Thunderbolt hot-plug (wip by the community)
https://www.tonymacx86.com/threads/in-progress-ssdt-for-thunderbolt-3-hotplug.248784/

1- Before we start/info/requirements
Please note that this will be a post-install thread for High Sierra [17G4015] (With Coffee Lake support), therefore I'll not be able to help much for the installation part, since I did it quite a some time ago. As far as I'm concerned, macOS Mojave has support for Coffee Lake, thus you can just update to Mojave through the App Store

The installed Toshiba NVMe ssd needs to be formatted to 4k sectors, there are plenty of ways of doing this - Windows/Linux, etc. Please note that when you change the physical block sectors of your SSD, it will erase all your data. So please make sure that you make a backup of all your important data

The idea of this post is to show what is needed to make each component to work. I will not give a very detailed step-by-step since we have plenty of info in our forum, but will show what guide to follow, a few which steps and some reasoning.

On clover setup, please use OsxAptioFixDrv-64.efi and EmuVariableUefi-64.efi to save your nvram. Also, install the clover rc scripts

Prerequisites:
- Knowledge on patching DSDT/SSDTs:
https://www.tonymacx86.com/threads/guide-patching-laptop-dsdt-ssdts.152573/
  • Please dump your DSDT/SSDT (guide/link above), we are going to use it on the guide
  • Knowledge using clove, adding patches, etc
  • Knowledge using kernel extensions, kexts
  • Know how to use MaciASL
Replaced parts:
- Intel WiFi replaced with Broadcom BCM94352Z (Intel WiFi not compatible with macOS)

tl;dr:
  • Know how to do DSDT/SSDT patches
  • Know how to use MaciASL (at least for patches)
  • Replace your wifi card
  • For Mojave: Do install High Sierra, the update through App Store
  • For clover, use OsxAptioFixDrv-64.efi, EmuVariableUefi-64.efi and install rc scripts
2- Let's do it. Patching, hacking

CPU/IGPU Power Management:
Requirements:
  • SSDT patch needed
  • config.plist edit needed
  • Use the correct version of MacOS, for coffee lake machines
How to make it work:

Since this laptop has a recent CPU and compatible macOS version, we can follow the section XCPM only of the following guide:
https://www.tonymacx86.com/threads/guide-native-power-management-for-laptops.175801/
It's interesting to check the Disable Hibernation and Testing PM sections of this guide too

Summary:
- Add the following to your EFI/CLOVER/patched folder:
SSDT-XCPM.aml
OR
- If you are using RehabMan's modified clover, just set PluginType=true on your config.plist (do not forget to disable other amls, PM patches)

Battery indicator:
Requirements:
  • DSDT patch needed
  • kext needed
  • MacIASL (there's already a patch for it)
How to make it work:

Use the following guide:
https://www.tonymacx86.com/threads/guide-how-to-patch-dsdt-for-working-battery-status.116102/
And use the "[bat] Gigabyte Aero 15W V8" patch from MacIASL in your DSDT (double-checked and 15W has the same sections/info to be changed as in 15X)
With your patched DSDT, use ACPIBatteryManager kext, from: https://bitbucket.org/RehabMan/os-x-acpi-battery-driver/downloads/

Summary:

  • Patch your DSDT with "[bat] Gigabyte Aero 15W V8" on MacIASL
  • Add ACPIBatteryManager.kext, to your kext folder
NEW:
- For DSDT less configuration, I created a SSDT + clover config.plist to hotpatch the battery indicator (can check on my repo)
- Previous suggestions are still valid if you want to learn how it was done happening

Touchpad:
- I just use VoodooPS2Controller.kext from https://bitbucket.org/RehabMan/os-x-voodoo-ps2-controller/downloads/
Please let me know what we can improve from here (I'm rarelly using my touchpad), so I can update the guide


Now using ApplePS2SmartTouchPad.kext since VoodooI2C unfortunately does not [yet] supports Coffee Lake

Ethernet:

USB ports, Camera, Keyboard, Bluetooth, Card Reader:
2 guides:
You can use my SSDT from here, too:
https://github.com/zacmks/Hackintosh-Aero-15X/blob/master/10.13.6/patches/SSDT-UIAC.dsl
For power property inject, I used tested a few and I haven't noticed much difference, so you can see my SSDT-USBX.dsl or get from some other Apple machines

WiFi + Bluetooth:
- Again, original Intel cards will not work, I replaced mine with a Broadcom's BCM94352Z
Wifi:
- Used Lilu (https://github.com/acidanthera/Lilu) + AirportBrcmFixup (https://github.com/acidanthera/AirportBrcmFixup) + Fake id for wifi (example: https://github.com/zacmks/Hackintosh-Aero-15X/blob/master/10.13.6/EFI/CLOVER/config-intel.plist. Use the id from your vendor/device!)
Bluetooth:
- Via Rehabman's RehabMan/OS-X-BrcmPatchRAM
Guide here: https://www.tonymacx86.com/threads/broadcom-wifi-bluetooth-guide.242423/

Sound:

Intel graphics card:

Built-in display backlight:

Nvidia web drivers:
Just install from here (or nvidia website):

Surprisingly, it works out of the box. Plug your HDMI cable and see if it's working
Notes:
  • Please make sure tat you disable SIP before installing/restarting the system (RT Variables > CsrActivateConfig -> 0x67)
  • Not working for Mojave (for obvious reasons)

ACPI disable DGPU:

Nvidia PM:
For the lazy, just copy the following kext to your clover kext folder:

For the not so lazy, there's a guide to follow:

Please note that this is from Nvidia GT7XXm era, therefore it's not optimal. Heard that it has less power steps compared to nowadays. Still, it's great because it's something

How to help:

Since now I'm back working mostly with High Sierra, it'd be great if anyone could test the changes against compatibility between my updates and your Mojave installation, if you have

You can fork, create a PR on the following repo. Suggestions are appreciated:
https://github.com/zacmks/Hackintosh-Aero-15X

Please remember to keep the directory structure
Thanks!

Update, Mojave:
  • This is compatible with macOS Mojave 10.14.3 (18D109) (No Nvidia graphics). Just go to AppStore and install it
  • I do recommend that you first do all the guide on High Sierra, then install Mojave, since:
    • High Sierra guide were done thinking on the least amount of incompatibilities between the systems. The kext placements, the DSDT patchless approach, the SSDT patches, etcetera
    • I did on my own machine and it worked. If you do on your machine and the implementation is much different, I might not be able to help
386451

Update history:
  • 21st Dec 2018: Initial version - Skipped a few updates
  • 4th Feb 2019: The 17G5019 is a safe update
  • 4th Feb 2019: All kexts updated with latest releases on the repo
  • 6th Feb 2019: Formatting
  • 9th Feb 2019: Shutdown/Sleep/Restart issue fixed. Please see:
  • 10th Feb 2019: Aero 15x Hackintosh compatible with macOS Mojave
  • 11th Feb 2019: Added Nvidia DGPU PM section, update USB PM patches (on repo)
  • 19th Feb 2019: Removed USB stuttering issue should not happen in most cases, it was software related (Karabiner-Elements)
  • 23rd Feb 2019: Removed the todo section
  • 17th Mar 2019: Added Battery SSDT, removed DSDT
374297


Todo, in future:
  • Hardware sensors - Done on my laptop, need to update with the guide
  • Replace FakeSMC, to use VirtualSMC - done, currently testing on my computer
  • VoodooI2C, when it get's Coffee Lake support
  • Thunderbolt hotplug
  • More Mojave support --- Now it's working very nice with current High Sierra files (besides DGPU, of course)
  • Anything on known issues sections, if doable
  • Suggestions are welcome
What will NOT be done:
  • Hibernate, please disable (sudo pmset hibernatemode 0)
Releases:

1.0.0 - Initial release (just a tag/checkpoint on what was done until this date)
1.1.0 - Added SSDT for working battery status indicator. DSDT patching is not needed anymore!!

 
Last edited:
Joined
Sep 25, 2018
Messages
32
Motherboard
Gigabyte Aero 15X V8
CPU
i7-8750H
Graphics
GTX 1070
Reserved for fun stuff, such as:
- My tri-boot (Windows/Debian/High Sierra) - DONE
- Pairing the same BT [LE] on all platforms (logitech mouse example) - DONE
- Clonezilla - DONE
- efibootmgr
- Virtualbox: Starting actual Debian partition from Windows, and Linux (+High Sierra?) - DONE
- KVM: From Linux - Start Windows or High Sierra - Not started yet
- VirtIO / PCI passthrough for NVIDIA Graphics card - Not started yet
 
Last edited:
Joined
Dec 28, 2018
Messages
3
Motherboard
HM370
CPU
Intel Core i7 8750H
Graphics
UHD630+GTX1060
Could you please share your method of making the NV GPU being driven properly? I can’t get mine work.And when I plug in an external display. It was just no response and nothing change in system preferences.
 
Joined
Sep 25, 2018
Messages
32
Motherboard
Gigabyte Aero 15X V8
CPU
i7-8750H
Graphics
GTX 1070
Could you please share your method of making the NV GPU being driven properly? I can’t get mine work.And when I plug in an external display. It was just no response and nothing change in system preferences.
Sorry couldn't complete the guide, pretty busy at work, but this is what I did:

Just installed the nvidia web drivers from:
https://www.tonymacx86.com/nvidia-drivers/

- Also, you can use some of params from my config.plist:
https://github.com/zacmks/Hackintosh-Aero-15X/blob/master/10.13.6/EFI/CLOVER/config-nvidia.plist
The part that I that should be noted is:
SystemParameters/NvidiaWeb = true
Also, I commented out the disable-external-gpu from lilu/whatevergreen
Also, because apple's SPI, CsrActiveConfig is a param that should be noted, too jfyi

Install, reboot, make sure configs are good, reboot (lastly, just to make sure)

Extra: I also use the following when I need to disable the Nvidia (for whatever reason):
https://github.com/zacmks/Hackintosh-Aero-15X/blob/master/10.13.6/EFI/CLOVER/config-intel.plist

I haven't changed the DSDT to acpi disable it, I'm still doing some tests (not actively, but when the things settles up on my side)

Also, @tchen441. How is your keyboard/usb devices? Are they lagging/stuttering often? And are you being able to shutdown without pressing the power button everytime?

EDIT: Just saw that your laptop might not be the same model as mine, please note that the procedures that I shared might not work with yours. It all depends on how your Nvidia and Intel graphics cards are tied with the ports. There are many laptops that the Intel and Nvidia cards share the same Intel framebuffer, for those, the Nvidia graphics card might not work
 
Last edited:
Joined
Dec 28, 2018
Messages
3
Motherboard
HM370
CPU
Intel Core i7 8750H
Graphics
UHD630+GTX1060
Sorry couldn't complete the guide, pretty busy at work, but this is what I did:

Just installed the nvidia web drivers from:
https://www.tonymacx86.com/nvidia-drivers/

- Also, you can use some of params from my config.plist:
https://github.com/zacmks/Hackintosh-Aero-15X/blob/master/10.13.6/EFI/CLOVER/config-nvidia.plist
The part that I that should be noted is:
SystemParameters/NvidiaWeb = true
Also, I commented out the disable-external-gpu from lilu/whatevergreen
Also, because apple's SPI, CsrActiveConfig is a param that should be noted, too jfyi

Install, reboot, make sure configs are good, reboot (lastly, just to make sure)

Extra: I also use the following when I need to disable the Nvidia (for whatever reason):
https://github.com/zacmks/Hackintosh-Aero-15X/blob/master/10.13.6/EFI/CLOVER/config-intel.plist

I haven't changed the DSDT to acpi disable it, I'm still doing some tests (not actively, but when the things settles up on my side)

Also, @tchen441. How is your keyboard/usb devices? Are they lagging/stuttering often? And are you being able to shutdown without pressing the power button everytime?

EDIT: Just saw that your laptop might not be the same model as mine, please note that the procedures that I shared might not work with yours. It all depends on how your Nvidia and Intel graphics cards are tied with the ports. There are many laptops that the Intel and Nvidia cards share the same Intel framebuffer, for those, the Nvidia graphics card might not work
Thanks for your kindly reply.It seems I totally forgot the thing about lilu/wtg. And could you tell me how can I deal with it? Then how can I tell the GPUs share the frame buffer or not? The only thing I can confirm is that the HDMI port tie to the dGPU.
BTW, my USB devices work well after I patched them using FB patcher. And about the shutdown issue, maybe you can try the ‘shutdown fix’ from Rehabman or check it in Clover editor.
 
Joined
Sep 25, 2018
Messages
32
Motherboard
Gigabyte Aero 15X V8
CPU
i7-8750H
Graphics
GTX 1070
Thanks for your kindly reply.It seems I totally forgot the thing about lilu/wtg. And could you tell me how can I deal with it? Then how can I tell the GPUs share the frame buffer or not? The only thing I can confirm is that the HDMI port tie to the dGPU.
BTW, my USB devices work well after I patched them using FB patcher. And about the shutdown issue, maybe you can try the ‘shutdown fix’ from Rehabman or check it in Clover editor.

I think that you should be ok, since dgpu is tied to hdmi. Regarding Lilu/Whatevergreen, they do most of the work, you just need to set some good params for your igpu card (you can try the values from the FBPatcher, should be easier with it).
After everything set, I just select to use the nvidia web driver through their software and reboot with the nvidia configured config.plist.
But since our laptops are not qiite the same, it might not work the same with you =/

Yep, regarding the usb, I have it configured too, did the same method as you and also RehamMan's method with same result (all ports working nice for 2.0 and 3.0, bit some lagging). The shutdown fixes I tried several even with many dsdt paches. It might be something with the acpi impl on my laptop, maybe more dsdt tweaking might be neeed for Aero 15x
 
Joined
Sep 25, 2018
Messages
32
Motherboard
Gigabyte Aero 15X V8
CPU
i7-8750H
Graphics
GTX 1070
Hello, I currently have this laptop (4k version) and when I try to launch the High Sierra installer, I get the com.apple.WindowServer error message on loop until I restart.

From my understanding, this means the dgpu needs to be disabled before I can continue with the installation. Yet it doesn't seem you ran into this when installing High Sierra, since you say you didn't patch the ACPI to disable the dgpu?

If not, could I ask what settings you used to actually boot the installer? Or if you have the 144hz version, maybe that's where the difference is?

Thanks!

Hello, sorry for taking so much time to answer, was pretty busy at work
But I haven't had similar issues when ran the installer

Yes, for the good or bad, it is better to disable nvidia graphics at least on installation at least to have a working machine to work on. Then you can further do it's configuration, which is what I did

And yes, I haven't disabled the dgpu on my machine since I mostly work it with power adapter, and on my desk
ACPI methods for the Aero 15x machines are a bit different too (the _ON, _OFF calls are somewhat arranged quite differently), I think it's because of the HDMI/DP wiring or something like it. I could not follow Rehabman's guide to patch it
 
Joined
Sep 25, 2018
Messages
32
Motherboard
Gigabyte Aero 15X V8
CPU
i7-8750H
Graphics
GTX 1070
Update: Added support for Mojave

@RehabMan, now that we have it. Should this guide be moved to Mojave, too? Sorry I don't know many moderators here

Btw, USB stuttering continues, hahaha
 
Joined
Sep 25, 2018
Messages
32
Motherboard
Gigabyte Aero 15X V8
CPU
i7-8750H
Graphics
GTX 1070
Hello, I currently have this laptop (4k version) and when I try to launch the High Sierra installer, I get the com.apple.WindowServer error message on loop until I restart.

From my understanding, this means the dgpu needs to be disabled before I can continue with the installation. Yet it doesn't seem you ran into this when installing High Sierra, since you say you didn't patch the ACPI to disable the dgpu?

If not, could I ask what settings you used to actually boot the installer? Or if you have the 144hz version, maybe that's where the difference is?

Thanks!
Ohh, btw. Also, 4k displays need the boot flag -cdfon. Please refer to:

To disable the dgpu, you can use the following:

Just finished this recently
 
Joined
Feb 13, 2019
Messages
7
Do u guys know how to fix Intel UHD 630 that High Sierra recognized with only 7MB VRAM? I tried other fix but none of them worked. I follow @zacmks guide upon this point and do some modification for the AppleALC.kext driver to work (I use VoohooDHA.kext instead and install it into L/E) High Sierra still recognize UHD with 7MB. Do you know anything upon this problem?

Also I have a question upon screen. Whenever I use the config.plist provided by you @zacmks I only have screen on my HDMI port while the internal display shows nothing but an apple logo with loading line (shown below). I believe that this might be something with SSDT and DSDT file but I'm pretty new to this so that I don't want to mess up anything.

Btw my keyboard, mouse, and trackpad work totally fine. Bluetooth on the other hand doesnt work but that doesnt affect me that much.

P/s: I can live with this but it is kinda finicking because it detects two display lol
 

Attachments

Last edited:
Top