Contribute
Register

[Guide] ASUS Zenbook UX310UA (& UX310UQK) macOS Mojave / Catalina with Clover (& Big Sur using OpenCore EFI) Installation Guide

Joined
Mar 18, 2018
Messages
10
Motherboard
Asus Vivobook X405
CPU
Intel I3-7100u
Graphics
Intel HD 620
If anyone is trying to get VoodooI2C 2.0.1 working for their trackpad and having a problem after following the GPIO pinning steps, try 0x51. Following the steps, I got 6D/0x55 which didn't work. 0x51 got everything working

Hi mpmclaugh, does your power management still work after this change? As my cpu usage bumps up to 100% after this change.
 
Joined
May 2, 2010
Messages
6
Motherboard
Gigabyte Z390 Aorus Ultra
CPU
i7 6-core
Graphics
Radeon RX 580 8GB
OMG! So frustrating!!
I've grabbed my DSDT files, etc from Clover via the F4 method, but every time I go to recompile with the patches, I'm always receiving "syntax error, unexpected $end and premature End-Of-File" at the end of the file. Like line 32974!
I can't find the mismatched bracket and my eyes are ready to fall out.
Answer: Yes! I've tried grabbing the files from Clover several times. Always with the same error. I've even changed Clover versions several times/reinstalls/etc. Gone through RehabMan's laptop guide multiple times too.
Any code guru can point me to a script or program that can give me a better idea of where to find the mismatched bracket???
I can upload my DSDT file here if someone wants to take a crack at it, but I'd like to learn how to find these errors myself as well for future use.
BTW: My profile states a Gigabyte board and it works as advertised, but I'm trying to get my Asus ux310u Zenbook going too.
Thanks in advance :)
 

Feartech

Moderator
Joined
Aug 3, 2013
Messages
19,085
Motherboard
Asus N752VX-OpenCore
CPU
i7-6700HQ / HM170
Graphics
HD 530 1920 x 1080
Mac
  1. iMac
Mobile Phone
  1. iOS
OMG! So frustrating!!
I've grabbed my DSDT files, etc from Clover via the F4 method, but every time I go to recompile with the patches, I'm always receiving "syntax error, unexpected $end and premature End-Of-File" at the end of the file. Like line 32974!
I can't find the mismatched bracket and my eyes are ready to fall out.
Answer: Yes! I've tried grabbing the files from Clover several times. Always with the same error. I've even changed Clover versions several times/reinstalls/etc. Gone through RehabMan's laptop guide multiple times too.
Any code guru can point me to a script or program that can give me a better idea of where to find the mismatched bracket???
I can upload my DSDT file here if someone wants to take a crack at it, but I'd like to learn how to find these errors myself as well for future use.
BTW: My profile states a Gigabyte board and it works as advertised, but I'm trying to get my Asus ux310u Zenbook going too.
Thanks in advance :)
As per rules, please update your hardware profile to allow others to help you easier
https://www.tonymacx86.com/account/

Read FAQ, "Problem Reporting"
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/

Upload your "problem reporting" files here

Use the gen_debug.sh tool mentioned in the FAQ
 
Joined
Nov 7, 2016
Messages
14
Motherboard
Asus UX310UQK
CPU
Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz
Graphics
Intel HD 620
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
Hi guys,
I have the Asus ZenBook UX310UA, change the hard drive for an SSD and the wifi card for the DW1560.
Start with the tutorial and install MacOS High Sierra 10.13.5 and I have had enough problems
1. Copy the EFI folder from the boot disk and place it in the EFI partition to boot without a boot disk. With the steps indicated in this guide it was impossible for me
2. I have problems with Step 9, I manage to build the file DSDT.aml and I try to do this "iasl -da -dl -fe refs.txt DSDT.aml SSDT * .aml" and I get these errors:
iasl -da -dl -fe refs.txt DSDT.aml SSDT*.aml

Intel ACPI Component Architecture
ASL+ Optimizing Compiler/Disassembler version 20180427(RM)
Copyright (c) 2000 - 2018 Intel Corporation

Input file DSDT.aml, Length 0x2C013 (180243) bytes
ACPI: DSDT 0x0000000000000000 02C013 (v02 _ASUS_ Notebook 01072009 INTL 20180427)
External object resolution file SSDT-x3_6-HwpLvt.aml
Input file SSDT-x3_6-HwpLvt.aml, Length 0x1A4 (420) bytes
ACPI: SSDT 0x0000000000000000 0001A4 (v02 PmRef HwpLvt 00003000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-x3_5-ApHwp.aml
Input file SSDT-x3_5-ApHwp.aml, Length 0x197 (407) bytes
ACPI: SSDT 0x0000000000000000 000197 (v02 PmRef ApHwp 00003000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-x3_4-Cpu0Hwp.aml
Input file SSDT-x3_4-Cpu0Hwp.aml, Length 0x115 (277) bytes
ACPI: SSDT 0x0000000000000000 000115 (v02 PmRef Cpu0Hwp 00003000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-x3_3-ApCst.aml
Input file SSDT-x3_3-ApCst.aml, Length 0x18A (394) bytes
ACPI: SSDT 0x0000000000000000 00018A (v02 PmRef ApCst 00003000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-x3_2-Cpu0Cst.aml
Input file SSDT-x3_2-Cpu0Cst.aml, Length 0x3FF (1023) bytes
ACPI: SSDT 0x0000000000000000 0003FF (v02 PmRef Cpu0Cst 00003001 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-x3_1-ApIst.aml
Input file SSDT-x3_1-ApIst.aml, Length 0x65C (1628) bytes
ACPI: SSDT 0x0000000000000000 00065C (v02 PmRef ApIst 00003000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-x3_0-Cpu0Ist.aml
Input file SSDT-x3_0-Cpu0Ist.aml, Length 0x6F6 (1782) bytes
ACPI: SSDT 0x0000000000000000 0006F6 (v02 PmRef Cpu0Ist 00003000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-9-SgPch.aml
Input file SSDT-9-SgPch.aml, Length 0x829 (2089) bytes
ACPI: SSDT 0x0000000000000000 000829 (v02 SgRef SgPch 00001000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-8-SgUlt.aml
Input file SSDT-8-SgUlt.aml, Length 0x39B (923) bytes
ACPI: SSDT 0x0000000000000000 00039B (v02 SgRef SgUlt 00001000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-7-UsbCTabl.aml
Input file SSDT-7-UsbCTabl.aml, Length 0x10B0 (4272) bytes
ACPI: SSDT 0x0000000000000000 0010B0 (v02 _ASUS_ UsbCTabl 00001000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-6-TbtTypeC.aml
Input file SSDT-6-TbtTypeC.aml, Length 0x50D (1293) bytes
ACPI: SSDT 0x0000000000000000 00050D (v02 INTEL TbtTypeC 00000000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-5-sensrhub.aml
Input file SSDT-5-sensrhub.aml, Length 0x29F (671) bytes
ACPI: SSDT 0x0000000000000000 00029F (v02 INTEL sensrhub 00000000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-4-HdaDsp.aml
Input file SSDT-4-HdaDsp.aml, Length 0x141 (321) bytes
ACPI: SSDT 0x0000000000000000 000141 (v02 INTEL HdaDsp 00000000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-3-CpuSsdt.aml
Input file SSDT-3-CpuSsdt.aml, Length 0xEDE (3806) bytes
ACPI: SSDT 0x0000000000000000 000EDE (v02 CpuRef CpuSsdt 00003000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-2-SaSsdt.aml
Input file SSDT-2-SaSsdt.aml, Length 0x3164 (12644) bytes
ACPI: SSDT 0x0000000000000000 003164 (v02 SaSsdt SaSsdt 00003000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-10-OptTabl.aml
Input file SSDT-10-OptTabl.aml, Length 0x1F39 (7993) bytes
ACPI: SSDT 0x0000000000000000 001F39 (v01 OptRef OptTabl 00001000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-1-DptfTabl.aml
Input file SSDT-1-DptfTabl.aml, Length 0x5E76 (24182) bytes
ACPI: SSDT 0x0000000000000000 005E76 (v02 DptfTa DptfTabl 00001000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-0-SataTabl.aml
Input file SSDT-0-SataTabl.aml, Length 0x359 (857) bytes
ACPI: SSDT 0x0000000000000000 000359 (v01 SataRe SataTabl 00001000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
refs.txt: Importing method external (1 arguments) MDBG
refs.txt: Importing method external (0 arguments) _GPE.MMTB
refs.txt: Importing method external (2 arguments) _SB.PCI0.LPCB.H_EC.ECWT
refs.txt: Importing method external (1 arguments) _SB.PCI0.LPCB.H_EC.ECRD
refs.txt: Importing method external (1 arguments) _SB.PCI0.LPCB.H_EC.ECMD
refs.txt: Importing method external (2 arguments) _SB.PCI0.PEG0.PEGP.SGPO
refs.txt: Importing method external (1 arguments) _SB.PCI0.GFX0.DD02._BCM
refs.txt: Importing method external (4 arguments) _SB.PCI0.SAT0.SDSM
refs.txt: Importing method external (3 arguments) _GPE.VHOV
refs.txt: Importing method external (2 arguments) _SB.PCI0.XHC.RHUB.TPLD
iASL: Segmentation Fault
iASL: Terminating


I'm using ALL the SSDTs in the origin folder. I attach my DSDT and SSDT files
Please help me
Greetings from Santiago de Chile
 

Attachments

  • folder.zip
    70.7 KB · Views: 47

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,867
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Hi guys,
I have the Asus ZenBook UX310UA, change the hard drive for an SSD and the wifi card for the DW1560.
Start with the tutorial and install MacOS High Sierra 10.13.5 and I have had enough problems
1. Copy the EFI folder from the boot disk and place it in the EFI partition to boot without a boot disk. With the steps indicated in this guide it was impossible for me
2. I have problems with Step 9, I manage to build the file DSDT.aml and I try to do this "iasl -da -dl -fe refs.txt DSDT.aml SSDT * .aml" and I get these errors:
iasl -da -dl -fe refs.txt DSDT.aml SSDT*.aml

Intel ACPI Component Architecture
ASL+ Optimizing Compiler/Disassembler version 20180427(RM)
Copyright (c) 2000 - 2018 Intel Corporation

Input file DSDT.aml, Length 0x2C013 (180243) bytes
ACPI: DSDT 0x0000000000000000 02C013 (v02 _ASUS_ Notebook 01072009 INTL 20180427)
External object resolution file SSDT-x3_6-HwpLvt.aml
Input file SSDT-x3_6-HwpLvt.aml, Length 0x1A4 (420) bytes
ACPI: SSDT 0x0000000000000000 0001A4 (v02 PmRef HwpLvt 00003000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-x3_5-ApHwp.aml
Input file SSDT-x3_5-ApHwp.aml, Length 0x197 (407) bytes
ACPI: SSDT 0x0000000000000000 000197 (v02 PmRef ApHwp 00003000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-x3_4-Cpu0Hwp.aml
Input file SSDT-x3_4-Cpu0Hwp.aml, Length 0x115 (277) bytes
ACPI: SSDT 0x0000000000000000 000115 (v02 PmRef Cpu0Hwp 00003000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-x3_3-ApCst.aml
Input file SSDT-x3_3-ApCst.aml, Length 0x18A (394) bytes
ACPI: SSDT 0x0000000000000000 00018A (v02 PmRef ApCst 00003000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-x3_2-Cpu0Cst.aml
Input file SSDT-x3_2-Cpu0Cst.aml, Length 0x3FF (1023) bytes
ACPI: SSDT 0x0000000000000000 0003FF (v02 PmRef Cpu0Cst 00003001 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-x3_1-ApIst.aml
Input file SSDT-x3_1-ApIst.aml, Length 0x65C (1628) bytes
ACPI: SSDT 0x0000000000000000 00065C (v02 PmRef ApIst 00003000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-x3_0-Cpu0Ist.aml
Input file SSDT-x3_0-Cpu0Ist.aml, Length 0x6F6 (1782) bytes
ACPI: SSDT 0x0000000000000000 0006F6 (v02 PmRef Cpu0Ist 00003000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-9-SgPch.aml
Input file SSDT-9-SgPch.aml, Length 0x829 (2089) bytes
ACPI: SSDT 0x0000000000000000 000829 (v02 SgRef SgPch 00001000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-8-SgUlt.aml
Input file SSDT-8-SgUlt.aml, Length 0x39B (923) bytes
ACPI: SSDT 0x0000000000000000 00039B (v02 SgRef SgUlt 00001000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-7-UsbCTabl.aml
Input file SSDT-7-UsbCTabl.aml, Length 0x10B0 (4272) bytes
ACPI: SSDT 0x0000000000000000 0010B0 (v02 _ASUS_ UsbCTabl 00001000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-6-TbtTypeC.aml
Input file SSDT-6-TbtTypeC.aml, Length 0x50D (1293) bytes
ACPI: SSDT 0x0000000000000000 00050D (v02 INTEL TbtTypeC 00000000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-5-sensrhub.aml
Input file SSDT-5-sensrhub.aml, Length 0x29F (671) bytes
ACPI: SSDT 0x0000000000000000 00029F (v02 INTEL sensrhub 00000000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-4-HdaDsp.aml
Input file SSDT-4-HdaDsp.aml, Length 0x141 (321) bytes
ACPI: SSDT 0x0000000000000000 000141 (v02 INTEL HdaDsp 00000000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-3-CpuSsdt.aml
Input file SSDT-3-CpuSsdt.aml, Length 0xEDE (3806) bytes
ACPI: SSDT 0x0000000000000000 000EDE (v02 CpuRef CpuSsdt 00003000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-2-SaSsdt.aml
Input file SSDT-2-SaSsdt.aml, Length 0x3164 (12644) bytes
ACPI: SSDT 0x0000000000000000 003164 (v02 SaSsdt SaSsdt 00003000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-10-OptTabl.aml
Input file SSDT-10-OptTabl.aml, Length 0x1F39 (7993) bytes
ACPI: SSDT 0x0000000000000000 001F39 (v01 OptRef OptTabl 00001000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-1-DptfTabl.aml
Input file SSDT-1-DptfTabl.aml, Length 0x5E76 (24182) bytes
ACPI: SSDT 0x0000000000000000 005E76 (v02 DptfTa DptfTabl 00001000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-0-SataTabl.aml
Input file SSDT-0-SataTabl.aml, Length 0x359 (857) bytes
ACPI: SSDT 0x0000000000000000 000359 (v01 SataRe SataTabl 00001000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
refs.txt: Importing method external (1 arguments) MDBG
refs.txt: Importing method external (0 arguments) _GPE.MMTB
refs.txt: Importing method external (2 arguments) _SB.PCI0.LPCB.H_EC.ECWT
refs.txt: Importing method external (1 arguments) _SB.PCI0.LPCB.H_EC.ECRD
refs.txt: Importing method external (1 arguments) _SB.PCI0.LPCB.H_EC.ECMD
refs.txt: Importing method external (2 arguments) _SB.PCI0.PEG0.PEGP.SGPO
refs.txt: Importing method external (1 arguments) _SB.PCI0.GFX0.DD02._BCM
refs.txt: Importing method external (4 arguments) _SB.PCI0.SAT0.SDSM
refs.txt: Importing method external (3 arguments) _GPE.VHOV
refs.txt: Importing method external (2 arguments) _SB.PCI0.XHC.RHUB.TPLD
iASL: Segmentation Fault
iASL: Terminating


I'm using ALL the SSDTs in the origin folder. I attach my DSDT and SSDT files
Please help me
Greetings from Santiago de Chile

Your files have no need for refs.txt (they have External opcodes embedded).

Disassembly: iasl -da -dl DSDT.aml SSDT*.aml
 
Joined
Nov 7, 2016
Messages
14
Motherboard
Asus UX310UQK
CPU
Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz
Graphics
Intel HD 620
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
Your files have no need for refs.txt (they have External opcodes embedded).

Disassembly: iasl -da -dl DSDT.aml SSDT*.aml


Thanks for the prompt response. Execute the command "iasl -da -dl DSDT.aml SSDT * .aml" and for each file aml a file with dsl extension was generated. What should I do with those files?
 
Joined
Nov 17, 2011
Messages
80
Motherboard
Asus UX310UA Clover UEFI
CPU
Core i7 7500U
Graphics
Intel HD 620, 1920x1080
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
Hello and thanks for the great guide!

Everything's working great except one small issue regarding sleep:

- external usb HDD's are improperly unmounted. I'm currently using a sleepwatcher script to unmount before sleep and mount at wake, but I'd like to know if there is a USB DSDT patch to prevent sleep from completely cutting the power from USB ports

I'm also not very sure wether ALS is working or not. I have the Auto set brightness checkbox in the Monitor PrefPane, but nothing happens if I uncheck it, se brightness to max, and check it back.

Attached are my dsl files and the patched aml's and here are the DSDT patches I applied:


"Fix _WAK Arg0 v2"
"HPET Fix"
"SMBUS Fix"
"IRQ Fix"
"RTC Fix"
"OS Check Fix"
"Fix Mutex with non-zero SyncLevel"
“Audio Layout 3” [audio]
“Asus N55SL/Vivobook” [bat]
“ALS (Haswell)” from Asus DSDT patches
“Fn Brightness Keys” from Asus DSDT patches
“KeyboardBacklight Patch 4”
“NullEthernet”
“Shutdown Fix v2”
 

Attachments

  • dsl.zip
    301.5 KB · Views: 43
  • patched.zip
    115.4 KB · Views: 41
Last edited:
Joined
Dec 4, 2012
Messages
10
Motherboard
ASUS UX310UAK-Clover
CPU
i7-7500U
Graphics
HD 620
Mac
  1. iMac
Mobile Phone
  1. Android
Hello and thanks for the great guide!

Everything's working great except one small issue regarding sleep:

- external usb HDD's are improperly unmounted. I'm currently using a sleepwatcher script to unmount before sleep and mount at wake, but I'd like to know if there is a USB DSDT patch to prevent sleep from completely cutting the power from USB ports

I'm also not very sure wether ALS is working or not. I have the Auto set brightness checkbox in the Monitor PrefPane, but nothing happens if I uncheck it, se brightness to max, and check it back.

Attached are my dsl files and the patched aml's and here are the DSDT patches I applied:


"Fix _WAK Arg0 v2"
"HPET Fix"
"SMBUS Fix"
"IRQ Fix"
"RTC Fix"
"OS Check Fix"
"Fix Mutex with non-zero SyncLevel"
“Audio Layout 3” [audio]
“Asus N55SL/Vivobook” [bat]
“ALS (Haswell)” from Asus DSDT patches
“Fn Brightness Keys” from Asus DSDT patches
“KeyboardBacklight Patch 4”
“NullEthernet”
“Shutdown Fix v2”

Hi! In the Clover, config.plist there is a fix destination the path Devices => USB => AddClockID. The value is true or false. If you want to wake up from a USB mouse, put it here false. But be prepared that your computer will wake up spontaneously, for example from the built-in camera. Works on Desktop, Laptop did not check... ALS is not working on our laptops
 
Joined
Nov 17, 2011
Messages
80
Motherboard
Asus UX310UA Clover UEFI
CPU
Core i7 7500U
Graphics
Intel HD 620, 1920x1080
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
Thank you very much for the response.

I guess I will keep using the sleep watcher script, which is apparently working well, and live without ALS...

I also have one last beginner question:

I'm waiting for a 1560 wireless adapter to replace the internal Intel. Once I swap wifi cards, do I have to re extract DSDT and SSDT's and repatch them?
 
Top