5,605,904 Members 47,480 Now Online
XDA Developers Android and Mobile Development Forum

In line mic fix dump from Nexus 5 to Nexus 4 (file mixer_paths.xml) ?

Tip us?
 
francesco9482
Old
(Last edited by francesco9482; 8th December 2013 at 10:29 AM.)
#1  
Junior Member - OP
Thanks Meter 2
Posts: 18
Join Date: Dec 2009
Default In line mic fix dump from Nexus 5 to Nexus 4 (file mixer_paths.xml) ?

Hi all,
I would like to ask developers if it is possible to apply the mic gain fix released for n5 to the n4.

The fix changes the file linked below:
https://android.googlesource.com/dev...head/+/76d97e7.
Google is working on a similar fix but no eta released.

Thank you all and thanks to Jonas Karlsoon who discovered the file on Google products forum.

Sent from my Nexus 4 using Tapatalk
 
OldDroid
Old
#2  
OldDroid's Avatar
Recognized Developer
Thanks Meter 4148
Posts: 936
Join Date: Nov 2012
Location: Berlin
its possible but wrong section, 2 options, general section or q&a section!
Thread reported.

Regards,
OD
Current Device: LG Nexus 5 (E980)
Recovery: Stock
Kernel: Stock
Bootloader: Locked
Linux-Kernel version: 3.4.0
Rom: Android 4.4.2 (KOT49H)


OldDroid - FB
The Following User Says Thank You to OldDroid For This Useful Post: [ Click to Expand ]
 
stephane.rosi
Old
#3  
Junior Member
Thanks Meter 6
Posts: 12
Join Date: Sep 2011
Hi!

If your phone is rooted, you can modify the headset microphone volume in the file /system/etc/mixer_paths.xml (see below).
I've done that on my Nexus 4 and it's working great.

If your phone is not rooted, I've published a patch on android source : https://android-review.googlesource.com/#/c/73711/
Hopefully someone at Google will see it and merge it for the next release => vote/comment it so that it gets attention!


/system/etc/mixer_paths.xml - before modification
=================================================
<path name="headset-mic">
<path name="adc2" />
<ctl name="ADC2 Volume" value="2" />
</path>

/system/etc/mixer_paths.xml - after modification
================================================
<path name="headset-mic">
<path name="adc2" />
<ctl name="ADC2 Volume" value="2" />
<ctl name="DEC8 Volume" value="99" />
</path>

Cheers,
--
Steph
 
francesco9482
Old
(Last edited by francesco9482; 7th January 2014 at 08:13 AM.)
#4  
Junior Member - OP
Thanks Meter 2
Posts: 18
Join Date: Dec 2009
Hi stephane! thank you for your patch! At the moment my phone is running completely stock android so I will vote for the patch. If in a couple of weeks google won't do anything I will root and use your mod!

Quote:
Originally Posted by stephane.rosi View Post
Hi!

If your phone is rooted, you can modify the headset microphone volume in the file /system/etc/mixer_paths.xml (see below).
I've done that on my Nexus 4 and it's working great.

If your phone is not rooted, I've published a patch on android source : https://android-review.googlesource.com/#/c/73711/
Hopefully someone at Google will see it and merge it for the next release => vote/comment it so that it gets attention!


/system/etc/mixer_paths.xml - before modification
=================================================
<path name="headset-mic">
<path name="adc2" />
<ctl name="ADC2 Volume" value="2" />
</path>

/system/etc/mixer_paths.xml - after modification
================================================
<path name="headset-mic">
<path name="adc2" />
<ctl name="ADC2 Volume" value="2" />
<ctl name="DEC8 Volume" value="99" />
</path>

Cheers,
--
Steph
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes