[Guide] ASUS Zenbook UX310UA MacOS Sierra / High Sierra Installation Guide

Discussion in 'Sierra Laptop Guides' started by Shinji3rd, Jun 12, 2017.

  1. mytsrplx

    mytsrplx

    Joined:
    May 2, 2010
    Messages:
    7
    Motherboard:
    Gigabyte Z370N
    CPU:
    i7 6-core
    Graphics:
    NVidia GTX 760 (onboard disabled)
    May 18, 2018 at 12:46 AM #171
    mytsrplx

    mytsrplx

    Joined:
    May 2, 2010
    Messages:
    7
    Motherboard:
    Gigabyte Z370N
    CPU:
    i7 6-core
    Graphics:
    NVidia GTX 760 (onboard disabled)
    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 :)
     
  2. feartech

    feartech Moderator

    Joined:
    Aug 3, 2013
    Messages:
    5,346
    Motherboard:
    Asus N752V Clover UEFI
    CPU:
    i7-6700HQ / HM170
    Graphics:
    Intel HD530 + GTX 950m 1920 x 1080
    Mac:
    iMac
    Mobile Phone:
    iOS
    May 18, 2018 at 12:17 PM #172
    feartech

    feartech Moderator

    Joined:
    Aug 3, 2013
    Messages:
    5,346
    Motherboard:
    Asus N752V Clover UEFI
    CPU:
    i7-6700HQ / HM170
    Graphics:
    Intel HD530 + GTX 950m 1920 x 1080
    Mac:
    iMac
    Mobile Phone:
    iOS
    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
     
  3. james2058

    james2058

    Joined:
    Nov 7, 2016
    Messages:
    2
    Motherboard:
    Asus UX310UQ
    CPU:
    Core i7 7500U
    Graphics:
    Intel HD 620, 1600x900
    Mac:
    Mac Pro
    Mobile Phone:
    iOS
    Jun 14, 2018 at 6:08 PM #173
    james2058

    james2058

    Joined:
    Nov 7, 2016
    Messages:
    2
    Motherboard:
    Asus UX310UQ
    CPU:
    Core i7 7500U
    Graphics:
    Intel HD 620, 1600x900
    Mac:
    Mac Pro
    Mobile Phone:
    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
     

    Attached Files:

  4. RehabMan

    RehabMan Moderator

    Joined:
    May 3, 2012
    Messages:
    177,888
    Motherboard:
    Intel DH67BL
    CPU:
    Core i7-2600K
    Graphics:
    Intel HD 3000
    Mac:
    MacBook Air
    Mobile Phone:
    iOS
    Jun 14, 2018 at 8:39 PM #174
    RehabMan

    RehabMan Moderator

    Joined:
    May 3, 2012
    Messages:
    177,888
    Motherboard:
    Intel DH67BL
    CPU:
    Core i7-2600K
    Graphics:
    Intel HD 3000
    Mac:
    MacBook Air
    Mobile Phone:
    iOS
    Your files have no need for refs.txt (they have External opcodes embedded).

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

    james2058

    Joined:
    Nov 7, 2016
    Messages:
    2
    Motherboard:
    Asus UX310UQ
    CPU:
    Core i7 7500U
    Graphics:
    Intel HD 620, 1600x900
    Mac:
    Mac Pro
    Mobile Phone:
    iOS
    Jun 14, 2018 at 9:12 PM #175
    james2058

    james2058

    Joined:
    Nov 7, 2016
    Messages:
    2
    Motherboard:
    Asus UX310UQ
    CPU:
    Core i7 7500U
    Graphics:
    Intel HD 620, 1600x900
    Mac:
    Mac Pro
    Mobile Phone:
    iOS

    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?
     
  6. RehabMan

    RehabMan Moderator

    Joined:
    May 3, 2012
    Messages:
    177,888
    Motherboard:
    Intel DH67BL
    CPU:
    Core i7-2600K
    Graphics:
    Intel HD 3000
    Mac:
    MacBook Air
    Mobile Phone:
    iOS
    Jun 15, 2018 at 12:00 AM #176
    RehabMan

    RehabMan Moderator

    Joined:
    May 3, 2012
    Messages:
    177,888
    Motherboard:
    Intel DH67BL
    CPU:
    Core i7-2600K
    Graphics:
    Intel HD 3000
    Mac:
    MacBook Air
    Mobile Phone:
    iOS
  7. brunogermain

    brunogermain

    Joined:
    Nov 17, 2011
    Messages:
    1
    Motherboard:
    Asus UX310UA Clover UEFI
    CPU:
    Core i7 7500U
    Graphics:
    Intel HD 620, 1600x900
    Mac:
    MacBook Pro
    Mobile Phone:
    iOS
    Jun 17, 2018 at 7:34 AM #177
    brunogermain

    brunogermain

    Joined:
    Nov 17, 2011
    Messages:
    1
    Motherboard:
    Asus UX310UA Clover UEFI
    CPU:
    Core i7 7500U
    Graphics:
    Intel HD 620, 1600x900
    Mac:
    MacBook Pro
    Mobile Phone:
    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”
    “7-series/8-series USB”
     

    Attached Files:

    Last edited: Jun 20, 2018 at 12:05 PM

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice