Unlocker for the USB (HAL) audio class driver's limitation

Android Module logo

Unlocker for the USB (HAL) audio class driver’s limitation (up to 96kHz lock) on Android devices

This magisk module has been developed for recent music streaming services which output greater than 96kHz high resolution sound, and behaves as follows:

  1. Hexdump “/vendor/{lib, lib64}/libalsautils{,v2}.so” to “tempfile{,v2}-{lib, lib64}”

  2. Edit “tempfile{,v2}-{lib, lib64}” to replace

hexdumped "std_sample_rates[]={96000, 88200, 192000, 176400, 48000, 44100, 32000, 24000, 22050, 16000, 12000, 11025, 8000}" (up to 96kHz lock)

  with

hexdumped "std_sample_rates[]={192000, 176400, 96000, 88200, 48000, 44100, 32000, 24000, 22050, 16000, 12000, 11025, 8000}" (up to 192kHz lock)	

  or

hexdumped "std_sample_rates[]={384000, 352800, 192000, 176400, 96000, 88200, 48000, 44100, 32000, 24000, 16000, 12000, 8000}" (up to 384kHz lock)

  or

hexdumped "std_sample_rates[]={768000, 705600, 384000, 352800, 192000, 176400, 96000, 88200, 48000, 44100, 24000, 16000, 8000}" (up to 768kHz lock).
  1. Revert “tempfile{,v2}-{lib, lib64}” to each binary file “$MODDIR/system/vendor/{lib, lib64}/libalsautils{,v2}.so”.

  2. Overlay “$MODDIR/system/vendor/{lib, lib64}/libalsautils{,v2}.so” onto “/vendor/{lib, lib64}/libalsautils{,v2}.so”

DISCLAIMER

Download

Module Info

Type : module
Date Release :
If the link is broken or there is something that needs to be updated in the post contact us.

Other modules

Malwack

By : takeru-kageyuki

© 2025 androidroot.site