[MOD][Audio]Enable WCD9320 Mad Audio Drivers

Search This thread

aznrice2k4

Senior Member
May 27, 2010
2,833
3,486
Chi-Town
Code:
#include 
/*
* Your warranty is now void.
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*/

Requirements
  • Rooted
  • ADB know-how
  • Know how to edit system files
  • Tested on D950 - aka ATT Variant
  • Love music
  • Experimental

Instructions
  • Download wcd9320_mad_audio.bin
  • Download init.galbi.audio.sh
  • Code:
    adb root
  • Code:
    adb remount
  • Code:
    adb push wcd9320_mad_audio.bin /data/misc/audio/
  • Code:
    adb shell chmod 700 /data/misc/audio/wcd9320_mad_audio.bin
  • Code:
    adb shell chown media:audio /data/misc/audio/wcd9320_mad_audio.bin
  • Code:
    adb push init.galbi.audio.sh /system/etc/
  • Code:
    adb shell chmod 644 /system/etc/init.galbi.audio.sh
  • Code:
    adb shell chown root  /system/etc/init.galbi.audio.sh
  • Code:
    adb reboot
  • To confirm
    Code:
    adb shell ls /system/etc/firmware/wcd9320/
  • Output should be
    Code:
    wcd9320_anc.bin
    wcd9320_mad_audio.bin
    wcd9320_mbhc.bin

Credit:
HTC ONE firmware from which I pulled it.
 
Last edited:

aznrice2k4

Senior Member
May 27, 2010
2,833
3,486
Chi-Town
What is MAD
MPEG Audio Decoder (MAD) is a GPL library for decoding files that have been encoded with an MPEG audio codec.[1] It was written by Robert Leslie and produced by Underbit Technologies. It was developed as a new implementation, on the ISO/IEC standards.[2]

It consists of libmad, a software library, and madplay, a command-line program for MP3 playback. libmad is notable for using only fixed-point arithmetic[2][3][4] while madplay is notable for its ReplayGain support.
 

th3g1z

Senior Member
Mar 29, 2011
228
300
Interesting man. I'm thinking about giving this a go on my G2 .. Out of curiosity what was your personal opinion of the results? Better / worse / different.. Also Any difference in sound other than mp3? ie. Steaming etc

Sent from my LG-D800
 

aznrice2k4

Senior Member
May 27, 2010
2,833
3,486
Chi-Town
Interesting man. I'm thinking about giving this a go on my G2 .. Out of curiosity what was your personal opinion of the results? Better / worse / different.. Also Any difference in sound other than mp3? ie. Steaming etc

Sent from my LG-D800

Honestly it's enabled by default on kk. This is only valid on jelly bean. But I was high as balls when I hacked it. Lol

Sent from my LG-D950 using Tapatalk
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    Interesting man. I'm thinking about giving this a go on my G2 .. Out of curiosity what was your personal opinion of the results? Better / worse / different.. Also Any difference in sound other than mp3? ie. Steaming etc

    Sent from my LG-D800

    Honestly it's enabled by default on kk. This is only valid on jelly bean. But I was high as balls when I hacked it. Lol

    Sent from my LG-D950 using Tapatalk
    2
    Code:
    #include 
    /*
    * Your warranty is now void.
    *
    * We are not responsible for bricked devices, dead SD cards,
    * thermonuclear war, or you getting fired because the alarm app failed. Please
    * do some research if you have any concerns about features included in this ROM
    * before flashing it! YOU are choosing to make these modifications, and if
    * you point the finger at us for messing up your device, we will laugh at you.
    */

    Requirements
    • Rooted
    • ADB know-how
    • Know how to edit system files
    • Tested on D950 - aka ATT Variant
    • Love music
    • Experimental

    Instructions
    • Download wcd9320_mad_audio.bin
    • Download init.galbi.audio.sh
    • Code:
      adb root
    • Code:
      adb remount
    • Code:
      adb push wcd9320_mad_audio.bin /data/misc/audio/
    • Code:
      adb shell chmod 700 /data/misc/audio/wcd9320_mad_audio.bin
    • Code:
      adb shell chown media:audio /data/misc/audio/wcd9320_mad_audio.bin
    • Code:
      adb push init.galbi.audio.sh /system/etc/
    • Code:
      adb shell chmod 644 /system/etc/init.galbi.audio.sh
    • Code:
      adb shell chown root  /system/etc/init.galbi.audio.sh
    • Code:
      adb reboot
    • To confirm
      Code:
      adb shell ls /system/etc/firmware/wcd9320/
    • Output should be
      Code:
      wcd9320_anc.bin
      wcd9320_mad_audio.bin
      wcd9320_mbhc.bin

    Credit:
    HTC ONE firmware from which I pulled it.