Skip to content
Omega-DestroyerPublic

About

Open-source Android app to control wireless earbuds and headphones from one app: Soundcore, Bose, JBL, Sony, Galaxy Buds, AirPods, Nothing, Pixel Buds, SOUNDPEATS, QCY, 1MORE, EarFun, Cambridge Audio, OnePlus, Sennheiser, Jabra, Skullcandy, Huawei, Baseus, Dell, Fairbuds. Noise cancelling, equalizer, touch controls. No account, no internet.

Topics

Resources

Contributing

Stars

227 stars

Watchers

3 watching

Forks

Repository files navigation

PairFree: open-source app for earbuds and headphones, on Android, Windows and Linux

PairFree is a free, open-source app that controls wireless earbuds and headphones of many brands from one place, on Android, Windows and Linux. It is an alternative to the Soundcore, Bose Music, JBL Headphones, Sony | Sound Connect, Galaxy Wearable, Nothing X, PeatsAudio (SOUNDPEATS), QCY, 1MORE, EarFun, Melomania (Cambridge Audio), Sennheiser Smart Control, Jabra Sound+, Skullcandy, HUAWEI AI Life, HeyMelody (OnePlus and OPPO), Baseus, Dell Audio and Fairbuds apps, and a way to change AirPods and Pixel Buds settings on Android: noise cancelling, the equalizer, touch controls and more, with no account and no internet.

Why this project exists

  • Interoperability. Earbuds and headphones are sold as ordinary Bluetooth devices, but the settings that make them worth buying live behind the maker's phone app. On a computer, or on a phone the maker did not plan for, they work as plain audio and nothing more. PairFree speaks the same control protocol the maker's app does, so the same settings work on Android, Windows and Linux.
  • One app for many devices. Whoever owns earbuds from more than one maker, or a household that does, otherwise installs one app per brand, each with its own account, permissions, updates and look. PairFree gives every brand the same screens.
  • Your devices, your data. No account, no analytics, no server in between, and on Android not even the internet permission. The settings of a device you own should not depend on a company's server or on an app that may one day be withdrawn.
  • In the open. Every protocol is documented, the code is GPL-licensed, and the way the protocols were worked out, and why that is lawful interoperability work, is written down: see Is this allowed?.

Now on Windows and Linux

Almost none of these earbuds and headphones has an app for Windows. Their settings (noise cancelling, the equalizer, touch controls) can only be changed from a phone, and a PC is left with plain Bluetooth audio. PairFree for Windows and Linux changes that: one small program, no installer, that does what the Android app does for the same earbuds, in a window made for a mouse, with a tray icon for the battery and quick switches. Everything about the Windows program is on its page, and the Linux one's is here.

Get it

Android 12 or later F-Droid or the GitHub releases (the same signed APK)
Windows 10 or 11, 64-bit PairFree.exe from the GitHub releases. Put it anywhere and run it.
Linux, 64-bit, with GTK 4 and BlueZ PairFree-<version>-linux-x86_64.tar.gz from the GitHub releases. Unpack it and run ./PairFree, or ./install.sh. See PairFree for Linux.

Latest release: v0.23.0. Your earbuds must be paired in the phone's or computer's Bluetooth settings first. A few brands need a newer Android: AirPods need Android 17, or one of the few phones on Android 16 that already open their settings channel (AirPods and Beats); they are not on Windows or Linux.

Why PairFree

  • No account, no internet. Nothing to sign up for. The Android app does not even have the internet permission.
  • Nothing leaves your phone or computer unless you share it yourself, such as a device report or an equalizer profile. No ads, no analytics, no crash reports. (The Windows program asks once whether it may look for updates on GitHub, and does nothing else online; Linux has no update check.)
  • One app instead of a drawer full of them. Every brand gets the same screens.
  • Light and quick. About 8 MB on Android and 26 MB on Windows and Linux (7 MB to download on Linux), with no login and no server to wait for.
  • Open source (GPL-3.0), with every protocol documented and tested, and reproducible Android builds.
  • Your look. Four are built in, and they follow through the screens, the device drawings and the widget (below).
  • Your equalizer, as files. Save your own curves, and export and share them.

What it controls

Each model shows only what it has:

  • Battery for each earbud and the case.
  • Noise control: off, noise cancelling, transparency or ambient sound, with their scenes and levels.
  • The equalizer: the brand's presets, your own curves and saved profiles, and on many models each band's frequency and Q.
  • Touch controls: what each tap and hold does on each earbud, and turning touch off.
  • Game mode, two devices at once, LDAC and LE Audio.
  • The ear tip fit test and a seal check, find my earbuds, voice prompts and water drain.
  • Hearing tests that turn what you hear into an equalizer curve, and an A/B sound finder that tunes a curve by asking which of two sounds you prefer.
  • Settings only one brand has, such as Sony's speak-to-chat, Bose's listening modes, JBL's TalkThru or the AirPods' Conversation Awareness.

On Android

Home: battery for each earbud and the case, noise control and scenes, the sound profile and quick switches Sound: the equalizer with a saved profile

Home shows the battery and the quick switches; Sound is the equalizer. Controls (touch controls) and Device (the earbuds' own settings, the tests and the report) are the other two tabs. Screenshots with a SOUNDPEATS H3, using replies recorded from real earbuds.

Outside the app, a home screen widget and a status notification switch noise control and equalizer profiles without opening it:

The home screen widget: the battery and buttons for noise control and equalizer profiles The status notification: the battery and buttons for noise control and game mode

On Windows

PairFree on Windows, Home: battery, noise control and quick switches PairFree on Windows, Sound: the equalizer with its graph and profiles

The same screens and the same earbuds' settings, laid out for a window: a sidebar for the tabs, a draggable equalizer graph, and a tray icon with the battery and a menu for noise control and equalizer profiles. Settings live in one readable file, PairFree.toml, beside the program. It needs Windows 10 (version 1809) or 11 and the earbuds paired in Windows' Bluetooth settings; every brand is there except AirPods and the Beats on Apple's chips, which Windows gives programs no way to reach. See PairFree for Windows. On Windows, the Bose QuietComfort Ultra Headphones (2nd Gen) can also be set over their USB-C cable.

On Linux

New in 0.23.0, contributed by @YoannDev90 (pull request #94): the same screens and the same earbuds' settings, drawn with GTK 4, on X11 and Wayland, with a tray icon on desktops that show one and the settings in one readable file under ~/.config/pairfree/. Download PairFree-<version>-linux-x86_64.tar.gz from the releases, unpack it and run ./PairFree, or run ./install.sh for a menu entry (no root needed). It needs GTK 4 and BlueZ, which every mainstream desktop has, and the earbuds paired in the system's Bluetooth settings. It talks to the earbuds over BlueZ, both the classic serial channel most brands use and Bluetooth LE command services.

Left out for now: earbuds that can only be found by scanning for a Bluetooth LE advert (every QCY model among them), AirPods and the Beats on Apple's chips, Bose over USB-C, and an update check. Stock GNOME shows no tray icons without an extension, and without a tray, closing the window ends PairFree. A JBL Endurance Peak 4 has been tried on real earbuds with an earlier build; the release builds were checked to start on Ubuntu 24.04, Debian 13 and Fedora 44. PairFree for Linux has the details.

Looks

The screens, the device drawings and the widget follow the look you choose: Studio (dark, the default), Studio Light, Material You (your phone's own colours; on Windows, its accent colour; on Linux, its light or dark setting) and Sketchbook (hand-drawn). A new look is one file added by pull request (docs/LOOKS.md).

The Studio Light look The Material You look The Sketchbook look

Supported brands

Each brand has a page listing every model PairFree knows and what works on each. Most models have not been tried on real earbuds yet: their support comes from the brands' own apps, other open-source projects and the reports of people who own them, and each page says which ones have been tried.

Brand Models Tried on real earbuds
SOUNDPEATS 88 Air5 Pro+, C30, Clip1, H3, POP Clip2, T3 Pro, TRUEFREE Clip C10
Soundcore (Anker) 83 AeroClip, P30i, R50i NC, Q20I, Sleep A20, Space A40
Samsung Galaxy Buds 16 —
Sony 24 WF-1000XM5, WF-1000XM6
Bose 22 —
JBL 112 Endurance Peak 4, Live Buds 3, Tour Pro 3
AirPods and Beats 30 AirPods Max 2, AirPods Pro 2 (USB-C), AirPods Pro 3
Nothing and CMF 25 Nothing Ear, Nothing Ear (open), Nothing Headphone (a)
Google Pixel Buds 5 Pixel Buds Pro
QCY 194 QCY H3 Pro, QCY MeloBuds Pro, QCY T13 ANC2
1MORE 48 —
EarFun 26 —
Cambridge Audio 8 —
OnePlus and OPPO 53 OPPO Enco Buds2 Pro, OnePlus Buds 4
Sennheiser 28 Momentum 5 Wireless
Jabra 34 Jabra Elite 7 Active, Jabra Elite Active 75t
Skullcandy 56 —
Huawei and Honor 52 —
Baseus 140 —
Dell Audio 9 EB525
Fairphone 5 —
Total: 21 brands 1058 33 tried

Coming next

Brands PairFree does not support yet, in the order they are planned:

  1. Motorola (Moto Buds)
  2. Technics
  3. Beyerdynamic
  4. EPOS
  5. AUKEY

If you own a pair and want to help test one, open an issue.

Help add your model

Own earbuds or headphones that are not marked as tried? One report from you adds your model for everyone. A device report is a short text listing what your earbuds say they can do and what they answered, with serial numbers and addresses hidden. It lets the project confirm your model works, correct settings that differ, and credit you in CONTRIBUTORS.md.

To send one:

  1. Connect your earbuds in PairFree and open the Device tab.
  2. Tap Copy device report.
  3. Open a new issue and paste it. Say what worked and what did not.

If PairFree cannot connect, the connect screen has Copy connection report: paste that instead. If your earbuds are paired but PairFree does not list them at all, the same screen has Missing your earbuds?: pick the device and it copies what Android says about it (the address and your name masked) for the issue.

Record from the official app

Want to help more? If the brand's own app works with your earbuds, PairFree can record what that app sends when you change a setting, which shows exactly how to set it. In PairFree, open the Device tab and tap Record from the official app; it walks you through it in about ten minutes, with no computer. It reads the Bluetooth log only on your phone and the report it makes has no names or addresses. Do not attach the Android bug report itself to the issue: issues are public, and a bug report holds far more than Bluetooth messages.

Translating PairFree

PairFree's text is in one file, and a translation is a copy of it with the texts changed; the app then offers the language by itself. A partial translation works: what it lacks shows in English. See docs/TRANSLATING.md.

For developers

How it is built, what is in the repository, running the tests and the PC probe: docs/DEVELOPMENT.md. The design is in docs/DESIGN.md and each brand's protocol in docs/<brand>/PROTOCOL.md.

Brand websites

Each brand also has a page on the web site:

Is this allowed?

PairFree exists so that devices you own work with the systems you use, and so that one app can replace many. To do that it speaks the same Bluetooth protocol each maker's own app speaks, which the project learns by studying how those devices and apps behave. The project believes this is lawful, and says why in the open, because the law recognises it:

  • Reverse engineering for interoperability is lawful in the places most of its users and authors live. In the European Union the Software Directive (2009/24/EC, Articles 5(3), 6 and 8) lets a lawful user study a program and decompile it where that is needed to make an independent program work with it, and makes contract terms that say otherwise void. Canada's Copyright Act (section 30.61) has an interoperability exception, and in the United States courts have held that studying software to build compatible products is fair use (Sega v. Accolade, Sony v. Connectix), a view the Supreme Court's Google v. Oracle decision supports for reusing an interface so that others can work with a platform.
  • Facts about how a device works are not owned. A command number, or which byte means which noise mode, is a fact. PairFree publishes facts about protocols and writes its own code from them; it does not copy anyone's expression.
  • Nothing that belongs to a maker is in this repository. No app code, libraries, firmware images, keys or credentials. Apps are read on the authors' own computers, outside the repository. PairFree's programs call no maker's servers and need no account, and they never send firmware-update or factory-reset traffic without your explicit confirmation in that moment.
  • Names identify, they do not endorse.

docs/LEGAL.md says what the project does and does not do; it is not legal advice, and laws differ by country. If you represent a maker and think something here is yours to protect, please open an issue and say what and where: it will be read promptly and anything that is your protected material will be removed. And if you publish official documentation or an open control protocol, PairFree will use it and credit you.

PairFree is an independent project. It is not affiliated with or endorsed by SOUNDPEATS, Anker, Samsung, Sony, Bose, Harman (JBL), Apple, Nothing (and its CMF brand), Google, QCY, 1MORE, EarFun, Cambridge Audio, Sennheiser, Jabra, Skullcandy, Huawei, Honor, OnePlus, OPPO, Baseus, Dell or Fairphone.

Credits

  • LibreBuds, HuaweiPods (both GPL-3.0-or-later) and OpenFreebuds by MelianMiko (GPL-3.0; facts only): the settings of the newer Huawei earbuds.
  • OpenSCQ30 by Kyle Scheuing (GPL-3.0-or-later): the Soundcore protocol, model list and per-model features that PairFree's Soundcore support is ported from. Code ported from it says so where it is.
  • FFmpeg (LGPL-2.1-or-later), whose SBC encoder (from BlueZ's SBC codec) PairFree's mono SBC encoder for the Soundcore Sleep A30's sounds is ported from (SbcEncoder.kt).
  • GalaxyBudsClient by Tim Schneeberger (GPLv3): the Galaxy Buds protocol, model list, per-model features and state layouts that PairFree's Samsung support is ported from. Code ported from it says so where it is.
  • Gadgetbridge (AGPL-3.0): its Sony support, used with real headphones, confirms the Sony messages PairFree reads from Sony's app, and its notes give the Sony model names and table sets. Facts only; none of its code is in PairFree.
  • bosectl by aaronsb (MIT): what works on Bose headphones without Bose's cloud, the payload layouts and real replies from seven Bose models, which PairFree's Bose support checks against Bose's own app.
  • JblTray by emperorbug46 (MIT): the noise control, battery and feature frames it recorded from a JBL Tune Flex 2, and that its Bluetooth LE side answers on the classic address, which PairFree's JBL support checks against JBL's own app.
  • JBL-Headphones-App by FajkPes: the replies it recorded from a JBL Tune 720BT. Facts only; it has no licence, and none of its code is in PairFree.
  • LibrePods by LibrePods contributors (GPL-3.0-or-later): Apple's accessory protocol, the AirPods models and how to open their channel on Android, which PairFree's AirPods support is ported from. Code ported from it says so where it is.
  • MagicPodsCore by Aleksandr Maslov and Andrei Litvintsev (GPL-3.0): the AirPods setting values it confirms, and the Beats and AirPods Max models. Facts only; none of its code is in PairFree.
  • nada by chukfinley and nadamas by ezvk, a fork of something-x by SoaOaoS (all MIT): the Nothing and CMF protocol as they read it from Nothing X and tried it on real earbuds, which PairFree's Nothing support checks against Nothing X itself.
  • pbpctrl by Maximilian Luz (MIT or Apache-2.0): the Pixel Buds Pro's Maestro service, its framing and channels, as used with a Pixel Buds Pro. PairFree's HDLC framing follows its code.
  • OpenControl for Pixel Buds Pro 2 by tedsluis (AGPL-3.0): what recordings of a Pixel Buds Pro 2 show, such as the EQ write and the RPC ids. Facts only; none of its code is in PairFree.
  • OpenQCY-Desktop by GiorgioRafael (MIT): the messages it recorded from a QCY MeloBuds N70, which PairFree's QCY support checks against QCY's own app.
  • Quicky by hui1601: QCY's product list and the features of each model, and its protocol notes. Facts only; it has no licence, and none of its code is in PairFree.
  • IBM Plex fonts, and for the Sketchbook look Fredoka and Nunito (all SIL Open Font License 1.1).

License

GNU General Public License, version 3 or (at your option) any later version (GPL-3.0-or-later). See LICENSE.

The Galaxy Buds code in android/protocol/src/main/kotlin/io/github/omegadestroyer/pairfree/protocol/samsung/ is ported from GalaxyBudsClient, which is licensed under version 3 of the GPL only, so those files are GPL-3.0-only. The app built with them is shared under version 3.

The Linux program links to GTK 4, GLib, Cairo, Pango and BlueZ's library, which your system provides; PairFree does not ship them.

The Android app uses one library besides AndroidX and Kotlin: hiddenapibypass by LSPosed (Apache-2.0), which lets it open the AirPods' Bluetooth channel on phones where Android hides the needed socket (see the note under the AirPods and Beats table).

About

Open-source Android app to control wireless earbuds and headphones from one app: Soundcore, Bose, JBL, Sony, Galaxy Buds, AirPods, Nothing, Pixel Buds, SOUNDPEATS, QCY, 1MORE, EarFun, Cambridge Audio, OnePlus, Sennheiser, Jabra, Skullcandy, Huawei, Baseus, Dell, Fairbuds. Noise cancelling, equalizer, touch controls. No account, no internet.

Topics

Resources

Contributing

Stars

227 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages