bluesync is a simple Shell utility that syncs Bluetooth Link Keys between a Windows and Linux dual-boot setup. It extracts paired device keys from the Windows registry and applies them in your Linux environment, allowing seamless Bluetooth pairing without re-authentication.
- Extract Bluetooth Link Keys from Windows NTFS partitions
- Apply keys to Linux for seamless dual-boot pairing
- Clean, lightweight Shell implementation
- Supports MAC address normalization
Install the following dependencies:
sh— standard POSIX shellntfs-3g— to mount Windows driveschntpw— to read Windows registry hivesbluez(optional) — for Bluetooth support and restarting the service
Install with:
sudo pacman -S ntfs-3g chntpw bluezyay -S bluesyncgit clone https://github.com/anuvindap/bluesync.git
cd bluesync
makepkg -sigit clone https://github.com/anuvindap/bluesync.git
cd bluesync
sudo install -Dm755 bluesync /usr/bin/bluesynccurl -o bluesync https://bluesync.guywithxm5.in/bluesync
chmod +x bluesync
sudo install -Dm755 bluesync /usr/bin/bluesyncRun the tool with:
sudo bluesync -d <windows-disk-name> -m <bluetooth-mac-address>Example:
sudo bluesync -d sda3 -m 80:99:E7:08:0C:92| Flag | Description |
|---|---|
-d |
Your Windows drive name (e.g., sda3, nvme0n1p4) |
-m |
MAC address of the Bluetooth device you want to sync (format: XX:XX:XX:XX:XX:XX) |
The script will:
- Mount the specified Windows partition
- Extract Bluetooth link keys from registry
- Apply them to your Linux Bluetooth config
- Optionally restart the Bluetooth service
If installed manually:
sudo rm /usr/bin/bluesyncIf installed via makepkg, use:
sudo pacman -R bluesyncThis project is licensed under the GNU General Public License v3.0 (GPLv3).
Found a bug or want to suggest a feature? Open an issue or create a pull request. Contributions are always welcome!
Created with ❤️ by Anuvind A P