- Joined
- Jun 3, 2017
- Messages
- 174
- Motherboard
- Motherboard OR System make and model names > See Forum Rules!
- CPU
- > Need full CPU model name > See Rules!
- Graphics
- > Need model name or version number > See Forum Rules!
- Mac
- Classic Mac
- Mobile Phone
Blahblab legal stuff, I am not liable for any damages that incur from the use of this guide.
Updated 04/06/19: Mojave!
Updated 04/08/19: fix DSDT, switch to AppleALC, ig-platform 0x191b -> 0x1916
This is written for the Asus K501UW-AB78:
CPU: i7-6500U
GPU: Intel 520, Nvidia GTX960M (not working)
RAM: 8GB/16GB
What works: Keyboard, trackpad, brightness controls, USB ports, Ethernet, speakers and the audio jack, HDMI
What doesn't work: Intel wifi (replaced with DW1560), Discrete Nvidia GPU.
1.
Follow Rehabman's guide on creating a clover USB.
Add the following kexts into the Clover kexts folder. (Attached below)
2.
Once macOS is installed and you're at the desktop, install clover to internal drive.
Mount USB EFI and copy over the Clover folder from the USB to the internal/macOS EFI, overwriting the existing folder. (if there's no overwrite, then you're copying the wrong folder/to the wrong location. Also, make sure you're copying the correct folder, and not the one you want to replace)
3. OPTIONAL
Now to move over the kexts from EFI to /Library/Extensions..
4.
Use attached SSDT ACPI files, copy into EFI/Clover/ACPI/patched/
5.
Read Rehabman's guide on DSDT/ACPI patching.
Decompile command that you'll probably need:
Use the patches attached below.
6. AppleALC / Audio
Uncomment config.plist Devices>Properties>(pci audio device)>layout-id
and set it's value to a codec id from below.
Realtek ALC 298 layout-ids: (3, 11, 13, 28 are likely to work..)
If ALC298 isn't the correct codec, find it in Windows and a layout-id from https://github.com/acidanthera/AppleALC/wiki/Supported-codecs
7. Remove drive reboot into BiOS/F2. Reorder so that the clover/UEFI P0 (internal/macOS drive) is first.
Done! Sorry, this was very brief. If you need any help, just ask!
Updated 04/06/19: Mojave!
Updated 04/08/19: fix DSDT, switch to AppleALC, ig-platform 0x191b -> 0x1916
This is written for the Asus K501UW-AB78:
CPU: i7-6500U
GPU: Intel 520, Nvidia GTX960M (not working)
RAM: 8GB/16GB
What works: Keyboard, trackpad, brightness controls, USB ports, Ethernet, speakers and the audio jack, HDMI
What doesn't work: Intel wifi (replaced with DW1560), Discrete Nvidia GPU.
1.
Follow Rehabman's guide on creating a clover USB.
- Clover on laptops: https://www.tonymacx86.com/threads/guide-booting-the-os-x-installer-on-laptops-with-clover.148093/
Add the following kexts into the Clover kexts folder. (Attached below)
Code:
AirportBrcmFixup.kext
AppleBacklightFixup.kext
AsusNBFnKeys.kext
BrcmFirmwareRepo_Mod.kext
BrcmPatchRAM2_Mod.kext
FakeSMC.kext
FakeSMC_ACPISensors.kext
FakeSMC_CPUSensors.kext
FakeSMC_GPUSensors.kext
FakeSMC_LPCSensors.kext
FakeSMC_SMMSensors.kext
Lilu.kext
USBInjectAll.kext
AppleALC.kext
VoodooI2C.kext
VoodooI2CELAN.kext
VoodooPS2Controller.kext
WhateverGreen.kext
2.
Once macOS is installed and you're at the desktop, install clover to internal drive.
Mount USB EFI and copy over the Clover folder from the USB to the internal/macOS EFI, overwriting the existing folder. (if there's no overwrite, then you're copying the wrong folder/to the wrong location. Also, make sure you're copying the correct folder, and not the one you want to replace)
3. OPTIONAL
Now to move over the kexts from EFI to /Library/Extensions..
- (with proper permissions)
sudo cp -r /EFI/Clover/Kexts/Other/* /Library/Extensions
- (rebuilt kext cache)
sudo kextcache -i /
- Fix VoodooI2C: Enable "disable AppleIntelLpssI2C 1/2" and 2/2 patches in provided config.plist.
Code:
Name: com.apple.driver.AppleIntelLpssI2C
Find: 494F4B69 74
Replace: 494F4B69 78
Comment: disable AppleIntelLpssI2C 1/2
Code:
Name: com.apple.driver.AppleIntelLpssI2CController
Find: 494F4B69 74
Replace: 494F4B69 78
Comment: disable AppleIntelLpssI2C 2/2
4.
Use attached SSDT ACPI files, copy into EFI/Clover/ACPI/patched/
SSDT-PNLF is for AppleBacklightFixup.kext
SSDT-UIAC and SSDT-USBX are for USBInjectAll.kext
SSDT-XOSI is for VoodooI2C*.kext
5.
Read Rehabman's guide on DSDT/ACPI patching.
Decompile command that you'll probably need:
iasl -fe refs.txt -dl DSDT.aml SSDT*.aml
Use the patches attached below.
Code:
00. Generic Fixes.txt - PARSEOP_ZERO
02. PRW 0x6d Fix.txt - sleep
03. IRQ Fix.txt
03. system_WAK2.txt - sleep
07. system_PNOT.txt - charger status
08. Battery Patch.txt
09. Keyboard Backlight 16 Level Patch.txt
10. Fn Key Patches.txt - fn keys
12. GPIO and ETPD fix.txt - touchpad
6. AppleALC / Audio
Uncomment config.plist Devices>Properties>(pci audio device)>layout-id
and set it's value to a codec id from below.
Realtek ALC 298 layout-ids: (3, 11, 13, 28 are likely to work..)
Code:
0x100101, 0x100103, 3, 11, 13, 28, 29, 30, 47, 66, 72, 99
7. Remove drive reboot into BiOS/F2. Reorder so that the clover/UEFI P0 (internal/macOS drive) is first.
Done! Sorry, this was very brief. If you need any help, just ask!
Attachments
Last edited: