Jump to content

[Tahoe] OpenCore MOD EFI | Gigabyte B760M GAMING X DDR4 Gen5 + Intel i7-14700K + RX 6900 XT


Recommended Posts

Posted

A working **OpenCore MOD** EFI for a Raptor Lake desktop running **macOS 26 Tahoe** (the last macOS release for Intel Macs).

> **Bootloader: OpenCore MOD** (a modified OpenCore build, Olarila style), *not* vanilla Acidanthera OpenCore. The MOD adds `EnableForAll` quirks that keep ACPI patches and booter quirks away from Windows. 

It is shared as a starting point.
**Read the whole file before booting with it.**

 

## 1. Hardware this EFI was built on

| Component | Model |
|---|---|
| CPU | Intel Core i7-14700K (Raptor Lake Refresh, 8P + 12E cores, 28 threads) |
| Motherboard | Gigabyte B760M GAMING X DDR4 Gen5 |
| GPU | AMD Radeon RX 6900 XT (PowerColor Red Devil, Navi 21) |
| RAM | 32 GB DDR4 3200 MHz |
| Audio | Realtek ALC897 (onboard) |
| Ethernet | Realtek RTL8125 2.5 GbE (onboard) |
| macOS disk | Samsung PM981 NVMe |
| SMBIOS | MacPro7,1 |

## 2. What works

- Booting macOS 26 Tahoe and Windows from the OpenCore MOD picker
- All 28 threads, native power management (XCPM)
- RX 6900 XT with Metal and hardware H.264/HEVC encode/decode (VideoToolbox)
- Onboard audio (line out / headphones) via **SimpleHDA** + AppleALC
- 2.5 GbE Ethernet
- iMessage 
- USB 2.0/3.x on all mapped ports
- Sleep and wake (see the BIOS settings and section 9)
- CPU name "Intel Core i7-14700K" in About This Mac
- SIP fully enabled, so OTA updates download as small deltas

### Not tested: Wi‑Fi and Bluetooth

This board has no onboard Wi‑Fi/Bluetooth, and **we do not have a Fenvi (BCM94360CD) card, so Wi‑Fi and Bluetooth have NOT been tested with this EFI.** Cheap USB Wi‑Fi/BT dongles (Realtek) do not work on Tahoe.

What to expect if you add a Broadcom BCM94360CD PCIe card (e.g. Fenvi T919 / FV-946CD):

- Bluetooth usually works out of the box. Connect the card's USB cable to an internal USB 2.0 header and **add that port to the USB map**.
- Wi‑Fi on Sonoma/Sequoia/Tahoe needs an **OCLP root patch** ("Modern Wireless"). That patch requires SIP to be partly disabled (`csr-active-config` changed from `00000000`), and OTA updates then download as full installers.

---

## 3. BEFORE YOU BOOT: personalise the SMBIOS

The `PlatformInfo` section contains **placeholder** serial numbers. They are generic values and must not be used as they are.

1. Download **GenSMBIOS** (https://github.com/corpnewt/GenSMBIOS).
2. Generate a new **MacPro7,1** serial.
3. In `config.plist → PlatformInfo → Generic`, replace:
   - `SystemSerialNumber` (Serial)
   - `MLB` (Board Serial)
   - `SystemUUID` (SmUUID)
   - `ROM`: the MAC address of your Ethernet card, without colons, as data (e.g. `A1B2C3D4E5F6`)
4. Check the serial at https://checkcoverage.apple.com. The answer must be "We're unable to check coverage for this serial number". A valid, purchased serial would belong to a real Mac.

The `DataHub`, `PlatformNVRAM` and `SMBIOS` subsections are ignored because `Automatic = true`. They contain the same placeholders.

**Never publish your own serial, MLB, UUID or ROM.**

 

Quote

## 4. Required BIOS settings (Gigabyte B760M GAMING X DDR4 Gen5)

| Setting | Value | Why |
|---|---|---|
| Re-Size BAR Support | **Disabled** | With ReBAR on, the RX 6900 XT panics on wake ("Failed Power Play Resume") |
| Above 4G Decoding | Enabled | |
| CSM Support | Disabled | |
| Secure Boot | Disabled | |
| Initial Display Output | PCIe 1 Slot | |
| Internal Graphics | Enabled or Disabled | It is hidden from macOS by the config (see section 6) |
| ErP | Enabled | Helps sleep on Gigabyte boards |
| Wake on LAN / Network Stack | Disabled | |

CFG Lock cannot be turned off on this board. `AppleXcpmCfgLock` handles that.

---

## 5. What is in the EFI

### Kexts

| Kext | Purpose |
|---|---|
| Lilu | Patching framework required by most other kexts |
| VirtualSMC + SMCProcessor + SMCSuperIO | SMC emulation and sensors |
| AppleALC | Audio codec layouts (`alcid=98` for ALC897) |
| SimpleHDA | Restores AppleHDA, which Apple removed in macOS 26 Tahoe. **Without it there is no analog audio on Tahoe.** It must load after AppleALC. |
| LucyRTL8125Ethernet | Realtek 2.5 GbE |
| NVMeFix | Better power management for non-Apple NVMe drives |
| RestrictEvents | Mac Pro memory/PCI warnings, `sbvmm` for updates, custom CPU name |
| USBToolBox + UTBMap | USB port map (see the warning in section 😎 |
| XHCI-unsupported | Makes macOS attach to the 700-series USB controller |

### ACPI

- `SSDT-PLUG-ALT.aml`: Alder/Raptor Lake boards declare CPUs as `Device` objects. macOS needs `Processor` objects for XCPM, and this SSDT provides them.
- `MaLd0n.aml`: EC/USBX, RTC/AWAC, HPET, MCHC, SBUS and related fixes, all guarded by `_OSI("Darwin")`.

### Key config choices

- CPUID spoofed to Comet Lake (`Cpuid1Data 55060A00…`) together with `ProvideCurrentCpuInfo`. This is required for 12th–14th gen.
- `UpdateSMBIOSMode = Custom` + `CustomSMBIOSGuid = true`, so Windows booted from OpenCore MOD still sees the real motherboard. This avoids, for example, the AMD Adrenalin installer refusing to install because it thinks the PC is a Mac.
- This is the **OpenCore MOD** build. With `ACPI → Quirks → EnableForAll = false` and `Booter → Quirks → EnableForAll = false`, ACPI patches and booter quirks are applied to macOS only, not to Windows. If you replace `OpenCore.efi` with vanilla OpenCore, these keys do nothing and Windows will get the ACPI changes.
- `csr-active-config = 00000000` (SIP on). It is also listed in `NVRAM → Delete` so the value actually reaches NVRAM.
- Boot args: `alcid=98 shda-lang=en watchdog=0`.
  - `shda-lang` sets the language SimpleHDA uses for audio output names, e.g. `en`, `pl` or `de`.
  - For troubleshooting, add `-v keepsyms=1 debug=0x100`.

---

## 6. Why and how the iGPU is hidden from macOS

**Problem:** the i7-14700K has an Intel UHD 770 iGPU. macOS has no driver for it. When the iGPU is enabled in BIOS, macOS still sees it as a PCI display device without a driver. On this build, sleep then failed: the system hung while entering sleep (fans and RGB stayed on) and needed a hard reset. The log showed `Failure during sleep … Some drivers failed to handle setPowerState`.

Disabling the iGPU in BIOS fixed sleep, but we wanted to keep the iGPU available for Windows (Intel QuickSync).

**Solution:** hide the iGPU from macOS only, using `DeviceProperties`:

```
DeviceProperties → Add → PciRoot(0x0)/Pci(0x2,0x0)
    class-code   Data    FFFFFFFF
    IOName       String  #display
    name         Data    23646973706C617900   ("#display" + NUL)
```

- `PciRoot(0x0)/Pci(0x2,0x0)` is the standard location of the Intel iGPU on every Intel desktop platform.
- Overriding `class-code` with `FFFFFFFF` means macOS no longer sees it as a display controller. With `IOName`/`name` set to `#display`, no driver matches it at all.
- Device properties are only read by macOS. Windows talks to the hardware directly, so the iGPU keeps working there.

Result: iGPU enabled in BIOS, invisible to macOS, and sleep/wake works.

If you never use the iGPU, you can simply disable it in BIOS and delete this entry.

---

## 7. How to hide an NVMe drive (M.2 slot) from macOS

A common example is a Windows NVMe that shows up in macOS as "Untitled". The same trick works for NVMe drives: overriding `class-code` stops macOS's NVMe driver from attaching. The drive disappears from Finder and Disk Utility, while Windows and the OpenCore MOD picker still see it.

> **The device path points to the M.2 SLOT, not to a specific drive.** Whatever drive sits in that slot is hidden. **Never hide the slot that holds your macOS drive**, or macOS will not boot. If you move drives between slots, update or remove the entry first.

### Step 1: find which slot holds the drive you want to hide

Run in Terminal (the output is saved to your Downloads folder):
 

{ echo "=== diskutil ==="; diskutil list; echo; echo "=== NVMe models ==="; system_profiler SPNVMeDataType | grep -E "Model|BSD Name"; echo; echo "=== NVMe PCI path ==="; ioreg -w0 -p IOService -t -c IONVMeController | grep -E "o RP|o PXSX|o PEG|IONVMeController"; } > ~/Downloads/nvme-paths.txt 2>&1; echo Done


In `nvme-paths.txt`:

- `diskutil` and `NVMe models` tell you which `diskX` is which drive.
- The `ioreg` tree shows the root port each NVMe controller sits behind, for example:

```
+-o PEG0@6        → PciRoot(0x0)/Pci(0x6,0x0)/Pci(0x0,0x0)
+-o RP25@1A       → PciRoot(0x0)/Pci(0x1A,0x0)/Pci(0x0,0x0)
+-o RP09@1D,0     → PciRoot(0x0)/Pci(0x1D,0x0)/Pci(0x0,0x0)
```

The number after `@` is the PCI device (and function, after the comma) of the root port. The drive itself is almost always `Pci(0x0,0x0)` behind it.

For an exact path you can also use **gfxutil** (`gfxutil -f PXSX`) or **Hackintool → PCIe**, which shows the full device path for every PCI device.

### Step 2: slots on the Gigabyte B760M GAMING X DDR4 Gen5 (as seen on this build)

| Slot | Device path | Notes |
|---|---|---|
| M.2 connected to the CPU (closest to the CPU socket) | `PciRoot(0x0)/Pci(0x6,0x0)/Pci(0x0,0x0)` | Confirmed on this build (`PEG0@6`) |
| M.2 connected to the chipset | `PciRoot(0x0)/Pci(0x1A,0x0)/Pci(0x0,0x0)` | Confirmed on this build (`RP25@1A`); here it holds the macOS drive |

Other boards, CPUs or BIOS versions can use different root ports. **Always verify with Step 1.**

### Step 3: add the entry to config.plist

```
DeviceProperties → Add → <your path, e.g. PciRoot(0x0)/Pci(0x6,0x0)/Pci(0x0,0x0)>
    class-code   Data   FFFFFFFF
```

Reboot. If you made a mistake and macOS does not boot, boot Windows (or another OS), mount the EFI partition and remove the entry.

If you only want the drive not to auto-mount, but still visible in Disk Utility, use an `/etc/fstab` entry with `noauto` instead.

---

## 8. USB map: board specific

`UTBMap.kext` was made with USBToolBox for the **Gigabyte B760M GAMING X DDR4 Gen5** (13 ports, within the 15-port limit). It should work on the same board. Front-panel ports depend on your case, though, and internal headers you use (e.g. for a Bluetooth card) may need to be added. If something does not work, make your own map with USBToolBox (Windows) and replace `UTBMap.kext`.

---

## 9. Sleep tips

- **Re-Size BAR must be disabled** (RX 6000 series).
- Recommended `pmset` settings for a desktop Hackintosh:

 

sudo pmset -a hibernatemode 0 standby 0 autopoweroff 0 powernap 0 proximitywake 0 tcpkeepalive 0 womp 0

 

- Right after a macOS update, Spotlight re-indexes for a while and causes frequent dark wakes. Let it finish before judging sleep.
- If a warm reboot ever ends in `GDDR6 Long Training Failed`, do a full power off (switch off the PSU for 10–20 s). This is a GPU state issue, not a config problem.

---

## 10. CPU name in About This Mac

RestrictEvents sets the name using:

- `NVRAM → Add → 4D1FDA02-…`: `revcpu = 1` (Number), `revcpuname = "Intel Core i7-14700K"`, `revpatch` containing `cpuname`
- `PlatformInfo → Generic → ProcessorType = 3841` (0x0F01). RestrictEvents only patches the "N-Core Intel Xeon W" string.
- `revcpu`, `revcpuname` **and** `revpatch` must be listed in `NVRAM → Delete`. Otherwise OpenCore never overwrites the old values already stored in NVRAM.

Using a different CPU? Change `revcpuname`.

---

## 11. Updating

- Before a major macOS update, update Lilu, AppleALC, VirtualSMC, RestrictEvents and SimpleHDA.
- When updating the bootloader, use a newer **OpenCore MOD** build to keep the `EnableForAll` behaviour.
- Consider turning off automatic macOS updates (System Settings → General → Software Update → (i)).

---

## 12. OpenCore MOD picker: showing or hiding auxiliary entries

In this EFI the picker shows **all** entries: macOS, Windows, Recovery, Reset NVRAM and tools (`Misc → Boot → HideAuxiliary = false`). The picker waits 5 seconds (`Timeout = 5`).

To show only macOS and Windows:

1. Open `config.plist` (ProperTree, OpenCore Configurator or OCAT).
2. Set `Misc → Boot → HideAuxiliary` to **true**.
3. Save and reboot.

Hidden entries (Recovery, Reset NVRAM, tools) can still be reached: press **Space** in the picker and they appear for that boot.

To change how long the picker waits, set `Misc → Boot → Timeout` (seconds; `0` = wait forever).

---
 

## Credits

Acidanthera (OpenCore, which OpenCore MOD is based on, Lilu, AppleALC, VirtualSMC, RestrictEvents, NVMeFix), laobamac (SimpleHDA), Mieze (LucyRTL8125Ethernet), USBToolBox, Olarila / MaLd0n (base config and SSDT), CorpNewt (GenSMBIOS), the Dortania guides.

Provided as is, without any warranty. Back up your current EFI before trying it.

---------------------------------------------------------------------

Maybe you  also want to check my: Mac driver and app for TURZX 3.5-inch additional IPS TYPE-C DIY screen

 

 

EFI_OCMOD_Gigabyte_B760M_GAMING_X_DDR4_Gen5.zip

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...