Jump to content

Patch enabling Handoff for non Apple BT4 devices.


luki1979
 Share

130 posts in this topic

Recommended Posts

I just got new Orico stick and this patch doesn't work. Handoff with this patch on USB dongles only works for people using white listed smbios. 

 

  • MacBook Air mid-2011 model*.
  • MacBook Pro 2012 model
  • iMac 2012 model
  • Mac mini 2011 model*, 2014 model
  • Mac Pro 2013 model
  • iMac with Retina display
Link to comment
Share on other sites

I just got new Orico stick and this patch doesn't work. Handoff with this patch on USB dongles only works for people using white listed smbios. 

 

 

  • MacBook Air mid-2011 model*.
  • MacBook Pro 2012 model
  • iMac 2012 model
  • Mac mini 2011 model*, 2014 model
  • Mac Pro 2013 model
  • iMac with Retina display

I use iMac13,2 definitions and an USB Iogear gbu521. Patch didn't work for me.

  • Like 1
Link to comment
Share on other sites

Thanks for pointing that out.

Got the features marked "Yes" in Lenovo T420, but didn't test yet.

My WIFI is a BCM94322HM8L which has to use AirPortBrcm4360 kext, otherwise it will not work.

Bluetooth card is from Lenovo T530.

(Bluetooth Daughter Card 60Y3305 60Y3303 Lenovo T530 T430 X230I X230)

Link to comment
Share on other sites

It's hit-and-miss to me. Sometimes it shows up, sometimes it won't, no matter how I try...

 

+1 with BCM4352. My card seems to have issues too with BT connections. While I have three x "yes", actual features functioning with the patch is....well patchy.

Link to comment
Share on other sites

I have an IOgear dongle pluged in USB3, and after applied the patch does not work for now, this is my hardware:

 

Hardware Overview:

 

  Model Name: iMac

  Model Identifier: iMac13,2

  Processor Name: Intel Core i7

  Processor Speed: 3.50 GHz

  Number of Processors: 1

  Total Number of Cores: 4

  L2 Cache (per Core): 256 KB

  L3 Cache: 8 MB

  Memory: 16 GB

 

 Apple Bluetooth Software Version: 4.3.0f10 14890

  Hardware, Features, and Settings:

  Name: Alex Network

  Address: 00-02-72-DA-23-63

  Bluetooth Low Energy Supported: Yes

  Handoff Supported: No

  Instant Hotspot Supported: No

  Manufacturer: Broadcom

  Transport: USB

  Chipset: 20702A3

  Firmware Version: v14 c4096

  Bluetooth Power: On

  Discoverable: Off

  Connectable: Yes

  Auto Seek Pointing: On

  Remote wake: On

  Vendor ID: 0x0A5C

  Product ID: 0x21E8

  HCI Version: 0x6

  HCI Revision: 0x1000

  LMP Version: 0x6

  LMP Subversion: 0x220E

  Device Type (Major): Computer

  Device Type (Complete): Mac Desktop

  Composite Class Of Device: 0x380104

  Device Class (Major): 0x01

  Device Class (Minor): 0x01

  Service Class: 0x1C0

  Auto Seek Keyboard: On

 

 

  Software Versions:

  CoreWLAN: 5.0 (500.35.2)

  CoreWLANKit: 4.0 (400.35)

  Menu Extra: 10.0 (1000.33.2)

  System Information: 9.0 (900.9)

  IO80211 Family: 7.0 (700.52)

  Diagnostics: 4.0 (400.68)

  AirPort Utility: 6.3.4 (634.17)

  Interfaces:

en2:

  Card Type: AirPort Extreme  (0x14E4, 0x88)

  Firmware Version: Broadcom BCM43xx 1.0 (5.10.131.36.16)

  MAC Address: 00:1f:5b:b4:21:e4

  Locale: FCC

  Country Code: US

  Supported PHY Modes: 802.11 a/b/g/n

  Supported Channels: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 36, 40, 44, 48, 52, 56, 60, 64, 149, 153, 157, 161, 165

  Wake On Wireless: Supported

  Status: Connected

 

 
What am I doing wrong? do I have bad hardware? 
big tks
Link to comment
Share on other sites

Guys, it won't work with TP-Link cards as wi-fi or any other Atheros card. I tested myself.

With Atheros it will either kill bluetooth or just not work.

 

Alex Mac I've seen your hardware working but macbook pro smbios. It's all very confusing.  This patch is for people who got the hardware already just to try.

So far nobody except laptop users with Broadcom Wi-Fi confirmed USB dongles working.

 

Only 2 cards are natively supported for these new features BCM94331CD and BCM94360CD. I just ordered one and adapter for £20 shipped from China.

Link to comment
Share on other sites

Update:

logs from a real Mac:

14/11/9 1:18:38.450	sharingd[223]	13:18:38.449 : Stopping Handoff advertising
14/11/9 1:19:17.123	sharingd[223]	13:19:17.123 : Requesting credentials from bluetooth peer = <__NSConcreteUUID 0x7fae42c5ba70> 1FA575FE-0567-4BAE-914B-8758FB4D1759
14/11/9 1:19:17.124	sharingd[223]	13:19:17.123 : SDHotspotBrowser::sendMessage:toDeviceWithID:isRequest:messageID:error: Sending from device ID to destination = self-token:6FD6327913AE4959FF1E89ABDB4D1C90E1A0BD785D0AC738A408EBC3BD554AB5/mailto:xxx@xxx.com/*AppleID*/, with identifier = BC688132-EBE0-43E4-97EB-86906A24395B, message = {
    HotspotBrowserMessageType = 0;
    HotspotMessageVersion = 1;
}, 
14/11/9 1:19:19.509	sharingd[223]	13:19:19.509 : Received credentials for network = Admin's iPhone, channel = 6
14/11/9 1:19:34.236	sharingd[223]	13:19:34.235 : SDStatusMonitor::kStatusWirelessPowerChanged
14/11/9 1:21:38.030	sharingd[223]	13:21:38.030 : Starting Handoff advertising

logs from a computer with none Apple BT adapters:

11/12/14 16:44:52.979	sharingd[230]	16:44:52.976 : Starting Up...
11/12/14 16:44:52.990	sharingd[230]	16:44:52.990 : Device Capabilities (Handoff:NO, Instant Hotspot:NO, AirDrop:YES, Legacy AirDrop:YES, Remote Disc:NO)
11/12/14 16:44:56.080	sharingd[230]	16:44:56.080 : BTLE scanning started
11/12/14 16:44:56.081	sharingd[230]	16:44:56.080 : Scanning mode Everyone
11/12/14 16:44:56.083	sharingd[230]	16:44:56.083 : BTLE scanner Powered Off
11/12/14 17:21:38.044	sharingd[230]	17:21:38.043 : BTLE scanner Powered On
11/12/14 17:22:28.234	sharingd[230]	17:22:28.233 : Requesting credentials from bluetooth peer = <__NSConcreteUUID 0x7f8a2b452e00> 57CB89BD-26A9-4ECD-91A6-0671DEF63925
11/12/14 17:22:28.237	sharingd[230]	17:22:28.236 : SDHotspotBrowser::sendMessage:toDeviceWithID:isRequest:messageID:error: Sending from device ID to destination = self-token:4DD0E6B6A0EC19DAF200EF56166D68BDAAC9FA4B30E5F8F8434C2D6926570739/mailto:xxx@xxx.com/*AppleID*/, with identifier = 09AD7222-770A-4EC1-A298-E5CCE21790CC, message = {
    HotspotBrowserMessageType = 0;
    HotspotMessageVersion = 1;
}, 
11/12/14 17:22:58.242	sharingd[230]	17:22:58.241 : SDHotspotBrowser::retrieveTimerFired: Called handler with timeout error (identifier = 57CB89BD-26A9-4ECD-91A6-0671DEF63925)

I tried to use the instant hotspot function on a real Mac. ( 2014 RMBP ) And here are some my findings.

It seems that iPhone will verify the vendor ID of Bluetooth adapter to make sure the remote computer has permissions to activate the Personal Hotspot on iPhone. ( I guess)

When I try to activate the hotspot, logs in Console.app show that my computer is requesting a credential or a certificate from my iPhone. After that iPhone will soon respond to a real Mac (or an Apple BT Adapter) and then the real Mac receive the certificate (including SSID, hotspot password, hotspot channel, etc.) and connect to the hotspot successfully.

However, my Hackintosh (or my CSR BT) is still waiting for the certificate and after a certain period of time, the system returns timeout error log and I will see a dialogue that Failed to connect to the hotspot, please make sure your cell phone is in range.

Since Apple reads the subsystem-id and vendor-id directly from the hardware via some methods like kext?, I guess we can solve this problem by editing codes ( just like the patch you find ) to always return Apple's vendor id no matter what BT the system is reading.

Later I will post the logs from Console.app. ( logs have already been updated)
That's my some simple findings.

  • Like 3
Link to comment
Share on other sites

post-255812-0-38841800-1416003822_thumb.pngpost-255812-0-36006900-1416003841_thumb.png

 

GMYLE working with the patch in combination with BCM94352. The BT on the combo card has been disabled as I got fed up with the unreliability. Dongle features working well including instant hotspot and airdrop between iOS (on a 4G enabled iPad Mini 2) and Mac and vice versa. Handoff in applications working well. I don't though have a recent iPhone to test the calling capabilities. Also the dongle is giving me much better BT connection than the BT part of the combo card ever did....

 

Note:

The wifi card has the cosmetic patch for Airport Extreme as well as the 5GHz fix.

  • Like 2
Link to comment
Share on other sites

 Share

×
×
  • Create New...