Jump to content

Patch enabling Handoff for non Apple BT4 devices.


  • Please log in to reply
129 replies to this topic

#1
luki1979

luki1979

    InsanelyMac Geek

  • Donators
  • 214 posts
On some other forums people claiming to enable Handoff for BT4 USB dongles with this Clover kext patch:

Credit to Dokterdok.

<dict>
<key>Comment</key>
<string>Handoff Fix</string>
<key>Find</key>
<data>i4eMAQAA</data>
<key>Name</key>
<string>IOBluetoothFamily</string>
<key>Replace</key>
<data>uA8AAACQ</data>
</dict>

If no joy try:
Find: 8B878C010000
Replace: B80F00000090

Below new patch from dokterdok:

Hello,
Here below is a refreshed patch that allows 3rd party Bluetooth 4.0 LE devices to work with Continuity, now on OS X 10.10.2 beta as well as the previous versions.
Filename: IOBluetoothFamily
Find: 48 85 C0 74 5C 0F B7 48
Replace: 41 BE 0F 00 00 00 EB 59
A few notes:

  • You don't need to apply my previous Handoff binary patch to make this one work
  • You need Broadcom Wi-Fi hardware that runs with the Brcm4360 kext
  • The patch skips internal compatibility checks, and therefore might incorrectly flag Bluetooth 1/2/3 hardware as Continuity compatible (Handoff / Instant Hotspot)
  • After the patch is applied and your system rebooted, log out and log in iCloud on OS X. It can take a few minutes for your iOS device and system to do the Continuity handshake.
Non Clover guys:
Code:
# Patch IOBluetoothFamily for Instant Hotspot / Hand-off
sudo perl -i.bak -pe 's|\x8B\x87\x8C\x01\x00\x00|\xB8\x0F\x00\x00\x00\x90​|sg' /System/Library/Extensions/IOBluetoothFamily.kext/Contents/MacOS/IOBluetoothFamily

Edit. It does work for some USB and Wi-fi/BT4 combo cards.
You must add kext-dev-mode=1 to boot and sign out from your ICloud, after reboot sign in.


Confirmed devices working with correct smbios:
BCM94352 /AzureWave AW-CE123H combo card (this card is the one working the best with this patch)
Orico BTA-402 USB BT Adapter firmware 8891 (confirmed on macbook pro smbios and BCM4322 but Hotspot unreliable )
USB devices with 20702A3 chip but only with Broadcom 943xx Wi-Fi and mainly on MacBook smbios
BCM20702 Internal cards based on 20702A3 firm.v14 c4096 confirmed to work


EDIT 2
I just got Orico BTA-402 and it doesn't work for me on MacPro 3.1 smbios and Atheros 9280. Conclusion is that your smbios probably should be white listed for handoff and perhaps you also need Broadcom Airdrop compatible Wi-Fi card

EDIT 3
It seems that people using MacBook Pro smbios got lucky with this patch

Edit 4

White list argument is invalid, handoff works even on Mac Pro 3,1 with corect Wi-Fi/BT4 card

If you got it working please post name of your device, chipset and firmware from System Report and please state what smbios you using (e.g. MacPro 6.1) and your Wi-Fi card.
Many thanks

#2
ADHDMedia

ADHDMedia

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 664 posts
  • Gender:Male
  • Location:Modesto, CA, USA

Nope.  Matter of fact, it killed my Bluetooth altogether.  Where'd you see that someone got it working?  I haven't seen that at all.  Only working fix I've found is buying all new hardware.  



#3
luki1979

luki1979

    InsanelyMac Geek

  • Donators
  • 214 posts

On Russian forums ppl posted actual pictures of this patch working. I can't speak Russian so didn't quite get all the conversation just the code. It doesn't seem to be any good for me.

 

Ps. Try using kext-dev-mode=1 flag. 



#4
lisai9093

lisai9093

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 230 posts
  • Gender:Male

can you post the original thread?

 

Update: I can see the handoff toggle after the patch, but without any functionality. Still trying.



#5
Austere.J

Austere.J

    InsanelyMac Protégé

  • Members
  • PipPip
  • 55 posts
  • Gender:Male

It is better to post the original thread link.

 

The Handoff toggle appeared without any functionality.

System log shows that "Stopping Handoff scanning", which is different from a real Mac.

 

FYI: My USB Bluetooth Adapter is BTA-402 (CSR chip)

The following attachment is the log from Console.

Attached File  Snip20141106_2.png   551.23KB   75 downloads

 

Update: Instant Hotspot also doesn't work.



#6
lisai9093

lisai9093

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 230 posts
  • Gender:Male

I found the original post, it is:

https://applelife.ru...0.42443/page-10

 

Also, I can confirm this patch works on my bcm94352 combo cards. Handoffs now fully functional. One trick though, if you cannot use handoff after toggle it on, is to sign out and back in your iCloud account. Hope it helps. =D



#7
Austere.J

Austere.J

    InsanelyMac Protégé

  • Members
  • PipPip
  • 55 posts
  • Gender:Male

Update:

After signing out the iCloud Account and relog in, handoff works.

(CSR Chip, USB Bluetooth Adapter, BTA-402)



#8
luki1979

luki1979

    InsanelyMac Geek

  • Donators
  • 214 posts
Wow that's great guys. I think firmware plays the role too.
AustereJ is your bta-402 Orico brand?

What chipset and firmware you got showing in System Report?

So I can edit main post with devices confirmed working. Many thanks

#9
Austere.J

Austere.J

    InsanelyMac Protégé

  • Members
  • PipPip
  • 55 posts
  • Gender:Male

Wow that's great guys. I think firmware plays the role too.
AustereJ is your bta-402 Orico brand?

What chipset and firmware you got showing in System Report?

So I can edit main post with devices confirmed working. Many thanks

 

Yes, it is Orico band.

The following attachment is the System Report.

Attached File  Snip20141106_3.png   60.89KB   47 downloads

 

In general, my adapter is BCM4322 Wireless Adapter + Orico BTA-402 USB BT Adapter.

Handoff works fine. Instant hotspot partially works.

 

P.S

I can only find my cell phone in the Personal Hotspot part of wifi list.

When I tried to connect to my hotspot, the system returned an error message dialoge "Failed to enable Personal Hotspot on XXX".

Attached File  Snip20141106_5.png   33.52KB   35 downloads

After this dialoge, I can no longer find my phone in the wifi list, unless I restart the computer or replug in the BT adapter.

 

FYI, the console returns two error msgs when trying to activate and connect to the hotspot.

SDHotspotBrowser::sendMessage:toDeviceWithID:isRequest:messageID:error: Sending from device ID to destination = self-token:4DD0E6B6A0EC19DAF200EF56166D68BDAAC9FA4B30E5F8F8434C2D6926570739/mailto:<HERE IS Apple ID, hidden>, with identifier = C826436C-6C7E-4900-8822-6186D842316D, message = {
    HotspotBrowserMessageType = 0;
    HotspotMessageVersion = 1;
}, 
SDHotspotBrowser::retrieveTimerFired: Called handler with timeout error (identifier = 57CB89BD-26A9-4ECD-91A6-0671DEF63925)

and the console returns the following error msg when trying to find the phone:

SDActivityAdvertiser::continuity:didFailToStartAdvertisingOfType:withError: TetheringTargetPresence (The operation couldn’t be completed. (com.apple.identityservices.error error 200.))


#10
artur_pt

artur_pt

    InsanelyMac V.I.P.

  • Moderators
  • 6,231 posts
  • Gender:Male
  • Location:Portugal
  • Interests:TechManiaco

hello

 

nice discover

 

07/11/14 08:58:41,330 sharingd[381]: 08:58:41.330 : Device Capabilities (Handoff:YES, Instant Hotspot:YES, AirDrop:YES, Legacy AirDrop:YES, Remote Disc:NO)

 
BCM94352 HMB/AzureWave AW-CE123H
 
thanks 
 
good hack


#11
Muddy Mudskipper

Muddy Mudskipper

    InsanelyMac Protégé

  • Members
  • Pip
  • 28 posts

Doesn't seem to work with my Belkin F8T065bf Mini Bluetooth 4.0 Adapter.

 

Broadcom 20702A3 chipset.



#12
Onixs

Onixs

    Since 2007

  • Members
  • PipPipPipPipPipPipPip
  • 821 posts
  • Gender:Male
Nice find. Confirmed working here.

Thanks!

#13
luki1979

luki1979

    InsanelyMac Geek

  • Donators
  • 214 posts
Muddy mudskipper what firmware you got?

Onixs what device?

#14
Muddy Mudskipper

Muddy Mudskipper

    InsanelyMac Protégé

  • Members
  • Pip
  • 28 posts

Muddy mudskipper what firmware you got?

 

Maybe it's my System Profile? Using Mac Pro 3,1 at the moment.

 

I don't want to test another as I've recently got iMessage working.

Attached Files



#15
luki1979

luki1979

    InsanelyMac Geek

  • Donators
  • 214 posts
Same firmware as mine. On Russian forum guys get that stick working with newer firmware. I ordered Orico anyway. £5 phew. :)

#16
chlee

chlee

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts

BCM94352 worked 

 

Before patched

 sharingd[299]: 00:28:42.514 : Device Capabilities (Handoff:NO, Instant Hotspot:NO, AirDrop:YES, Legacy AirDrop:YES, Remote Disc:YES)

 

After patched

sharingd[295]: 00:33:09.221 : Device Capabilities (Handoff:YES, Instant Hotspot:YES, AirDrop:YES, Legacy AirDrop:YES, Remote Disc:YES)



#17
luki1979

luki1979

    InsanelyMac Geek

  • Donators
  • 214 posts

Nice 1 BCM94352 is a great card and now fully unlocked on Yosemite.



#18
mnfesq

mnfesq

    Emenef, Esquire

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,021 posts
  • Gender:Male
  • Location:Southern California

Nice!  It worked on my BCM20702 Bluetooth card.  (My laptop has separate slots for bluetooth and wifi.  Although I have two combo cards in my laptop, only bluetooth works in the bluetooth slot and only wifi works in the wifi slot.)  My wifi card is the BCM94322.

 

BTW, the code at the top did not work for me.  I had to use the following:

 

Find: 8B878C010000

Replace: B80F00000090

 

I can also confirm that I have received notifications in the dock about activities taking place on my phone.



#19
3square

3square

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 105 posts

awwww hell. doesn't work for me. even logged in and out of icloud

time to order another BT adapter

 

  Manufacturer: Broadcom

  Transport: USB

  Chipset: 20702A3

  Firmware Version: v14 c4096



#20
sefki

sefki

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts

GREAT! was waiting for this! ;)

 

Running Hackintosh on my HP 2570p, with 4352 for WIFI, and 20702A3 on FW v14 c5512 for Bluetooth. 
My Mainboard doesn't support combo cards.

 

Works for me!







1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

© 2016 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy