README.md

September 17, 2024 · View on GitHub

ROG-Zephyrus-G14-GA401-Hackintosh(2020-2021)

ROG-Zephyrus-G14-GA401-Hackintosh(2020-2021)

OpenCore Config for Asus ROG-Zephyrus-G14-GA401(2020-2021) with AMD Ryzen.

GitHub Contributors Issues GitHub pull requests

View Demo · Report Bug · Request Feature

简体中文 · English

Screenshot

Description

  • Available version of this repository: Sonoma 14.4 or above.
  • The model information has been removed, please generate and replace it yourself.
    • The SystemProductName must be one of the following: MacbookPro16,3, iMac20,1, iMacPro1,1.
  • OpenCore version: 1.0.1.
  • BIOS settings:
    • Suggest using UMAF tool to increase VRAM, Go to Device Manager > AMD CBS > NBIO Common Options > GFX Configuration and adjust the IGPU Configuration to UMA_SPECIFIED. Then, set the UMA Frame buffer Size to at least 1G and recommend 2G.
    • To prevent installation freezing, you can either enable the Above 4G Decoding or add the npci=0x2000 to the boot-args. Use UMAF tool to enable Above 4G decoding in the UMAF tool by going to Device Manager > PCI Subsystem Settings.
    • Turn off Secure Boot and Fast Boot
  • Updating EFI may require clearing NVRAM to take full effect.

Configuration

ComponentModel (2020/2021)
CPUAMD Ryzen 7 4800HS/5800HS
Integrated GPUAMD Radeon Vega 8
Dedicated GPUNVIDIA
Network/BluetoothIntel AX200
SSDWD SN570 SSD
Keyboard/TrackpadIC2 HID
Audio/Headphone jackALC289/285

Overview

Working

  • CPU / IGPU
    • Use AMDPowerGadget for CPU power management and temperature monitoring.
  • WIFI/Bluetooth
  • Apple ID & iMessages & iCloud
  • Interrupt mode touchpad and keyboard input
  • 1440p 60hz HiDPI display
  • Built-in speakers and 3.5mm headphone audio output / Built-in microphone
  • All USB ports / NVME SSD
  • Brightness, sound shortcut keys, and keyboard backlight control
    • Use ROG-HID to control, and to use this software, you need to turn off SIP.
  • S3 Sleep
    • Use UMAF tool to enable S3 Sleep
    • Might need to enter the following commands in the terminal:
      sudo pmset autopoweroff 0
      sudo pmset powernap 0
      sudo pmset standby 0
      sudo pmset proximitywake 0
      sudo pmset tcpkeepalive 0
      

Not working and current issues

  • HDMI audio output / 3.5mm headphone input
  • NVIDIA graphics card
  • Some Fn shortcut keys
  • After using Windows and restarting to macOS, there is no sound from the headphones. A forced shutdown and reboot will make it work normally again.
  • VCN (video/image hardware encoding/decoding) still has some problems, can be used but not guaranteed, turned off by default, to turn on, please add -ChefKissInternal to boot-args.

Tips

  • You can control the temperature within a suitable range by turning off CPS (core performance boost), but this will lose some performance. For improved temperature control and battery life, the SMCAMDProcessor modified by @htmambo now disables CPS by default. Enable it manually for better performance. You can customize the enabling status and set the default frequency value of CPS in OC\Kexts\AMDRyzenCPUPowerManagement.kext\Contents\Info.plist as shown in the table below:

    PropertyDefault (0: Disabled, 1: Enabled)Remarks
    CPBStatus0CPB status
    SpeedID0ID value in the frequency table; check the specific frequency by opening AMD Power Gadget.app and navigating to Speed->Advanced Options
  • The NootedRed modified by @htmambo includes the patch from BFixup.kext. The BFixup.kext downgrades the OpenGL version to prevent system freezing, allowing certain applications like Chrome to work normally. However, it may also cause some applications to not work. If you encounter problems, switch to the official repository instead of the forked one or delete -bfixup in boot-args.

Know Your EFI

ACPI

SSDTFunction
SSDT-PLUG-ALTUsed for MacOS to recognize CPU, must-have
SSDT-ECFakes an EC for MacOS, must-have
SSDT-HPETSolves IRQ conflicts, must-have
SSDT-USBXUSB power management, must-have
SSDT-XOSIACPI function of MAC and WIN, dual systems must-have.
SSDT-ALS0Provided by NootedRed, used for screen brightness adjustment
SSDT-PNLFProvided by NootedRed, used for screen brightness adjustment
SSDT-NoHybGfxTurn off the discrete graphics card
SSDT-RMNEUsed in combination with the built-in Ethernet card in NullEthernet.kext to implement Apple ID login

Kexts

KextFunction
AirportItlwmIntel wireless card driver, note that different systems have different kexts
AMDRyzenCPUPowerManagementAMD CPU power management
AMFIPassDisable AMFI
AppleALCAudio driver
AppleMCEReporterDisablerTurn off AppleIntelMCEReporter to avoid errors on AMD CPU devices
BlueToolFixupBluetooth repair patch
BrightnessKeysBrightness adjustment keys
ECEnablerBattery reading
FeatureUnlockUnlock features on unsupported models
ForgedInvariantTo mitigate certain issues, it is advisable to synchronize the CPU's TSC (Time Stamp Counter).
HoRNDISSupport Android device USB shared network
IntelBTPatcherBluetooth driver
IntelBluetoothFirmwareBluetooth driver
LiluEssential
NullEthernetAllows devices without Ethernet ports to log in to iCloud on MacOS
NVMeFixNVMe hard drive power management
RealtekCardReaderCard reader
RealtekCardReaderFriendCard reader
RestrictEventsLilu Kernel extension for blocking unwanted processes causing compatibility issues on different hardware and unlocking the support for certain features restricted to other hardware
SMCAMDProcessorSubsidiary of AMDRyzenCPUPowerManagement
SMCBatteryManagerBattery management
SMCLightSensorFor ambient light sensors on laptops
SMCProcessorAMDFor fan reading
SMCRadeonSensorsGet AMD graphics card temperature information
USBMapUSB Map
VirtualSMCEssential
VoodooI2CTouchpad or touch screen driver
VoodooI2CHIDTouchpad or touch screen driver

Credit