Contribute
Register

[Guide] ASUS Vivobook X542UA

Status
Not open for further replies.
Joined
Feb 22, 2019
Messages
45
Motherboard
Asus Vivobook X542UA
CPU
i5-8250U
Graphics
UHD 620
Mobile Phone
  1. iOS
Hello, everybody!

I have ASUS Vivobook X542UA, MacOS Mojave 10.14.5

My hardware is:
- Intel Core i5-8250U
- Graphics Intel UHD 620
- 16Gb DDR4
- m2 SSD WD Blue 250Gb SATA
- SATA HDD 1Tb
- Realtek ALC294 codec
- WiFi+BT replaced with Broadcom BCM94352
- screen replaced with B156HAN01.1 - it's a cheap IPS, gamut is 72% of sRGB. Only 6 bits/pixel is available (262 thousands of colors only), but it's much more better, than native TN.

What is DOES NOT work:
- Internal microphone - when no headphones connected, in sound devices appears 2 * Line In, both not working. When headphones + ext. mic connected - everything is working.
- GPIO pinning of touchpad - in my case it's work only in polling mode. All gestures works.

In attached files you can find my EFI folder and kexts you should install to /L/E. You must generate your own serial numbers and place them to config.plist (SMBIOS section) using PlistEdit Pro. You can generate these numbers in Clover Configurator.

Credits to Feartech and ben9923 - they help me a lot.

UPD 7/17/19: Updated Clover and some kexts.
UPD 7/26/19: Added USB Type-C support
Download AsusSMC here, there is own daemon, required to install.
 

Attachments

  • Kexts L-E.zip
    4.2 MB · Views: 724
  • EFI 2019-07-26.zip
    22.2 MB · Views: 870
Last edited:
Hello, everybody!

I have bought ASUS Vivobook X542UA, and installed a week ago 10.14.3 -> 10.14.4

My hardware is:
- Intel Core i5-8250U
- Graphics Intel UHD 620
- 8Gb DDR4
- m2 SSD WD Blue 250Gb
- SATA HDD 1Tb
- Realtek ALC294 codec
- WiFi replaced with Broadcom
- USB Bluetooth dongle ASUS USB-BT400

Most of all done, but:
- Hibernate and Sleep doesn't work properly. Wake up immediately after sleep. After Hibernate in 10 minutes wake up and kernel panic.
- Instable system work. Good after boot, and after 6-8 hours programs possible becomes freeze and crash.
- Both USB 3.0 ports doesn't work as USB 3.0 (no device recognizes), but both working with USB 2.0 devices
- Built-it microphone doesn't work. Working layout with AppleALC is only 12, I tried about 10 other options. Built-in speakers working, external heaphones+mic works.

Help, please! What else should I tune?
use a proper config,plist from the laptop guide:

and also do this for your USB:
 
I created SSDT, and did some patches in DSDT.
It seems the SpeedStep is working, system become more stable, USB ports working fine.

Problem stills:
- Hibernate and Sleep doesn't work properly. Wake up some seconds after sleep. After Hibernate in some minutes wake up but no kernel panics more.
- Built-it microphone doesn't work. Working layout with AppleALC is only 12, I tried about 10 other options. Built-in speakers working, external heaphones+mic works. When no ext headphones connected, I see Built-In Speakers as audio out - it's correct. But in audio in I see two dead Line-In - it's incorrect, there it must be only one built-in mic.
 

Attachments

  • debug_5358.zip
    3.3 MB · Views: 193
I created SSDT, and did some patches in DSDT.
It seems the SpeedStep is working, system become more stable, USB ports working fine.

Problem stills:
- Hibernate and Sleep doesn't work properly. Wake up some seconds after sleep. After Hibernate in some minutes wake up but no kernel panics more.
- Built-it microphone doesn't work. Working layout with AppleALC is only 12, I tried about 10 other options. Built-in speakers working, external heaphones+mic works. When no ext headphones connected, I see Built-In Speakers as audio out - it's correct. But in audio in I see two dead Line-In - it's incorrect, there it must be only one built-in mic.
NullCPUPowerManagement.kext shouldn't be needed on laptops

config.plist is not per guide as mentioned before
 
NullCPUPowerManagement.kext shouldn't be needed on laptops
Removed NullCPUPowerManagement.kext from L/E.
Bluetooth mouse stop works after ~1 hour. And continues only after switch off/on bluetooth on Hack.

Sleep: system slept (power indicator began blinking), next 3 seconds power indicator and HDD indicator switched on, screen stills off, and no response.

config.plist - I'll try to modify it next morning, and I'll write about the results
 
Removed NullCPUPowerManagement.kext from L/E.
Bluetooth mouse stop works after ~1 hour. And continues only after switch off/on bluetooth on Hack.

Sleep: system slept (power indicator began blinking), next 3 seconds power indicator and HDD indicator switched on, screen stills off, and no response.

config.plist - I'll try to modify it next morning, and I'll write about the results
ok
 
So, I tried both RehabMan's configs:
config_HD615_620_630_640_650.plist
config_HD615_620_630_640_650_spoof.plist

Result of both:

401666

Mouse is moving, but system doesn't continue.

What I did wrong?
As I understand - my config.plist should not work properly, but one of RehabMan's must.
 

Attachments

  • config_bad_620_spoof.plist
    14.6 KB · Views: 205
  • config_bad_620.plist
    14.6 KB · Views: 219
  • config.plist
    23.1 KB · Views: 238
After a couple of hours I got working config.plist, based on RehabMan's config_HD615_620_630_640_650.plist

System working. Still no sleep - immediately wake up after blinking (1-2 sec) power LED. After wake up screen is OFF, but after keyboard/mouse screen is turning ON normally, system normally continues to work.

What can I do else to get normal sleeping?

P.S. Wow, screen brightness working!!!
 

Attachments

  • config.plist
    12.1 KB · Views: 319
After a couple of hours I got working config.plist, based on RehabMan's config_HD615_620_630_640_650.plist

System working. Still no sleep - immediately wake up after blinking (1-2 sec) power LED. After wake up screen is OFF, but after keyboard/mouse screen is turning ON normally, system normally continues to work.

What can I do else to get normal sleeping?

P.S. Wow, screen brightness working!!!
InjectKexts should be set to Detect not sure why you changed this

Use this tool and upload your problem reporting files:
 
InjectKexts should be set to Detect not sure why you changed this
Without InjectKexts=Yes system can't boot - as photo above, progress bar about 2/3, no mouse cursor appears.

Thank you a lot for your help to me!
 

Attachments

  • debug_31422.zip
    3.2 MB · Views: 226
Status
Not open for further replies.
Back
Top