Contribute
Register

[Guide][New VoodooI2C] Asus Vivobook S15 X510UAR 10.13+

My response is in post #139.
Ohk. I have edited post #145 with attached files.
Just to be clear my EFI folder contains patched DSDT + SSDT-8-SgUlx (for discrete GPU) and other addon SSDTs.
 
Ohk. I have edited post #145 with attached files.
Just to be clear my EFI folder contains patched DSDT + SSDT-8-SgUlx (for discrete GPU) and other addon SSDTs.

That post still shows a crazy mix of static/hotpatch.
Keep in mind you cannot replace SSDT-8 without config.plist/ACPI/AutoMerge=true.
See ACPI patching guide for details:
https://www.tonymacx86.com/threads/guide-patching-laptop-dsdt-ssdts.152573/

Best to not mix hotpatch and static patch unless you really know what you're doing (it is clear you don't).

Are you certain this thread doesn't already implement correct hotpatch?
 
That post still shows a crazy mix of static/hotpatch.
Keep in mind you cannot replace SSDT-8 without config.plist/ACPI/AutoMerge=true.
See ACPI patching guide for details:
https://www.tonymacx86.com/threads/guide-patching-laptop-dsdt-ssdts.152573/

Best to not mix hotpatch and static patch unless you really know what you're doing (it is clear you don't).

Are you certain this thread doesn't already implement correct hotpatch?

Yes.. You are right.. I know about dsdt patching but i did it in the chameleon era. M new to clover thats why getting confused.

Regarding the hotpatches i doubt not all of them are being applied. But still m not sure because I need to learn abt clover options first.

Oh and btw after enabling AutoMerge, my system booted with SSDT-8. Thnx..
 
@RehabMan @bugsb thanks for yours reason
I have re-extracted and re-patched acpi.
DSDT Patch applied to dsdt.aml SSDT-8.aml SSDT-9.aml
  1. Asus N55SL/Vivobook for battery
  2. Fix _WAK Arg0 v2
  3. USB _PRW 0x6D Skylake (insant wake) for sleep fix
  4. Shutdown fix v2
  5. Rename _DSM methods to XDSM
  6. All Asus FN patch in necessary folder
  7. fix_PARSEOP_ZERO
  8. I2C PATCH
  9. Add Window10 Patch
  10. Add GPIO Controller Enable
  11. Disabling discrete graphics in dual-GPU laptops

Thanks!

No verbose boot photo attached.

Your kexts/Other is missing SATA-100-series-unsupported.kext (no idea if you're booting from SATA or not).
 
No verbose boot photo attached.

Your kexts/Other is missing SATA-100-series-unsupported.kext (no idea if you're booting from SATA or not).

I have new progress.
I successfully into USB install menu.
Formate disk and installed mac os 10.13.5.
But reboot into mac install I got error again.
It's stop in this pic, likely AirportBrcmFixup.kext error.
 

Attachments

  • EFI_DW1820A.zip
    6.8 MB · Views: 144
  • IMG_3577.JPG
    IMG_3577.JPG
    3 MB · Views: 140
I have new progress.
I successfully into USB install menu.
Formate disk and installed mac os 10.13.5.
But reboot into mac install I got error again.
It's stop in this pic, likely AirportBrcmFixup.kext error.
Does it boot whit the card pulled out again? Careful, you need to insulate the loose antenna sockets then, e.g. with some lite tape.

Before you pull out the card, does it work fine in Windows or Linux?
 
Unless @71980wu is using ACPI hotpatch, it is likely re-extract/re-patch ACPI was never done after changing hardware.
Statically patched ACPI must be re-extracted/re-patched after any hardware change, any BIOS option change, or any BIOS update.

Yes thank you, it appears that's what I have to do, because my BCM94352Z M.2 right now ONLY works in 10.13.5 *directly* after booting Windows. I've already done quite some studying of your guides + debugging and am now unsure into which directions to proceed. You advice would be gratefully appreciated, so here's my (1st ever and hopefully correct) issues report:

HARDWARE:
- Asus Vivobook w/ 2 x USB 2.0, 1 x USB 3.0, 1 x USB 3.1 Type C, + internal USB (Bluetooth, VGA, maybe more) | Kaby Lake R, XHC, 100-series chipset (8086:9d4e) | Sunrise Point-LP USB 3.0 xHCI Controller (8086:9d2f)
- Replacement Broadcom BCM94352Z M.2 NGFF 802.11AC 867Mbps BT4.0 Lenovo FRU 04X6020 (V-ID: 0489 : P-ID: E07A)

ACPI:
- DSDT patched as per instructions here
- no USB/ BT related SSDT (yet)

KEXTS:
- all required and latest kexts right from github com / RehabMan installed to their requested locations and verified loaded as per kextstat and System Profiler:
USBInjectAll, FakePCIID, BrcmFirmwareRepo, BrcmPatchRAM2, FakePCIID_Broadcom_WiFi
- exception: FakePCIID_XHCIMux.kext NOT loaded as per kextstat, even if installed to L/E. Should it?

CLOVER:
- latest 4586
- config.plist based on the one saintno1997 provided here

ISSUES TO BE SOLVED:
- detection of and to other BT devices ONLY works after direct reboot from Windows
- after 1st (wake-up from) sleep: no detection (endless spinning detection wheel, also not detectable on other BT devices)
- after several (wake-ups from) sleep: all USB ports inactivate - BT not found, cannot be activated, and a short time after wake up --> OS crash and restart
- after fresh power on (without booting Windows first): BT activated but no detection either way

STUCK AT:
Cannot ignite BT detection w/o prior Windows boot even with any of the patches and instructions to inject firmware, remove XHCI USB port limit due to 10.11+ USB changes, etc., therefore at this point hesitant to proceed with creating a custom SSDT for USBInjectAll.kext as per your manual. Shouldn't BT be verified working *first* via temp. port limit removal, to make sure all prior steps were taken correctly? Evidence seems that even firmware injection does not have any effect.

OTHER COLLECTED DATA:
- [0489:e07a] Lenovo NGFF (4352 / 20702) "Supported and successfully tested PatchRAM device" as per bitbucket.org / RehabMan / os-x-brcmpatchram
- Windows Driver's BCM20702A1_001.002.014.1483.1651.hex (attached) contained in BrcmFirmwareRepo.kext/Contents/Resources as BCM20702A1_001.002.014.1483.1651_v5747.zhx

FROM WINDOWS:
Broadcom Bluetooth 4.0 USB
Location: Port_#0008.Hub_#0001
Device Instance Path: USB\VID_0489&PID_E07A\B01041F26194
Hardware-IDs:
USB\VID_0489&PID_E07A&REV_0112
USB\VID_0489&PID_E07A

Driver Details:
12.0.1.940 (2016-02-16)
bcbtums.sys
BCM20702A1_001.002.014.1483.1651.hex
bthport.sys
BTHUSB.SYS
btwampfl.sys

@RehabMan, you write, "Should you come across newer drivers than 12.0.0.9860, please let me know!", so here you go:
drivers softpedia com / get / BLUETOOTH / Broadcom / Broadcom-WIDCOMM-Bluetooth-Driver-1201940-64-bit shtml

As per bitbucket.org / RehabMan / os-x-brcmpatchram:
from bcbtums.inf:
; 20702 combos 1483 FW
%BRCMBt40USB.DeviceDesc%=RAMUSBE07A, USB\VID_0489&PID_E07A; Lenovo China 4352+20702 NGFF

;;;;;;;;;;;;;RAMUSBE07A;;;;;;;;;;;;;;;;;
[RAMUSBE07A.CopyList]
BCM20702A1_001.002.014.1483.1651.hex

[RAMUSBE07A.NT]
Include=bth.inf
Needs=BthUsb.NT
FeatureScore=EF
CopyFiles=RAMUSBE07A.CopyList
CopyFiles=bcbtums.CopyList

[RAMUSBE07A.NT.hw]
AddReg=bcbtums.NT.AddReg
AddReg=RAMUSBE07A.NT.hw.reg

[RAMUSBE07A.NT.hw.reg]
HKR,,%RAMPatchFileName%,0x00000, "BCM20702A1_001.002.014.1483.1651.hex"

[RAMUSBE07A.NT.Services]
needs=BthUsb.NT.Services
AddService=bcbtums,,BCBTUMS_Service_Inst, BTWSECFL_EventLog_Inst
AddService = btwampfl,,btwampfl.service

THE FOLLOWING STEPS DID NOT SOLVE THE ISSUES:

0. Removed the Android File Transfer software, rebooted

1. created new BCM20702A1_001.002.014.1483.1651_v5747.zhx from driver and overwrote existing one in BrcmFirmwareRepo.kext/Contents/Resources:

perl zlib.pl deflate BCM20702A1_001.002.014.1483.1651.hex > BCM20702A1_001.002.014.1483.1651_v5747.zhx

2. applied all Cover config.plist patches (ACPI DSDT patches and KextsToPatch) from config_patches_by_RehabMan.plist. Tried both options after each other, 'disable port limit in XHCI kext (credit PMHeart)' and 'change 15 port limit to 26 in XHCI kext (credit FredWst)'

3. removed BrcmFirmwareRepo.kext and tried BrcmFirmwareData.kext in 'Other'

4. 1 by 1 tried all appropriate 10.13.+ kext patches from toleda's most current config-bcm94352-130.plist.zip

(etc.?)

ATTACHED ARE:
created by black.dragon74's Tool:
- BT discovery working after boot from Windows.zip
- BT discovery NOT working after fresh power up.zip
+ BCM20702A1_001.002.014.1483.1651.hex from my Windows install

THANK YOU RehabMan for hopefully having the time to look at this!
 

Attachments

  • BCM20702A1_001.002.014.1483.1651.hex.zip
    29.7 KB · Views: 123
  • BT discovery working after boot from Windows 2018-07-08.zip
    1.7 MB · Views: 126
  • BT discovery NOT working after fresh power up 2018-07-08.zip
    1.8 MB · Views: 109
Last edited:
Yes thank you, it appears that's what I have to do, because my BCM94352Z M.2 right now ONLY works in 10.13.5 *directly* after booting Windows. I've already done quite some studying of your guides + debugging and am now unsure into which directions to proceed. You advice would be gratefully appreciated, so here's my (1st ever and hopefully correct) issues report:

HARDWARE:
- Asus Vivobook w/ 2 x USB 2.0, 1 x USB 3.0, 1 x USB 3.1 Type C, + internal USB (Bluetooth, VGA, maybe more) | Kaby Lake R, XHC, 100-series chipset (8086:9d4e) | Sunrise Point-LP USB 3.0 xHCI Controller (8086:9d2f)
- Replacement Broadcom BCM94352Z M.2 NGFF 802.11AC 867Mbps BT4.0 Lenovo FRU 04X6020 (V-ID: 0489 : P-ID: E07A)

ACPI:
- DSDT patched as per instructions here
- no USB/ BT related SSDT (yet)

KEXTS:
- all required and latest kexts right from github com / RehabMan installed to their requested locations and verified loaded as per kextstat and System Profiler:
USBInjectAll, FakePCIID, BrcmFirmwareRepo, BrcmPatchRAM2, FakePCIID_Broadcom_WiFi
- exception: FakePCIID_XHCIMux.kext NOT loaded as per kextstat, even if installed to L/E. Should it?

CLOVER:
- latest 4586
- config.plist based on the one saintno1997 provided here

ISSUES TO BE SOLVED:
- detection of and to other BT devices ONLY works after direct reboot from Windows
- after 1st (wake-up from) sleep: no detection (endless spinning detection wheel, also not detectable on other BT devices)
- after several (wake-ups from) sleep: all USB ports inactivate - BT not found, cannot be activated, and a short time after wake up --> OS crash and restart
- after fresh power on (without booting Windows first): BT activated but no detection either way

STUCK AT:
Cannot ignite BT detection w/o prior Windows boot even with any of the patches and instructions to inject firmware, remove XHCI USB port limit due to 10.11+ USB changes, etc., therefore at this point hesitant to proceed with creating a custom SSDT for USBInjectAll.kext as per your manual. Shouldn't BT be verified working *first* via temp. port limit removal, to make sure all prior steps were taken correctly? Evidence seems that even firmware injection does not have any effect.

OTHER COLLECTED DATA:
- [0489:e07a] Lenovo NGFF (4352 / 20702) "Supported and successfully tested PatchRAM device" as per bitbucket.org / RehabMan / os-x-brcmpatchram
- Windows Driver's BCM20702A1_001.002.014.1483.1651.hex (attached) contained in BrcmFirmwareRepo.kext/Contents/Resources as BCM20702A1_001.002.014.1483.1651_v5747.zhx

FROM WINDOWS:
Broadcom Bluetooth 4.0 USB
Location: Port_#0008.Hub_#0001
Device Instance Path: USB\VID_0489&PID_E07A\B01041F26194
Hardware-IDs:
USB\VID_0489&PID_E07A&REV_0112
USB\VID_0489&PID_E07A

Driver Details:
12.0.1.940 (2016-02-16)
bcbtums.sys
BCM20702A1_001.002.014.1483.1651.hex
bthport.sys
BTHUSB.SYS
btwampfl.sys

@RehabMan, you write, "Should you come across newer drivers than 12.0.0.9860, please let me know!", so here you go:
drivers softpedia com / get / BLUETOOTH / Broadcom / Broadcom-WIDCOMM-Bluetooth-Driver-1201940-64-bit shtml

As per bitbucket.org / RehabMan / os-x-brcmpatchram:
from bcbtums.inf:
; 20702 combos 1483 FW
%BRCMBt40USB.DeviceDesc%=RAMUSBE07A, USB\VID_0489&PID_E07A; Lenovo China 4352+20702 NGFF

;;;;;;;;;;;;;RAMUSBE07A;;;;;;;;;;;;;;;;;
[RAMUSBE07A.CopyList]
BCM20702A1_001.002.014.1483.1651.hex

[RAMUSBE07A.NT]
Include=bth.inf
Needs=BthUsb.NT
FeatureScore=EF
CopyFiles=RAMUSBE07A.CopyList
CopyFiles=bcbtums.CopyList

[RAMUSBE07A.NT.hw]
AddReg=bcbtums.NT.AddReg
AddReg=RAMUSBE07A.NT.hw.reg

[RAMUSBE07A.NT.hw.reg]
HKR,,%RAMPatchFileName%,0x00000, "BCM20702A1_001.002.014.1483.1651.hex"

[RAMUSBE07A.NT.Services]
needs=BthUsb.NT.Services
AddService=bcbtums,,BCBTUMS_Service_Inst, BTWSECFL_EventLog_Inst
AddService = btwampfl,,btwampfl.service

THE FOLLOWING STEPS DID NOT SOLVE THE ISSUES:

0. Removed the Android File Transfer software, rebooted

1. created new BCM20702A1_001.002.014.1483.1651_v5747.zhx from driver and overwrote existing one in BrcmFirmwareRepo.kext/Contents/Resources:

perl zlib.pl deflate BCM20702A1_001.002.014.1483.1651.hex > BCM20702A1_001.002.014.1483.1651_v5747.zhx

2. applied all Cover config.plist patches (ACPI DSDT patches and KextsToPatch) from config_patches_by_RehabMan.plist. Tried both options after each other, 'disable port limit in XHCI kext (credit PMHeart)' and 'change 15 port limit to 26 in XHCI kext (credit FredWst)'

3. removed BrcmFirmwareRepo.kext and tried BrcmFirmwareData.kext in 'Other'

4. 1 by 1 tried all appropriate 10.13.+ kext patches from toleda's most current config-bcm94352-130.plist.zip

(etc.?)

ATTACHED ARE:
created by black.dragon74's Tool:
- BT discovery working after boot from Windows.zip
- BT discovery NOT working after fresh power up.zip
+ BCM20702A1_001.002.014.1483.1651.hex from my Windows install

THANK YOU RehabMan for hopefully having the time to look at this!

Your kextcache output proves kexts are not installed correctly.
All kexts you need must be installed to the system volume.
Read post #2 of the Clover guide for details:
https://www.tonymacx86.com/threads/guide-booting-the-os-x-installer-on-laptops-with-clover.148093/

I didn't check anything else.
 
Back
Top