Repository navigation
Releases: Halo0sama/CodecTweaker
Releases · Halo0sama/CodecTweaker
Release list
v9.5.1 · 音质助手 / Bluetooth Codec Auto-Fix
v9.5.1
中文
- 重连自动修复重做:A2DP 连接建立后直接写入选定的编码器与码率,读回校验 + 自动重试,连接后短窗口内防回退;息屏可用,通常 2~3 秒完成
- 无需无障碍服务:通过系统 CompanionDeviceManager 在场回调唤醒;新耳机经 Shizuku 自动完成接入(无障碍 UI 流程保留为可选兜底,默认关闭)
- 实时状态面板:编码器、采样率、位深、码率档位实时显示;LHDC/LDAC 全档位码率支持(含自适应探测)
- 新耳机普适接入:能力预检 + 对象级匹配,不支持的编码器自动跳过;修复偶发"隔天回退 AAC"的问题
- CLI:
adb shell content call --uri content://com.lhdcprobe.cli --method live等命令可直接查询与操作 - 界面精修:主界面只留日常操作,进阶能力收进「高级功能」二级页
适用:Android 8.0+;主要在小米 HyperOS 3 上实测,其他 ROM 不保证。
English
- Reworked auto-fix: selected codec & bitrate written right after A2DP connects, with read-back verification, retry and a post-connect guard window; usually done in 2–3 s, works with the screen off
- No accessibility service needed: woken via CompanionDeviceManager presence callbacks; new earphones onboard themselves through Shizuku (accessibility UI flow kept as an opt-in fallback, off by default)
- Live status panel: codec, sample rate, bit depth and bitrate tier in real time; full LHDC/LDAC bitrate tier support including adaptive probing
- Universal new-earphone onboarding: capability pre-check with object-level matching; fixes the occasional "back to AAC the next day" regression
- CLI: query and control via
adb shell content call --uri content://com.lhdcprobe.cli
Requires Android 8.0+. Developed and tested mainly on Xiaomi HyperOS 3; other ROMs are not guaranteed.
v8.8
Latest release of Bluetooth Codec Auto-Fix(音质助手)v8.8.
- Per-earphone presets: tap a remembered earphone to load its own codec + bitrate preset
- Optional post-flow toggles: exit Settings and resume music after the switch (both off by default)
- "无可选播放音质" placeholder for codecs without selectable quality (AAC/SBC/aptX…)
- Auto-restores Bluetooth codec + bitrate on earphone reconnect (no root)
- Tested on Xiaomi / HyperOS 3 (Android 16)
APK is debug-signed; install from Release assets or build from source.