hekate icon indicating copy to clipboard operation
hekate copied to clipboard

[feature request] dump Bluetooth pairing keys for audio devices from HOS to import them to andorid/Linux

Open zekromisblack opened this issue 2 years ago • 10 comments

This would be a incredible feature for people like me who has earbuds and don't wanna have to repair them every time I switch my OS

zekromisblack avatar Jun 11 '23 01:06 zekromisblack

the bluetooth database do not include them?

impeeza avatar Jun 11 '23 03:06 impeeza

You can dump the hos title, https://gbatemp.net/threads/pairing-the-joy-con-on-emunand-and-sysnand.562519/, not sure if that's enough.

OrGoN3 avatar Jun 11 '23 13:06 OrGoN3

Wait one moment.

Since version 1.5.1, Atmosphère have a new setting enable_external_bluetooth_db = u8!0x1 on SD:/atmosphere/system_settings.ini file:

Once you enable that setting the first instance of atmosphère you run will copy the actual Bluetooth sync database to the file SD:/atmosphere/bluetooth_devices.db then on all instances of Atmosphère you run and if you set the value en on System_Setting.ini file will use the database on the dump file instead of the one on EmuMMC or SysMMC so, all your instances will share the same bluetooth database, including headsets and controllers.

And if you use MissionControl you can even spoof any mac from controllers synced with other consoles or PCs and you don't need to lose your sync with external devices.

More information on:

https://github.com/Atmosphere-NX/Atmosphere/releases/tag/1.5.1

impeeza avatar Jun 12 '23 01:06 impeeza

Wait one moment.

Since version 1.5.1, Atmosphère have a new setting enable_external_bluetooth_db = u8!0x1 on SD:/atmosphere/system_settings.ini file:

Once you enable that setting the first instance of atmosphère you run will copy the actual Bluetooth sync database to the file SD:/atmosphere/bluetooth_devices.db then on all instances of Atmosphère you run and if you set the value en on System_Setting.ini file will use the database on the dump file instead of the one on EmuMMC or SysMMC so, all your instances will share the same bluetooth database, including headsets and controllers.

And if you use MissionControl you can even spoof any mac from controllers synced with other consoles or PCs and you don't need to lose your sync with external devices.

More information on:

https://github.com/Atmosphere-NX/Atmosphere/releases/tag/1.5.1

that does not allow me to get the pairing keys from that database file, and i have no idea how its formatted in a hex editor

zekromisblack avatar Jun 15 '23 03:06 zekromisblack

its a dump of the HOS database, so you can look on Switchbrew page about that information.

impeeza avatar Jun 15 '23 16:06 impeeza