Patched version of SATA-unsupported.kext to allow macOS to detect SATA controllers used by AMD PCs. Use recommended only if your computer can't read all or some internal disks in macOS.
Known working in: 11.x Big Sur - 15.x Sequoia
May be working in: 10.15 Catalina and older
This kext has no executable, it just consists of an Info.plist file that adds the missing entries for the AMD SATA controller device ID to the macOS AppleAHCIPort driver.
- OpenCore
- Download the source code by clicking Code and then Download ZIP. You will find the kext in its folder.
- Copy it to /EFI/OC/Kexts
- Open config.plist and perform OC Snapshot
- Save config.plist and close it
- Boot macOS and the disk should be found
- Boot into Windows
- Open devmgmt.msc
- Expand "IDE ATA/ATAPI controllers" and open "Standard AHCI SATA controller"
- Go to the Details tab
- From the dropdown menu, select Hardware IDs.
- In the box underneath, you will find a string starting with PCI\VEN_####&DEV_####.
- Open the kext's Info.plist file and go to the AMD-AHCI-unsupported section under IOKitPersonalities.
- In this section, open the sub-section called IONameMatch.
- Change the value of the string called 0. Between "pci" and the comma put the 4 characters that come between VEN_ and the &, and after the comma put the 4 characters that come after DEV_.
- Save the file and reboot
- It should work now!
OR
- On macOS, download Hackintool and open it.
- Go to the PCIe menu
- Find the SATA controller. You should be able to find it by the "Device Name" and "Subclass" columns.
- From the "IOReg IOName" column, copy the value related to the SATA controller.
- Now open the kext's Info.plist file, and open IOKitPersonalities, then AMD-AHCI-unsupported and finally IONameMatch.
- Paste the value copied from Hackintool into a new string called "1".
- Save the file and reboot
- It should work now!
Based on RehabMan's SATA-unsupported.kext.
Note: Create an issue if your controller isn't supported. It'll be very pleasant for me, and I'll add your controller right away!