lizi600jin/hifi-src-bypass
About
全机型 Android SRC 绕过:USB 小尾巴 / 有线耳机高解析直通,策略 XML + USB HAL 两层上限一起解。systemless,一键还原。384kHz / 24-32bit
Design & MediaMeasured star growth
- in 24h
- +1
- in 7 days
- +2
- in 15 days
- +6
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README_EN.md
Original
HiFi SRC Bypass
Universal Android High-Resolution Audio Direct Output (SRC Bypass) Module
USB DAC / Wired Direct Output · Mixer Rate Alignment · Speaker Tuning · Bilingual WebUI
简体中文 · English
Overview
HiFi SRC Bypass is a universal systemless Android audio module for Magisk, KernelSU, and APatch. It dynamically patches your device's own stock audio configuration without modifying system partitions or relying on hardcoded device templates, and supports instant lossless restoration.
- USB DAC & Wired Hi-Res Direct Output: Unlocks both audio policy and USB HAL sample-rate ceilings (48 kHz – 384 kHz) and completes 16 / 24 / 32-bit depth profiles.
- Global Mixer & HiFi Port Alignment: Align the system mixer or vendor HiFi port to 44.1k / 48k / 192k / 384 kHz to avoid unnecessary resampling.
- Speaker & Loudness Tuning: Independent speaker sample rate / bit depth controls, optional speaker volume-curve headroom unlock, and device-adaptive loudness enhancement.
- Bilingual WebUI & Built-in Diagnostics: Auto-detect connected USB DAC capabilities, apply one-tap presets, view collapsible health checks, and stay protected with boot safety nets and install conflict checks.
What's New in v2.0.3
Updates & Improvements
- Bilingual UI (Chinese / English): Full Chinese & English support across the WebUI and diagnostics (defaults to Chinese, switch anytime via the top-right language button).
- Redesigned Collapsible Diagnostics: Self-check and deep verification results are now grouped into collapsible cards with a clear pass/fail summary at the top.
- Much Faster Apply & Mounting: Dramatically reduced wait time when applying settings and improved boot-time mount reliability.
- License: Released under GNU General Public License v3.0 (GPL-3.0).
Bug Fixes
- Fixed an issue on some devices where USB dongles (e.g. TP55) were capped at 24-bit / 48 kHz and diagnostics falsely reported a DAC hardware limit.
- Fixed ColorOS 17 (e.g. OPPO Find X8 Ultra with Apple Music) failing to switch to 44.1 kHz or switch down from 96 kHz to 48 kHz without manually pausing playback.
- Fixed HyperOS 4 (e.g. Xiaomi 15 Pro + Luxury & Precision W3-121) falling back to the mixer channel when skipping tracks or seeking.
- Fixed an Honor Bluetooth LE Audio / LC3 issue where entering games caused loud, degraded microphone-like audio that persisted even after restore or uninstall.
- Fixed custom WebUI wallpapers zooming in when overscrolling past the bottom of the page.
Previous Releases (v1.6 – v2.0.2)
- v2.0.2: Added speaker volume-curve unlock, reworked speaker loudness tuning, built-in speaker/3.5mm jack diagnostics, install conflict gate, and redesigned WebUI.
- v2.0.0: Added Smart PA gain control, boot safety-net timeouts, Qualcomm 44.1 kHz mixer warning, and MediaTek AOSP-style ROM adaptation.
- v1.9.x: Added independent speaker sample rate / bit depth controls, boot safety net, and customizable WebUI wallpapers.
- v1.8 / v1.6: Universal rule-based engine merging all features from the earlier
op13-hifi-src-bypassmodule.
Features & Settings
| Setting | Options | Description |
|---|---|---|
| HiFi Direct Ceiling | 48k / 96k / 176.4k / 192k / 352.8k / 384 kHz |
Maximum sample rate for USB / wired direct playback; do not exceed your DAC's hardware limit |
| Bit Depth Ceiling | 16 / 24 / 32 bit |
Extends output bit-depth support without removing factory formats |
| Global Mixer Rate | 44.1k / 48k / 192k / 384 kHz |
48 kHz recommended for general use; 44.1 kHz for CD-rate libraries |
| HiFi Port Rate | auto / 44.1k – 384 kHz |
Pins the vendor HiFi port rate (auto by default) |
| Quick Presets | Auto Detect / 96k / 192k / 384k / 44.1k | Plug in your USB DAC and use Auto Detect for the safest match |
| Speaker & Loudness | Rate / Bit Depth / Volume Unlock / Loudness | Independent of USB output; optional |
Deep Check (hifi doctor) |
Collapsible cards | Run while playing music to verify live sample rate, bit depth, and routing |
Installation & Usage
1. Install
- Download the latest
hifi-src-bypass-v*.zipfrom Releases. - Flash it in Magisk / KernelSU / APatch and reboot.
- If you previously installed
op13-hifi-src-bypassor another audio policy module, uninstall it and reboot first.
- If you previously installed
2. WebUI (Recommended)
- Open the module WebUI from KernelSU or APatch (Magisk users can use a WebUI launcher or CLI).
- Connect your USB DAC and tap Auto Detect, or pick your preferred tiers and tap Apply.
- Tap Deep Check while playing music to verify whether direct output is active. Use the top-right button to switch between Chinese and English.
3. Command Line
# Check status
sh /data/adb/modules/hifi_src_bypass/bin/hifi status
# Auto-detect USB DAC and apply
sh /data/adb/modules/hifi_src_bypass/bin/hifi preset auto
# Set custom ceiling and apply
sh /data/adb/modules/hifi_src_bypass/bin/hifi set max 384000 bitdepth 32
sh /data/adb/modules/hifi_src_bypass/bin/hifi apply
# Run deep verification (recommended while playing audio)
sh /data/adb/modules/hifi_src_bypass/bin/hifi doctor
# One-tap lossless restore
sh /data/adb/modules/hifi_src_bypass/bin/hifi restore
4. Restore & Uninstall
- One-Tap Restore: Tap Restore Factory in the WebUI or run
hifi restoreto unmount all patches immediately. - Full Uninstall: Remove the module in your root manager and reboot. All state files and injected properties are wiped automatically with zero changes to system partitions.
Verified Devices & Notes
| Device | SoC | OS / ROM | Status |
|---|---|---|---|
Redmi Note 11T Pro (xaga) |
Dimensity 8100 | HyperOS 4 (Android 17) / AOSP Android 16 | ✅ Verified |
OnePlus 13 (OP5D0DL1) |
Snapdragon 8 Elite | ColorOS / Android 16 | ✅ Verified |
Redmi K20 Pro (raphael) |
Snapdragon 855 | HyperOS / Android 16 | ✅ Verified |
vivo PD2408 (V2408A) |
Snapdragon 8 Elite | OriginOS / Android 16 | ✅ Verified |
Notes:
- Setting a sample-rate ceiling above what your USB DAC supports can result in no audio; use Auto Detect if unsure.
- On some newer Qualcomm AIDL devices, setting the global mixer to
44.1 kHzmay cause speaker popping; keep the mixer at48 kHzon those devices. - Bluetooth audio (including LE Audio / LC3) is never modified. On Honor devices, keep DSP Bit-Width Enforce off (stock) and run Restore once if you enabled it on an older version.
- HarmonyOS NEXT (5+) is not supported.
- If your device is not yet supported, run Collect Adaptation Info in the WebUI (or
hifi adapt) and open an issue with your device model, ROM version, and USB DAC model.
License
This project is licensed under the GNU General Public License v3.0 (GPL-3.0) — see LICENSE for the full text.
- You are free to use, study, and modify this module.
- Any distributed derivative or modified version must also be licensed under GPL-3.0 with its source code made available.
Credits
- USB Samplerate Unlocker — USB HAL rate-table unlocking approach
- Hydro-Br-leur — Systemless bind-mount audio policy architecture
- USB_SampleRate_Changer_WebUI — WebUI & USB DAC detection inspiration
- Android AOSP / Magisk / KernelSU / APatch communities
Explore related projects
Loading…