Help needed with mixer_paths - Sony Xperia XZ1 Questions & Answers

Hi!
I used to modify mixer_paths file to decrease in-call volume, because for me the lowest setting is still too high in many cases.
Under <path name="headset">, I would find a Digital Volume setting and substitute its number with a lower one.
However, I can't figure out how to achieve the same thing with XZ1. Under System/Vendor/Etc, there are two files: mixer_paths.xml and mixer_paths_tasha.xml. The first does not seem to do anything (the sounds of the phone did not change even after I renamed it). The second is being used by the phone, but in it under <path name="headset">, there is no Digital Volume variable. My attempts to guess which other values could be responsible for call volume thus far have been fruitless.
Do you have any ideas about how this setting could be altered in XZ1?

avamalka said:
Hi!
I used to modify mixer_paths file to decrease in-call volume, because for me the lowest setting is still too high in many cases.
Under <path name="headset">, I would find a Digital Volume setting and substitute its number with a lower one.
However, I can't figure out how to achieve the same thing with XZ1. Under System/Vendor/Etc, there are two files: mixer_paths.xml and mixer_paths_tasha.xml. The first does not seem to do anything (the sounds of the phone did not change even after I renamed it). The second is being used by the phone, but in it under <path name="headset">, there is no Digital Volume variable. My attempts to guess which other values could be responsible for call volume thus far have been fruitless.
Do you have any ideas about how this setting could be altered in XZ1?
Click to expand...
Click to collapse
Bro, just flash an audio module from magisk. Faster solution.

@Tux111 Thank you for the suggestion! Which audio module is capable of decreasing in-call volume?

avamalka said:
@Tux111 Thank you for the suggestion! Which audio module is capable of decreasing in-call volume?
Click to expand...
Click to collapse
Its more of like "wich audio module modifes mixer path etc". Every module. Try sound enhanchement xperia 10 module or others.

Took a look at Sound Enhancement Sony Xperia 10 Magisk Module. It says:
Sound Enhancement FX can only be applied with Music apps that has external EQ option such as Xperia Music, Youtube Music, and Spotify. Not working with SoundCloud or Youtube app.
Click to expand...
Click to collapse
It appears to be aimed at enhancing music playback. Am I missing something?

avamalka said:
Took a look at Sound Enhancement Sony Xperia 10 Magisk Module. It says:
It appears to be aimed at enhancing music playback. Am I missing something?
Click to expand...
Click to collapse
Everything aimed at enhanching is aimed to modifying.

Related

Defective speaker

Hi guys, today I just bought a used Sony Z2, and unfortunately the bottom speaker makes some cracking and popping noises when the music is loud.
Can I change something like a balance in the phone settings so when I listen something (YouTube, music, ringtone) on the speakers the bottom speaker recives lower decibels, so I won't hear those cracking noises, while the upper speaker works at full potential?
Help would be much appreciated.
PS: for headphones I would like the balance to remain untouched.
THANKS.
jok3r4u said:
Hi guys, today I just bought a used Sony Z2, and unfortunately the bottom speaker makes some cracking and popping noises when the music is loud.
Can I change something like a balance in the phone settings so when I listen something (YouTube, music, ringtone) on the speakers the bottom speaker recives lower decibels, so I won't hear those cracking noises, while the upper speaker works at full potential?
Help would be much appreciated.
PS: for headphones I would like the balance to remain untouched.
THANKS.
Click to expand...
Click to collapse
hello test this http://forum.xda-developers.com/xpe...xxx-lolli-pop-sound-mod-v2-boom-mode-t3114000
xrenoix said:
hello test this http://forum.xda-developers.com/xpe...xxx-lolli-pop-sound-mod-v2-boom-mode-t3114000
Click to expand...
Click to collapse
I'm flashing it as we speak.
LE: nope, still that cracking noise. If i let the volume around 60% everything is fine, if I rise it higher, that sound comes from the bottom speaker. I need to find a way to reduce just the bottom speaker volume, while using the full capacity of the top one.
jok3r4u said:
I'm flashing it as we speak.
LE: nope, still that cracking noise. If i let the volume around 60% everything is fine, if I rise it higher, that sound comes from the bottom speaker. I need to find a way to reduce just the bottom speaker volume, while using the full capacity of the top one.
Click to expand...
Click to collapse
modify mixer_paths.xml in system/etc/ or ask help @zohaib0001 http://forum.xda-developers.com/xperia-z2/themes-apps/sound-mod-xperia-z2-android-4-4-4167-t2929709
thanks. tried to look on that file myself, but couldn't figure what to change..??
I'll ask @zohaib0001 if he can help me.
jok3r4u said:
thanks. tried to look on that file myself, but couldn't figure what to change..
I'll ask @zohaib0001 if he can help me.
Click to expand...
Click to collapse
@jok3r4u
Ok i will make file for you but it need some time......
Right now i am working on my sound mod then i will start making this mod for you, its also need lot of testing so give me five to ten days
i will report you when i make it
zohaib0001 said:
@jok3r4u
Ok i will make file for you but it need some time......
Right now i am working on my sound mod then i will start making this mod for you, its also need lot of testing so give me five to ten days
i will report you when i make it
Click to expand...
Click to collapse
If you could just tell me which values should be moddified in mixer_paths.xml for volume I would do it myself, especially because I don't know how much I should decrease the bottoms speaker volume to sound good.
jok3r4u said:
If you could just tell me which values should be moddified in mixer_paths.xml for volume I would do it myself, especially because I don't know how much I should decrease the bottoms speaker volume to sound good.
Click to expand...
Click to collapse
Its need to change in these four files.
go to system / etc / tfa98xx
and find these four files
1- HiFiSpeakerRing_btm.eq
2- HiFiSpeakerRing_btm.preset
3- HiFiSpeakerRing_top.eq
4- HiFiSpeakerRing_top.preset
And you also need to change so much values in mixer_paths.xml can't tell right now i did not test them.
Or
In xperia Z2 forum there is one great developer name niaboc79 He is master in this field. you can ask him also.
zohaib0001 said:
Its need to change in these four files.
go to system / etc / tfa98xx
and find these four files
1- HiFiSpeakerRing_btm.eq
2- HiFiSpeakerRing_btm.preset
3- HiFiSpeakerRing_top.eq
4- HiFiSpeakerRing_top.preset
And you also need to change so much values in mixer_paths.xml can't tell right now i did not test them.
Or
In xperia Z2 forum there is one great developer name niaboc79 He is master in this field. you can ask him also.
Click to expand...
Click to collapse
what can I use to open and edit the .eq and .preset files?
@zohaib0001
hei, I tried to play with various values from the mixer_pathx.xml, but nothing seems to work.
I changed my mind and I thought that if its possible to rise up the volume, it should be possible to lower it down right?
so, could you point me which lines from mixer_paths.xml determine the volume for the external speakers in all situations (ringtone, playback, speakerphone) so I could lower thrm down, so I won't have any problem at high volume.
Thank you!

sound quality on recorded videos

Hi, any idea how to improve the sound quality on recorded videos.?
Did a test in a silent room and playback has a lot of crackling and background noise.
thanks in advance.
I have the same problem with video and also on sound recorder.
A search finds a few people have the same problem but no answer.
I have reported it to the Elephone Bugs & Problems Feedback and hope to hear from them as I like the phone but find the video unusable.
Fix
I found a way to fix this issue:
1. Type in the following on the dialer:
*#*#3646633#*#*
Now you are in Engineer Mode
2. Navigate to
Hardware Testing -> Audio -> Volume -> Audio Record
3. Under
Camera recording/ Receiver
change default value to 140-180
(you may need to try a couple of values to find the best for you, I chose 180)
This should remove backgroud cracklings and make sounds clear
aovk said:
I found a way to fix this issue:
1. Type in the following on the dialer:
*#*#3646633#*#*
Now you are in Engineer Mode
2. Navigate to
Hardware Testing -> Audio -> Volume -> Audio Record
3. Under
Camera recording/ Receiver
change default value to 140-180
(you may need to try a couple of values to find the best for you, I chose 180)
This should remove backgroud cracklings and make sounds clear
Click to expand...
Click to collapse
Doesn’t work for me. I can’t find the sweet spot. All it does is make the background noise and crackling lauder or quieter.
I found a way to fix this issue:
1. Type in the following on the dialer:
*#*#3646633#*#*
Now you are in Engineer Mode
2. Navigate to
Hardware Testing -> Audio -> Volume -> Audio Record
3. Under
Camera recording/ Receiver
change default value to 140-180
(you may need to try a couple of values to find the best for you, I chose 180)
This should remove backgroud cracklings and make sounds clear
Click to expand...
Click to collapse
Thank you, this works beautifully, there is still some background noise when listening on the phones speaker but is clear with headphones or on a PC.
I have also changed the Audio setting as I had the same problem with Sound Recorder.
Thank you again.
basalt said:
Thank you, this works beautifully, there is still some background noise when listening on the phones speaker but is clear with headphones or on a PC.
I have also changed the Audio setting as I had the same problem with Sound Recorder.
Thank you again.
Click to expand...
Click to collapse
Hi, can you publish your settings that you changed? Thanks
Originally Posted by aovk
I found a way to fix this issue:
1. Type in the following on the dialer:
*#*#3646633#*#*
Now you are in Engineer Mode
2. Navigate to
Hardware Testing -> Audio -> Volume -> Audio Record
3. Under
Camera recording/ Receiver
change default value to 140-180
(you may need to try a couple of values to find the best for you, I chose 180)
This should remove backgroud cracklings and make sounds clear
Click to expand...
Click to collapse
Originally Posted by basalt
Thank you, this works beautifully, there is still some background noise when listening on the phones speaker but is clear with headphones or on a PC.
I have also changed the Audio setting as I had the same problem with Sound Recorder.
Click to expand...
Click to collapse
Originally Posted by manny4
Hi, can you publish your settings that you changed? Thanks
Click to expand...
Click to collapse
I just followed aovks instructions and changed the Camera recording/ Receiver setting to 180 (the original setting was 92).
As I had the same problem with Sound Recorder I changed the Camera recording drop down to Sound recording and set this to 180 (the original setting was 132).
There is still some background crackling noise with the phone speaker but the videos played back on headphones or another phone seem fine.
I think that there is still a problem with the phone speaker when playing videos but as the actual recordings are good I'm happy.
It may be worth trying a higher setting than 180 to see if it makes any improvement.
basalt said:
I just followed aovks instructions and changed the Camera recording/ Receiver setting to 180 (the original setting was 92).
As I had the same problem with Sound Recorder I changed the Camera recording drop down to Sound recording and set this to 180 (the original setting was 132).
There is still some background crackling noise with the phone speaker but the videos played back on headphones or another phone seem fine.
I think that there is still a problem with the phone speaker when playing videos but as the actual recordings are good I'm happy.
It may be worth trying a higher setting than 180 to see if it makes any improvement.
Click to expand...
Click to collapse
I'm happy I could help.
I came across this solution by looking at the value of Sound Recording, which is 132. Since sound recording had better quality than video recordings I first changed it to 132 and then tried some other values.
Maximum value is 252. I have tried multiple values between original 92 and maximum 252.
For me it seemed that for values above ~200 the sound starts to overdrive.
As said, by my personal impression 180 seems the best value, but maybe other values have better outcomes (I'm no sound expert )
Also, as you said, it is important to test your changes on other than inbuilt speakers as they are always off-tone even with the best quality sound source. Better listen to recordings with headphones or with some good externeal speakers.
basalt said:
I just followed aovks instructions and changed the Camera recording/ Receiver setting to 180 (the original setting was 92).
As I had the same problem with Sound Recorder I changed the Camera recording drop down to Sound recording and set this to 180 (the original setting was 132).
There is still some background crackling noise with the phone speaker but the videos played back on headphones or another phone seem fine.
I think that there is still a problem with the phone speaker when playing videos but as the actual recordings are good I'm happy.
It may be worth trying a higher setting than 180 to see if it makes any improvement.
Click to expand...
Click to collapse
Ok thanks, yes I suppose there is a some improvement for me too. It’s not dead silent , as you say there is some remaining background noise but it has improved. When listening on another device it does seem to be clearer. Thanks for your help.

High Volume warning

Can anyone point me in the right direction, to disable the high volume warning, where it automatically lowers the volume when watching YouTube or listening to music through aux or earbuds? Thank you
caddermeran said:
Can anyone point me in the right direction, to disable the high volume warning, where it automatically lowers the volume when watching YouTube or listening to music through aux or earbuds? Thank you
Click to expand...
Click to collapse
If you are rooted, flash Xposed Framework, then install G4 TweaksBox (works on V10 fro most of the settings). THis has audio and many other tweaks. GravityBOX MM also can do similar things. (I use both to tweak multiple things, but have to be careful as not to set mods that can cause conflicts)
If no root, I don't think there is anything you can do.

Enhance Headphone sound volume [NOUGAT] [7.0]

This is a simple modification to the MTK Settings
It's tested in the following roms: (might work on 6.0 but not sure)
- Stock Rom
- Eragon V1
What it does, it enhances the headphone's sound to its full potential
All you have to do is:
1: Enable Debug Options (settings, about phone, press build version several times, go back to settings and there should be a new option there, open it and close settings).
2: Download MTK Engineering Mode from playstore.
3: After Installing it, Open it and select MTK Settings.
4: Go on Hardware Testing - Audio - Volume - Audio Playback.
5: On 3/4-pole Headset set the Headset PGA to 160 and save.
6: Test and see the differences ?
It's a really simple modification, but if you have any questions, feel free to ask ?
hi, I did that but volume is still too low for me (I'm hard on hearing).
do you know which file contains those values, I would like to set it higher than 160 (I'm rooted)?
nidjo83 said:
hi, I did that but volume is still too low for me (I'm hard on hearing).
do you know which file contains those values, I would like to set it higher than 160 (I'm rooted)?
Click to expand...
Click to collapse
you cant set to higher than that, and even if it could it would just degrade the speakers even more, causing to either malfunction or lose eveb more volume to a point of no returb... This is a modification to the earphones only, you can mess with the speakers and put on the max that the app allows, but thats it, anything above the limits will degrade the speakers.
Ruben Craveiro said:
you cant set to higher than that, and even if it could it would just degrade the speakers even more, causing to either malfunction or lose eveb more volume to a point of no returb... This is a modification to the earphones only, you can mess with the speakers and put on the max that the app allows, but thats it, anything above the limits will degrade the speakers.
Click to expand...
Click to collapse
thank you for your response!
sorry if I didn't make it clear; I was talking about earphones, not phone speaker. I want louder sound on my earphones!
I edited some volume file in vendor\etc folder, made headset PGA value to 250, but it didn't do anything...
nidjo83 said:
thank you for your response!
sorry if I didn't make it clear; I was talking about earphones, not phone speaker. I want louder sound on my earphones!
I edited some volume file in vendor\etc folder, made headset PGA value to 250, but it didn't do anything...
Click to expand...
Click to collapse
The 160 is the max volume.
So, if instead of applying for 3/4 pole Headset I apply it for Speaker label it will improve the sound on my Elephone speaker?
Mikystars said:
So, if instead of applying for 3/4 pole Headset I apply it for Speaker label it will improve the sound on my Elephone speaker?
Click to expand...
Click to collapse
it might enhance, but the sound quality is already bad.. enhancing it even more will mostlikelly cause even more distortion

Volume Steps

I find I can't lower the notification volume and ringtone volume low enough.
Does anyone know how to change the volume steps? I have sound assistant but it only works for media volume...
I'm rooted if it helps and I've tried the AOSP based rom solution of changing the build prop but with no success.
Thanks for any help!
Have you tried "sound assistant" app. It is from Samsung and has function you are looking for.
Chaudhry69 said:
Have you tried "sound assistant" app. It is from Samsung and has function you are looking for.
Click to expand...
Click to collapse
If you check the original post you'll have your answer lol
EmRav said:
If you check the original post you'll have your answer lol
Click to expand...
Click to collapse
Ah my bad, don't know how I missed it. It is possible in two ways:
01- Get a custom kernel with volume modification support. I use a Galaxy S7edge with Surround sound, this makes the sound loud and more immersed but it has a drawback. The low threshold of volume is too high same as yours. I usually have a problem with the in-call earpiece audio which is too loud for me. I use MoroKernel and luckily a recent update brought the feature of MoroSound providing fine control over gains of 2-microphones, earpiece, and main speaker. You can also look for a kernel with such features for your device.
02- Manually modifying the sound configuration files. That is a bit difficult but good research with a bit of experimenting will eventually get you there.
Chaudhry69 said:
Ah my bad, don't know how I missed it. It is possible in two ways:
01- Get a custom kernel with volume modification support. I use a Galaxy S7edge with Surround sound, this makes the sound loud and more immersed but it has a drawback. The low threshold of volume is too high same as yours. I usually have a problem with the in-call earpiece audio which is too loud for me. I use MoroKernel and luckily a recent update brought the feature of MoroSound providing fine control over gains of 2-microphones, earpiece, and main speaker. You can also look for a kernel with such features for your device.
02- Manually modifying the sound configuration files. That is a bit difficult but good research with a bit of experimenting will eventually get you there.
Click to expand...
Click to collapse
Any chance you know how to mod the sound config files on an S21? Unfortunately there are no custom kernels yet for the Exynos version
EmRav said:
Any chance you know how to mod the sound config files on an S21? Unfortunately there are no custom kernels yet for the Exynos version
Click to expand...
Click to collapse
Yes, go to /etc/mixer-gains.xml and edit it. Drawback is your device entire volume range will be affected like for media and stuff. One more way and probably the more practical one just hit me.
Find your ringtone and notification tone from /system/media/audio/ or download them from google and use a software like Audacity or Adobe Audition to reduce their volume.
You reduce your phone's volume to the lowest and match pc's volume with it. Then reduce the audio gain in the software until you feel comfortable with it. Export it and use it.
For anyone interested. My solution ended up being the following, with my end goal being too optimize my audio with Dolby and have the volume still be lower (but optimized) on the phone speaker.
I tried a ton of different apps, a few magisk volume steps modules, ViperFX with Dolby and finally I found a good solution.
Turn off the default Dolby stuff on the phone.
Install Dolby Atmos ZTE A2019 PRO for magisk (google it and find it on GitHub).
Reboot.
Install JamesDSP from ZackPTG5's website.
Reboot.
Install Audio Modification library to use Dolby and JamesDSP at the same time.
Reboot.
Create a custom equalizer in Dolby and try max things out as much as possible with it still sounding great.
Open JamesDSP, go to Speaker, set limiter threshold to -5, go to post gain and set it to -10. Turn on the master switch. Leave everything else unless you want to change any Bluetooth or headphone settings. Hide the persistent JamesDSP notification.
Reboot.
Install Audio Compatibility module with all the recommended settings.
Reboot.
Result, Dolby Atmos handles all the audio, increases the volume, applies optimizations system wide. However because volume steps are tricky to change on this phone we are stuck with the phone speaker volume being too loud even on the lowest setting. JamesDSP lowers the volume to the built-in speakers but we still get the Atmos experience we want. Everything else I assume you want to be louder anyway, like Bluetooth and headphones.
Audio Modification Library makes James and Dolby work together.
Audio Compatibility Patch fixes some issues with certain apps not using the sound mods.
Success! You get Dolby Atmos everywhere, but it doesn't max out the phone speaker volume, but it will still max out everything else. Oh and you can also change whatever other settings you want in JamesDSP.

Categories

Resources