digitalbirdo / bt-linkkeysync Goto Github PK
View Code? Open in Web Editor NEWScripts to synchronize bluetooth link keys from mac OSX to windows
License: MIT License
Scripts to synchronize bluetooth link keys from mac OSX to windows
License: MIT License
Hey @digitalbirdo,
Are you still supporting LinkkeySync? I read on a forum that instead of Link Keys, BT 4.0 devices actually use EDIV, IRK and LTK. I didn't test this because this whole process is too time consuming for the setting to be lost if something where to happen (if I need to re-pair the devices due to some issue).
Anyway, I'm at a loss on how to succeed on this endeavor of dual booting my 4.0 BT devices. Any assistance would be greatly appreciated!
Thank you.
Regards
Success, special thanks!
System is: OS X 10.11.6, windows 10; BCM94352HMB
Three devices to switch between dual systems can be used without re-pairing.
Device 1: Microsoft Sculpt Comfort Mouse
Device 2: philips 24in with Bluetooth audio display
Device 3: iphone SE
Dear ,
Thanks so much for your guide.
could you tell me how to use asus BT400 and apple keyboard to change OS on clover.
i install mac os 10.12 and windows 7 too.
I just made my BLE MS Designer mouse work on both Windows and macOS.
Steps are as follows:
HEllo
I have this error
blued.plist.zip
File "/Users/fabien/Desktop/BT-LinkkeySync.py", line 40, in
print(" Bluetooth 2.0: "+str(len(pl["LinkKeys"].keys()))+ " Links keys found")
KeyError: 'LinkKeys'
Thanks for your aid
I import btkeys.reg in windows but mouse still does not work. What is the reason.
I just did this manually and it was pretty straightforward.
From a paired device in Windows 10 (the Bose 700s, which interestingly support LE but were not paired by LE), I exported the link key data, changed the endianness to MacOS, then replaced this in the Mojave /private/var/root/Library/Preferences/com.apple.bluetoothd.plist
(I used a hex editor to find and replace the existing paired key with Windows').
The only gotcha was that I had to not only disable Bluetooth before modifying the plist
file, but also perform a system reboot before starting Bluetooth again. Otherwise, something was reverting the key change to the plist
file. I tried to see if I could figure out which specific service was doing this but didn't have any luck.
I appreciate that perhaps replacing the key on Windows is easier than the above but wanted to share that it is indeed possible nevertheless.
I've ran on 10.13 but the key has nothing in it.
therefore cannot import on windows
Is it possible to support Linux OS as well?
It does not work on my computer with macOS 12 Monterey, I can't find /private/var/root/Library/Preferences/com.apple.bluetoothd.plist.
get Bluetooth Link Keys from macOS and store it to blued.plist
convert exported list from binary to xml
parse the converted plist
Convert the Link Keys and store them to btkeys.reg
Traceback (most recent call last):
File "./BT-Linkkeysync.py", line 45, in
print(" Bluetooth 2.0: "+str(len(pl["LinkKeys"].keys()))+ " Links keys found")
KeyError: 'LinkKeys'
get Bluetooth Link Keys from macOS and store it to blued.plist
convert exported list from binary to xml
parse the converted plist
Convert the Link Keys and store them to btkeys.reg
Bluetooth 2.0: 1 Links keys found
Traceback (most recent call last):
File "./BT-LinkkeySync.py", line 52, in
f.write('\r\n"'+device.replace("-","")+'"=hex:'+ convertToWinRep(pl["LinkKeys"][adapter][device].data.hex()))
AttributeError: 'str' object has no attribute 'hex'
`
Script only export to the reg file 2.0 and 4.0 devices
BT-Linkkeysync by DigitalBird
get Bluetooth Link Keys from macOS and store it to blued.plist
convert exported list from binary to xml
parse the converted plist
Convert the Link Keys and store them to btkeys.reg
No Bluetooth 2.0 information available
No Bluetooth 4.0 information available
Registry file generated and ready for import
Please update for this device!
Any chance of updating this to work in Catalina?
In line 15 of the python script I would propose changing true into True, because otherwise you run into an syntax error if you change False against true. A simple-hearted as me made that experience ...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.