Skip to content

AmitRajput-Dev/SonyBridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

21 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

SonyBridge

An unofficial, open-source desktop app for Sony headphones โ€” Noise Cancelling, Ambient Sound, EQ, DSEE and battery, without the phone.


Build Release Downloads Stars License Platforms


Download for macOS Windows Beta Sponsor Donate via Razorpay


Features ยท Download ยท How it works ยท Contributing ยท Credits


SonyBridge connected to a WH-CH720N ย ย  SonyBridge disconnected state

Why

Sony locks headphone settings behind their mobile-only Sound Connect app. If you live on a laptop, you're stuck. SonyBridge talks to the headphones directly over Bluetooth RFCOMM using Sony's reverse-engineered binary protocol โ€” no phone required.

The original SonyHeadphonesClient only spoke Sony's first-generation protocol, so newer headsets (WH-CH720N, XM4/XM5, WF-series, LinkBudsโ€ฆ) just timed out on connect. SonyBridge adds full second-generation ("v2") protocol support, a native SwiftUI app on macOS, and a matching modern UI on Windows/Linux.

โœจ Features

  • ๐ŸŽš๏ธ Ambient Sound Control โ€” Noise Cancelling ยท Ambient Sound (0โ€“20 levels) ยท Off
  • ๐Ÿ—ฃ๏ธ Focus on Voice passthrough
  • ๐ŸŽ›๏ธ Equalizer โ€” presets and a full Manual mode with 5 bands + Clear Bass
  • โœจ DSEE โ€” Sony's audio upscaling for compressed sources
  • ๐Ÿ”‹ Battery level โ€” live percentage, including per-earbud + case for TWS models
  • ๐ŸŽง Codec & firmware readout
  • ๐Ÿงฉ Capability-gated extras โ€” Auto Power-Off ยท Speak-to-Chat ยท Adaptive Volume (only shown when your device supports them)
  • ๐Ÿ–ผ๏ธ Device hero image โ€” your headphones' official Sony product render
  • ๐Ÿ”„ Live button sync โ€” changes made on the headset reflect in the app
  • ๐Ÿ”Œ Auto-connect to your already-paired Sony headset
  • ๐Ÿงฌ Dual-protocol โ€” auto-detects and speaks either protocol generation
  • ๐ŸŒ‘ Modern UI โ€” dark, minimal, shaped after Sony's own app (SwiftUI on macOS, Dear ImGui on Windows/Linux)

๐Ÿ“ฅ Download

PlatformGet itNotes
macOS

brew tap AmitRajput-Dev/tap && brew install --cask sonybridge

or Download .app

macOS 11+ ยท Apple Silicon & Intel
Windows

Download Beta

๐Ÿงช Beta โ€” testers wanted
Linux

Build from source

GLFW/OpenGL build

๐Ÿ’ก After launching, connect your headphones in your OS Bluetooth settings first, then open SonyBridge and hit Connect. Keep audio playing โ€” Sony headsets drop the control link when idle to save power.

macOS install notes (Gatekeeper)

The app is ad-hoc signed (not notarized โ€” no paid Apple Developer account). The Homebrew cask clears the quarantine flag for you. For a direct download, allow it once:

xattr -dr com.apple.quarantine /Applications/SonyBridge.app

โ€ฆor right-click the app โ†’ Open โ†’ Open. Homebrew also asks you to trust the third-party tap the first time (brew trust AmitRajput-Dev/tap).

๐ŸŽง Supported headphones

Status Devices
โœ… Verified WH-CH720N, Sony ULT WEAR (WH-ULT900N)
๐ŸŸข Expected (v2, over-ear โ€” NC/Ambient/battery/EQ) WH-1000XM5, WH-1000XM6, WH-XB910N, WH-CH520
๐ŸŸก v2 earbuds (controls work; battery format differs) WF-1000XM4, WF-1000XM5, WF-C700N, LinkBuds S
๐Ÿ”ต Legacy (v1 protocol โ€” NC/Ambient only) WH-1000XM4, WH-1000XM3, WH-1000XM2, WH-XB900N, MDR-XB950BT

Only the WH-CH720N is fully hardware-verified. Others share the same protocol family, so the basics should work โ€” per-model quirks are untested. Reports and PRs for other devices are very welcome.

๐Ÿš€ Build from source

macOS (native SwiftUI app)

Requires Xcode 14+.

git clone --recurse-submodules https://github.com/AmitRajput-Dev/SonyBridge.git
open SonyBridge/Client/macos/SonyHeadphonesClient.xcodeproj

Then โŒ˜R.

Windows / Linux (Dear ImGui UI)

Windows (CMake + MSVC, from a Developer Command Prompt):

cd Client && mkdir build && cd build
cmake .. && cmake --build . --config Release

Linux (sudo apt install libbluetooth-dev libglfw3-dev libdbus-1-dev):

cd Client && mkdir build && cd build
cmake .. && cmake --build .

Keep the built binary next to its resources/ folder (device hero images load from resources/devices/).

๐Ÿ”ฌ How it works

Sony headphones expose a vendor RFCOMM/SPP service. Commands are framed as:

<START 0x3e> ESCAPE( <TYPE> <SEQ> <4-byte BE length> <PAYLOAD> <checksum> ) <END 0x3c>

Two protocol generations exist, distinguished by their SDP service UUID:

  • v1 โ€” 96CC203E-โ€ฆ โ€” WH-1000XM3 and older
  • v2 โ€” 956C7B26-โ€ฆ โ€” WH-CH720N, Sony ULT WEAR, XM4/XM5, WF-series, LinkBudsโ€ฆ

SonyBridge tries v1 first, falls back to v2, and remembers which succeeded. The v2 path adds the mandatory init handshake and per-frame host-ACK the newer devices require, plus battery, EQ and DSEE inquiry commands. Protocol byte layouts were cross-referenced against GadgetBridge's Sony implementation.

๐Ÿค Contributing

Contributions are very welcome โ€” especially device reports and testing on real hardware.

  • ๐Ÿ› Found a bug / have a device to report? Open an issue with your model and what happened.
  • ๐Ÿงช Want to test? Grab a release and tell us how it behaves on your headset (a screenshot helps a lot).
  • ๐Ÿ”ง Code? Fork, branch, and open a PR against main. CI builds macOS, Windows and Linux on every PR.

๐Ÿ™ Credits

SonyBridge builds directly on the work of:

  • SonyHeadphonesClient by Plutoberth, Mr-M33533K5 & contributors โ€” the original cross-platform client and protocol foundation
  • semvis123 โ€” the original macOS port
  • GadgetBridge โ€” reverse-engineered v2 protocol reference

Community contributors & testers:

  • @CrisProCrack โ€” WH-1000XM4 (v1) connect fix
  • @Sebsdnl โ€” Linux/Wayland crash fix & ULT WEAR support
  • u/More_Way_6784, @joelslaby โ€” WH-1000XM4 hardware testing

โค๏ธ Support

If SonyBridge is useful to you, consider supporting it โ€” it keeps the reverse-engineering going:

Starring the repo helps too. โญ

โš ๏ธ Disclaimer

This project is not affiliated with, endorsed by, or connected to Sony. It talks to your headphones using a reverse-engineered protocol, for interoperability. Use at your own risk.

๐Ÿ“„ License

MIT โ€” original copyright retained; see Credits.

About

๐ŸŽง Control your Sony headphones โ€” Noise Cancelling, Ambient Sound, EQ, DSEE & battery โ€” from macOS, Windows & Linux. Open-source, no phone needed.

Topics

Resources

License

Stars

16 stars

Watchers

1 watching

Forks

Sponsor this project

Packages

 
 
 

Contributors