dokterdok / Continuity-Activation-Tool

An all-in-one tool to activate and diagnose macOS 10.10-12 Continuity on compatible Mac configurations.
MIT License
1.6k stars 152 forks source link

Fix for Mojave #470

Open rphoover opened 4 years ago

rphoover commented 4 years ago

A proposed fix for Mojave is attached. The basic issue is that the code in the shell script only looks for versions of macOS up to High Sierra. The proposed changes add support up to Mojave.

contitool.tar.gz

ellatris commented 4 years ago

How to install it to Mojave? Thank you

rphoover commented 4 years ago

Replace the file "contitool.sh" located in the "Continuity Application Tool" application with the one located in "contitool.tar.gz" posted above. To gain access to the folders in the "Continuity Application Tool" application, right-click on that application and select "Show Package Contents". From there go into the "Contents/Resources". From there, you can replace the old "contitool.sh" file with the new one. Once replaced, you can run the "Continuity Application Tool" just as normal.

When the application is running, option 1 is the one to use that performs the modification of the files required to enable Continuity. For me, it has worked well with Mojave. You may need to log out of iCloud and then log back in to get it working. The first item that seems to work for me is "AirDrop". Getting iPhone handoff to work with an iPhone or iPad seems to be a bit more finicky, but once working it seems solid.

Hope this helps.

rphoover commented 4 years ago

For those who want the updated "Continuity Application Tool" application that can be run on Mojave, download the attached file that is a Continuity Activation Tool.zip zipped version of the updated application.

ellatris commented 4 years ago

Thank you!! i hope it works

ellatris commented 4 years ago

I got an error back ktext backup failed? 😅😢

rphoover commented 4 years ago

I have not had that message. If you run option 2, diagnostics, does it show that SIP is disabled? updated the post above to indication option 1 is for activating continuity. Note that I am using a modified MacBook with the newer wireless module that supports BlueTooth LE and not an external USB BlueTooth dongle.

ellatris commented 4 years ago

Okay, thank you. I'm using a dongle. hehe

rphoover commented 4 years ago

If you have the part number for the dongle to try, just pass that on and I will try to get one for testing.

ellatris commented 4 years ago

I've got this TP-Link UB400 ABD2F435-D134-4674-B952-369D4AD248CC

Thank you so much!

rphoover commented 4 years ago

I have a couple of different BT 4 USB dongles on order for testing. It looks like the TP-Link UB400 will not work because it does not have a Broadcom BCM20702 Bluetooth module for the underlying hardware. If you can find information that the UB400 uses the BCM20702, I will order one. The two I have on order are: Kinivo BTD-400 and GMYLE Bluetooth 4.0 Broadcom Chip Dongle Adapter. After some testing, I will let you know what I find.

ellatris commented 4 years ago

i remember it worked when i tried it under Yosemite., I can't find any reviews about tp-link i think it was using a Qualcomm chip not sure. Sorry for that!

rphoover commented 4 years ago

An Asus USB-BT400 module and Kinivo BTD-400 module arrived this evening. Both have a BCM20702 Bluethooth module based on looking at "System Information -> USB" to see what hardware is loaded. With the patch installed on Mojave for the Bluetooth dongle, Continuity works. The Continuity-Activation-Tool recognizes each dongle during installation when one is plugged in. Both were tried on a MacBook Pro 2011 17" that has the original BlueTooth module and the USB modules work. When the GMYLE module arrives later this week or next week, I will post the results here. So, it looks rather promising.

robog0bo commented 4 years ago

I could never get the Asus BT400 to work consistently. I think handoff worked sometimes, but clipboard and watch unlock never. I had to install a new internal card in the end.

davidesantacolomba commented 4 years ago

For those who want the updated "Continuity Application Tool" application that can be run on Mojave, download the attached file that is a Continuity Activation Tool.zip zipped version of the updated application.

Hello rphoover, nice to meet you. I write to you because have a problem with CAT. My macbook is late 2011 and I use Mac OS Sierra and the last version of continuity activation tool (and a bluetooth dongle 4.0) to make Airdrop in my mac works fine. Since that I update my firmware to Mac OS Sierra 10.13.6 (about days ago), airdrop works fine at the same, but the bluetooth has a little problem. When I connect my bluetooth headphones they work fine with any application except 'google meet' or 'Skype': when I open Skype or Google meet to partecipate at any call my headphones disconnected suddenly. I've tried to uninstall and reinstall CAT, to use other headphones, but the problem exists again. When I uninstall CAT, instead, bluetooth work fine always. How can I fix this problem? Maybe the cause is that the tool CAT is not updated enough?

In waiting for your news, I thank you Best Regards

Davide Santacolomba

rphoover commented 4 years ago

Hello Davide, I am not sure how you would fix the problem you are encountering with Skype or Google meet. I do know that the dongle solution is not as robust as replacing the Bluetooth / WiFi module in the computer, which is what I have. I am also running on Sierra most of the time, but have used Mojave too. Both work reasonably well.

davidesantacolomba commented 4 years ago

Hello Davide, I am not sure how you would fix the problem you are encountering with Skype or Google meet. I do know that the dongle solution is not as robust as replacing the Bluetooth / WiFi module in the computer, which is what I have. I am also running on Sierra most of the time, but have used Mojave too. Both work reasonably well.

Hello Rphoover,

Thank you for your answer at the same. Maybe with a reset of Mac it will be work then. Goodbye Davide

rphoover commented 4 years ago

I just tried my BT headset with Google meet and it worked fine with no dropouts or disconnects. I am running Sierra on an early 2011 17" MacBook Pro with the BT / WiFi module updated inside the MacBook for support with Continuity.

splaquet commented 3 years ago

Would this also work for Catalina?

rphoover commented 3 years ago

The update has not been tested on Catalina. So, it is not known if it will work.

hornetswilliams commented 3 years ago

Hi @rphoover and thank you for investing time and resources into this. Have you changed anything else from the original file? I'm having same problem than before: infinite bootloop after install... Here's a MacBook pro 5,3 running Mojave thanks to dosdude1 patcher with a bluetooth dongle. Wondering if some of the modifications any of the patches do are the cause of the issues... Even though CAT is giving me an OK in every step. Any idea what might be wrong here? Thanks in advance

rphoover commented 3 years ago

Hello, I have two 2011 MacBook Pros running with the embedded 2012 WiFi module and they both work well. One of them is running Mojave. Note that Mojave upgrades are somewhat of a headache because it is wise to uninstall Continuity before performing the upgrade. After the upgrade completes and all is working, then use dosdude1 patcher to get everything working there. This usually takes two or more reboots to complete. After that, you should be able to install Continuity.

I also have one 2011 MacBook Pro running High Sierra with a Bluetooth dongle, but have not had problems with that configuration since it does not need the dosdude1 patcher.

Does anyone have a mid-2009 MacBook Pro to check out Continuity with?

yousrialali commented 3 years ago

Hi rphoover, Great work you are doing, We really appreciate you time and effort. I got a mid-2009 MacBook Pro with Mac os Catalina, Asus BT400 bluetooth dongle. Look at the result of running CAT with this specs below. I hop it is helpful for you. I will try Mojave tonight and High Sierra tomorrow, I'll feed you the out come as soon as I'm done.

1- CAT Bata: after entering password it doesn't open terminal.

2- CAT v2.0.0: this message comes up “Continuity Activation Tool” is damaged and can’t be opened. You should move it to the Trash.

3- CAT v1.1.2 doesn't work. Find the outcome below: --- OS X Continuity Activation Tool 1.1.2 --- by dokterdok

Select an option:

1) Activate Continuity 3) Uninstall 2) System Diagnostic 4) Quit

? 2

--- OS X Continuity Activation Tool 1.1.2 --- by dokterdok

--- Initiating system compatiblity check ---

Verifying Mac model reference... WARNING. The compatibility of this Mac Model (MacBookPro5,5) with this mod is unknown and may have unpredictable results Verifying OS X version... Warning: This hack wasn't tested with OS X versions higher than 10.10. Detected OS version: 10.15.7 Verifying Bluetooth version... NOT OK. Your hardware doesn't support Bluetooth 4.0, necessary for Continuity. Current LMP Version=6 6 4, expected 6. Verifying Mac board-id... OK. Short board id detected: Mac-F2268AC8 Verifying active AirPort drivers... OK. Broadcom AirPort driver Brcm4331 is currently active Verifying OS kext protection... OK. Kext developer mode is not active. This tool can fix this. Verifying kexts readability... OK. Wi-Fi and Bluetooth kexts were found and could be read Verifying Bluetooth blacklist status... OK. Warning: Blacklist not found in the Bluetooth drivers. An OS X update might have made this hack useless. However, your Mac model shouldn't need to be removed from that blacklist. Verifying Wi-Fi whitelist status... OK. Your board-id is not yet whitelisted. This tool can fix this. Verifying old Wi-Fi kext presence... OK. Old Wi-Fi driver AirPortBrcm4331.kext is present. This tool can fix this.

Press any key to go back to the main menu...

yousrialali commented 3 years ago

Helo @rphoover , I tried CAT on MacBook Pro mid-2009 Mojave & High Sierra with dosdude1 patcher, the tool installed but put the Mac into a restart loop. I tried to repair the desk in Mojave restarted normally but Continuity didn't work. As for High Sierra I got it out of restating loop but non of the peripherals works (Keyboard, Touchpad, nor USB ports), only the start button works. That was the results of my experiment, can you help with this? do you have any suggestions?

rphoover commented 3 years ago

hornetswilliams above also tried a mid-2009 MacBook Pro but had issues. I have only tried running on 2011 MacBook Pro computers and have had reasonable luck with them. Unfortunately, I do not have a mid-2009 MacBook Pro to try out your scenario on. Based on the symptoms you are describing, it sounds like some sort of driver overwrite problem. Have you tried using Continuity to restore your original drivers and see if the machine will then allow your peripherals to work?

hornetswilliams commented 3 years ago

I've given up on this... Tried some manual methods as well but no good results. It doesn't work or it goes on bootloop. Closest thing I've got to an explanation is that it seems that this particular AirPort card cannot be updated-rewritten, attempts resulting in bootloop. Found that information on macrumors forums, I can't find the specific comment now but it is buried somewhere in the macOS Mojave or Catalina on Unsupported Macs threads...

rphoover commented 3 years ago

Thanks for the post! I wish it were better news, but at least its an update for others.

MatthewB188 commented 3 years ago

Hello! I am trying to get the tool setup on my 2009 Mac Pro updated to 5,1 running 10.14.6. I have installed the AirPort Extreme card and Asus BT400. Using your tool it has gotten me through the setup process. I only begin to have problems when it asks me to reboot. On the boot up it takes a lot longer than usual (probably about 3x longer) then once it's up it says; "panic medic boot" and explains that a kernal extension is preventing the Mac from booting properly. When I go to general the handoff box is not there. I have disabled SIP. Am I missing something? Thanks.

rphoover commented 3 years ago

You are not alone. The 2009 Macbook Pro's have issues with Continuity.

MatthewB188 commented 3 years ago

Thanks for getting back. I actually have a Mac Pro (the big tower). That is updated to the 2010 firmware.

rphoover commented 3 years ago

Does anyone have a 2009 Mac Pro that they have tested Continuity on?

yousrialali commented 3 years ago

Can you help with updating the kext 2009 MBP Catalina dosdude1 patcher, this is the message Cleaning up old Wi-Fi kext... WARNING. Failed to delete the legacy Brcm4331 Wi-Fi kext. Continuing.

rphoover commented 3 years ago

You should be able to delete the driver, even if manually. Note that SIP must be disabled using csrutil before changing or deleting system files.

yousrialali commented 3 years ago

Hi guys, After exhausting experiments, I came up with CAT works with MBP Mid 2009 on Yosemite using Asus BT-400 dongle perfectly no glitches no hiccups. I tried many other methods automated and manual to get it to work on El Capitan, Sierra, High Sierra, Mojave, and Catalina non of them worked. unfortunately I am a system administrator not a programer, so I can't determine the problem exactly. I think the tool need to be updated to support other operating system. If there is any programer willing to help, I'll be more than happy to follow instructions to fix CAT to support MBP Mid 2009 on more os versions.

Plagg06 commented 2 years ago

Hello rphoover, I'd like to thank you for making this updated CAT because I have a MacbookAir4,2 (Mid 2011) with macOS Mojave, 10.14.6 patched with dosdude1's patcher and I finally got continuity to work on it thanks to you :)

rphoover commented 2 years ago

Thanks for letting me know you were successful.

maciboy commented 2 years ago

Hi all, any news for Catalina users? From what I read here, back in January there was no solution for Catalina, right?

rphoover commented 2 years ago

I have not tried Catalina, but it works on Mojave.

wsanjaya83 commented 2 years ago

Hi, I'm new here and also I juz found this thread yesterday.

I'm using 2011 17" MBP at Mohave, and tried to enable the handoff and air drop. While it is hard to find ASUS BT400 at my place, I read that at the few comment someone used TP Link UB400. It is work juz fine. Handoff and airdrop works after install the mod CAT that @rphoover uploaded.

I hope what I wrote here helps. Thx. DSC_1089 DSC_1090

SuperGotZa commented 1 year ago

Hi,

I just found this thread. I have a Mid 2010 Macbook pro. As per the CAT Compatibility Graph, I understand that only a compatible dongle would allow me to use the Continuity feature. Please suggest which dongle should I get that would work and which is the latest MacOS that's supported with it. Also if there is any other way to use continuity on it, please suggest.

TIA.