ASUS UX32VD Hackintosh
Guide on how to install macOS Big Sur on ASUS UX32VD Laptop
Info
This Hackintosh was build with help of danieleds/Asus-UX32VD-Hackintosh repository as base.
Considerations for this project are moving towards a migration with OpenCore. Due to the effort for the migration, the current setup still uses Clover (with OC integration).
- macOS version: 11.1
- clover version: r5127
tonymacx86.com
Laptop Frequent Questions:BIOS
- Use version 214 (get ROM from BIOS folder)
- Check for correct BIOS settings:
Basic - Intel Virtualization Technology [Enabled] - Intel AES-NI [Enabled] - VT-d [Enabled] SATA - SATA Mode Selection [AHCI] Graphics - DVMT Pre-Allocated [64M] Intel - Intel(R) Anti-Theft Technology [Enabled] USB - Legacy USB Support [Enabled] - XHCI Pre-Boot Mode [Auto] Network - Network Stack [Disabled]
Restrictions
The following features are not working or disabled:
- NVIDIA GeForce GT 620M
- Right/top USB-Connector
- F2 LED-Indicator
Hardware
This Hackintosh is based on an ASUS UX32VD-R4002V Laptop, with an Intel Core i7-3517U Processor and a NVIDIA GeForce GT 620M graphics card.
RAM
The default 2GB of RAM were replaced with an equivalent 8GB DDR3 module to get 10GB of RAM.
Graphics
The NVIDIA GeForce GT 620M was disabled in favour of the Ivy Bridge Intel HD 4000 graphics card which is renamed to iGPU with a DSDT patch.
WIFI / Bluetooth
As the default WiFi/BT card is not supported by macOS, it is replaced by a Broadcom BCM4352 Combo card.
Notice that antenna-adapters are needed when replacing the default card due to different connector sizes (link).
Ethernet
The default USB-ethernet adapter was replaced with a UGREEN 20256 Adapter after it stopped working. Benefits of the new adapter are USB3 and Gigabit speed.
Install macOS
1. Create Clover Drive
a) Preparation
- Format USB-Drive with GUID and APFS (Link)
- Find the correct disk number of USB-Drive:
diskutil list
- Replace {#} with corresponding disk number and {Volume} with desired Name:
diskutil apfs createContainer /dev/disk{#} diskutil apfs addVolume disk{#} APFS {Volume}
- Find the correct disk number of USB-Drive:
- Download latest Clover release: github.com/CloverHackyColor
b) Install Clover
c) Post Install
- Overwrite
CsmVideoDxe.efi
from/toEFI/CLOVER/drivers/UEFI/
- Copy all ACPI patches from/to
EFI/CLOVER/ACPI/patched/
- Rename
config.plist
toconfig-org.plist
inEFI/CLOVER
- Copy
config.plist
from/toEFI/CLOVER/config.plist
- Copy all kexts from/to
EFI/CLOVER/kexts/Other/
- Delete all 10.X folders in
EFI/CLOVER/kexts/
- Delete all 10.X folders in
- (Optional: Copy favorite Clover theme to
EFI/CLOVER/themes
)
2. Create macOS Installer Drive
To create a working macOS Installer boot drive, you will need the following:
- An empty USB3 flash drive (minimum 32GB)
- A device already running macOS with App Store access
a) Download macOS Installer
- Open the Mac App Store on a device running macOS
- Download
Install macOS Big Sur
application - Close Installer when it opens automatically
b) Create Installer Stick
- Follow this guide: macOS Big Sur 11: bootbaren USB-Stick erstellen
Create installer stick with this command:
sudo /Applications/Install\ macOS\ Big\ Sur.app/Contents/Resources/createinstallmedia --volume /Volumes/Big\ Sur/ --nointeraction
c) Patch Installer Stick
Enable installation on unsupported hardware:
- Download and unpack: barrykn/big-sur-micropatcher
- Execute in Terminal
~/Downloads/big-sur-micropatcher-main/micropatcher.sh
3. Install macOS
- Connect macOS Installer and Clover Drive to your UX32VD
Stage 0
- Boot from Clover drive and select macOS Installer (
Install macOS Big Sur
) - Disable all Broadcom kexts:
- Hit Spacebar after selecting macOS Installer
- Select
Block injected kexts ->
(Spacebar) - Select
Other ->
(Spacebar) - Select (Spacebar)
AirportBrcmFixup.kext
BrcmBluetoothInjector.kext
BrcmFirmwareData.kext
BrcmPatchRAM3.kext
- Select
Return
twice (Spacebar) - Select
Boot macOS with selected options
- If screen turns completely blue, reboot
Stage 1
- Once installer shows up, follow the installation instructions
Stage 2
- On 1. reboot select
macOS HD
instead ofmacOS Installer
- Again disable all Broadcom kexts
Stage 3
- On 2. reboot press F3 in Clover and select
Big Sur Preboot
Volume - Repeat this step on 3. and 4. reboot
Stage 4
- Once installation is complete, create user account and finish setup process
- From now on boot regular
Big Sur
Volume frommacOS HD
4. Post Installation
a) Install Clover in EFI partition of macOS HD
- After successfully install repeat steps 1b – 1c but with EFI on macOS HD as target
- Follow this guide to add clover boot entry in BIOS Restoring UEFI boot entry or this UEFI clover boot option
b) Install AsusSMCDaemon
- Unzip
Post-Install/AsusSMCDaemon.zip
- Run
install_daemon.sh
as root Link
c) Install Karabiner Elements
- Install Karabiner Elements from
Post-Install/Karabiner-Elements-13.1.0.dmg
- Create configuration with following options:
d) Optimize Clover GUI
- Unzip and install Clover Configurator from
Post-Install/CCG 5.17.3.0.zip
- Mount EFI partition, load
config.plist
go toGUI
section and modify custom boot entries to match your setup
Troubleshooting
- If display shows graphical glitches, close lid, wait for sleep and reopen
When gettingError loading kernel cache
reboot until it passes
(should be fixed with OpenRuntime.efi)On(not more valid for Big Sur)USBSMC Error
check if your Installer-Drive is USB3, use an USB2 Drive (or cable/adapter) instead- If EFI partition is messed up and boot only works in safe mode, mount EFI with:
sudo mkdir /kexts sudo cp -RX /System/Library/Extensions/msdosfs.kext /kexts sudo /usr/libexec/PlistBuddy -c "Add :OSBundleRequired string" /kexts/msdosfs.kext/Contents/Info.plist sudo /usr/libexec/PlistBuddy -c "Set :OSBundleRequired \"Safe Boot\"" /kexts/msdosfs.kext/Contents/Info.plist
Update Clover
Update with Clover Configurator or download latest CLOVERX64.efi
from github.com/CloverHackyColor and replace in EFI/CLOVER/CLOVERX64.efi
and EFI/BOOT/BOOTX64.efi
Update macOS
- Make a full backup
- Check hackintosher.com for the latest macOS Update Guide
- Check all kexts for updates
- Create a new Clover Drive for testing purpose
- Use updated kexts and drivers in post install
- Boot from new Clover Drive
- If system boots
- Mount EFI partition of macOS HD
- Backup
EFI
toEFI-Backups
- Install new Clover version to EFI partition
- Copy updated kexts and drivers during post install
- Don’t forget to copy
Microsoft
andUbuntu
folder (it contains the windows and ubuntu bootloader)
- Eject Clover Drive and reboot
- If system boots
- Start macOS Update
- On restart select newly added
Install macOS Big Sur
partition - After reboot select normal macOS HD partition
- If system boots
- Be happy and enjoy the new update
- If system doesn’t boot on one of these steps
- Try to fix the problem or revert to the latest backup
Resources
Sleep
- In order to get sleep working with Bluetooth enabled the GPRW-Patch is applied.
Loading of SSDT-GPRW.aml fails, but it seems that theRename GPRW to XPRW
ACPI-patch is sufficient, as it prevents waking up from sleep (but producing some error logs in verbose boot).
ACPI
- SSDT-EC.aml fixes embedded controller (since macOS Catalina)
- SSDT-GPRW.aml prevents instant wake from sleep (usb-devices)
- SSDT-PNLF.aml activates display backlight control
SSDT
Method 1: use precompiled SSDT
? WARNING: Make sure you have exactly the same CPU (Core i7-3517U) ?
Use precompiled SSDT from SSDT/SSDT.aml
and copy to EFI/CLOVER/ACPI/patched/
Method 2: create your own SSDT
Generate your own SSDT with ssdtPRGen.sh
-x 1 is for Ivy Bridge CPU
-lmf 900 sets lowest idle frequency to 900 mhz
./ssdtPRGen.sh -x 1 -lfm 900
Copy /Users/{Name}/Library/ssdtPRGen/ssdt.aml
to EFI/CLOVER/ACPI/patched/
Replace existing file, rename it to SSDT.aml
DSDT
Method 1: use precompiled DSDT
? WARNING: Make sure you have exactly the same Laptop Model (UX32VD-R4002V) ?
Use precompiled DSDT from DSDT/DSDT.aml
and copy to EFI/CLOVER/ACPI/patched/
Method 2: create your own DSDT
Generation of DSDT is inspired by: danieleds/Asus-UX32VD-Hackintosh
- Extract original ACPI by pressing F4 in Clover menu
- Download acidanthera/MaciASL
- Set iASL Compiler to
Legacy
in Preferences
- Set iASL Compiler to
- Open
EFI/CLOVER/ACPI/origin/DSDT.aml
with MaciASL - Apply all patches from
DSDT/patches
in correct order - Export
DSDT.aml
and copy toEFI/CLOVER/ACPI/patched/
Clover Configuration
- Use
MacBookAir5.2
as SMBIOS
Fix for Hibernation
- Hackintool -> Power -> Fix Sleep
(Sets Clover -> ACPI -> FixMCFG)
Fix Freeze after Wakeup
Enable TRIM for SSD
There are two options:
- Run following command in the terminal:
sudo trimforce enable
- Patch kext with clover configurator:
com.apple.iokit.IOAHCIBlockStorage 00415050 4C452053 534400 00000000 00000000 000000
Link)
Fix OC boot for Big Sur (- Change Quirk
SetupVirtualMap
toTrue
Link)
Fix WiFi for Big Sur (- Remove
AirPortBrcm4360_Injector.kext
from plugins folder ofAirportBRCMFixup.kext
(right click -> package content) - Add in
config.plist
->KernelAndKextPatches
->KextsToPatch
<dict> <key>Arch</key> <string>Any</string> <key>BundlePath</key> <string>AirportBrcmFixup.kext/Contents/PlugIns/AirPortBrcmNIC_Injector.kext</string> <key>Comment</key> <string></string> <key>Enabled</key> <true/> <key>ExecutablePath</key> <string></string> <key>MaxKernel</key> <string></string> <key>MinKernel</key> <string></string> <key>PlistPath</key> <string>Contents/Info.plist</string> </dict>
Kexts
acidanthera/Lilu
Kext Patch:- Lilu.kext
acidanthera/WhateverGreen
Graphics:- WhateverGreen.kext
acidanthera/AirportBrcmFixup
WiFi:- AirportBrcmFixup.kext
acidanthera/BrcmPatchRAM
Bluetooth:- BrcmBluetoothInjector.kext
- BrcmFirmwareData.kext
- BrcmPatchRAM3.kext
acidanthera/VirtualSMC
Sensors:- VirtualSMC.kext
- SMCBatteryManager.kext
- SMCLightSensor.kext
- SMCProcessor.kext
- SMCSuperIO.kext
tonymacx86/NullCPUPowerManagement
CPU:- NullCPUPowerManagement.kext
Audio: AppleALC or VoodooHDA
- AppleALC.kext acidanthera/AppleALC
- VoodooHDA.kext SourceForge/VoodooHDA
BAndysc/VoodooPS2
TouchPad:- VoodooPS2Controller.kext
hieplpvip/AsusSMC
FN-Keys:- AsusSMC.kext
RehabMan/OS-X-Fake-PCI-ID
USB:- FakePCIID.kext
- FakePCIID_XHCIMux.kext
Driver
- ASIX USB 2.0 to 10/100M Fast Ethernet Controller AX88772B Driver
- Ugreen USB 3.0 Gigabit Ethernet Adapter AX88179 Driver