GrooveIP and SIP apps back speaker issue - Samsung Moment - Android Software/Hacking General [Developers Only]

This is concerning the Samsung Moment. It does effect other Samsung models as well.
As I'm sure some of you know, when trying to make calls with GrooveIP or SIP apps, the sound for the person you connect to comes out the rear speaker. Apparently this is a kernal issue. I read that crappykernal fixes this on the intercept, but what about the Moment?
Also, although this is supposedly a kernal issue, Sipdroid 1.3.7 fixes this and routes the sound to the earpiece. This is the only version of Sipdroid that works like this on this phone. I know for a fact it does, because I spent a few days trying to get it to work a few months back. However, I don't like using SIP. I want to use GrooveIP. It's much simpler and sounds better too.
Does anyone know of a kernal, or solution of any kind, that will route the sound to the earpiece correctly? I'm currently using the Ubermoment rom.
I posted this over at SDX, but hoping someone here might know a way to fix this that I haven't come across.
**EDIT**
Found out my current kernal kinda fixes this. I have to mute, then unmute, the speaker. Then audio is routed to the earpiece. It's a workaround, but would like to not have to do that.

No ideas anyone? Would love to be able to fix this issue. I can't believe nobody has figured out how, or tried to.

Related

No Sound After Using Headphone Adapter

I use the HTC adapter with my ATT Fuze to listen to music in my car. When I unplug the adapter to get out of the car, my speakerphone no longer works. If I get a call, it will vibrate but not ring. If I adjust the volume, I don't hear the indication beeps. However, if I make or receive a call, I can hear them through the regular speaker, and they can hear me.
I've tried adjusting the volume everywhere possible, adjusting the audio profile, changing the ringtone, etc, but the only way to fix it is to soft reset. Needless to say, it is very inconvenient to have to reset my phone each time I get out of my car.
I did search the forums but couldn't find any solution. Unlike these people:
http://forum.xda-developers.com/showthread.php?t=526930&highlight=sound+headphones+aux
http://forum.xda-developers.com/showthread.php?t=508225&highlight=sound+headphones+aux
my phone does not show the headphone icon indicating that it still thinks the headphones are plugged in. It also will not allow me to use the TouchFlo Audio Booster, further evidencing the fact that it knows the headphones aren't plugged in.
I had to replace my phone for a different reason, so I have verified this problem on two separate physical units. On both I tried cleaning out the USB jack and wiggling the connection around as suggested elsewhere on the forum, but neither solved the problem. In the process of getting my old phone ready to send back to ATT I restored my stock SPL and ROM and verified that the problem still existed. Other than the stock stuff, I have experienced this issue on EnergyROM 2.0 41609 and 41709, EnergyROM 3.0 'Magic' 20090709, and EnergyROM 3.0 'Mercury' 20090722.
As suggested here:
http://forum.xda-developers.com/showthread.php?t=526930&highlight=sound+headphones+aux
I thought my Bluetooth stack may be causing the issue, so I flashed a new radio as well. I was originally using 1.14.25.35, and am now on 1.14.25.05, which NRGZ28 says is the best for his Mercury ROM. Still didn't fix it. I'm at a loss for what to do, and wonder if anybody else has come across a solution, or has any idea what the problem could be.
Any thoughts or suggestions would be greatly appreciated.
Inferno
im having same problem dude. Have you tried going to your audio recorder and recording yourself and then making a call. That helped get mine back the way its suppossed to be.
That worked. Very interesting... Does anybody have any idea why this might be the case? Is there a registry value somewhere that needs to be reset after I use the adapter?
NRG has a couple of little apps he includes with his ROMs, namely "Finger Menus OFF/ON" and "Notification Manager OFF/ON" that I assume just wrap up a registry value switch. Would it be possible to code the registry values I need into an app like this, so I can click a button and have my sound working again after I use the adapter? Any senior members willing to do this for me or guide me through the process?
And thanks for the tip Mr. Ewok.
Inferno
bump
The voice recorder trick doesn't work for me anymore for some reason. Anybody else have any suggestions?
Thanks,
Inferno
Hardware
hey,
I had exactly the same problem with my Fuze. I've never flashed anything but the stock rom. I sent it to PPC techs because I had them repair another problem. They told me it didn't have anything to do with the speaker or cables, but they "heated up the board" and it started working. I'm wondering if there's a manufacturing flaw (like a cold solder) involved.
BTW PPC techs didn't charge me anything but shipping to repair it (as it was under their warranty, even though it wasn't their fault). Nice guys!

SIPDroid and Fring route audio to the speaker phone!

It seems like the same audio routing problem seen in other Samsung Android phones also affects the Epic 4G:
code.google.com/p/sipdroid/issues/detail?id=366 (I can't post links)
This is shows up on SIPDroid and Fring. I've contacted Fring support about this issue. It looks like some people have fixed with a patch to the audio routing code in other Samsung Android phones:
forum.samdroid.net/f9/sipdroid-voip-i5700-problems-983
forum.sdx-developers.com/android-2-1-development/fixing-the-moment%27s-audio-routing-%28so-we-can-use-sipetc!%29
A cursory search shows this issue hasn't been reported here yet so I think I might take a look this weekend to see if the patches can be ported over to this phone. I'll admit I'm a bit out of my element here so I could use any advice and help from the seasoned devs on the forum. Thanks.
I was seeing the same thing on SipDroid, but then I tried Fring last week, and it worked fine. My biggest issue was the SIP call quality (with both apps) connecting directly to gizmo. It was really bad both over wifi and 3g. Almost unusable. Not sure what the cause was.
I agree that Fring call quality on SIP leaves much to be desired. I found SipDroid to be much better but still somewhat unusable. I have an Asterisk box at home so I can tweak things with codecs as soon as the audio routing issue is addressed.
As far as Fring fixing the bug... yes, Fring only fixed part of the bug in the latest version (2.1.1.24 I believe). Right now the initial call comes through the ear piece correctly. However, if you switch to the speaker phone during the call then the audio will never go back to the ear piece no matter how many times you click the button on the screen. The button on the screen will change but the audio is still piped through the speaker phone. I've reported this bug to Fring but haven't heard back from them yet.
Once they fixed it (if they can fix it), then I may ask them how they did it. At best they can tell us how they squashed the bug and then I can share the info with the SipDroid developers. At worst, they say no and we're not worse off than before. I still believe porting over the fixes in the other Samsung phone is an easier-to-implement solution than asking every VoIP developer to add a special case for Samsung Android phones (if that's in fact how they solved the issue).
Sipdroid still routing to speakerphone for me...

[Q] how to boost internal mic?

Like many other people, I am hoping someone will point me in the right direction on how to boost the internal mic. I use my transformer for Skype, and like others, when I do I am barely heard by the person on the other end.
I have read up on Voodoo Sound but that apparently doesn't support mic boost and is only for headphones. I have read up on KAT ( http://forum.xda-developers.com/archive/index.php/t-1841851.html ) which may indirectly do what I need if I switch ROMs and get other features from the addon that I really don't need.
I have tried messing with asound.conf I have tried using alsamixer and I'm at a loss for what values should be input. I have looked in just about every config/data/etc/ whatever folder I can think of.
All I want is to be able to boost the gain/sensitivity on the internal mic. What script/config/file/setting do I need to change/add to do this?
And before someone mentions it.. I really don't want to use a headset =P
Thanks for any help you guys can offer. Hopefully this doesn't get overlooked like all the other "help me fix my mic" questions I've seen.
Edit1: OK, I think I've managed to figure out alsa_amixer and which settings are important to me (apparently you need to read the datasheet to figure this out...). That said, when I set the value I want for the input PGAs.. they don't stay set even if I use alsa_ctl store. I think I found a thread mentioning the same issue. I really don't understand why changing the record volume on the mic is such a problem for android devices...
No one has any idea?
Im also trying to boost the mic although skype works quite well programs like soundhound or shazaam pick up nothing even tried an external mic.
I found a program on play/market called alsamixer maybe you could try that see if it sticks.
Could you tell me the PGA setting or settings for the mic it has soo many i dont want to screw things up.
HellsAngel_NL said:
Im also trying to boost the mic although skype works quite well programs like soundhound or shazaam pick up nothing even tried an external mic.
I found a program on play/market called alsamixer maybe you could try that see if it sticks.
Could you tell me the PGA setting or settings for the mic it has soo many i dont want to screw things up.
Click to expand...
Click to collapse
I had tried alsamixer but anytime I changed the settings, they would always be reverted back making the process pointless.
I have sense tried using KAT Audio: http://forum.xda-developers.com/showthread.php?t=1841851
This seems to at least access the mic. I have seen it work somewhat with Skype though the results are sporadic. I have absolutely no idea how to make Skype work reliably with KAT Audio...
You said Skype works well for you. Is this using the internal mic on the Transformer? How are you able to get it to work for you?
Lavath said:
I had tried alsamixer but anytime I changed the settings, they would always be reverted back making the process pointless.
I have sense tried using KAT Audio: http://forum.xda-developers.com/showthread.php?t=1841851
This seems to at least access the mic. I have seen it work somewhat with Skype though the results are sporadic. I have absolutely no idea how to make Skype work reliably with KAT Audio...
You said Skype works well for you. Is this using the internal mic on the Transformer? How are you able to get it to work for you?
Click to expand...
Click to collapse
My skype works well.
Search on google play sound meter and isntall and test the mic again.
I wish u good luck
Yeah skype and the internal mic works very good here only shazam and soundhound pick up nothing.
I dont have a transformer but a slider and tried KAT aswell changing the mic doesnt seem to do anything for me
so could you still tell me the PGA's i need changing? maybe i have better luck with alsa if i know which ones lol.
HellsAngel_NL said:
Yeah skype and the internal mic works very good here only shazam and soundhound pick up nothing.
I dont have a transformer but a slider and tried KAT aswell changing the mic doesnt seem to do anything for me
so could you still tell me the PGA's i need changing? maybe i have better luck with alsa if i know which ones lol.
Click to expand...
Click to collapse
I'm pretty sure it's the left and right input PGAs.

[Q] handset microphone doesn't work well, speaker mic works fine?

This seemed to only recently have come up.. but the handset microphone does not pick up sound nearly as well. It is maybe 1/10th the amplitutde. I've tested phone calls to myself (to GVoice headphones, other phones, etc.) and the speaker mic works great. When you take it off speaker mode it barely picks up sound at all.
When I use Evernote voice note recorder or a simply voice recorder I get similar results of extremely attenuated sound.
I do not _believe it is a CM10/custom ROM issue as this new behavior seems to have only started recently (past 2 days?) and was running the same stable ROM the whole time. I haven't yet isolated, but it could be a bluetooth problem (doubtful) - as I recently paired with two devices sometime in the past 3 days, or maybe some App has taken control over the amplification of the handset microphone.. but I install/uninstall so many apps to test throughout any given day this would be hard to isolate.
Has anyone had this issue before??
I'll go ahead and reset to a clean ROM, stock ROM, etc. and see what results I get, but I wanted to post a Q first to see if anyone ran into the same issue. Thanks in advance!
ray

Samsung galaxy s8 plus audio problem during videocalls

Hello!
I have a major issue during videocalls using google duo, skype where if there are any background noise around me, i can't hear the person i am talking to. The audio cuts off. It has to be silent around me in order for me to hear the person i am talking to. Is there any fix to this problem? I have already reset the phone but the problem is still there.
mic (over) sensitivity? perhaps some will stop by and know the file and file entry to edit.
any of this type setting elsewhere (Settings, the app itself, and sound modification yo have installed, eg Viper, etc... that you can check/get to?
I have no sound modification installed. I checked the settings but there seems to be no part adressing this issue. The same problem happens when i use different apps like skype, google duo and signal. Could it be a hardware problem? The microphone works fine when i record a video or recording audio.
Maybe.
Rooted? If so, and you've done a full, clean install, and sure that the install is working ok, maybe try another custom ROM.
Normal calls work, as I get you it's (just) video calls? Another possibility, I'd consider looking up mic sensitivity and ways to decrease it. On the OnePlus One I am aware there was a configuration file folks could mess with to try and resolve that phone's mics over sampling. That was a common issue for many.
Have you tried turning the volume down and see if that has any effect?
Wish I could offer more ideas, I have used video calls maybe 3 times in 8 years.
The phone is not rooted. This problem occurs only when i use internet based videocalls (skype, google duo). The volyme is not usually high when i call. Thank you for your time, hopefully i will find a solution soon.
Frustrating. Good luck.

Categories

Resources