Xiaomi Mi4 Launched in India

Xiaomi’s Mi3 and Redmi Note handsets were met with roaring enthusiasm in India,thousands of piecesbeing … more

LG G3 Stock Camera Mod v7

If you want to extend your G3’s camera capabilities, check out this new modded camera application that will … more

Ultrasecure Blackphone Had Security Vulnerability

What was touted to be an impenetrable monolithic staple in Android security has just had a … more

LG Dumps Glass, Adopts Plastic for All Future Screens

LG has been incorporating plastic OLED displays in some of its latest and upcoming … 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,497
 
2,782 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,497
 
2,782 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: 87
 
191 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,497
 
2,782 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 3 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: 382
 
764 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: 87
 
191 posts
Join Date:Joined: Mar 2011
More
Lol that's hilarious. Okay :-p :burns one too:

Sent from my LG-D800
3rd December 2014, 07:22 PM   |  #7  
Senior Member
Sacramento, CA
Thanks Meter: 21
 
122 posts
Join Date:Joined: Dec 2008
More
Can someone repost these files? They've been knocked offline.
4th December 2014, 12:48 AM   |  #8  
sickkside13's Avatar
Senior Member
Thanks Meter: 237
 
745 posts
Join Date:Joined: Jul 2012
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

Lol another fellow smoker in the house
23rd January 2015, 09:53 PM   |  #9  
jader13254's Avatar
Senior Member
Flag actuely i haev more thx den yu
Thanks Meter: 17,851
 
5,781 posts
Join Date:Joined: May 2012
Donate to Me
Quote:
Originally Posted by shimbob

Can someone repost these files? They've been knocked offline.

pls

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes