Skip to content

Enable Hi-Res Audio for MediaTek only, up to 32-bit/192kHz (if device supports).

License

Notifications You must be signed in to change notification settings

davebeat121/Hi-ResAudio

 
 

Repository files navigation

Hi-Res Audio™

Enable High-resolution audio for MediaTek devices up to 32-bit/192kHz (if device supports).

this module only changes the configuration on audio_policy because most Android devices limit their capabilities to 16-bit/48kHz only, the rest depends on whether the device used supports Hi-Res Audio™ or not.

*applies to internal Speakers & Wired (not for Bluetooth/USB devices).

Take note

before you install this module, try to get about what sampling rate is used on your device, open terminal (adb, Termux, etc) with superuser su access, then enter the command:

  dumpsys media.audio_flinger

look at the very top of the "Output thread" (MIXER) you will get information about:

  • Sample rate: 48000Hz or 192000Hz
  • Flags (AudioStreamOut): AUDIO_OUTPUT_FLAG_PRIMARY or AUDIO_OUTPUT_FLAG_DEEP_BUFFER
  • Format: AUDIO_FORMAT_PCM_16_BIT or AUDIO_FORMAT_PCM_32_BIT

or u can use "Sample Rate Checker" app:

for testing the Hi-Res Audio using song with 24-bit/192kHz & using USB Audio Player Pro (UAPP) app:

UAPP using Variable rate in Settings > Android audio > Android sample rate : Variable Rate (default is Fixed 44100Hz)

Requirement

this is module so install using Magisk app: Download from Release page

  • Android 12 (SDK 31)
  • MTK devices

*does not cause softbrick or bootloop.

Apps & Song

Tested on (Stock ROM)

  • Android 12 - MIUI 13
  • Android 13 - MIUI 14
  • Android 14 - HyperOS 1.0

About

Enable Hi-Res Audio for MediaTek only, up to 32-bit/192kHz (if device supports).

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%