Official TWRP Recovery Lands on Micromax Canvas Magnus

With the recent release of Android One, Micromax and MediaTek released fully buildable … more

Update Overload: SuperSU Heavily Updated

There are apps and apps out there. Very few can reach the level of popularity required to stay at … more

Lollipop Leak Available for the Sprint Galaxy S5

Since the Android 5.0Lollipop’s official release not too long ago, we’ve seen … more

CPU Spy Gets an Android Lollipop Makeover

At some point in the distant past, you probably heard of CPU Spy for Android by XDARetired … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[MOD][Audio]Enable WCD9320 Mad Audio Drivers

OP aznrice2k4

21st April 2014, 01:49 AM   |  #1  
OP Senior Member
Flag Chi-Town
Thanks Meter: 3,495
 
2,781 posts
Join Date:Joined: May 2010
Donate to Me
More
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 by aznrice2k4; 21st April 2014 at 04:37 AM.
The Following 2 Users Say Thank You to aznrice2k4 For This Useful Post: [ View ]
21st April 2014, 04:36 AM   |  #2  
OP Senior Member
Flag Chi-Town
Thanks Meter: 3,495
 
2,781 posts
Join Date:Joined: May 2010
Donate to Me
More
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.

10th May 2014, 08:35 PM   |  #3  
th3g1z's Avatar
Senior Member
Thanks Meter: 86
 
190 posts
Join Date:Joined: Mar 2011
More
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
11th May 2014, 02:03 AM   |  #4  
OP Senior Member
Flag Chi-Town
Thanks Meter: 3,495
 
2,781 posts
Join Date:Joined: May 2010
Donate to Me
More
Quote:
Originally Posted by th3g1z

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: [ View ]
11th May 2014, 07:02 AM   |  #5  
brittoking's Avatar
Senior Member
Thanks Meter: 356
 
723 posts
Join Date:Joined: Apr 2008
Quote:
Originally Posted by aznrice2k4

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
11th May 2014, 05:50 PM   |  #6  
th3g1z's Avatar
Senior Member
Thanks Meter: 86
 
190 posts
Join Date:Joined: Mar 2011
More
Lol that's hilarious. Okay :-p :burns one too:

Sent from my LG-D800
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes