MelodyCodecTweaker
ColorOS无线耳机功能增强:添加音质调节选项
MelodyCodecTweaker is an Android module for OPPO and OnePlus phones that unlocks hidden Bluetooth audio settings, codec selection, sample rates, and LE Audio, directly in the built-in headphone app.
MelodyCodecTweaker is an Android module for OPPO and OnePlus phones that adds audio quality controls to the built-in wireless headphone app. OPPO and OnePlus devices come with an app called Wireless Headphones (the package name is com.oplus.melody) that manages connected Bluetooth earphones. The official app shows basic information but hides the deeper audio settings that the phone's Bluetooth system actually supports. This module surfaces those settings so you can see and control them directly from the headphone panel.
The module runs through a tool called LSPosed, which lets certain apps modify other apps' behavior at runtime without changing their installation files. When enabled, MelodyCodecTweaker injects a new audio quality section into the headphone control panel. You can see which Bluetooth audio format your earphones are currently using, such as SBC, AAC, LDAC, LHDC, or LC3. Where the earphones and phone support it, you can also switch between connection priorities, balance modes, audio quality modes, and different sample rates like 44.1, 48, or 96 kHz. The module reads these options directly from the phone's Bluetooth stack rather than using a fixed list, so it only shows what your specific earphones actually support.
If your device supports LE Audio, a newer Bluetooth audio standard, the module adds a toggle for that too. Turning it on switches the earphones to LC3 mode and hides the classic Bluetooth quality options that no longer apply. The module remembers your choices per device, so when you reconnect a pair of earphones it restores your last settings automatically.
There is a built-in diagnostics page accessible from the app icon on your home screen. It shows which parts of the module are loaded and working correctly. If something is not injecting properly, the diagnostics page tells you whether the problem is with the scope loading, the page hook, or the Bluetooth bridge. The same screen has a one-click option to bundle up a feedback package, which collects device info, module version, and recent logs to help the developer track down problems across different phone models and app versions.
Setup requires installing the module APK, enabling it inside LSPosed, checking three specific scopes, and restarting the wireless headphones process. The project is open source under the Apache-2.0 license.
Where it fits
- Switch OPPO or OnePlus earphones to LDAC or LHDC audio mode from within the stock wireless headphone app.
- Choose the exact sample rate your Bluetooth earphones use on a compatible OPPO or OnePlus phone.
- Enable LE Audio and LC3 mode for supported earphones through a toggle in the headphone control panel.
- Use the diagnostics page to check if the module loaded correctly and bundle logs for troubleshooting.