Related
I don't usually post stuff like this, but I had a heck of a time trying to fix the sound issues I was having in all the custom ROMs I had tried. The problems I had were very low volumes through the headset and especially BT audio. I also had a whine coming from the speakerphone during calls. I thought I was going to have to go back to a stock ROM, but after an hour or two of experimentation I came up with an snd_soc_msm file that fixes all sound issues. It's basically a direct copy from a stock ROM (to increase the volume) with a modified "Speaker" volume to eliminate the whine.
Download:
http://d-h.st/jLh
Instructions:
Flash from recovery
So... Is it alive? Working? Good solution? Thanks
It works on CM10. Speaker now is much louder and clearer like on stock JB
Wytapane z Xperii T
No changes on MIUI. ((
Sent from my Xperia T using Tapatalk 4
Nicely done. Is there a way to get the headset volume higher? I use my phone in my car for music and for it to get as loud as I am wanting I have to have the volume all the way up on my phone and the volume on the stereo about 7/8 of the way up. I hate doing that and would like to just have a louder output signal.
If it is just a couple of values to adjust please let me what to look for and I have no problem doing so at my own risk.
Thank you
matthewcb4 said:
Nicely done. Is there a way to get the headset volume higher? I use my phone in my car for music and for it to get as loud as I am wanting I have to have the volume all the way up on my phone and the volume on the stereo about 7/8 of the way up. I hate doing that and would like to just have a louder output signal.
If it is just a couple of values to adjust please let me what to look for and I have no problem doing so at my own risk.
Thank you
Click to expand...
Click to collapse
Yeah search for all of the ":6" or ":7" values and change those to something higher. I wouldn't go much higher though, and who knows what it would do to the internal amp. Also, if you're able to get the volume you want at 7/8 consider yourself lucky. I have to go all the way on my car stereo and it's only barely acceptable.
lexman098 said:
Yeah search for all of the ":6" or ":7" values and change those to something higher. I wouldn't go much higher though, and who knows what it would do to the internal amp. Also, if you're able to get the volume you want at 7/8 consider yourself lucky. I have to go all the way on my car stereo and it's only barely acceptable.
Click to expand...
Click to collapse
Thank you, I am just glancing through here and I do see a lot of value's with those two in them. Given that everything else on my phone sounds fine I am a little hesitant to raise every one of them. Do you think you could help me isolate the one that would specifically be for headphone audio out? I will raise it but just searching for those brings up way more then I believe need to be adjusted.
Thanks
matthewcb4 said:
Do you think you could help me isolate the one that would specifically be for headphone audio out? I will raise it but just searching for those brings up way more then I believe need to be adjusted.
Click to expand...
Click to collapse
That's all I would do. That's what I had to do to figure out which one to bring down to fix the speaker whine.
Edit: misread your statement. Basically you want to just do one at a time and see if it works.
Okay, man. Thank you and I will probably start going through them this evening. I am trying to figure out a way to have a controlled test so I know for sure which one it is. If I only do a little bit of each one it would be easy to mistakenly assume that it is the wrong one. I need a way of gauging my audio output to a speaker.... humm???
lexman098 said:
That's all I would do. That's what I had to do to figure out which one to bring down to fix the speaker whine.
Edit: misread your statement. Basically you want to just do one at a time and see if it works.
Click to expand...
Click to collapse
So I am messing around with this and am just using notepad++ I am wondering what file format would I save the file as once I have made changes? I dont think that a normal .txt is the right file type. Also, would I be able to just replace the original file using root explorer and a reboot or would I have to make it a flashable file? If it has to be flashed in CWM how would I compress it so that it is recognized by CWM?
Thanks in advance.
matthewcb4 said:
So I am messing around with this and am just using notepad++ I am wondering what file format would I save the file as once I have made changes? I dont think that a normal .txt is the right file type. Also, would I be able to just replace the original file using root explorer and a reboot or would I have to make it a flashable file? If it has to be flashed in CWM how would I compress it so that it is recognized by CWM?
Click to expand...
Click to collapse
There is no file extension (linux doesn't care about this as much as windows). You can just drop it in with root explorer and then reboot.
lexman098 said:
There is no file extension (linux doesn't care about this as much as windows). You can just drop it in with root explorer and then reboot.
Click to expand...
Click to collapse
Awesome, thank you. I will post back with any possible changes that I may find helpful.
Thanks again.
Well after messing around for a bit I did manage to get the sound louder but I ran into a problem. It seems like the internal amp kicks in and drops it all the way down probably to prevent any damage from occuring. I just ended up hoping all of the 6's to 7's. That's raises all of the Ringers and external volumes up to something a little more alerting.
Sent from my LT30p using XDA Premium 4 mobile app
guys, has someone running experimental build from 21st of August tried this file? If so, can you tell me if this modded file fixes also the echo problem during voice calls? I am trying it soon but echo was not always present so I am afraid I won't be able to determine this immediately and I can't wait to know that
moly82 said:
guys, has someone running experimental build from 21st of August tried this file? If so, can you tell me if this modded file fixes also the echo problem during voice calls? I am trying it soon but echo was not always present so I am afraid I won't be able to determine this immediately and I can't wait to know that
Click to expand...
Click to collapse
I am running that but have modded it a little more. I do still have the echo that your referring to though. Not sure where it is or what would remove it so I have just been dealing with it.
Sorry.
matthewcb4 said:
I am running that but have modded it a little more. I do still have the echo that your referring to though. Not sure where it is or what would remove it so I have just been dealing with it.
Sorry.
Click to expand...
Click to collapse
that's what I expected.. thanks for confirmation!!
Today I flashed new nightly (08092013) but not this fix and the other person said that he was hearing echo. With the older release the others was hearing me good. So, how to mod this file? I thisk it is changed from the older releases.
syntesys said:
Today I flashed new nightly (08092013) but not this fix and the other person said that he was hearing echo. With the older release the others was hearing me good. So, how to mod this file? I thisk it is changed from the older releases.
Click to expand...
Click to collapse
this mod should only be for increasing volumes, not to remove the echo problem during voice calls
moly82 said:
this mod should only be for increasing volumes, not to remove the echo problem during voice calls
Click to expand...
Click to collapse
I think the same, but nobody told me about echo problem with this mod and older roms:/
syntesys said:
I think the same, but nobody told me about echo problem with this mod and older roms:/
Click to expand...
Click to collapse
i tried it with a older build and it didn't fix the echo problem.. but I don't remember which build sorry
btw if you find a build with no video and attachments problems and no echo problem with this mod please let me know!
I've reduced mic sensitivity but raised the volume and boosted other volumes as well, including the loudspeaker and earpiece volumes.
Rename the default snd file (/system/etc/snd_soc_msm) and replace it with the one contained within the first TAR attached to this post, making sure it has the same ownership and permissions applied as the renamed original, then reboot and test.
Note: If you still experience the annoying whistle during speakerphone calls with the first mod, try the second and finally the third for the more sensitive of devices.
Alternatively, you can flash the ZIP in recovery, which also enables PSM in custom ROMs and replaces the shutter/focus camera sounds with more realistic ones. The ZIP is what I flash after updating CM, hence the name. The ZIP contains the first mod of the snd file, so unpack it and replace that file with the second or third one if necessary to make your own custom flashable ZIP.
Thanks a lot for this!
Can you please exactly tell what parameters have you changed?
I'd like to know this, because in every "boosted" snd_soc_msm I think that mic is too bosted and everytime I record something with a recorder (I use the phone to record songs with my band at rehearsals) the result is always overdriven. This doesn't happen with stock ROM.
Thanks in advance for the reply.
elb0wf4ce said:
I can't post in the development section yet, so thought I'd share my own fix/workaround here. The file is smaller than the original as I've cleaned it up somewhat and removed unnecessary and inconsistant disable entries. This modified version also has higher mic volumes for video recording and boosted volumes elsewhere too.
This fix works on the latest nightly with the long-awaited kernel update. Just rename the default snd file (/system/etc/snd_soc_msm) and replace it with this one, making sure it has the same ownership and permissions applied as the original.
Click to expand...
Click to collapse
DS-1 said:
Thanks a lot for this!
Can you please exactly tell what parameters have you changed?
I'd like to know this, because in every "boosted" snd_soc_msm I think that mic is too bosted and everytime I record something with a recorder (I use the phone to record songs with my band at rehearsals) the result is always overdriven. This doesn't happen with stock ROM.
Thanks in advance for the reply.
Click to expand...
Click to collapse
The mics (DEC4/6) for video recording (Camcorder Tx) have been raised from 66% to 68%. Have you tested video recording already or are you just asking in case you need to experiment?
The bottom mic (DEC6) in two sections for calls has been reduced from 66% volume to 64% to fix the whistle. Any higher and the whistle returns. Also, if the loudspeaker is set any higher than 72% the whistle returns.
Thank you very much! this done the trick!
I only tested it in audio recording. Haven't tried with video.
How is in % loudspeaker volume in stock and in your release?
elb0wf4ce said:
The mics (DEC4/6) for video recording (Camcorder Tx) have been raised from 66% to 68%. Have you tested video recording already or are you just asking in case you need to experiment?
The bottom mic (DEC6) in two sections for calls has been reduced from 66% volume to 64% to fix the whistle. Any higher and the whistle returns. Also, if the loudspeaker is set any higher than 72% the whistle returns.
Click to expand...
Click to collapse
DS-1 said:
I only tested it in audio recording. Haven't tried with video.
How is in % loudspeaker volume in stock and in your release?
Click to expand...
Click to collapse
The original loudspeaker volume was 68%, which was far too low for my needs. I raised all of the RX volumes from 68% to 72%. RX1 is the earpiece volume and that benefits from the boost as it can be hard to hear people in a busy town centre, even with the earpiece against your ear when the volume is only 68%. I think either CM10.1 or CM10.2 had the loudspeaker volume set at 73%, but currently the CM default is 71%.
this doesn't fix speaker whistle for me in carbon rom which is based on cm..
moly82 said:
this doesn't fix speaker whistle for me in carbon rom which is based on cm..
Click to expand...
Click to collapse
It's a weird issue. Previous fixes that worked for other users didn't work for me, so that's why I came up with my own solution. I'm gonna try a few more things like changing ADCx values as they relate to sensitivity.
P.S. Did you reboot after replacing your default snd file?
same for me in the past all the fixes that worked for others didn't for me only fix that definitely fixed whistle for me is the one by rimmer1966 in his aosp that was also merged in omni.. he described the solution in his thread.. (disabled one mic during calls)
moly82 said:
same for me in the past all the fixes that worked for others didn't for me only fix that definitely fixed whistle for me is the one by rimmer1966 in his aosp that was also merged in omni.. he described the solution in his thread.. (disabled one mic during calls)
Click to expand...
Click to collapse
Only the bottom mic is used, even during speakerphone calls. Did he swap them around? Anyway, try my new mod of the default snd file from CM11 in the OP. I've reduced mic sensitivity but raised the volume. My test recordings are a bit louder and cleaner I think.
it doesn't work either.. ;(
I am now using the one from omni with carbon rom, and it seems that fixes the whistle.. but I will confirm later because sometimes the whistle comes back so I want to be sure!
btw, maybe you can start editing the omni's file to have a non-whistiling base and then try to improve volume levels?
because with the omni file for example, there is no whistle, but the volume during calls through the speaker is very very low ;(
bye!
moly82 said:
it doesn't work either.. ;(
I am now using the one from omni with carbon rom, and it seems that fixes the whistle.. but I will confirm later because sometimes the whistle comes back so I want to be sure!
btw, maybe you can start editing the omni's file to have a non-whistiling base and then try to improve volume levels?
because with the omni file for example, there is no whistle, but the volume during calls through the speaker is very very low ;(
bye!
Click to expand...
Click to collapse
Yes, reducing the loudspeaker volume can eliminate the whistle if the mic settings are tweaked slightly, but anything below 72% speaker volume isn't ideal for me. I did tests months ago watching streaming TV and such outside and it wasn't great below that level, so I learned to live with somewhat low mic volume instead.
Try these mods attached below. Download the one with '71' in the name first, then try the other with '70' in the name if you suffer feedback still.
DS-1 said:
...loudspeaker volume...
Click to expand...
Click to collapse
I've attached the louder version you wanted to try out. I'm pretty sure you'll suffer from whistle feedback with the speaker volume at 73%, though.
at last i found some time to go back to aosp based and try your mods
now I'm on plain aosp by rimmer + your 71 mod.. everything is OK so far! good speaker volume and no whistle
in the past i had the whistle coming back after some time so i will keep testing it and report but so far so good thank you!
I've tried Omni/CM with your mod and loudspeaker volume is good. Also, there's no whistle problem.
Unfortunately, I dunno why, but with AOSP based ROM for Xperia T, I always have problems when I record from a very high volume sources (such as disco, or concerts): the sound is so distorted that you can't hear anything. With stock ROM, no problem.
moly82 said:
at last i found some time to go back to aosp based and try your mods
now I'm on plain aosp by rimmer + your 71 mod.. everything is OK so far! good speaker volume and no whistle
in the past i had the whistle coming back after some time so i will keep testing it and report but so far so good thank you!
Click to expand...
Click to collapse
Ah, great. I'll add the '71' version to the OP for anyone else who has a more sensitive device like yours.
My phone had a bootloop. I don't understand: i have cyanognemod 11, I have to rename deafult file from snd_soc_msm to snd_soc_msm_2x.tar.gz? Explain me please. I replaced snd_soc_msm with snd_soc_msm_2x.tar.gz, autorizations etc...
Xperia-S-Tony said:
My phone had a bootloop. I don't understand: i have cyanognemod 11, I have to rename deafult file from snd_soc_msm to snd_soc_msm_2x.tar.gz? Explain me please. I replaced snd_soc_msm with snd_soc_msm_2x.tar.gz, autorizations etc...
Click to expand...
Click to collapse
You have to unpack the .gar.gz archive with this for example. You must not rename the original. You can also copy it to sdcard, just to have a backup ?
After unpacking the .gar.gz overwrite the original snd_soc_msm with the unpacked one. Give the correct permissions (rw r r) and reboot
rob rich said:
You have to unpack the .gar.gz archive with this for example. You must not rename the original. You can also copy it to sdcard, just to have a backup ?
After unpacking the .gar.gz overwrite the original snd_soc_msm with the unpacked one. Give the correct permissions (rw r r) and reboot
Click to expand...
Click to collapse
Must not rename the original why? It causes no issues whatsoever, or else I wouldn't have written it in the OP. By renaming the original users can make sure the ownership and permissions match.
elb0wf4ce said:
Must not rename the original why? It causes no issues whatsoever, or else I wouldn't have written it in the OP. By renaming the original users can make sure the ownership and permissions match.
Click to expand...
Click to collapse
Then you should explain it a little bit more in the OP (for example rename the original to snd_soc_msm_2x_backup to have a look at the ownership, permissions and to have a backup of that file)
I've tried dozens of ways to increase volume level but non of them worked. Any suggestions,?
Btw im rooted on stock rom
xdamember143 said:
I've tried dozens of ways to increase volume level but non of them worked. Any suggestions,?
Btw im rooted on stock rom
Click to expand...
Click to collapse
Use Bass Booster from the play store and enable the equalizer and move the sliders up high and it'll get louder... The app checks itself to make sure it's running every 10 seconds and when you tap another song be careful cause in a few seconds it's gonna get louder...
It's Bass Booster from Desaxed Studios
MrMike2182 said:
Use Bass Booster from the play store and enable the equalizer and move the sliders up high and it'll get louder... The app checks itself to make sure it's running every 10 seconds and when you tap another song be careful cause in a few seconds it's gonna get louder...
It's Bass Booster from Desaxed Studios
Click to expand...
Click to collapse
Doesn't work
CurbThePaid and ZeroInfinity have already put together a nice little mod to do exactly what you want.
http://forum.xda-developers.com/desire-510/themes-apps/soundmod-project-era-v22-t3000798?styleid=16
Also, you could use these zips to further increase volume, but do so at your own risk. The ultimate edition will very likely cause distortion at higher volumes and possibly even damage your speakers.
IntenseBLAST_Maximum_Edition
IntenseBLAST_ULTIMATE_EDITION
HampTheToker said:
CurbThePaid and ZeroInfinity have already put together a nice little mod to do exactly what you want.
http://forum.xda-developers.com/desire-510/themes-apps/soundmod-project-era-v22-t3000798?styleid=16
Also, you could use these zips to further increase volume, but do so at your own risk. The ultimate edition will very likely cause distortion at higher volumes and possibly even damage your speakers.
IntenseBLAST_Maximum_Edition
IntenseBLAST_ULTIMATE_EDITION
Click to expand...
Click to collapse
And just to be sure these are flashable zips?
HampTheToker said:
CurbThePaid and ZeroInfinity have already put together a nice little mod to do exactly what you want.
http://forum.xda-developers.com/desire-510/themes-apps/soundmod-project-era-v22-t3000798?styleid=16
Also, you could use these zips to further increase volume, but do so at your own risk. The ultimate edition will very likely cause distortion at higher volumes and possibly even damage your speakers.
IntenseBLAST_Maximum_Edition
IntenseBLAST_ULTIMATE_EDITION
Click to expand...
Click to collapse
So pretty much if I flash the ultimate edition I can't put the volume level all the way up because it Wil make my speakers distorted?
xdamember143 said:
So pretty much if I flash the ultimate edition I can't put the volume level all the way up because it Wil make my speakers distorted?
Click to expand...
Click to collapse
Test it out. Set your volume mid to low and increase slowly to check it out.
Hi there,
I have built my own lineageos 14.1 image with the official sources but the in call volume is too low. How to modify the source to increase the volume? Thanks
I agree with you, I have the same problem. Please help.
Can you change volume during call? I can increase and decrease volume but output sound still remains in the same level.
Tapatalk
oloczeka said:
Can you change volume during call? I can increase and decrease volume but output sound still remains in the same level.
Tapatalk
Click to expand...
Click to collapse
Exactly the same here. I'm new here to the forums and hence can not yet post in the development thread, but already have a log file prepaired which I'll post there when I'm allowed to
I have this problem to. Any fix?
Same here, I changed from MIUI to LineageOS in the hope it will get better, but it didnt. :/
so after trying everything, I ended up disassembling the phone completely to check my earpiece mesh from the inside. It was completely clogged with dust/sand, no wonder no sound came through. After picking through every hole with a needle I ended up with a completely clean mesh (hold it against the light). Now the sound is back at normal volume again - finally. Its not really complicated to disassemble it (warranty is void afterwards, since you have the get out a sticker from a screw of a shield). Worth it though...
The volume doubles between the 2nd and 3rd lowest volume setting, so if you're studying with noise cancelling headphones on it's either too quiet or too loud. I need about 2 or 3 volume increments in between there to find the sweet spot.
Is there an ADB command I can do or a root app (or, worst case scenario, a magisk module) that will enable a greater range of volume increments?
Thanks.
finshan said:
The volume doubles between the 2nd and 3rd lowest volume setting, so if you're studying with noise cancelling headphones on it's either too quiet or too loud. I need about 2 or 3 volume increments in between there to find the sweet spot.
Is there an ADB command I can do or a root app (or, worst case scenario, a magisk module) that will enable a greater range of volume increments?
Thanks.
Click to expand...
Click to collapse
The Gravity Box (Q) Xposed Module allows you to change the number of volume steps for media control.
For Magisk level...
You might consider using ViPER4Android if you want to fine tune a particular volume level. IE, set a volume that is close, then change the output gain or parameters in the equalizer to bring that volume up or down.
For Xposed level...
I tried testing Gravity Box's Q Xposed module to change from 25 volume steps to 50...
Using a test video of a constant tone, vol-4/25 was as loud as I wanted it, vol-5/25 started to hurt and vol-6/25 was as high as I wanted to test with.
After changing to 50 steps and a reboot, I unscientifically feel like those same volumes are more around 6/50, 8/50 and 10/50.
Meaning that it actually does what it says... which is better than ones that claim to do the same thing for call volume. The fact that Google thinks 6 call volume steps are okay is criminal. Sometimes I can't use headphones for calls because some callers are simply too loud for me at 1/6.
For another Magisk level option, there's a build.props setting that seems to work as well as Gravity Box. You'll need something like MagiskHide Prop Config to add to your "systemless" build.props file.
Once installed, open a terminal with SU privileges, run props (the Magisk module) and follow the prompts to add a new custom prop setting for "ro.config.media_vol_steps". The default should be 25 and setting it to 50 seemed identical to what Gravity Box accomplished.
I find a setting of 30 volume steps in Gravity Box is perfect for me.