Skip to content

Latest commit

 

History

History
195 lines (146 loc) · 11.5 KB

README.md

File metadata and controls

195 lines (146 loc) · 11.5 KB

English | 中文(简体) | 中文(繁體) | Русский | 日本語 | Українська | 한국어 | Česky | Türkçe | Ελληνικά | Português
Attention: readme files are maintained by translators and may become outdated from time to time. For the newest info rely on the English version.

Galaxy Buds Client

An unofficial manager for Galaxy Buds devices

GitHub downloads count GitHub release (latest by date) License Platform

Key FeaturesDownloadHow it worksContributingCreditsLicense

Screenshot Screenshot

Key Features

Configure and control any Samsung Galaxy Buds device and integrate them into your desktop.

Aside from standard features known from the official Android app, this project helps you to release the full potential of your earbuds and implements new functionality such as:

  • Detailed battery statistics
  • Diagnostics and factory self-tests
  • Loads of hidden debugging information
  • Customizable long-press touch actions
  • Firmware flashing, downgrading (Buds+, Buds Pro)
  • and much more...

If you're looking for older firmware binaries, have a look here: https://github.com/timschneeb/galaxy-buds-firmware-archive

Download

There are several Linux packages available:

Get binaries for Windows in the release section. Please read the release notes before installation.

Download the desktop version here:

Download

Download the Android mobile version here (paid):

Get it on Google Play

Flatpak

Universal binary packages for all Linux distributions. The Flatpak version does not support autostart unless it is set up manually. You can use galaxybudsclient /StartMinimized to launch the app silently during startup.

Available for download on FlatHub: https://flathub.org/apps/me.timschneeberger.GalaxyBudsClient

flatpak install me.timschneeberger.GalaxyBudsClient

Download on Flathub

Note: Flatpaks are sandboxed. This application can only access ~/.var/app/me.timschneeberger.GalaxyBudsClient/ by default.

AUR package

An AUR package for Arch Linux maintained by @joscdk is also available:

yay -S galaxybudsclient-bin

winget

The Windows package is also available to install with Windows Package Manager (winget)

winget install timschneeb.GalaxyBudsClient

How it works

In order to use Bluetooth wireless technology, a device must be able to interpret specific Bluetooth profiles that enable Bluetooth devices to communicate efficiently with each other.

The Galaxy Buds define two Bluetooth profiles: A2DP (Advanced Audio Distribution Profile) for audio streaming/controlling and SPP (Serial Port Profile) for transmitting binary streams. Manufacturers often use this profile (which relies on the RFCOMM protocol) to exchange configuration data, perform firmware updates, or send other commands to the Bluetooth device.

Even though the A2DP profile is standardized and documented, the format of the binary data exchanged by this RFCOMM protocol is usually proprietary.

To reverse-engineer this data format, I started by analyzing the structure of the binary stream sent by the earbuds. Later on, I also disassembled the official Galaxy Buds apps for Android to gain more insight into these devices' inner workings. You can find some (incomplete) notes I took down below. Check the source code to get more detailed information on the structure of the protocol.

Galaxy Buds (2019) NotesGalaxy Buds Plus Notes

While taking a closer look at the Galaxy Buds Plus, I also noticed some unusual features, such as a firmware debug mode, an unused pairing mode, and a Bluetooth key dumper. I documented these findings here:

Galaxy Buds Plus: Unusual features

Currently, I'm looking into modifying and reverse-engineering the firmware for the Buds+. At time of writing I have created two tools to fetch and analyze official firmware binaries. Check them out here:

Firmware DownloaderFirmware Extractor

Stream head-tracking data in realtime from your Buds Pro using this script: timschneeb/BudsPro-Headtracking

Contributing

Feature requests, bug reports, and pull requests of any kind are always welcome.

If you want to report bugs or propose your ideas for this project, you are welcome to open a new issue with a suitable template. Visit our wiki for a detailed explanation.

If you are planning to help us translate this app, refer to the instructions on our wiki. No programming knowledge is required, you can test your custom translations without installing any development tools before submitting a pull request. You can find auto-generated progress reports for existing translations here.

If you want to contribute your own code, you can simply submit a plain pull request explaining you changes. For larger and complex contributions it would be nice if you could open an issue (or message me via Telegram @thepbone) before starting to work on it.

Credits

Contributors

Translators

Services

  • Cloudflare - Secures the backend APIs of GalaxyBudsClient and provided a Pro license

Assets

License

This project is licensed under GPLv3. It is not affiliated with Samsung nor supervised by them in any way.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR 
THE USE OR OTHER DEALINGS IN THE SOFTWARE.