黑苹果EFI大全|免费分享各种黑苹果EFI资源
Guide on how to install macOS Big Sur on ASUS UX32VD Laptop
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).
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]
The following features are not working or disabled:
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.
The default 2GB of RAM were replaced with an equivalent 8GB DDR3 module to get 10GB of RAM.
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.
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).
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.
diskutil list
diskutil apfs createContainer /dev/disk{#}
diskutil apfs addVolume disk{#} APFS {Volume}
CsmVideoDxe.efi
from/to EFI/CLOVER/drivers/UEFI/
EFI/CLOVER/ACPI/patched/
config.plist
to config-org.plist
in EFI/CLOVER
config.plist
from/to EFI/CLOVER/config.plist
EFI/CLOVER/kexts/Other/
EFI/CLOVER/kexts/
EFI/CLOVER/themes
)To create a working macOS Installer boot drive, you will need the following:
Install macOS Big Sur
applicationCreate installer stick with this command:
sudo /Applications/Install\ macOS\ Big\ Sur.app/Contents/Resources/createinstallmedia --volume /Volumes/Big\ Sur/ --nointeraction
Enable installation on unsupported hardware:
~/Downloads/big-sur-micropatcher-main/micropatcher.sh
Install macOS Big Sur
)Block injected kexts ->
(Spacebar)Other ->
(Spacebar)AirportBrcmFixup.kext
BrcmBluetoothInjector.kext
BrcmFirmwareData.kext
BrcmPatchRAM3.kext
Return
twice (Spacebar)Boot macOS with selected options
macOS HD
instead of macOS Installer
Big Sur Preboot
VolumeBig Sur
Volume from macOS HD
Post-Install/AsusSMCDaemon.zip
install_daemon.sh
as root LinkPost-Install/Karabiner-Elements-13.1.0.dmg
Post-Install/CCG 5.17.3.0.zip
config.plist
go to GUI
section and modify custom boot entries to match your setupError loading kernel cache
reboot until it passesUSBSMC Error
check if your Installer-Drive is USB3, use an USB2 Drive (or cable/adapter) insteadsudo 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 with Clover Configurator or download latest CLOVERX64.efi
from github.com/CloverHackyColor and replace in EFI/CLOVER/CLOVERX64.efi
and EFI/BOOT/BOOTX64.efi
EFI
to EFI-Backups
Microsoft
and Ubuntu
folder (it contains the windows and ubuntu bootloader)Install macOS Big Sur
partitionRename GPRW to XPRW
ACPI-patch is sufficient, as it prevents waking up from sleep (but producing some error logs in verbose boot).? 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/
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
? 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/
Generation of DSDT is inspired by: danieleds/Asus-UX32VD-Hackintosh
Legacy
in PreferencesEFI/CLOVER/ACPI/origin/DSDT.aml
with MaciASLDSDT/patches
in correct orderDSDT.aml
and copy to EFI/CLOVER/ACPI/patched/
MacBookAir5.2
as SMBIOSThere are two options:
sudo trimforce enable
com.apple.iokit.IOAHCIBlockStorage
00415050 4C452053 534400
00000000 00000000 000000
SetupVirtualMap
to True
AirPortBrcm4360_Injector.kext
from plugins folder of AirportBRCMFixup.kext
(right click -> package content)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>