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 151 forks source link

CAT doesn't patch the IOBluetooth.kext in Yosemite because 'abort' after 'failed to disable the blacklist' #428

Closed Andrej-Antipov closed 2 years ago

Andrej-Antipov commented 6 years ago

Please include the following information.

11

Steps done to try to fix the issue:

I used a dirty hack and made a change in the script contitool.sh in section

Silent helper funcition that determines whether patching the file is appropriate

I changed the last 'echo' = '0' to '1'

if [ "${lmpVersion}" == "6" -a "${donglePresent}" == "1" -a ! -z "${brcmKext}" -a ! -z "${patchableFileOutput}" ]; then

check ok, go ahead with the patching

        echo "1"
    else
        #check didn't pass, patching would not be effective
        echo "1"
    fi

And the IOBluetooth.kext patch done anyway with normal installation of CAT But it is not good.

And yet I changed the section

Verifies if a USB Bluetooth dongle is active by comparing the internal Bluetooth controller info with the active Bluetooth controller info. ...

....

return the dongle status

if [ ! -z "${internalBtControllerId}" -a ! -z "${activeBtControllerId}" ]; then
    if [ "${internalBtControllerId}" != "${activeBtControllerId}" ]; then

in the last string changed '!=' to '==' don't ask me to confirm usb dongle... but it's never mind

Andrej-Antipov commented 6 years ago

After 'dirty hack' the continuity works because the IOBluetooth.kext has patched in the normal installation. 12

But ./contitool.sh -f still aborted yet anyway - needs fix in the script.

Andrej-Antipov commented 6 years ago

Now full discribe. On mainboard I isolate some pins of the combo wifi+bt connector to power off internal bluetooth 133 After that the variable bluetoothInternalControllerInfo disappears from PRAM and I manually add it value into PRAM 1a The CAT normal Installation won't work with this because don't find a dongle is plugged in. And I used the ./contitool.sh -f command to force this issue. It worked on 10.11 - 10.13 but in 10.10 it is not work because 1b Normal Installation in Yosemite looks that 2b After that we see no handoff 2d After my 'dirty hack' installation OK 4a And handoff is ok, and the PRAM variables set OK 4c But if the ./contitool.sh -f worked as expected it would not have to do this dirty hack with my respect