Skip to content

About

Intel Bluetooth on macOS for Eric-AirportItlwm: Sonoma 14, Sequoia 15 and Tahoe 26, BLE advertising and scanning, AirDrop/Instant Hotspot in development.

Topics

Resources

Stars

4 stars

Watchers

0 watching

Forks

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Eric-BlueToolFixup

Eric-BlueToolFixup

Intel Bluetooth LE for AirDrop and Instant Hotspot on macOS
Sonoma 14, Sequoia 15, Tahoe 26 and macOS 27 · x86_64 · a companion to Eric-AirportItlwm

Latest release In development Target macOS versions x86_64

简体中文


BlueToolFixup for the Bluetooth LE side of Eric-AirportItlwm. It works on macOS's bluetoothd to bring up the advertising and scanning that AirDrop discovery uses. Instant Hotspot also needs the phone's private address to work through the controller's filter list.

Status

Feature System Status
Extended LE advertising and scanning macOS 26 Tahoe 🧪 Patch bytes checked against two builds. Hardware validation of the current revision is pending.
Extended LE advertising and scanning macOS 15 Sequoia 🧪 Patterns adapted from the 15.8 series. End-to-end testing is pending.
Extended LE advertising and scanning macOS 14 Sonoma 🧪 Patterns adapted from 14.8.9 and checked against bluetoothd 14.6.1. End-to-end testing is pending.
Extended LE advertising and scanning macOS 27 🧪 Sites found in bluetoothd 27.2.1 and checked offline. End-to-end testing is pending.
Private-address connection for Instant Hotspot macOS 26 Tahoe, macOS 14 Sonoma, macOS 27 🧪 RPA address derivation checked offline on 25E246, 25G229, 14.6.1 and 27.2.1. Hotspot join and reconnect are pending.
APFS page-in fix for bluetoothd SIGBUS macOS 26 Tahoe, macOS 27 🧪 x86_64 Debug build verified. Hardware testing is pending.

Install

Download the Bluetooth kext from Eric-BlueToolFixup Releases. The x86_64 build is shared across the macOS versions listed for that release. Choose your Wi-Fi driver separately. For the project's AWDL test builds, see Eric-AirportItlwm Releases.

  1. Replace BlueToolFixup.kext in the EFI you boot. For a paired community test, use both kexts in that test ZIP.
  2. Keep Lilu and your Intel Bluetooth firmware configuration. Enable one BlueToolFixup.kext entry after Lilu in Kernel → Add.
  3. Boot from a test EFI and follow the package note for its boot arguments.

For Bluetooth-only use, install BlueToolFixup.kext after Lilu with your Intel Bluetooth firmware setup. BlueToolFixup runs independently of AirportItlwm. AirDrop transfers also need working AWDL over Wi-Fi.

Boot arguments

On the current source, BlueToolFixup tries the LE advertising, scanning, RPA and FastConnect A2DP patches by default when their signatures match. -itlawdl enables AWDL in AirportItlwm. The Bluetooth defaults apply independently. Follow the package note when using an older build.

Argument Effect
-btlfxa2dpcheck Re-enable the FastConnect A2DP Read Clock workaround with -btlfxnointel.
-btlfxadvsets Re-enable the LE advertising and scanning patches with -btlfxnointel.
-btlfxnodup With LE scanning patches active, disable controller duplicate filtering on matching Sonoma, Sequoia and Tahoe builds (experimental).
-btlfxrpa Re-enable the private-address filter-list patches with -btlfxnointel.
-btlfxnointel Turn off the default Intel patches. Individual switches can still enable their own paths.
-btlfxoff Turn off BlueToolFixup.

Reporting a problem

Start Collect-EricWirelessDiagnostics.command before reproducing and select Bluetooth device discovery. Include your Bluetooth controller, macOS build and what you saw. Send the ZIP privately if it includes a system binary. For AirDrop, say which device was sending and whether the other device appeared. Report Bluetooth problems in Issues.

Build

Use Xcode on macOS. Extract Lilu 1.7.2 Debug for its build headers and libraries. Run this from the repository root.

mkdir -p build
git clone https://github.com/acidanthera/BrcmPatchRAM.git build/BrcmPatchRAM
git -C build/BrcmPatchRAM checkout --detach 65389020769837e92e9fb939bac34bd9a3e25bb2
git clone https://github.com/acidanthera/MacKernelSDK.git build/BrcmPatchRAM/MacKernelSDK
git -C build/BrcmPatchRAM/MacKernelSDK checkout --detach 3f750085caa17ec3a7880f11c11bf4f48cd6a164
cp -R /path/to/Lilu.kext build/BrcmPatchRAM/
cp src/BlueToolFixup.cpp src/BtdRpaDerive.hpp build/BrcmPatchRAM/BrcmPatchRAM/
cd build/BrcmPatchRAM
xcodebuild -project BrcmPatchRAM.xcodeproj -target BlueToolFixup -configuration Debug \
  ARCHS=x86_64 CODE_SIGNING_ALLOWED=NO SYMROOT="$PWD/products" OBJROOT="$PWD/obj" build

The kext is in products/Debug/BlueToolFixup.kext in the build tree. The Release asset is built with -configuration Release GCC_GENERATE_DEBUGGING_SYMBOLS=NO and its binary is passed through strip -x, which removes debug information and local symbols and leaves the code unchanged.

Lineage

Acidanthera/BrcmPatchRAM → BlueToolFixup by Dhinak G → this project, with the BLE changes needed by Eric-AirportItlwm on Intel Bluetooth.

Credits

License

The BlueToolFixup base retains BrcmPatchRAM's GPL-2.0 license. Third-party patch references are credited at the relevant source sites.

About

Intel Bluetooth on macOS for Eric-AirportItlwm: Sonoma 14, Sequoia 15 and Tahoe 26, BLE advertising and scanning, AirDrop/Instant Hotspot in development.

Topics

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages