Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

OPENCORE 0.8.7

NotificationsYou must be signed in to change notification settings

Dr-Dreams/ASROCK-B450M-PRO4-HACKINTOSH

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 

Repository files navigation

System Image

Table of contents

My Specification

ComponentModel
CPUAMD Ryzen 5 3500 @ 3.6GHz
MotherboardASROCK B450M PRO4
RAM16GB (2 x 8GB) XPG ADATA GAMMIX D30 DDR4 8GB (1x8GB) 3200MHz
GPUGIGABYTE RX 5500XT OC 8GB DUAL FAN
Audio ChipsetRealtek ALC892
EthernetRealtek RTL8111
WiFiTP-Link USB AC600 Adapter
OS Disk (NVMe)Western Digital WD SN550 500GB NVMe
Audio AdapterAROPANA USB 2IN1 Audio Adapter

macOS version: 14.0
OpenCore version: 0.9.5
NOTE:- If you dont't have usb audio adapter then useVoodooHDA and put that kext in "/Library/Extensions/" then restart your mac.tutorial Video

Software Compatibility

  • Sonoma (14.x)
  • Ventura (13.x)
  • Monterey (12.x)
  • Big Sur (11.x)
  • Catalina (10.15.x)
  • Mojave (10.14.x)
  • High Sierra (10.13.x)

Used OpenCore version: 0.9.5

Hardware Compatibility

Central Processing Unit (CPU)

This EFI is compatible with all Ryzen and Athlon 2xxGE processors withmacOS-compatible peripherals.

Support for 15h (FX series), 16h (A series) and Threadripper CPUs is not covered here.

Graphical Processing Unit (GPU)

ModelCompatible?
IntegratedNo
NvidiaPartially1
AMDYes23

1 Support for Nvidia GPUs was dropped in Monterey Beta 7, the only way to get it back is usingOpenCore Legacy Patcher. Kepler series under correctPAT Patch. Others require WebDrivers which work only in High Sierra or are not supported. More details onDortania.

2 Some R7 and R9 GPUs require FakeID. More detailshere

3 Lexa series GPUs are not supported. Older than 7000 series are supported up to High Sierra (10.13), their support is not covered here.

ForAMD Navi 10 Series GPUs (RX 5500, RX 5600, RX 5700) you need to addagdpmod=pikera toboot-args to fix the black screen issue.

PAT Patch made by Shaneee is used by default. It improves GPU performance but it has a few caveats. Audio passed by HDMI or DisplayPort won't work or will be unstable. It alsomay not work with Nvidia GPUs.

If you want to control monitor's brightness or HDMI/DP audio volume you need to useMonitorControl for that.

Laptops

All laptops with AMD CPUs are not supported due to integrated GPUs incompatbility.

Motherboards

ChipsetDetails
B550, A520RequiresSSDT-CPUR to boot.Details here.
B550, A520, B450, X470, X570SetupVirtualMap has to bedisabled.
OtherShould be compatible out of the box.

SSDT-CPUR

Follow these steps to properly installSSDT-CPUR.

  • Download fromhere.
  • Install it to yourOC/ACPI directory.
  • Add it to your configuration file. Use ProperTree for simplicity.

Disabling SetupVirtualMap

To disableSetupVirtualMap simply go toBooter -> Quirks -> SetupVirtualMap in your configuration file and disable it. (Should befalse).

Audio

Follow these steps if your audio chipset is different than the one specified in theSpecification.

  • Gohere to find your audio chipset codec. (UnderCodec)
    • If you can't find your codec on the list, then you probably have to useVoodooHDA. This repository does not cover or support the use of VoodooHDA.
  • UnderRevisions and layouts you'll see bunch of numbers and layout ids.
  • Find yourboot-args settings and look foralcid=11.
  • Try every layout id (except0x values) one by one until it works.
    • Example:alcid=10 iflayout 10

Caveats:

  • External (USB) audio cards should work out of the box.
  • Microphone input (3.5mm Jack) won't work properly. Use USB/Bluetooth microphones instead.
  • If you have CPU with integrated GPU (even if you don't use it) your audio may be broken or unstable. You can try usingSpeedKeeper but it's not guaranteed to fix your problem. The best solution is using external (USB) audio card.

Network

If you experience any issues with your network connection, then your best bet would be to install a different kext, preferably fromhere.

If you use High Sierra and Realtek 8111 Ethernet Card then you should useolder version of kext.

If you have issues with network card on Monterey or newer try addinge1000=0 toboots-args.

SmallTree kext does not work on Monterey for now. You can tryAppleIGB kext, it works on some systems. If it does not work you have to stay on Big Sur and wait for SmallTree's update.

WiFi and Bluetooth

Only Apple Airport and Fenvi cards work out of the box.Here you can list of all supported cards and needed kexts for them.

Rembember that AirDrop, Handoff, etc. works only on cards with Broadcom chip.

Installation

Bootable USB

  1. Followthis guide to create your bootable USB.

  2. Clone this repository and copy "BOOT" & "OC" directories to your "EFI" directory on your bootable USB. The structure should look somewhat like this:EFI -> BOOT, OC.

Modifying kernel patches

  1. Modify Core Count patches to match your CPU's cores amount.
  • Find fouralgrey - Force cpuid_cores_per_package patches underKernel -> Patch in your config.

  • Modify these patches for your CPU physical cores. Changefirst pair of00 inReplace of these patches toHex value from below table.

    • e. g. for Ryzen 7 1700 with 8 Cores three modified patches should look like:
      • B800 0000 0000 -> B808 0000 0000
      • BA00 0000 0000 -> BA08 0000 0000
      • BA00 0000 0090 -> BA08 0000 0090
      • BA00 0000 00 -> BA08 0000 00
Physical CPU coresHex value
4 Cores04
6 Cores06
8 Cores08
12 Cores0C
16 Cores10
24 Cores18
32 Cores20

SMBIOS

  1. Usethis tool to generate your unique SMBIOS info.
  • SMBIOS has to be unique, you cannot use one present in this repository.

  • Run the tool and selectGenerate SMBIOS.

  • Select the appropriate model for your hardware using the table below.

  • Go toApple Coverage and paste generatedSerial. You need "Invalid Serial" or "Purchase Date not Validated" message. If you get something another you have to generate SMBIOS data and check it again.

  • Openconfig.plist and search forPlatformInfo -> Generic and replace these values:

    • SystemProductName - Model
    • MLB - Board Serial
    • SystemSerialNumber - Serial
    • SystemUUID - SmUUID
  • ROM entry should be set to yournetwork card's MAC address, without separators (e. g.:,-).

GPU SeriesModel
AMD Navi SeriesiMacPro1,11
AMD Vega SeriesiMacPro1,11
AMD Polaris SeriesiMacPro1,11
AMD Radeon R5/R7/R9MacPro6,1
AMD HD 8000 SeriesMacPro6,1
AMD HD 7000 SeriesMacPro6,1
Nvidia Kepler SeriesMacPro7,12

1 For Catalina and newer you can also useMacPro7,1 if you have some issues (e. g. unfixable DRMs).

2 For Catalina and older useiMac14,2.

Configuration

  1. You should update your BIOS to the latest version and configure it appropriately. SeeBIOS Settings for details.
  2. Remember to verify your hardware and apply appropriate changes to your configuration file. SeeHardware Compatibility for details.
  3. Map your USB ports withUSBToolBox. Guide about it is availablehere. You have to do it from Windows.
  4. That's it! Now you can boot macOS installer.

Post-Installation

  1. Copy your EFI directory onto your main drive EFI partition, you'll be able to boot the system without your bootable USB.
  2. ApplyRyzen patch script - it solves MKL (Math Kernel Library) issues and sets correct sleep parameters.
  3. If you haveUnknown instead of your CPU name in About this Mac go toPlatformInfo -> Generic -> ProcessorType in your configuration file. Set it to3841 if your CPU has 8 or more physical cores, else set it to1537.
  4. When everything work you can disable verbose mode - then you will see Apple's logo instead of logs while booting. To do it you have to remove-v debug=0x100 keepsyms=1 fromboot-args in your configuration file.

Bootstrap

In general, enabling Bootstrap is not required, but it will protect your OpenCore from being overriden.
Remember to do not enable Bootstrap on pendrive - do it only after copying OpenCore to your disk's EFI.

  1. Go toMisc -> Boot -> LauncherOption in your configuration file and set it toFull.
  2. Reboot your computer.
  3. Reboot PC again and go to your BIOS settings. In boot options you will see new boot entry namedOpenCore. Set BIOS to boot from it, instead of your drive.
  4. It's done!

BIOS Settings

OptionStatus
SATA ModeAHCI
Above 4G DecodingEnabled1
EHCI/XHCI Hand-offEnabled
SVMEnabled
CSMDisabled
Resizable BAR SupportDisabled
Secure BootDisabled
Serial PortDisabled
Parallel PortDisabled

1 If you have this option in BIOS you must also removenpci=0x2000 fromboot-args in your configuration file.

Some of these options may not exist in your firmware, just try to match it as closely as possible.

Before booting macOS remember to update BIOS to the latest version.

PAT Patch

Shaneee'sAlgrey's
Much better GPU performanceWorse GPU performance
May not work with Nvidia GPUsCompatible with all GPUs
HDMI/DP audio may not workHDMI/DP audio works
Enabled by defaultDisabled by default

To switch to another patch look formtrr_update_action inconfig.plist. Then setEnabled totrue for the patch you want to use. Remember to setEnabled tofalse on the other PAT patch. Do not try to enable both at the same time, trust me, it won't work.

MKL and Intel Fast Memset Patch

Some applications for macOS use MKL - Math Kernel Library. Unfortunately, it does not work on AMD CPUs natively - we need to patch it withthis script.

There's alsointel_fast_memset instruction which, obviously, doesn't exist on AMD systems. It's very common in Adobe software - you can simply fix it by runningthis script. Older versions of Adobe software (e. g. up to 22.3.1 for Photoshop) need it'slegacy version. For details about Adobe patching check thead onmacos86.it.

If you have problems while running script from file, try to copy and paste it's code to Terminal.

DRMs support

DRMs are fixed by default only for Big Sur and newer versions. For older versions you have to:

  1. Removeunfairgva=1 fromboot-args in your configuration file.
  2. Gohere to find correct value for your system.
  3. Add parameter fromMode toboot-args in your configuration file.
    • If parameter from chart does not work tryshikigva=80 orshikigva=16 - it's common to work even when chart says something another.
  4. Test DRMs with Netflix in Safari or Apple TV+.

Sleep

Firstly, check if your sleep works out of the box. If it works, you can skip reading this section.

The most common reason of broken sleep on AMD systems are USB problems.
You have to map your USB ports. If you have working Windows instance I recommendthis tool, otherwise you have todo it manually.
After mapping remember to disableKernel -> Quriks -> XhciPortLimit in your configuration file.

If USB fixes does not help, probably something another is broken. You can read more detailed guide about it onDortania.

Virtualization

Prerequisites

  • Make sure you haveSVM enabled in your BIOS settings.
SoftwareCompatibility
Parallels DesktopUp to 13.1 unless AppleHV is used.123
VirtualBoxDrastically decreased performance.
VMWare Fusion 10Only Catalina and older, for Catalina withthis patch.
DockerOnlyDocker in VirtualBox or Docker Toolbox.
Android EmulatorOnlyAndroid-x86 with compatible VM software.
iOS EmulatorWorks out of the box.

1 Parallels will not work by default on Big Sur and newer, you need to useSYSTEM_VERSION_COMPAT=1 environment variable.

2 Usethis launcher package to simplify the Parallels usage.

3 Only Windows 10 Anniversary Update (build 1607) or older systems work.

Resource management

You shouldn't add too much resources to your virtual machines, as it causes performance issues regardless of your hardware.

Use the following configuration for best results.

  • Parallels Desktop 13.1
  • 4 CPU cores
  • 4GB - 8GB RAM
  • 1GB VRAM
  • 3D Acceleration: DirectX 9
  • OS: Windows 7 (SP1, build 7601) with Aero theme disabled.

Guides and troubleshooting

If you have any other questions or issues, feel free to ask onAMD-OSX Discord orForum.

Due to the diversity of configurations, I am unable to assist with issues related to specific computer specifications. For troubleshooting, I recommend starting with inquiries on the AMD-OSX Discord.

Please create an Issue on GitHub primarily for cases concerning more general problems.

Credits

  • Apple for macOS
  • AMD-OSX Developers for kernel patches for AMD CPUs
  • Acidanthera for OpenCore and most of used kexts
  • Trulyspinach for Ryzen power management and monitoring kexts
  • Mieze for RealtekRTL8111 kext
  • DhinakG for USBToolBox
  • XLNC for Adobe patches for AMD CPUs and AppleMCEReportedDisabler kext
  • Pavo for research about AppleMCEReportedDisabler in Monterey
  • tomnic for libfakeintel.dylib used by Adobe patches
  • Dortania for OpenCore configuration guides
  • AMD-OSX Community for support while making my Hackintosh
  • SocketByte for README maintenance and being a great friend :)

[8]ページ先頭

©2009-2025 Movatter.jp