chntpw -e /media/windows/Windows/System32/config/SYSTEM
in chntpw:
cd ControlSet001\Services\BTHPORT\Parameters\Keys\{computer-bluetooth-mac}
hex {device-bluetooth-id}
Take the output of the hexdump, remove spaces and insert as-is in
/var/lib/bluetooth/{computer-bluetooth-mac}/{device-bluetooth-id}/info
As parameter Key
in LinkKey
section
Example info
file:
[General]
Name=Magic Trackpad 2
Class=0x000594
SupportedTechnologies=BR/EDR;
Trusted=true
Blocked=false
WakeAllowed=true
Services=00001124-0000-1000-8000-00805f9b34fb;00001200-0000-1000-8000-00805f9b34fb;
[DeviceID]
Source=1
Vendor=76
Product=613
Version=263
[LinkKey]
Key=<Insert hex key here>
Type=4
PINLength=0