This is a fix that I've whipped up and made into a recovery flashable zip
ZIP REMOVED
Please read POST 8
I've modified the mixer_paths.xml file in /system/etc
I'M NOT RESPONSIBLE IF THIS BREAKS YOUR AUDIO, ETC, BLAH BLAH.
NO BACKUP OF THIS FILE WILL BE MADE
MAKE YOUR OWN BACKUP
File originally from crDroid 6.0.1
Original sections
Code:
<path name="speaker">
<ctl name="QUAT_MI2S_RX Channels" value="Two" />
<!-- Disable earpiece mode -->
<ctl name="BOOST earpiece mode" value="Off" />
<!-- Select Left channel on Left IC bypass mode -->
<ctl name="BOOST Left Ch Select" value="1" />
<!-- Select Right channel on Right IC bypass mode -->
<ctl name="BOOST Right Ch Select" value="2" />
<!-- Enable Mixers to power up Left and Right IC's -->
<ctl name="BOOST_STUB Right Mixer right" value="1" />
<ctl name="BOOST_STUB Left Mixer left" value="1" />
</path>
<path name="speaker-reverse">
<ctl name="QUAT_MI2S_RX Channels" value="Two" />
<!-- Disable earpiece mode -->
<ctl name="BOOST earpiece mode" value="Off" />
<!-- Select Left channel on Left IC bypass mode -->
<ctl name="BOOST Left Ch Select" value="2" />
<!-- Select Right channel on Right IC bypass mode -->
<ctl name="BOOST Right Ch Select" value="1" />
<!-- Enable Mixers to power up Left and Right IC's -->
<ctl name="BOOST_STUB Right Mixer right" value="1" />
<ctl name="BOOST_STUB Left Mixer left" value="1" />
</path>
<path name="handset">
<!-- Enable earpiece mode this toggles gpio -->
<ctl name="BOOST earpiece mode" value="On" />
<!-- Enable Mixer to power up Left IC -->
<ctl name="BOOST_STUB Left Mixer left" value="1" />
<ctl name="BOOST_STUB Right Mixer right" value="0" />
<!-- select (l + r)/2 -->
<ctl name="BOOST Left Ch Select" value="3" />
<!-- bypass dsp -->
<ctl name="BOOST ENABLE Spkr Left Prot" value="1" />
</path>
MODIFIED sections
Code:
<path name="speaker">
<ctl name="QUAT_MI2S_RX Channels" value="Two" />
<!-- Disable earpiece mode -->
<ctl name="BOOST earpiece mode" value="Off" />
<!-- Select Left channel on Left IC bypass mode -->
<ctl name="BOOST Left Ch Select" value="1" />
<!-- Select Right channel on Right IC bypass mode -->
<ctl name="BOOST Right Ch Select" value="2" />
<!-- Enable Mixers to power up Left and Right IC's -->
<ctl name="BOOST_STUB Right Mixer right" value="1" />
<ctl name="BOOST_STUB Left Mixer left" value="1" />
</path>
<path name="speaker-reverse">
<ctl name="QUAT_MI2S_RX Channels" value="Two" />
<!-- Disable earpiece mode -->
<ctl name="BOOST earpiece mode" value="Off" />
<!-- Select Left channel on Left IC bypass mode -->
<ctl name="BOOST Left Ch Select" value="1" />
<!-- Select Right channel on Right IC bypass mode -->
<ctl name="BOOST Right Ch Select" value="2" />
<!-- Enable Mixers to power up Left and Right IC's -->
<ctl name="BOOST_STUB Right Mixer right" value="1" />
<ctl name="BOOST_STUB Left Mixer left" value="1" />
</path>
<path name="speaker-safe">
<!-- Bottom speaker only for Shamu -->
<!-- Select mono channel on Right IC -->
<ctl name="BOOST Right Ch Select" value="2" />
<!-- Enable Mixers to power up Right IC only -->
<ctl name="BOOST_STUB Right Mixer right" value="1" />
</path>
<path name="handset">
<!-- Enable earpiece mode this toggles gpio -->
<ctl name="BOOST earpiece mode" value="Off" />
<!-- Enable Mixer to power up Left IC -->
<ctl name="BOOST_STUB Left Mixer left" value="1" />
<ctl name="BOOST_STUB Right Mixer right" value="0" />
<!-- select (l + r)/2 -->
<ctl name="BOOST Left Ch Select" value="1" />
<!-- bypass dsp -->
<ctl name="BOOST ENABLE Spkr Left Prot" value="1" />
</path>
Is this a known issue? Not something I've noticed when watching videos. I'll have to pay closer attention when playing media.
Some people notice that the top (earpiece) speaker is louder, ever so slightly, than the bottom speaker.
The default config puts emphasis on the earpiece speaker, making it just a few decibels louder. This fixes that imbalance.
Unfortunately it has to be flashed along side each ROM update.
•• MOTOROLA NEXUS SIX ••
Eun-Hjzjined said:
Some people notice that the top (earpiece) speaker is louder, ever so slightly, than the bottom speaker.
The default config puts emphasis on the earpiece speaker, making it just a few decibels louder. This fixes that imbalance.
Unfortunately it has to be flashed along side each ROM update.
•• MOTOROLA NEXUS SIX ••
Click to expand...
Click to collapse
Where did the file come from originally that you edited? Your mixer path values may conflict with custom rom mixer path values that were designed to work with a specific kernel & could cause people's volumes to be all jacked up. Back on the G2 I would take mixer file from one rom & put it in another with mixed results. Could be good.. could be bad... Might be worth the note of where yours came from.
Edit:
May be worth noting in the OP what values you changed to resolve the issue so others can make the change manually if they want.
Updated op with original and modified sections on the mixer_path.xml [from crDroid 6.0.1]
Eun-Hjzjined said:
Updated op with original and modified sections on the mixer_path.xml [from crDroid 6.0.1]
Click to expand...
Click to collapse
what rom are you using??
does this work on stock based roms? coz for what i know, crdroid is based on cm..
I'm on crDroid right now.
I'm looking into a way to change the values, rather than just replacing the file.
For the mean time, you can edit your own file if you are not sure about flashing this.
After further investigation, I've determined that the sound imbalance problem only affects certain ROM and/or kernel combinations.
For some reason some ROMs won't select the proper audio mode (two channel vs mono).
If mono is selected for audio playback through the speakers, the left channel signal is boosted, and right signal is merged into the left.
This still produces sound from the bottom speaker, however the signal is diminished. Creating an imbalance.
If the correct configuration, two channel mode, is the default the ROM and/or kernel picks to output sound to the hardware speakers, there is no imbalance.
There is most likely a fix, but it can't be done at the user level. It's a problem somewhere in audio signal processing in source, on the ROM or the kernel side.
•• MOTOROLA NEXUS SIX ••
Would a kernel with faux sound support and the faux sound control app remedy this?
I would likely think so.
If you hear a difference from before and after, please report back.
•• MOTOROLA NEXUS SIX ••
could you share with us the list of rom/kernels that have the mono issue?
Sent from my GT-N7000 using Tapatalk
I really don't want to turn this into that kind of thread.
If you experience imbalance, you really should let your ROM and/or Kernel Dev know in it's respective thread.
But my personal experience tells me, on my device, that crDroid (currently) has it.
•• MOTOROLA NEXUS SIX ••
Eun-Hjzjined said:
I really don't want to turn this into that kind of thread.
If you experience imbalance, you really should let your ROM and/or Kernel Dev know in it's respective thread.
But my personal experience tells me, on my device, that crDroid (currently) has it.
•• MOTOROLA NEXUS SIX ••
Click to expand...
Click to collapse
respect
Sent from my GT-N7000 using Tapatalk
Did anyone ever try this lol?
Yes. Myself and a few others from around the forums.
The issue seems to be fixed now, whatever was causing it.
•• MOTOROLA NEXUS SIX ••
OP I think you are on to something cause I just rooted and tried my first ROM. Before running stock I had no top speaker sound distortion. Now on custom ROM I have distorted top speaker noise. I could go back to my stock rooted to check.
It just sounds like my speaker is cracked at high volume, max volume wasn't a issue.
Notice this on my Shamu too, now I have the Angler Nexus 6P.
Related
Flashable zip files kindly offered by @springer.music
Lollipop
Marshmallow
Nougat <= 7.1.1
Nougat 7.1.2
In spending a lot of quality time with audio on the Nexus 5, I found a way to enable stereo recording that, with only minor modifications, works
also on the Nexus 6. Let me preface the below by saying that I do not have access to a Nexus 6, but @springer.music was kind enough to work
with me throughout the testing phase. Thanks!
On to the details:
The Nexus 6 has three microphones. The main microphone sits behind the lower speaker grille. The other two have their ports open toward
the back of the phone, i.e. one of them near the USB port and the other one near the camera lens. For camcorder recordings, the Nexus 6 uses
the front microphone by default.
This mod changes two system files, i.e. /system/etc/media_profiles.xml and /system/etc/mixer_paths.xml.
While the changes in media_profiles.xml simply enable two-channel processing, the more interesting changes occur in mixer_paths.xml.
After some experimentation, we have found that the microphone close to the USB port is associated with ADC1 (channel one of the analog-to-digital
converter in the audio codec), the microphone close to the rear camera is associated with ADC4, and the main microphone is associated with ADC3.
The mixer file now contains a new audio device called camcorder-stereo (only called when the "camcorder" device is requested) that uses the
microphone by the camera lens as the left channel and the microphone close to the USB port as the right channel. The gains are kept at stock
camcorder levels, i.e. ADC1=ADC4=8. These gains are by no means set in stone. You can adjust them as you like, making the microphone more or
less sensitive in the process. Indeed, you may need/want to do that when you plan on recording, say, a club visit or rock concert.
Keep in mind, though, that you need to reboot your phone anytime you make changes to the mixer_paths.xml file as
the new values are read only upon a system boot.
Welcome side effect: In addition to the camcorder now being able to capture stereo audio, all audio recording apps that allow the microphone
to be changed to the "camcorder" microphone (provided the app itself offers stereo processing) can take advantage of this mod, too.
Apps that are capable of recording stereo audio with this mod are "Voice Recorder" and "Easy Voice Recorder Pro".
Any idea if Viper4Android makes any changes to these files that this mod will overwrite?
SolsticeZero said:
Any idea if Viper4Android makes any changes to these files that this mod will overwrite?
Click to expand...
Click to collapse
Possibly. I would install Viper4Android first and then consolidate the two mixer_paths.xml (and maybe media_profiles.xml) files manually.
chdloc said:
...
Installation:
make a backup of your stock media_profiles.xml and mixer_paths.xml files (attached in the "stock" archive for convenience)
manually push the two files in the "stereo_mod" archive to /system/etc/
adjust the permissions of the two files to 644 (rw-r--r--)
reboot
@springer.music will be providing a flashable zip soon for those of you who don't feel comfortable pushing system files manually.
Click to expand...
Click to collapse
Thanks for all the work @chdloc!
Here's a zip file that can be flashed through recovery (TWRP). It replaces both media_profiles.xml and mixer_paths.xml
https://drive.google.com/open?id=0B4ACjWKfxD7wSkNHeU5Rb0xSb1k&authuser=0
Here are flashable zip files for the stock media_profiles.xml and mixer_paths.xml files if you need to revert the mod.
https://drive.google.com/open?id=0B4ACjWKfxD7wWHlxcUZNVm8ydGs&authuser=0
https://drive.google.com/open?id=0B4ACjWKfxD7wVFBxTjNFb0dub28&authuser=0
Use All three MICs
Hi chdloc,
Thank you so much for your post! Really helpful!
Based on your work, I wanna make some change------using all three MICs(including camcorder, the mic near USB in the back, and the default mic in the front). I wanna keep your revised media_profiles file. Just make some changes in mixer_paths file.
Like this:
<path name="camcorder-stereo">
<ctl name="AIF3_CAP Mixer SLIM TX3" value="1" />
<ctl name="AIF3_CAP Mixer SLIM TX5" value="1" />
<ctl name="AIF1_CAP Mixer SLIM TX7" value="1" />
<ctl name="AIF1_CAP Mixer SLIM TX8" value="1" />
<ctl name="AIF2_CAP Mixer SLIM TX9" value="1" />
<ctl name="AIF2_CAP Mixer SLIM TX10" value="1" />
<ctl name="SLIM_0_TX Channels" value="Two" />
<ctl name="SLIM TX3 MUX" value="DEC4" />
<ctl name="SLIM TX5 MUX" value="DEC4" />
<ctl name="SLIM TX7 MUX" value="DEC3" />
<ctl name="SLIM TX8 MUX" value="DEC6" />
<ctl name="SLIM TX9 MUX" value="DEC3" />
<ctl name="SLIM TX10 MUX" value="DEC6" />
<ctl name="DEC6 MUX" value="ADC1" />
<ctl name="DEC4 MUX" value="ADC3" />
<ctl name="DEC3 MUX" value="ADC4" />
<ctl name="ADC1 Volume" value="8" />
<ctl name="ADC2 Volume" value="0" />
<ctl name="ADC3 Volume" value="8" />
<ctl name="ADC4 Volume" value="8" />
<ctl name="ADC5 Volume" value="0" />
<ctl name="ADC6 Volume" value="0" />
</path>
Is that ok to use all three MICs for recording in the same time?
sherlock1127 said:
Hi chdloc,
Thank you so much for your post! Really helpful!
Based on your work, I wanna make some change------using all three MICs(including camcorder, the mic near USB in the back, and the default mic in the front). I wanna keep your revised media_profiles file. Just make some changes in mixer_paths file.
Like this:
<path name="camcorder-stereo">
<ctl name="AIF3_CAP Mixer SLIM TX3" value="1" />
<ctl name="AIF3_CAP Mixer SLIM TX5" value="1" />
<ctl name="AIF1_CAP Mixer SLIM TX7" value="1" />
<ctl name="AIF1_CAP Mixer SLIM TX8" value="1" />
<ctl name="AIF2_CAP Mixer SLIM TX9" value="1" />
<ctl name="AIF2_CAP Mixer SLIM TX10" value="1" />
<ctl name="SLIM_0_TX Channels" value="Two" />
<ctl name="SLIM TX3 MUX" value="DEC4" />
<ctl name="SLIM TX5 MUX" value="DEC4" />
<ctl name="SLIM TX7 MUX" value="DEC3" />
<ctl name="SLIM TX8 MUX" value="DEC6" />
<ctl name="SLIM TX9 MUX" value="DEC3" />
<ctl name="SLIM TX10 MUX" value="DEC6" />
<ctl name="DEC6 MUX" value="ADC1" />
<ctl name="DEC4 MUX" value="ADC3" />
<ctl name="DEC3 MUX" value="ADC4" />
<ctl name="ADC1 Volume" value="8" />
<ctl name="ADC2 Volume" value="0" />
<ctl name="ADC3 Volume" value="8" />
<ctl name="ADC4 Volume" value="8" />
<ctl name="ADC5 Volume" value="0" />
<ctl name="ADC6 Volume" value="0" />
</path>
Is that ok to use all three MICs for recording in the same time?
Click to expand...
Click to collapse
I'm not sure what the (even theoretical) benefit would be to use three microphones simultaneously for camcorder recordings. Two of them are relatively close together, so there would be very little additional spatial information. As a use-case I can only come up with using the front microphone to pick up narration, but there will be a lot of cross-talk between the channels (if that use-case is desired then it may be better to attach a separate close-talking microphone to the headset port). Plus, in order to play back the recorded audio you would need to implement some sort of 3 ch->2 ch down-mix paradigm. (Unless you use the three microphones to design a steerable first-order or even second-order differential microphone array for a more flexible acoustic front-end capable of recording spatial sound)
Theory aside, in the "camcorder-stereo" device in mixer_paths.xml you would need to change
Code:
<ctl name="SLIM_0_TX Channels" value="Two" />
to
Code:
<ctl name="SLIM_0_TX Channels" value="Three" />
if that is even supported by your device. Also, you would need to update /system/etc/media_profiles.xml to support not two but three channels. Then the questions is whether Android (libaudioflinger) knows what to do with three channels. I don't have a Nexus 6, so I cannot test.
chdloc said:
I'm not sure what the (even theoretical) benefit would be to use three microphones simultaneously for camcorder recordings. Two of them are relatively close together, so there would be very little additional spatial information. As a use-case I can only come up with using the front microphone to pick up narration, but there will be a lot of cross-talk between the channels (if that use-case is desired then it may be better to attach a separate close-talking microphone to the headset port). Plus, in order to play back the recorded audio you would need to implement some sort of 3 ch->2 ch down-mix paradigm. (Unless you use the three microphones to design a steerable first-order or even second-order differential microphone array for a more flexible acoustic front-end capable of recording spatial sound)
Theory aside, in the "camcorder-stereo" device in mixer_paths.xml you would need to change
Code:
<ctl name="SLIM_0_TX Channels" value="Two" />
to
Code:
<ctl name="SLIM_0_TX Channels" value="Three" />
if that is even supported by your device. Also, you would need to update /system/etc/media_profiles.xml to support not two but three channels. Then the questions is whether Android (libaudioflinger) knows what to do with three channels. I don't have a Nexus 6, so I cannot test.
Click to expand...
Click to collapse
Firstly, many thanks for your reply!
Because we are working on speech enhancement algorithms, three MICs recording is much better than two MICs even though that two MICs are close to each other.
I used the revised mixer_paths.xml then tired
<ctl name="SLIM_0_TX Channels" value="Two" />
and
<ctl name="SLIM_0_TX Channels" value="Three" />
with camcorder stereo recording. But the results are the same as the normal two MICs recording instead of three MICs. Only the camcorder and the MIC on the back near the USB port working. My guess is that, there will be a file to state how to store recording data from two MICs into one buffer (Like two MICs stereo recording is left right left right...). So if we want to do three MICs recording we have to find that file and revise it to make it be able to store recording data from three MICs into one buffer.
Based on your experience, what do you think?
Thanks again and best regards!
sherlock1127 said:
Because we are working on speech enhancement algorithms, three MICs recording is much better than two MICs even though that two MICs are close to each other.
Click to expand...
Click to collapse
Interesting. Please do share some details on what exactly you would like to accomplish.
My guess is that, there will be a file to state how to store recording data from two MICs into one buffer (Like two MICs stereo recording is left right left right...). So if we want to do three MICs recording we have to find that file and revise it to make it be able to store recording data from three MICs into one buffer.
Click to expand...
Click to collapse
For camcorder recordings -- as I alluded to before -- in addition to modifying mixer_paths.xml as you did above, you also need to modify the file /system/etc/media_profiles.xml. In that file, change
Code:
<EncoderProfile quality="720p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="12000000"
width="1280"
height="720"
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="1080p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="17000000"
width="1920"
height="1080"
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
to
Code:
<EncoderProfile quality="720p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="12000000"
width="1280"
height="720"
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="[COLOR="red"]3[/COLOR]" />
</EncoderProfile>
<EncoderProfile quality="1080p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="17000000"
width="1920"
height="1080"
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="[COLOR="Red"]3[/COLOR]" />
</EncoderProfile>
and change
Code:
<AudioEncoderCap name="aac" enabled="true"
minBitRate="758" maxBitRate="288000"
minSampleRate="8000" maxSampleRate="48000"
minChannels="1" maxChannels="1" />
to
Code:
<AudioEncoderCap name="aac" enabled="true"
minBitRate="758" maxBitRate="288000"
minSampleRate="8000" maxSampleRate="48000"
minChannels="1" maxChannels="[COLOR="red"]3[/COLOR]" />
followed by a reboot.
You may not need to modify media_profiles.xml if you find an DAW app (or write one yourself) that is designed to work with more than two channels and that uses the "CAMCORDER" device when setting up the audio subsystem. You could also look into using ALSA directly from the command line to try to capture all three audio channels simultaneously.
I've updated the file generously provided by springer.music to contain the modifications to Android M Preview 3 stock files to enable stereo recording. I've attached it.
Thanks zefie.
I've been playing around with with the input gain in mixer_paths.xml and after a numbers of tests I then changed the ADC1 and ADC4 values to "0" instead of "8" on my Note 6 (the zip file I posted in my previous post had the input gain set to "8").
I discussed this with chdloc some months ago and he told me that "8" should be the default value. However, with ADC1 and ADC4 set to 8, I used to get some unwanted audio clipping (it sounded like some sort of limiter kicked in, it was not distortion due to saturation) with high volume audio sources, such as live music and the like.
Setting ADC1 and ADC4 to "0" seems to provide more balanced results.
Here's a new/alternative zip file for Lollipop/5.1.1 with the ADC values set to 0 if anyone would like to try it.
https://drive.google.com/uc?export=download&id=0B4ACjWKfxD7wSkZfZDQ5cGdBM2M
springer.music said:
I discussed this with chdloc some months ago and he told me that "8" should be the default value. However, with ADC1 and ADC4 set to 8, I used to get some unwanted audio clipping (it sounded like some sort of limiter kicked in, it was not distortion due to saturation) with high volume audio sources, such as live music and the like.
Click to expand...
Click to collapse
Unfortunately, without having access to the codec's documentation, only experimentation and measurements can determine what the default value "should" be. Without having access to a Nexus 6, all I can say is that "8" was the (default) value chosen by the Google and/or Motorola guys.
chdloc said:
Unfortunately, without having access to the codec's documentation, only experimentation and measurements can determine what the default value "should" be. Without having access to a Nexus 6, all I can say is that "8" was the (default) value chosen by the Google and/or Motorola guys.
Click to expand...
Click to collapse
You're right, the trial and error method can quite often be the best solution.
Still, I don't understand why stereo audio recording is not a standard feature on the Nexus 6. The mics are there and they seem to work decently. Go figure...
Working really well on the m preview rom , thanks!
Sent from my Nexus 6 using Tapatalk
Just wanted to report that this works like a charm on the official 6.0 release :good:
@springer.music @chdloc
Which one of these files work good on 6.0.0 ?
kryddan said:
@springer.music @chdloc
Which one of these files work good on 6.0.0 ?
Click to expand...
Click to collapse
Here's a version for Android 6/Marshmallow:
https://drive.google.com/uc?export=download&id=0Byg2gRuMx9SFdnJmYm5HanBvWDA
springer.music said:
Here's a version for Android 6/Marshmallow:
https://drive.google.com/uc?export=download&id=0Byg2gRuMx9SFdnJmYm5HanBvWDA
Click to expand...
Click to collapse
Thank you, you saved my evening. Going to a Danko Jones concert tonight
Ok, ofcourse I will have other equipment to bring, but still
springer.music said:
Here's a version for Android 6/Marshmallow:
https://drive.google.com/uc?export=download&id=0Byg2gRuMx9SFdnJmYm5HanBvWDA
Click to expand...
Click to collapse
Flashable zip??
bmakk2055 said:
Flashable zip??
Click to expand...
Click to collapse
Yes
springer.music said:
Yes
Click to expand...
Click to collapse
thanks
---------- Post added at 05:40 PM ---------- Previous post was at 04:52 PM ----------
springer.music said:
Yes
Click to expand...
Click to collapse
One more thing, will this work on my Nexus 7 2013?
Note: This mod only works on Z1C & Thanks to @dontbelive & modified xml by @Lessismooore (http://forum.xda-developers.com/showpost.php?p=60209727&postcount=14)
Instructions:
Goto "system/etc/"
Backup mixer_path.xml
Move the newer mixer_path.xml and change the permissions to "644" (rw-r-r)
Reboot and Done!
I use the RU.242 Version and its not working
This mod kills audio, I get an Unfortunately Audio settings has stopped, I also can't get jetaudio and some other apps to run.
I removed the mod and everything works again
Soldat0815 said:
I use the RU.242 Version and its not working
Click to expand...
Click to collapse
dazjp71 said:
This mod kills audio, I get an Unfortunately Audio settings has stopped, I also can't get jetaudio and some other apps to run.
I removed the mod and everything works again
Click to expand...
Click to collapse
I am on the same firmware, works fine. You sure you did the permissions? This is not a flashable zip.
No sound after this mod..
SpiritBreak3r said:
I am on the same firmware, works fine. You sure you did the permissions? This is not a flashable zip.
Click to expand...
Click to collapse
I did exactly what the instructions stated, it just didn't work no sound and some apps stopped working
papzi57 said:
No sound after this mod..
Click to expand...
Click to collapse
dazjp71 said:
I did exactly what the instructions stated, it just didn't work no sound and some apps stopped working
Click to expand...
Click to collapse
Could you guys try the mixer_path from the YKG v15's zip?
SpiritBreak3r said:
Could you guys try the mixer_path from the YKG v15's zip?
Click to expand...
Click to collapse
Yes, I tryed:
There are stereo sound, but very, very distorted!
papzi57 said:
Yes, I tryed:
There are stereo sound, but very, very distorted!
Click to expand...
Click to collapse
But it sounds the same as the kitkat mod.
This mixer path not working for me too
m!k3 said:
This mixer path not working for me too
Click to expand...
Click to collapse
I re-uploaded the working mixer_path.xml. It seems to have been corrupted while I pushed it from my phone. Try it again.
SpiritBreak3r said:
But it sounds the same as the kitkat mod.
Click to expand...
Click to collapse
Its not.. The sound from the eat speaker is very muffled..
Changed back to original mixer
Sent from my D5503 using XDA Free mobile app
SpiritBreak3r said:
I re-uploaded the working mixer_path.xml. It seems to have been corrupted while I pushed it from my phone. Try it again.
Click to expand...
Click to collapse
Now the Mod works but the sound on the headspeaker is not good.
It´s a effekt like the speaker overmodulate but didn´t stop if you turn down the volume.
Thanks for the mod, it's working but the sound is very distorted and the headphone is extremely loud that despite it may damage your headset, it can seriously cause some problems to your ears.
anyway I edited the original file "mixer_paths.xml" from the official lollipop in my z1 compact and adjusted the values for a high volume with clear sound without distortion...
I changed the values under these tags:
<path name="speaker">
<path name="speaker-mic">
<path name="headphones">
<path name="headset-mic">
- and for more information here is what I've done in details:
-Original speaker values:
<path name="speaker">
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM RX2 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="RX7 MIX1 INP1" value="RX1" />
<ctl name="RX7 MIX1 INP2" value="RX2" />
<!-- 67 % of 124 (range 0 - 124) Register: 0x2E7-->
<ctl name="RX7 Digital Volume" value="83" />
<!-- 100 % of 8 (range 0-8) Register: 0x1E0-->
<ctl name="SPK DRV Volume" value="8" />
</path>
-Edited speaker values:
<path name="speaker">
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM RX2 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="RX7 MIX1 INP1" value="RX1" />
<ctl name="RX7 MIX1 INP2" value="RX2" />
<!-- 67 % of 124 (range 0 - 124) Register: 0x2E7-->
<ctl name="RX7 Digital Volume" value="91" />
<!-- 100 % of 8 (range 0-8) Register: 0x1E0-->
<ctl name="SPK DRV Volume" value="8" />
</path>
------------
-Original speaker-mic values:
<path name="speaker-mic">
<path name="adc4" />
<!-- 63 % of 19 (range 0 - 19) Register: 0x15F -->
<ctl name="ADC4 Volume" value="12" />
<!-- 66 % of 124 (range 0 - 124) Register: 0x231 -->
<ctl name="DEC3 Volume" value="82" />
</path>
-Edited speaker-mic values:
<path name="speaker-mic">
<path name="adc4" />
<!-- 63 % of 19 (range 0 - 19) Register: 0x15F -->
<ctl name="ADC4 Volume" value="14" />
<!-- 66 % of 124 (range 0 - 124) Register: 0x231 -->
<ctl name="DEC3 Volume" value="82" />
</path>
------------
-Original headphones values:
<path name="headphones">
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM RX2 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RX2 MIX1 INP1" value="RX2" />
<ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
<ctl name="HPHL DAC Switch" value="1" />
<!--70 % of 20 register: 0x1AE-->
<ctl name="HPHL Volume" value="14" />
<!--70 % of 20 register: 0x1B4-->
<ctl name="HPHR Volume" value="14" />
<!--66 % of 124 (rounded) register: 0x2B7-->
<ctl name="RX1 Digital Volume" value="82" />
<!--66 % of 124 (rounded) register: 0x2BF-->
<ctl name="RX2 Digital Volume" value="82" />
</path>
-Edited headphones values:
<path name="headphones">
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM RX2 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RX2 MIX1 INP1" value="RX2" />
<ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
<ctl name="HPHL DAC Switch" value="1" />
<!--70 % of 20 register: 0x1AE-->
<ctl name="HPHL Volume" value="16" />
<!--70 % of 20 register: 0x1B4-->
<ctl name="HPHR Volume" value="16" />
<!--66 % of 124 (rounded) register: 0x2B7-->
<ctl name="RX1 Digital Volume" value="84" />
<!--66 % of 124 (rounded) register: 0x2BF-->
<ctl name="RX2 Digital Volume" value="84" />
</path>
------------
-Original headset-mic values:
<path name="headset-mic">
<path name="adc2" />
<!--42 % of 19 (rounded) register: 0x155-->
<ctl name="ADC2 Volume" value="8" />
<!--80 % of 124 (rounded) register: 0x241-->
<ctl name="DEC5 Volume" value="99" />
</path>
-Edited headset-mic values:
<path name="headset-mic">
<path name="adc2" />
<!--42 % of 19 (rounded) register: 0x155-->
<ctl name="ADC2 Volume" value="10" />
<!--80 % of 124 (rounded) register: 0x241-->
<ctl name="DEC5 Volume" value="99" />
</path>
The adjusted file in the attachments.
Use the same instructions provided by SpiritBreak3r in the original post.
And enjoy your z1c with high clear sound :good:
Thanks &
Best Regards,
Lessismooore said:
The adjusted file in the attachments.
Use the same instructions provided by SpiritBreak3r in the original post.
And enjoy your z1c with high clear sound :good:
Thanks &
Best Regards,
Click to expand...
Click to collapse
Thanks for sharing,no cracking sound anymore. but speaker voice is still too low even turn on almost max volume.
nutdevza said:
Thanks for sharing,no cracking sound anymore. but speaker voice is still too low even turn on almost max volume.
Click to expand...
Click to collapse
I agree with you, comparing to the other devices still low volume even after boosting it..
but comparing to its original sound I found this more better than never, and I am not going to say I am very satisfied but at least satisfied right now comparing to its real low original sound.
by the way I tried different values and when I tried to go higher or trying the mod in the OP, regardless the distortion of the sound in both experiences, when I play a song with maximum volume and touching the screen I felt like the screen is gonna explode because of the impact of the extreme high sound is somehow going into the device more than coming out of it, I don't know but maybe it's because of the waterproof thing this is why we're not getting the most out of the speakers.
If someone has any modifications, adjustments, additions will be more than welcome...
Thanks for sharing your feedback,
Best Regards..
The adjusted file in the attachments.
Use the same instructions provided by [URL="http://forum.xda-developers.com/member.php?u=5891919" said:
SpiritBreak3r[/URL] in the original post.
And enjoy your z1c with high clear sound :good:
Thanks &
Best Regards,
Click to expand...
Click to collapse
Thx!
Tried only with earphones, sounds good..?
I'll check it later with speakers..
Update : I checked the speakers and it is louder .. Of course, the quality is pretty lame, but its only because we are taking our z1 compact to the limit .. Waterproof price..
Sent from my D5503 using XDA Free mobile app
Here is stock lollipop mixer_part.XML I think stock speaker volume is louder than your mod. Analyze it if there would be another better way for mod.
In a nutshell.
Stock = loud speaker, low headphones volume .
Mod files = low speaker volume but loud headphones.
nutdevza said:
Here is stock lollipop mixer_part.XML I think stock speaker volume is louder than your mod.
In a nutshell.
Stock = loud speaker, low headphones volume .
Mod files = low speaker volume but loud headphones.
Click to expand...
Click to collapse
I agree with you, but i'm happy with this mod. Because i only hear music with headphones.
Great mod!
after using the mod for a while, i appreciate the increase of quality in headphones, but the speaker volume "croaks" a little bit.
i noticed that with the clear audio+ enabled, the quality is little better
do you have tried other combinations of the equalizer? Opinions?
I boosted sound on my other phone by changing "RX7 Digital Volume" value.
But it seems like "RX7 Digital Volume" is missing.
Anyone know why?
i also wanted to boost speaker of my moto x play ...
Please tell me too if you got solution
which area we need to edit in mixer_path to boost speaker volume only.
No solution yet :/
ctl name="IN1L Digital Volume" value="0" />
<ctl name="IN1R Digital Volume" value="142" />
<ctl name="IN2L Digital Volume" value="128" />
<ctl name="IN2R Digital Volume" value="128" />
<ctl name="IN3L Digital Volume" value="128" />
<ctl name="IN3R Digital Volume" value="128" />
do u think we need to change above 128 value ??
---------- Post added at 11:37 AM ---------- Previous post was at 11:36 AM ----------
Niether Mixer_path has speaker word nor have RX DIGITAL VOlume ?
where to go for edit
btw Viper4android is **** .. it just produce disturbing sound loudly
<path name="speaker-and-headphones">
<path name="speaker" />
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="HPOUT1L Input 1" value="SLIMRX1" />
<ctl name="HPOUT1R Input 1" value="SLIMRX2" />
<ctl name="HPOUT1 Digital Volume" id="0" value="138" />
<ctl name="HPOUT1 Digital Volume" id="1" value="138" />
<ctl name="HPOUT1 Digital Switch" id="0" value="1" />
<ctl name="HPOUT1 Digital Switch" id="1" value="1" />
</path>
Try changing value of digital volume.
PSxplay said:
<path name="speaker-and-headphones">
<path name="speaker" />
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="HPOUT1L Input 1" value="SLIMRX1" />
<ctl name="HPOUT1R Input 1" value="SLIMRX2" />
<ctl name="HPOUT1 Digital Volume" id="0" value="138" />
<ctl name="HPOUT1 Digital Volume" id="1" value="138" />
<ctl name="HPOUT1 Digital Switch" id="0" value="1" />
<ctl name="HPOUT1 Digital Switch" id="1" value="1" />
</path>
Try changing value of digital volume.
Click to expand...
Click to collapse
so did your speaker volume was boosted by changing above values ???
---------- Post added at 11:51 AM ---------- Previous post was at 11:49 AM ----------
i have following in mixer_path .. do i need to change 110 value to 138 ???
<path name="speaker-and-headphones">
<path name="speaker" />
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="HPOUT1L Input 1" value="SLIMRX1" />
<ctl name="HPOUT1R Input 1" value="SLIMRX2" />
<ctl name="HPOUT1 Digital Volume" id="0" value="110" />
<ctl name="HPOUT1 Digital Volume" id="1" value="110" />
<ctl name="HPOUT1 Digital Switch" id="0" value="1" />
<ctl name="HPOUT1 Digital Switch" id="1" value="1" />
Nope nothing happened :/
so what should we do now ?
should we try viper4android
no one is here to help us !!!!
Rx7 is speaker volume; I need to lower volume in speaker. I have distort in speaker, sounds too loud.
Sent from my Nexus 6P using XDA-Developers mobile app
info[]box1 said:
Rx7 is speaker volume; lower or bump up
Sent from my Nexus 6P using XDA-Developers mobile app
Click to expand...
Click to collapse
I would only increase the volume of the headphones. You know what line I should change?
lvints said:
i would only increase the volume of the headphones. You know what line i should change?
Click to expand...
Click to collapse
rx1 & rx2 are headphones
Xperi l mixer_path file
any one xperia l user can give me his mixer_paths.xml file please. I have delete it accidentally
Hi !
i wanted to make my galaxy a5 Speaker Louder .
i Rooted My device And found "mixer_paths.xml" file in /etc/mixer_paths.xml but there is not any Value or Path for changing the Volume Options. like:
<path name="speaker"> or <path name="headphones">
How can i Increase it's Sound?
Hello! I have A5 2015 edition and before update to marshmallow the battery life it was 2 days with medium utilisation. After update...max 20 hours with power save (. I want to go back to lollipop but i don t know how
mahdi008 said:
Hi !
i wanted to make my galaxy a5 Speaker Louder .
i Rooted My device And found "mixer_paths.xml" file in /etc/mixer_paths.xml but there is not any Value or Path for changing the Volume Options. like:
<path name="speaker"> or <path name="headphones">
How can i Increase it's Sound?
Click to expand...
Click to collapse
Yes, I came from f to fd rom i too face the low volume issue with fd rom
Use speaker boost by Omega centauri software on play.
mahdi008 said:
Hi !
i wanted to make my galaxy a5 Speaker Louder .
i Rooted My device And found "mixer_paths.xml" file in /etc/mixer_paths.xml but there is not any Value or Path for changing the Volume Options. like:
<path name="speaker"> or <path name="headphones">
How can i Increase it's Sound?
Click to expand...
Click to collapse
in a5 2016 it is like this in mixer_paths.xml,
Code:
<!-- Output volume stage -->
<!-- media playback volume -->
<path name="gain-media-handset">
<ctl name="S2801 MIX1_LVL" value="0" />
<ctl name="DAC Gain" value="128" />
<ctl name="Earphone Volume" value="8" />
</path>
<path name="gain-media-speaker">
<ctl name="S2801 MIX1_LVL" value="0" />
<ctl name="DAC Gain" value="130" />
<ctl name="Speaker Volume" value="9" />
</path>
but nothing changed when i change the value, it doesn't sound louder, i tried up to 190 for dac gain & upt to 18 for speaker volume value
there is also a mixer_.paths_rev08.xml and i edited that one also but no luck.
I hope someone finds it because i am not used to have a phone with no volume mod It's no use to install an app that give a boost to play music or media louder inside the app itself because that does not make alarm or incoming calls louder (etc)
Try this.
cornelushh said:
Hello! I have A5 2015 edition and before update to marshmallow the battery life it was 2 days with medium utilisation. After update...max 20 hours with power save (. I want to go back to lollipop but i don t know how
Click to expand...
Click to collapse
Try Viper Audio.
contrinsan said:
in a5 2016 it is like this in mixer_paths.xml,
Code:
<!-- Output volume stage -->
<!-- media playback volume -->
<path name="gain-media-handset">
<ctl name="S2801 MIX1_LVL" value="0" />
<ctl name="DAC Gain" value="128" />
<ctl name="Earphone Volume" value="8" />
</path>
<path name="gain-media-speaker">
<ctl name="S2801 MIX1_LVL" value="0" />
<ctl name="DAC Gain" value="130" />
<ctl name="Speaker Volume" value="9" />
</path>
but nothing changed when i change the value, it doesn't sound louder, i tried up to 190 for dac gain & upt to 18 for speaker volume value
there is also a mixer_.paths_rev08.xml and i edited that one also but no luck.
I hope someone finds it because i am not used to have a phone with no volume mod It's no use to install an app that give a boost to play music or media louder inside the app itself because that does not make alarm or incoming calls louder (etc)
Click to expand...
Click to collapse
and the headset volume for louder Music? please help me
http://forum.xda-developers.com/sam...ent/a510f-viper4android-installer-mm-t3470028
try this
Hey guys, so after rooting, no matter how much I edit these values in the mixer_paths.xml (in systems/etc) my phones headphone volume remains the same:
<ctl name="HPHL Volume" value="20" /> (originally 9)
<ctl name="HPHR Volume" value="20" /> (originally 9)
<ctl name="RX1 Digital Volume" value="85" /> (originally 84)
<ctl name="RX2 Digital Volume" value="85" /> (originally 84)
Has anyone had any luck with increasing their volume on a Nokia 5?
Cheers
I am just looking into it myself. First thing I didn't like is that there are over 20 files named "Mixer_paths_*something*.xml", unlike my last KK phone. Clearly the settings for various things have been spread through various files. There is a lot of crap in Nougat that is worse than what it was in KK, and this is just one of those things they insist on calling "progress".
Anyway, the section you post isn't the right part of the file to change settings for this, at least it wasn't in KK days. That's "initial mixer settings" section, and we need "headphones" or "speaker" section. But the problem is this:
<path name="speaker">
<ctl name="RX3 MIX1 INP1" value="RX1" />
<ctl name="SPK" value="Switch" />
</path>
That "Switch" value was a NUMBER, which we used to change and therefore obtain louder sound. I have no idea what value is given to "Switch" variable and where to find it, but that's what needs to be changed. Maybe.
Unless the right setting is in one of the other files, in which case we have to edit 30-odd files... which I'll try if I have to, when I have the time.
There are actually 20 variously named "mixer_paths" files, and editing ALL OF THEM makes no difference. Viper4Arise installs and runs, but makes no change to the sound at all.
I suspect that another equalizer is running and preventing us from getting a higher volume. Some people mention "MusicFX" and Dolby, but neither of them show up in my dock or list of apps.
I tried uninstalling Dolby through Titanium, but it says it can't find the apk file. Renaming 17 or so files with "Dolby" in the name causes the bootloop.
So I don't know. I don't have much hope for a solution, this isn't a very popular phone at all.