yashsingh1/xdaforums huggingface dataset:
[T-Mobile Samsung Galaxy S II SGH-T989] monkeybuttons:
It now appears call echo returned after I dirty flashed the latest PACman over the previous one. I tried flashing AOKP ICS but I still have call echo on that (yes noise suppression is checked). Guess it's back to stock unrooted. Hopefully from there I can flash the latest PACman without call echo.

And for those of you who might think it's placebo effect, I didn't tell my wife I changed anything on my phone. Shorty after flashing it she said "I'm echoing again." There's definitely something screwy going on here.

I did notice the other topic about a "permanent" fix for call echo that states something in the phone comes loose, but I never figured that could be the problem with my phone since I have never dropped it. I've tossed it onto a couch a few times but I can't see that causing something to come loose. Has anyone had problems with this without phone abuse?
[T-Mobile Samsung Galaxy S II SGH-T989] whytechapel_x:
I can see that being a problem maybe since i have dropped my phone numerous times. But me not getting call echo on ICS and only jellybean makes it weird. TBH im giving up on this phone and staying on Jedi Knight 6 until i can get my hands on a Samsung Note 2...
[T-Mobile Samsung Galaxy S II SGH-T989] monkeybuttons:
Sadly I'm stuck until at least the next Nexus phone, maybe longer. Not a lot of money to go around. I do like the phone though. Just wish this echo thing could be killed once and for all.
[T-Mobile Samsung Galaxy S II SGH-T989] whytechapel_x:
I know same here but i feel left out not being able to use JellyBean. :(

Also our only hope on this phone is too wait IF Samsung drops official Jellybean to our phone.
[T-Mobile Samsung Galaxy S II SGH-T989] monkeybuttons:
UPDATE: It appears my earlier statement about my D30 case not affecting call echo may have been erroneous. Normally I would make two separate calls to test with and without case. Last two times I took the case off mid call and it made a big difference. Call echo was still present but much less prominent. I am going to try to modify it to see if I can kill whatever the case is doing to increase call echo.

EDIT/UPDATE2: So, after more experimentation and flashing and taking my case off and on during phone calls, here are my conclusions.

1. Call echo is present without the case for almost all roms, but is more like parts of words and sounds being echoed back to the person on the other end of the line. This is even on AOKP ICS.

2. Call echo is much worse with my D30 case on. Whole words and even sentences are repeated back to the person on the other end of the line making conversation frustrating. For example, my wife will still be hearing herself echoing when I start replying so my first few words are covered by the echoing (loud enough that she can't tell what I said).

3. With and without my case on, the phone transmits the sound of my fingers sliding on the edges of the phone during the phone call. For example, if I slide my finger along the length of the phone my wife can hear it. If I shift the phone in my hand during a call my wife tells me it sounds like I was beating my phone up.

Point number 3 is the one that really gets me because my wife's Galaxy Blaze doesn't make any noise when it's moved around or fingers shift or rub the edges of it. My phone sounds like I'm beating it up. I just don't understand. I am ready to give up and go back to stock. (I think I just threw up a little in my mouth at that thought)
[T-Mobile Samsung Galaxy S II SGH-T989] monkeybuttons:
Ok, bear with me. I'm not trying to bump my own thread, I'm just trying to think out loud.

It seems to me that the sole purpose of the upper microphone (the one next to the earpiece) is for noise cancellation (duh). If Samsung is able to use this microphone to listen to background noise and apply a filtering algorithm to clean up audio captured by the mic on the bottom of the phone, then they should be able to take the audio transmitted to the earpiece and apply that to the noise filter as well and prevent this echo from happening.

I say this because, contrary to what many people think about call echo, I believe the upper mic does not transmit any audio to the person on the other end of the line. It is only for listening to background noise. Filtering background noise is not very effective without a second microphone. The second one is usually located as close to the source of the background noise as possible so it doesn't pick up what you don't want filtered, i.e. what you are trying to say to the person on the other end of the line. Maybe Samsung didn't test this phone, or its filtering algorithm, with a case on it. Maybe these softer, energy absorbing cases are changing the resonant frequency of the phone which is affecting the noise cancellation. Perhaps that's why the other person is getting the echo. The shape of the audio wave form traveling through the phone is changed by the case, so the lower mic is picking up a slightly different audio input than the one that was sent to the earpiece, thereby rendering the algorithm ineffective against the echo. It doesn't know the wave form has changed, so it can't filter it. Or, perhaps the timing of the filtering needs to be adjusted. There is a set time frame in which the vibrations (i.e. wave form) would travel from the earpiece to the mic on the bottom of the phone. Perhaps these cases are changing that time frame. If the filter applies the correction, but it is out of phase with the actual audio received by the microphone, the filtering would be ineffective.

Remember, I am just thinking out loud here. I am not a developer. I am just a mechanical engineer. I don't know much about audio filtering, but I do know a little about wave forms and vibrations. This is what I think about it. Anyone agree or disagree? Lets see if we can finally figure out what is going on here, and what we can to do fix it.
[T-Mobile Samsung Galaxy S II SGH-T989] Owndapwn:
I have received no echo with Embryo 6.0. It seems to affect different users with no rhyme nor reason.

Same phone, same ROM, same recovery, and on clean installs.
[T-Mobile Samsung Galaxy S II SGH-T989] monkeybuttons:
Well, there must be a rhyme or reason because nothing is "random". There may be variations in the way the phones were made, the way we hold our devices, or even our different facial structures allowing echo to happen. Why the D30 cases make it worse demonstrates that it is not likely a hardware issue, otherwise why would something I put on the outside of my phone affect it?

It seems Samsung has not nailed down this issue either because Google returns many hits of people with call echo even on unrooted stock roms. Something is seriously wrong here. I'm tempted to get my hands dirty looking for a solution, but since the only programming language I know is Fortran and Matlab (if you could call either one a programming language), and with limited free time it will take a very long time for me to even begin to understand what is actually going on and if there is even a potential solution. I know there must be, but I don't know what.

What really sticks out to me would be to analyze the incoming audio feed (from the person on the other end of the line) and also the input from the lower mic. Break the audio into small snippets then compare to the input audio. If there is a match, filter it. If not, let it through. That way there shouldn't be any way the person on the other end of the line would get an echo. But, as I said, I am not an audio technician and my knowledge of such matters is limited. Besides, this would likely be computationally intensive with the potential for memory leaks, dropped audio or other quality issues, or other unforeseen problems.

I do know that whoever fixes this problem once and for all will be praised as a god and will receive many rewards from people of this forum that are frustrated with this issue.
[T-Mobile Samsung Galaxy S II SGH-T989] Elloco305:
I plan to try out what's in the op tonight because my wife says it is only getting worse.

Will report back.

BTW if I rub my phones edges it doesn't sound like that on the other line. Running aokp 4.1.2
[T-Mobile Samsung Galaxy S II SGH-T989] Clockworkdoc:
I too have the echo problem. Happens with any rom not based on stock ics (AOSP, JB, CM) and it is only on the caller's side, not my own. I have messed with noise suppression setting and the like. I really wish this would disappear so that I can settle into some sweet all-star roms.
[T-Mobile Samsung Galaxy S II SGH-T989] whytechapel_x:
So now it turns out i'm getting call echo with Jedi Knght 6 as well. Just great...
[T-Mobile Samsung Galaxy S II SGH-T989] babexdragon:
Do you get echo when you're on speakerphone bc theres no echo when im on speakerphone. My phone has crazy echo so i temp fix it by being on speakerphone. It's not ideal bc everyone can hear my conversations but it stops the echo. So maybe the noise suppression function isn't working properly when it's on normal.
[T-Mobile Samsung Galaxy S II SGH-T989] truelyinspired33:
I seem to have stopped my echo by turning the system volume all the way down and having the noise suppression check! Fingers crossed hoping this will solve this permanently! Let me know if this helps you!
[T-Mobile Samsung Galaxy S II SGH-T989] lefdawg:
galaxy s2 t989 mic problem

lefdawg, new to forum. sup. well guys, i have installed many roms and have noticed that all the 4.1.2 roms for the t989 have poor mic quality. kinda like muzzled, fuzzy, or something. dont know how to explain correctly. the echo on the other end is not so much the problem. i used JediJelly2, cm- 10.0.0, Liquid -JB- v2.0-RC8-hercules. now my problem is yes it does get fixed by going back to stock, which is 4.0.4. but google search which is better that SIRI does not work on 4.0.4. so if anyone know of how to fix mic, please help.
[T-Mobile Samsung Galaxy S II SGH-T989] thefawns:
My phone calls are also very muffled and I ALWAYS get asked what I just said because no one can hear what im saying. I am testing lots of things right now. my phone is unlocked and i am on at&t, im running the most recent miui.us 2.12.28 rom, the UVLI1 radio, and the Nibbles kernel. So far my girlfriend gave my call quality a 5/10. when i used the lightning zap kernel she gave it a 2/10 and could somewhat hear me. With stock cm kernel she said she couldnt understand a word i was saying and was a 1/10...so im thinking its possible that the kernel is the problem. I also tried the UVLE1 radio i think its called and that doesnt change anything....I hate my calls being muffled :( somebody help me. Im gonna try the newest miui rom that Blackwing182 just uploaded because people are saying call quality is good :P if this doesnt get fixed i should return this piece of **** to walmart where i got it
[T-Mobile Samsung Galaxy S II SGH-T989] monkeybuttons:
If you want Google Now on ICS, try this: http://xdaforums.com/showthread.php?t=1747224

If you really want Jelly Bean, you are going to have to live with call quality issues (only a few of us are affected, but there seems to be no way to remedy it if you have it). The kernel you flash does seem to have an effect on it. After I flashed Lightening Zap kernel my wife said the echo was the worst it's ever been. Also, try taking the case off your phone during a phone call and see if that makes a difference. Sorry there isn't a fix. What I posted in the OP worked for me the first time, but every time since has not worked as well. Don't know why. Perhaps my wife made a mistake in saying the echo was gone, but she was pretty sensitive to it so I don't see how.
[T-Mobile Samsung Galaxy S II SGH-T989] monkeybuttons:
You said your phone is on AT&T? Try the Skyrocket forum. This forum is for the T-Mobile SGSII (the Hercules). Perhaps they don't have the same issues? I wouldn't know because I don't spend any time over there.

Or is your phone an unlocked Hercules that you are using on AT&T? May not hurt to try an AT&T radio anyway.
[T-Mobile Samsung Galaxy S II SGH-T989] goatamous:
I'm using Jedi Jelly 3.1 and the echo is horrible, regardless of whether i have noise suppression on or not.

If anybody has a solution (that doesn't involve flashing back to stock), please help!

EDIT: Has anybody tried flashing any of these: http://xdaforums.com/showthread.php?t=1895400

Or will that not work?
[T-Mobile Samsung Galaxy S II SGH-T989] tb786:
I agree with you, the echo seems to be kernel related. I have no issue when I'm flashing the stock roms and a CM rom but all the other roms that I've flashed used different kernels and each one of them have caused an echo. Is there a way where we can flash the cm kernel with these other roms?
[T-Mobile Samsung Galaxy S II SGH-T989] Elloco305:
I've flashed nearly every radio. Nothing seems to help me. I've come to a conclusion that its the jb roms themselves.
[T-Mobile Samsung Galaxy S II SGH-T989] shadow_cruiser:
I agree, I've tried every radio combination with jb roms, still call echo. Even after going back to an ICS rom from JB, JB files seem to linger around. I always odin back to stock 4.0.4 T-Mobile Base before loading any ICS rom
[T-Mobile Samsung Galaxy S II SGH-T989] Elloco305:
I actually tried this and it worked. Because you jinxed me. I was going fine on ics with no echo till you posted.

Turns out if you bring down the volume during a call. The echo no longer appears. As its the fact that the top mic picks up the headset audio and plays it back to them.

Why the frak this is also happening now on ICS as well. I am starting to believe you were right with your point on files are getting left behind or settings or something.

Though I factory reset. wipe everything. And twice.

Hope this also helps someone else

Big thanks to -> FarReach for pointing it out to me
[T-Mobile Samsung Galaxy S II SGH-T989] skinsfanbdh:
i just flashed jb on my brothers galaxy exibit 4g and the call audio is perfect. its kinda pissing me off that he paid 1/3 of what i payed for my phone and he has no echo and i have massive echo on the recieving end with audio breaking up on my end. plus kies wont reconize my phone anymore for some reason.
[T-Mobile Samsung Galaxy S II SGH-T989] goatamous:
Then i give up

I've tried a couple of different radios myself, but to no avail. I guess i'll wait until an updated kernel comes out
[T-Mobile Samsung Galaxy S II SGH-T989] skinsfanbdh:
just odined to stock 4.0.4 then flashed embryo 6.1 and still have call echo
[T-Mobile Samsung Galaxy S II SGH-T989] Elloco305:
Have you tries bringing the call volume down a bit?
[T-Mobile Samsung Galaxy S II SGH-T989] thakrew317:
Sounds like you need a new us port/PBA board....same **** happend to me had to send it to samsung :(
[T-Mobile Samsung Galaxy S II SGH-T989] capo31:
I don't know if this will help anyone but I used tape covered the hole on top of the phone and covered the hole on my case. Checked noise suppress under phone settings and now I have no echo. Actually people I called to test it say I sound better. I went back to stock through odin , flashed different roms, kernels, and radios all had echo until I used the tape. I'm currently using All star v7 with lightning zap kernel. It might not work for everyone but its what worked for me
[T-Mobile Samsung Galaxy S II SGH-T989] skinsfanbdh:
yes, but it didnt help

---------- Post added at 09:33 AM ---------- Previous post was at 09:30 AM ----------

i actually thought about doing that, but i thought the sound would still bleed through the inside of the phone
[T-Mobile Samsung Galaxy S II SGH-T989] DupleX01:
Hey guys! This kernel completely vanished the call echo issue for me on JB roms :

http://xdaforums.com/showthread.php?t=1956144

You might need the rotation fix as well :

http://xdaforums.com/showthread.php?p=36764329

Direct Link to the rotation fix:

http://www.mediafire.com/?76bxbw34bzvj7j2

I'm just the messenger here!

I'm new on this device, so still in the reading phase and simply found this solution thanks to these fellow members:

Credit should go to flappjackxxx for the kernel and others (mycars12, Deliberate, nighthawk1991) for their useful chime in with links/infos and of course the devs (All-Star guys for one) for making/porting these badass JB roms. ;)

Found the infos here :

http://xdaforums.com/showthread.php?t=1992318

Sent from my SAMSUNG-SGH-T989
[T-Mobile Samsung Galaxy S II SGH-T989] tb786:
Trying this right now! Hopefully it works.
[T-Mobile Samsung Galaxy S II SGH-T989] capo31:
No problems here give it a go and see if it helps
[T-Mobile Samsung Galaxy S II SGH-T989] skinsfanbdh:
did you use the aosp one or the universal?
[T-Mobile Samsung Galaxy S II SGH-T989] DupleX01:
I'm on slim bean, so went with the aosp version.

Sent from my SAMSUNG-SGH-T989
[T-Mobile Samsung Galaxy S II SGH-T989] nighthawk1991:
I'm on Slim Bean too, but I used the universal, so no problem, you can use any, aosp or universal... :thumbup:

Nighthawk's Tapatalk
[T-Mobile Samsung Galaxy S II SGH-T989] capo31:
Gonna give this a go as well. If I remember correctly I used this kernel b4 with no echo on a ROM from the skyrocket forum.
[T-Mobile Samsung Galaxy S II SGH-T989] skinsfanbdh:
thanks bro!!! that fixed the call echo for me too.
[T-Mobile Samsung Galaxy S II SGH-T989] goatamous:
dumbest of dumb questions: do i need to install that overclocking script as well, or is that completely separate from the kernel?
[T-Mobile Samsung Galaxy S II SGH-T989] skinsfanbdh:
no overclocking is included only downside is the lack of governors just basic ones available. small price to pay imo
[T-Mobile Samsung Galaxy S II SGH-T989] goatamous:
Awesome. Thanks!

Fingers crossed that this kernel works for me
[T-Mobile Samsung Galaxy S II SGH-T989] skinsfanbdh:
your probably gonna need the rotation fix at least i did, but jps rotation fix didnt work for me. i used the one thats linked in the all star rom 5 bases thread its located in the last 2 or 3 pages i think
[T-Mobile Samsung Galaxy S II SGH-T989] DupleX01:
I've edited my initial post and included the direct link to the rotation fix.

Sent from my SAMSUNG-SGH-T989
[T-Mobile Samsung Galaxy S II SGH-T989] krazeecracker:
Anyone try kko without echo
[T-Mobile Samsung Galaxy S II SGH-T989] skinsfanbdh:
thats the kernel i tried first with all star v7 but i had echo
[T-Mobile Samsung Galaxy S II SGH-T989] goatamous:
hmmmm

flashed this kernel

now my phone won't even start up.

it shows me the Samsung screen, then goes black and doesn't start up.

crap.

Was using Jedi Jelly 3.1
[T-Mobile Samsung Galaxy S II SGH-T989] skinsfanbdh:
thats because jedi is touchwiz and the kernel is aosp. just flash rom again without the kernel or get an aosp rom and flash the kernel
[T-Mobile Samsung Galaxy S II SGH-T989] goatamous:
i'm still learning - but i thought i could use the "all roms" version. learning something new. alright, time to wipe / flash rom / restore again

thanks for the help.
[T-Mobile Samsung Galaxy S II SGH-T989] richardlibeau:
Removed old version . I updated the files and flashed this myself today. It works fine nothing got borked. No guarantee that it will work for everybody. I do not have any echo so I am just trying to help out if I can.
[T-Mobile Samsung Galaxy S II SGH-T989] skinsfanbdh:
should this work with any kernel?
[T-Mobile Samsung Galaxy S II SGH-T989] richardlibeau:
Should work with any kernel. Doesn't have anything to do with the kernel modules.
[T-Mobile Samsung Galaxy S II SGH-T989] Elloco305:
Dam it. I restored back to AOKP before going back to work. Flashed hot cakes and I'm in wonderland with no echo.

Now a new possible fix?!?

I'm so trying it on my next break! Thanks man. If we may ask where did you get this?
[T-Mobile Samsung Galaxy S II SGH-T989] richardlibeau:
On a thread a few months back but can't remember what thread now. But I downloaded it to my computer and used it once. It helped me and a few people I know but I am by no means saying it'll work for everybody. Just another option for people to use it may work and it may not. So I hope I don't get blasted if it doesn't help anybody out. Just trying to give another avenue that might work.
[T-Mobile Samsung Galaxy S II SGH-T989] skinsfanbdh:
thats the only way its gonna get fixed. if it doesnt work it doesnt work at least people are trying.
[T-Mobile Samsung Galaxy S II SGH-T989] Elloco305:
Hey man. If you get any heat from anyone for this not working well find a way to ban them. Lol

Thanks so much for this man.
[T-Mobile Samsung Galaxy S II SGH-T989] DupleX01:
Thanks for sharing!

Restored my SB 3.1 backup with Lightning Zap kernel flashed the zip and the result is no sound.

Volume settings unavailable(causing the system to hang) either trough setting/sound or the hardware buttons. :(

It's a no go for me. Thanks though!

Sent from my SAMSUNG-SGH-T989
[T-Mobile Samsung Galaxy S II SGH-T989] Elloco305:
That's a touch wiz base right?

Ive owned the device for 1 month now so not too Savvy with THESE ROM acronym's lol

Anyways. Can you check if you have more than what was flashed (open both locations and compare) please
[T-Mobile Samsung Galaxy S II SGH-T989] DupleX01:
Slim Bean is aosp based.

Unfortunately, I'm still at work so just tried it during my break. I have no chance to get into it any deeper now.

Sent from my SAMSUNG-SGH-T989
[T-Mobile Samsung Galaxy S II SGH-T989] Elloco305:
Feel you man. OK hopefully later after work/ weekend we can colab on how to get this to work. At least we have a stronger base vs discontinued kernel dependent
[T-Mobile Samsung Galaxy S II SGH-T989] DupleX01:
Cheers bro!

In fact after work starting my overnight shift at my second job, then in the morning entertaining my 2 years old daughter. So much about the freedom cry. :D

Yeah, it could definitely be a good idea to start with. Actually I was thinking about the same in regards to the hotcakez kernel. We have the sources for that, so those could be handy for a nibbles/lightning Zap hybrid.

Just my two cents of course.

Sent from my SAMSUNG-SGH-T989
[T-Mobile Samsung Galaxy S II SGH-T989] Elloco305:
Flashed the zip on JX3 4.0.3 base and I still have sound and so far the two I've spoken two havent heard their echo yet. Tomorrow I'll make a phone call to be sure and report back.
[T-Mobile Samsung Galaxy S II SGH-T989] thakrew317:
I flashed the zip on sbean v12 and it borked my data....weird tho cause in could still get on internet and xda and it loaded up but couldnt send SMS said no data available... tryed to restore a nand and still no data had to wipe and format everything and reinstall ROM and everything else
[T-Mobile Samsung Galaxy S II SGH-T989] richardlibeau:
Will try to fix zip today might need updated files. The most important files are libSamsungDiamondVoice.so and libmvsechocanceler.so maybe you can manually extract these two files and place them in system/lib with 644 permissions and owner root. That may work better instead of the whole zip. My guess is the HW files are not compatible with some roms
[T-Mobile Samsung Galaxy S II SGH-T989] krazeecracker:
If you manage to get this working ill add it to lightning zap zip :D
[T-Mobile Samsung Galaxy S II SGH-T989] richardlibeau:
Ok, so I just updated the files and flashed it myself everything works fine. New version should work with no problems. But again not a guarantee that the echo will go away for everybody. I do not have echo at all just trying to help out.
[T-Mobile Samsung Galaxy S II SGH-T989] krazeecracker:
Will test after work unless someone else wants too lol. And test nibbles as well.
[T-Mobile Samsung Galaxy S II SGH-T989] nighthawk1991:
I will try later with SB all star v5 and lightning zap! :thumbup:

Nighthawk's Tapatalk