This build enables you to run macOS on your VivoBook as long as it matches below System specifications as close as possible - verified with macOS Monterey 12.6.6 - Sonoma 14.1.1
🏳🚩For macOS Monterey compatibility, see macOS Monterey 12.x upgrade instructions for existing EFIs running pre-Monterey macOS ✅
Version: 14.1.1 Beta 1
Repo Date: Nov. 12, 2023
ReadMe Date: Nov. 12, 2023
Repo-Status: Beta
Release Status: Stable
BIOS-Support: 301-310
Technology: OpenCore and Clover with ACPI hotpatch by RehabMan
OpenCore: v.0.9.6
Clover: r5166
(Changelog: outdated - see Changelog.md
• Model Name: Asus VivoBook S510UA BQ514T
• CPU: Intel Core i5-8250U Kaby Lake R 8th Gen. i5
• Video Graphics: Intel UHD 620
• Wi-Fi & Bluetooth: Intel Dual Band Wireless-AC 8265 // possible replacements see below
• Card Reader: Realtek (RTL8411B_RTS5226_RTS5227)
• Camera: ASUS UVC HD
• Audio: Conexant Audio CX8050
• Touchpad: ELAN 1300 I2C (ELAN 1200 supported, too)
• Keyboard Backlight: Yes
• BIOS: x510UAR 310 (X510UARAS310.zip)
This repo is based on now two archived repos:
Consecutively whatnameisit's brilliant and cutting-edge VivoBook X510UA-BQ490 repo based on OpenCore ("OC"). The two main differences are:
Users with VivoBooks without keyboard backlight are advised to rather use whatnameisit's OC-based repo. He also has been tending it very actively until his VivoBook failed in Oct. 2021. Even if you can still download his old archived Clover EFI, note that he stopped updating it on 2020-11-22 and merely keeps it for historical purposes.
In any case please do read through his ReadME because it contains a wealth of important info and links which also apply to this repo!
Of the two bootloaders offered in this repo, OpenCore and Clover, OC can be considered the preferred one despite of still being beta by version number. As per whatnameisit and others, in contrast to OC, Clover at this point does not support OEMTableID, masking and many other sophisticated features. For a more detailed comparison, you could read Why OpenCore over Clover and others.
• dGPU like NVIDIA GeForce 940MX, MX150 etc.
• Fingerprint reader
• FN + media controller key combo
• Apple Safe Sleep ("Hibernate") - see additional note below
• By now well supported: Intel Wi-Fi - full Mac-alike replacement options see below
The support for DRM contents is limited due to incompatible firmware. Please see the DRM Compatibility Chart
OpenCore via OpenCore Configurator:
SSDT-RP01_PEGP.aml
-wegnoegpu
Clover: via Clover Configurator,
SSDT-RP01_PEGP.aml
-wegnoegpu
If there is more than one boot-arg, make sure you separate them from each other with a space!
MacBookAir8,2
chosen in the SMBIOS section (of Clover config.plist). Feel free to experiment. Mind that CPUFriendDataProvider.kext
must match your chosen model. For that sake, navigate to post macOS Installations/[Optional]/change CPU Performance
<
and ^
keys: If you have a keyboard with a <
key next to the left ⇧ and a ^
key below the ESC
key (image), these keys are reversed, and you neither want to use a tool like Karabiner-Elements nor know how to fix that via SSDT, simply stick to either VoodooPS2Controller.kext v.2.2.7 or the older VoodooPS2Controller.kext v.2.1.9 which are the only versions I know to map these keys correctly for such VivoBook S15 models like mine.A professional cloning/ backup utility like Carbon Copy Cloner or SuperDuper!
Enter the BIOS and set the following options:
Prepare a macOS installer on a USB flash drive or external hard disk
Download this repo, preferably as .dmg package from the Releases section because a) each release was tested thoroughly and can be considered a stable mile stone for most users, and b) macOS native icons and labels are maintained.
Alternatively you can download the repo at it's current "0-day" state if you see that a) it's significantly more recent than the latest release date, and b) contains one or more updates you are looking for. Download via the green "Clone or Download" button on the top right of the repo's main page, "Download ZIP".Consider the non-release state as BETA, and note that GitHub does not (yet?) sustain macOS native icons and labels in its open repo!To be able to boot from your macOS install USB, it needs either one of this repo's EFI folders (recommended: OC EFI) on its FAT (16 or 32) partition.
Recommended: connect a mouse via USB in case Trackpad does not work right away
Boot your USB macOS installer device into the hackintosh bootloader.
RECOMMENDED: already fix CFG lock before install by unlocking the MSR E2 register, reboot.
Again boot into your USB installer and this time select the macOS installer
entry
Follow macOS' installation instructions (you can find them in your favorite hackintosh forum) to set up and boot into macOS.
If you haven't done already before macOS install, fix CFG lock by unlocking the MSR E2 register, reboot.
Open the folder "post macOS Installations" and install all from within its subfolders for Hibernate prevention, additional function keys, etc. Also (strongly recommended!) study and consider the content of the folder [Optional]!
Fill your internal hard disk's EFI partition with the OC or Clover EFI folder. You can use the matching Configurator to mount your system ESP (EFI System Partition). Next back up the existing System EFI folder and copy one of this release's EFI folders to your system's ESP.
OpenCore Configurator:
update this field
Check Coverage
and choose MacBookPro15,4
update this field
with the corresponding values from the 2nd window instanceClover Configurator:
Generate New
button. That will change both, system and board serial number.Above steps are necessary to - amongst other things - hopefully enable the use of iCloud.
Reboot and ENJOY :)
from OpenCore Post-Install/Fixing CFG Lock (English slightly corrected):
CFG-Lock is a setting in your BIOS that allows for a specific register (in this case the MSR 0xE2) to be written to. By default, most motherboards lock this variable with many even hiding the option outright in the GUI. And why we care about it is that macOS actually wants to write to this variable, and not just one part of macOS. Instead both the Kernel(XNU) and AppleIntelPowerManagement want this register.
So to fix it we have 2 options:
depreciated: patch macOS to work with our hardware
This creates instability and unnecessary patching for many The 2 patches we use for this:
AppleCpuPmCfgLock for AppleIntelPowerManagement.kext(not necessary for our VivoBooks)- AppleXcpmCfgLock for the Kernel(XNU)
recommended: patch our firmware to support MSR E2 write
Very much preferred, as avoiding patching allows for greater flexibility regarding stability and OS upgrades.
OpenCore:
ControlMsrE2.efi
:y
or the equivalent key on your keyboard if it's non-English (should be the key underneath the 6 and 7 keys).
AppleXcpmCfgLock
, saveBoot
> Tools
: ControlMsrE2.efi
)
Clover:
CFGLock.efi
can find the CFG variable if run as a tool from within Clover - DON'T SKIP IT!
Tools
section below the icons and launch ControlMsrE2
:y
or the equivalent key on your keyboard if it's non-English (should be the key underneath the 6 and 7 keys).
Couldn't find any Variable with cfg in name
"), choose the next tool entry CleanNvram
, reboot, and start again)Compliments, you're DONE! Now you should have correct CPU power management :)
Links: OC Debug (contains ControlMsrE2.efi
- by utopia team) | CFGLock.efi (legacy 2020-06 - by Brummbär) | RU - CFG LOCK/Unlocking - Alternative method
As of 2021-11-25, according to the OpenIntelWireless team, their macOS community drivers appear to be "working well and stable", which hopefully also applies to our VivoBooks' Intel AC 8265 M.2
. The Wi-FI kernel extension does, however, require its own Wi-Fi Client to connect. Educate yourself about the current state at OpenIntelWireless ("OIW") and decide for yourself or simply test first, if you are happy with how your VivoBook's stock Wi-Fi and Bluetooth perform with OIW in macOS.
If you're not happy with OIW, neither want to use a USB Wi-Fi dongle but opt for a replacement of the internal Intel AC 8265 M.2, there are several options:
🛑 ⚠ IMPORTANT: if you opt for the BCM94360CS2, it is crucial you DO follow my installation instructions step-by-step 100%, otherwise you WILL brick your VivoBook's motherboard! ⚠ 🛑
Links to facilitate your decision making process:
Windows: first completely remove any existing Wi-Fi and Bluetooth drivers via Programs -> Uninstall, plus any corresponding entries in Device Manager incl. their drivers, THEN power down to install the card and on reboot the latest available drivers (same for both cards):
Other alternative Wi-Fi/ BT combo cards like the DW1560, DW1830 (both Dell) or the FRU 04X6020 (Lenovo) are not recommended due to compromised/ inferior Continuity.
If however you're using any of these, follow these steps in macOS, because this repo is now tailored for Apple native chipsets and does not come with extra Broadcom kexts and settings anymore:
AirportBrcmFixup
, BrcmBluetoothInjector
, BrcmFirmwareData
, BrcmPatchRAM3
) into your EFI folder(s)add recommended entries (brcmfx-country=xy bpr_postresetdelay=400 bpr_initialdelay=400 bpr_probedelay=200) to your config.plist(s):
boot-args
and rename #boot-args
to boot-args
)+
)Adapt the boot argument brcmfx-country=xy
to match your country code. Example: brcmfx-country=DE
for Germany, VN
for Vietnam etc.
AirportBrcmFixup.kext
and/or VoodooPS2Controller.kext
and (esp.) if you're running Big Sur, you have to (!!) run /EFI/CLOVER/kexts/Other/remove problematic kexts after update
or Big Sur won't boot. See here for the sad and stubborn details...Clover
and copy the Clover EFI folder onto it and onfigure it accdg. to above instructions. Make sure you use the same SMBIOS Platform Info in both config.plists so you don't experience oddities!-v
verbose mode switch:Recommended procedure:
SMBIOS
(Clover) respectively PlatformInfo
(OC) section.Alternative procedure: integrate new repo release changes into your EFI folder
config.plist
changes against the previous repo release see OC diff.plist and/or Clover diff.plist.Many issues can be solved by performing a NVRAM Reset, then reboot. If you have boot entries with custom names in your UEFI BIOS boot menu, you might want to use Clover's NVRAM reset, because it doesn't touch them but nicely keeps them intact: boot into its Boot menu, then press F11. Disadvantage: Clover's NVRAM reset isn't as thorough as OC's, so if you still encounter any issue which might be NVRAM related, your next bet is OC's NVRAM reset. And if you don't have custom entries in your UEFI BIOS boot picker to begin with, you should run OC's NVRAM reset right away. You execute it either via the last entry in the boot menu picker, or via keyboard key combo Windows + Alt + P + R
Further topics:
If your issue is not listed or persists, either post to the VivoBook S15 X510UAR thread @tonymacx86, or open an issue here.
Quirks: Accdg. to Clover Documentation at the time of writing this section (r5129), Clover does not interpret the following Quirks taken from the VivoBook OC config.plist: SetApfsTrimTimeout
, TscSyncTimeout
, RequestBootVarRouting
. They might or might not be functional at some point and can be considered placeholders or reminders until they are either relevant or removed.
OC's Quirk 'PanicNoKextDump
' is covered by Clover in Kernel & Kext Patches
> PanicNoKextDump
. AppleXcpmCfgLock
is handled automatically and internally by Clover depending on if the MSR 0xE2
register is locked or unlocked.
Battery threshold: in general, a upper charging level limit is recommended for rechargeable lithium ion batteries. If you boot Windows and have the latest utilities and drivers from Asus installed, battery charging should halt at 83%. Hieplpvip adhered to that and included the same threshold in AsusSMC ever since v.1.4.0 which works in macOS 10.15+.
You are advised to keep it turned on, but f you need full 100% charge for longer off-the-grid usage, it can be disabled by turning off Battery Health
in the Energy Saver
10.15+ System Preference. Also the battery should charge up to 100% if you power your VivoBook off, then connect the power adapter.
whatnameisit: main contributor; host of the VivoBook X510UA-BQ490 repo | tctien342: originator of this VivoBook S15 repo (archived) | hieplpvip: originator of the underlying/ upstream ZenBook repo and AsusSMC; contributor | fewtarius: facilitator | To many MANY others .........