Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,729,489 Members 45,329 Now Online
XDA Developers Android and Mobile Development Forum

[MOD][Audio]Enable WCD9320 Mad Audio Drivers

Tip us?
 
aznrice2k4
Old
(Last edited by aznrice2k4; 21st April 2014 at 03:37 AM.)
#1  
Senior Member - OP
Thanks Meter 3411
Posts: 2,733
Join Date: May 2010
Location: Chi-Town

 
DONATE TO ME
Default [MOD][Audio]Enable WCD9320 Mad Audio Drivers

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.
The Following 2 Users Say Thank You to aznrice2k4 For This Useful Post: [ Click to Expand ]
 
aznrice2k4
Old
#2  
Senior Member - OP
Thanks Meter 3411
Posts: 2,733
Join Date: May 2010
Location: Chi-Town

 
DONATE TO ME
What is MAD
Quote:
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
Old
#3  
th3g1z's Avatar
Senior Member
Thanks Meter 85
Posts: 185
Join Date: Mar 2011
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
Current: G2 (D800) GNote 2 LTE, Nexus 7 FHD

Past - HTC: One, Jetstream | Samsung: i717, i777 | Moto: Atrix, Backflip | LG: Thrill | Apple: iPhone 4-4S/3G-S/2G | Blackberry: 8300, 8800 | Nokia: N71 ... and you know all the others I forget going back to the startak
 
aznrice2k4
Old
#4  
Senior Member - OP
Thanks Meter 3411
Posts: 2,733
Join Date: May 2010
Location: Chi-Town

 
DONATE TO ME
Quote:
Originally Posted by th3g1z View Post
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
The Following 2 Users Say Thank You to aznrice2k4 For This Useful Post: [ Click to Expand ]
 
brittoking
Old
#5  
brittoking's Avatar
Senior Member
Thanks Meter 348
Posts: 681
Join Date: Apr 2008
Quote:
Originally Posted by aznrice2k4 View Post
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
Haha lmao

Sent from my LG-D950 using XDA Premium 4 mobile app
 
th3g1z
Old
#6  
th3g1z's Avatar
Senior Member
Thanks Meter 85
Posts: 185
Join Date: Mar 2011
Lol that's hilarious. Okay :-p :burns one too:

Sent from my LG-D800
Current: G2 (D800) GNote 2 LTE, Nexus 7 FHD

Past - HTC: One, Jetstream | Samsung: i717, i777 | Moto: Atrix, Backflip | LG: Thrill | Apple: iPhone 4-4S/3G-S/2G | Blackberry: 8300, 8800 | Nokia: N71 ... and you know all the others I forget going back to the startak
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


TRENDING IN THEMER...