A single kext for Intel Bluetooth on Hackintosh. It replaces IntelBluetoothFirmware + IntelBTPatcher + BlueToolFixup
(a Lilu plugin plus the firmware-loading driver in the same bundle). macOS 12 (Monterey) or later only, Intel/x86_64, OpenCore.
English · Español
| Tested | Intel AX210 (USB 8087:0032), macOS 26.7 (Tahoe), Core i7‑6700T, OpenCore, Lilu 1.7.3. Loads the firmware, connects and plays A2DP audio (classic Bluetooth headphones). |
| Untested | The other chips in devices.txt, macOS 12 – 25, and BLE devices (the random-address patch only matters for BLE). The revalidation protection (see below) has not been seen acting yet: it only triggers after many hours of uptime. Pairing of new BLE HID devices (mice, keyboards) is not covered (see the note under ForbiddenItlwm). |
| Unconfirmed | The kernel log lines from the patches (ibtp, btlfx): the dmesg buffer had already lost them when it was checked. |
Use at your own risk: this is unsigned kernel code. Keep the original kexts around so you can roll back.
The list comes from devices.txt, the single source of truth (it generates the driver table and the Info.plist personalities).
Product IDs with vendor 0x8087: 0025 0026 0029 0032 0033 0035 0036 0038 07dc 0a2a 0a2b 0aa7 0aaa.
An ID that is not in the table is rejected instead of being silently treated as Gen2. To add a chip: one line in devices.txt
(plus its firmware in fw/ if needed) and rebuild. In practice only the Gen3 path (AX210) has been exercised.
- Download the zip from Releases (or build it, see below):
…-AX210.zipcontains only the AX210/AX211 firmware (≈0.6 MB);…-full.zipcontains every firmware (≈11 MB). - Copy
IntelBTUnified.kexttoEFI/OC/Kexts/. - In
config.plist→Kernel → Add: removeIntelBluetoothFirmware,IntelBTPatcherandBlueToolFixupand add this one after Lilu. Loading them together would apply the patches twice. - Reboot and check:
ioreg -rc IntelBluetoothFirmware | grep fw_name→ibt-0041-0041.sfion an AX210 ((already running)if the chip kept its firmware across a reboot without a power cycle; that is normal).system_profiler SPBluetoothDataType→State: On.ioreg -c IntelBTUnified -r→ the Lilu plugin is active (VersionInfo).
| Argument | Effect |
|---|---|
-ibtoff |
Disables the plugin (patches). -ibtcompatoff and -btlfxoff also work. |
-ibtupatchoff |
Disables only the IntelBTPatcher part (the HCI hook that sends the random BLE address). Needed with ForbiddenItlwm's BTLEAdvFixup (see below). |
-ibtubluetooloff |
Disables only the BlueToolFixup part (the BlueTool/bluetoothd patches and the pagein eviction). Third-party Bluetooth does not work on macOS 12+ without those patches, so use it only for diagnosis or when another kext applies them. |
-ibtdbg |
Debug logging (-ibtcompatdbg, -btlfxdbg). |
-ibtbeta |
Allows macOS newer than the declared maximum (-ibtcompatbeta, -btlfxbeta). |
-btlfxboardid |
Patches the board-id in BlueTool/bluetoothd (macOS 14+). |
-btlfxallowanyaddr |
Skips the "same address as the internal module" check (macOS 12.4+). |
-btlfxnvramcheck |
Skips the internal-controller NVRAM check (macOS 14 or earlier). |
-ibtnoevict |
Does not evict patched pages before a pagein (see below). Only for diagnosis: brings back the bluetoothd crash loop. |
-ibtnorevalidate |
Does not validate patched pages with their original bytes (see below). Only for diagnosis: leaves bluetoothd exposed to the "Code Signature Invalid" kills described below. |
ForbiddenItlwm's BTLEAdvFixup.kext hooks the same function as the IntelBTPatcher
part (IOUSBHostDevice::deviceRequest), and Lilu panics if two plugins hook the same function. To use both:
- Add
-ibtupatchoff:BTLEAdvFixuptakes over that part's job. Add ForbiddenItlwm's own flags too: from ForbiddenItlwm 0.7.0 only-btleadv, because its-itlawdl…set is on by default; older releases need the whole set (see its BOOT-FLAGS). - In
Kernel → Add, putIntelBTUnified.kextbeforeBTLEAdvFixup.kext.BTLEAdvFixupmust load after the BlueToolFixup patches, which this kext applies. - After rebooting,
ioreg -l -w0 -d1 | grep '"BTLEAdvHookRouted'must show1. - Before updating macOS, boot once without
-btleadv. If the update still fails, also disableBTLEAdvFixupand add-ibtubluetoolofffor the update (ForbiddenItlwm's guide asks the same ofBlueToolFixup). - Use
BTLEAdvFixup0.9.9 (ForbiddenItlwm v0.7.0-beta.1), or 0.9.8 only with the boot-argkeepsyms=1(0.9.8 can panic at boot without it). 0.9.9 has an open panic when another Lilu plugin hooks_apfs_vnop_verify;-btleadvnoapfsavoids it at the cost of its APFS fix (ForbiddenItlwm #121). From 0.9.8 it also has the revalidation protection forbluetoothd(see below). Its hook wraps this kext's (it loads later inKernel → Add) and hands the original bytes back before calling ours, so the two should coexist; they have not been tested together yet (on this Mac:BTLEAdvFixup0.9.4).
Tested on an Intel AX210 with macOS 26.7.3 (Tahoe): IntelBTUnified 1.2.0 with ForbiddenItlwm 0.7.0-beta.1 and BTLEAdvFixup 0.9.4
(boot-args debug=0x100 keepsyms=1 msgbuf=1048576 -ibtupatchoff -btleadv). It boots without a panic and bluetoothd stays up.
BTLEAdvFixup's hooks are active, awdl0 is up and ForbiddenItlwm's AirDrop scheduler is on. This kext's counters are published
(Evictions 2 within the first minutes) and an A2DP headset connects. 1.1.0 was tested the same way with ForbiddenItlwm 0.6.0-beta.4
(and its -itlawdl… set). Another user reports 1.1.0 working on an AX210
(#2). Long-term stability is not confirmed yet: each kext
works around the APFS crash loop described below in its own way (this one evicts pages before a pagein, BTLEAdvFixup hooks
apfs_vnop_verify), and both are active at once. ForbiddenItlwm's own guide supports only
IntelBluetoothFirmware + BlueToolFixup + BTLEAdvFixup.
Note on BLE pairing: ForbiddenItlwm's INSTALL.md says IntelBTPatcher/IntelBTUnified carries the fix for pairing new BLE mice and
keyboards on Tahoe. This kext does not have it (neither does upstream's IntelBTPatcher 2.5.0). With BTLEAdvFixup + -ibtupatchoff
BTLEAdvFixup provides that fix; without BTLEAdvFixup, a new BLE mouse or keyboard may not finish pairing on Tahoe
(OpenIntelWireless/IntelBluetoothFirmware#514).
The kext's messages do not show up in log show; only in sudo dmesg. The default buffer (128 KB) fills up quickly; add the
boot-arg msgbuf=1048576. Look for ibt, ibtp, btlfx and IntelFirmware. The start (IntelBTPatcher=1 BlueToolFixup=1) line
shows which parts are enabled. You should see ibtp: routed __ZN15IOUSBHostDevice13deviceRequest… (unless -ibtupatchoff)
and btlfx: patched /usr/sbin/bluetoothd: … lines (unless -ibtubluetooloff).
The protections also keep counters on the plugin's registry service, so you can check them without sudo dmesg:
ioreg -rc IntelBTUnified | grep -E '"(PatchedPages|Evictions|Revalidations|RevalidationFailures)"'PatchedPages is the number of patched pages recorded; Evictions, pages evicted before a pagein; Revalidations, pages validated again
with the patches in place and checked against their original bytes; RevalidationFailures, those that still failed validation.
They are updated when they change, so they may not appear until the first event.
You only need the Command Line Tools (no Xcode), git, python3 and make.
make deps # clone MacKernelSDK and Lilu (commits pinned in the Makefile) into deps/
make FW="ibt-0041-*" # AX210/AX211 firmware only → build/IntelBTUnified.kext
make clean; make # every firmware
make DEBUG=1 # with DBGLOG
make dist # builds dist/IntelBTUnified-<version>-{AX210,full}.zipRun make clean when you change FW. To pick another firmware, FW takes space-separated glob patterns
(ls fw/ lists the files; the ibt-XXXX-YYYY name comes from the log: Found device firmware …).
- HCI patch (IntelBTPatcher): it only acts on HCI commands from the Intel controllers in
devices.txt(it used to inspect requests from any USB device); the random BLE address is generated per boot (it was a constant shared by every machine); lengths are validated (underflow inwLength - 3); atomic state; no descriptor leak; macOS ≤ 11 support removed. The extra HCI command (random address) now waits at most 1 s even if the original request had no timeout. bluetoothd/BlueToolpatches (BlueToolFixup): the same ones, and each logs a line the first time it is applied, so a pattern that stops matching after a macOS update shows up instead of failing silently.bluetoothdcrash loop (Bluetooth turning itself on and off): the patches are written into the file's page cache, andbluetoothd/BlueToolare compressed on the sealed system volume in 64 KB chunks whose hash APFS checks on every pagein. With a patched page still resident and a neighbour in the same chunk evicted, the pagein fails (compressed data hash mismatch),bluetoothddies withSIGBUSand launchd restarts it over and over. Upstream BlueToolFixup has the same problem. The kext now hooksvnode_pageinand evicts the patched pages of the chunk first; they are re-read and re-patched when next used.bluetoothd"Code Signature Invalid" (new, not reproduced here): macOS can validate again the signature of abluetoothdpage that is still resident with the patches applied; the bytes do not match the signature and macOS killsbluetoothdwith "Code Signature Invalid" (Invalid Page), over and over. It happens after many hours of uptime. ForbiddenItlwm found it (#62): in one user's reports, 5 of 20 deaths were on BlueToolFixup pages, the same patches this kext applies;BTLEAdvFixupfixed it in 0.9.8. The kext now keeps the original bytes of every patched page ofBlueTool/bluetoothd; if a recorded page is validated with exactly the patched bytes, it is validated with its original bytes and patched again afterwards. It is a different problem from the APFSSIGBUSloop above (which is fixed by evicting pages before the pagein) and the two protections complement each other.-ibtnorevalidatedisables only this one.- Firmware driver: a leaked
IOMemoryDescriptoron every successful bulk write;start()error paths (PMstop, closing the device, the wrongstop(this)call); a leaked reference onfw_name; chip generation now taken fromdevices.txt; the uncompressed firmware size is stored when packaging instead of assuming 4×; its own_start/_stopremoved, which overrode the ones fromlibkmod. - Packaging: a single bundle and a generated
Info.plist; reproducible builds without Xcode.
devices.txt chip table (single source of truth)
src/IntelBTUnified.cpp Lilu plugin: HCI patch + bluetoothd/BlueTool patches
src/driver/ IOKit driver and Intel protocol (Gen1/2/3), derived from IntelBluetoothFirmware
fw/ .sfi/.ddc firmware (Linux linux-firmware, license in licenses/)
scripts/ generators for Devices.h, Info.plist, FwBinary.cpp and kmod_info
Makefile build with clang + MacKernelSDK + Lilu headers
- IntelBluetoothFirmware / IntelBTPatcher — zxystd and OpenIntelWireless (GPL‑3.0).
- BlueToolFixup — Dhinak G and acidanthera.
- Lilu and MacKernelSDK — acidanthera.
- Intel firmware: redistributable under
licenses/iwlwifi-firmware.txt.
This project is distributed under GPL‑3.0‑only (LICENSE), inherited from the original projects.
Each source file keeps its original authorship header.