Signal-Android icon indicating copy to clipboard operation
Signal-Android copied to clipboard

Hardware echo cancellation does not work on many devices

Open equaeghe opened this issue 8 years ago • 39 comments

  • [x] I have searched open and closed issues for duplicates
  • [x] I am submitting a bug report for existing functionality that does not work as intended
  • [x] I have read https://github.com/signalapp/Signal-Android/wiki/Submitting-useful-bug-reports
  • [x] This isn't a feature request or a discussion topic

This is a revival of issue #6241. The posts there contain valuable information that cannot concisely be copied here. To deal with this issue, a whitelist was in place initially, which worked in the sense that only known ‘good’ devices would use built-in echo cancellation. Afterwards a switch was made to a blacklist, which was however not updated, leaving many people with non-usable call functionality.

I suggest others experiencing this issue to wait with commenting until the developers have indicated what info they need. The material in issue #6241 should give them a good starting point.

Bug description

Echo cancellation does not work on multiple devices and for various Android versions. For example, my Samsung GT-I9192 Galaxy S4 Mini Duos (serranodsxx) on Android 7.1.2 (LineageOS) is affected.

Steps to reproduce

  • call someone with Signal, using with affected device/OS (other party's device/OS seems irrelevant)
  • have conversation

Actual result: Other party hears disturbing echo Expected result: Other party does not hear disturbing echo

Depending on the device, the results vary when using headphones or not. On my device, the echo becomes worse when using headphones, so in a situation where the echo cannot be caused by sound being captured by my microphone. (My guess is that the echo cancellation functionality actually adds the echo.) For others, the echo disappears in this situation.

Suggested potential workarounds until the root cause can be addressed are to update the blacklist, to include an ‘advanced’ option that switches hardware echo cancellation on or off, or to disable echo cancellation when using headphones. A workaround is needed to avoid chasing users to Skype or so. (I managed to convince my family to switch to Signal and then the whitelist-to-blacklist move forced us back to Skype.)

Device info

Device: Samsung GT-I9192 Galaxy S4 Mini Duos (serranodsxx) Android version: 7.1.2 Signal version: 4.17.5

Link to debug log

Not applicable.

equaeghe avatar Apr 04 '18 19:04 equaeghe

I'm happy to add devices to the blacklist, but only if we can confirm that they are a problem with stock Android.

moxie0 avatar Apr 05 '18 11:04 moxie0

👍 for my Moto G5SPlus on Android 7.1.1 Signal 4.18.3

sluger avatar Apr 17 '18 19:04 sluger

@sluger We'll need the ro.product.model string for that.

moxie0 avatar Apr 19 '18 00:04 moxie0

hi @moxie0, the ro.product.model is Moto G (5S) Plus

sluger avatar Apr 19 '18 17:04 sluger

This effects Oneplus 2 running lineage os too.

This is a deal breaker and needs to be sorted out

ADepic avatar May 20 '18 15:05 ADepic

@moxie0 Please add the Moto G4 (running stock) to the blacklist as well. I've had several people complain that they hear an echo during signal calls. Using headphones fixes this problem.

The ro.product.model string is "Moto G4". Thanks!

schubtob avatar May 21 '18 14:05 schubtob

Echo happens too on the Samsung Galaxy S III : ro.product.model=GT-I9300

breversa avatar Jun 03 '18 18:06 breversa

@breversa Which ROM are you running on that Samsung Galaxy S III?

2-4601 avatar Jun 05 '18 13:06 2-4601

The ROM is LineageOS for MicroG, taken from here : https://lineage.microg.org/

ROM download link : https://download.lineage.microg.org/i9300/lineage-14.1-20180517-microG-i9300.zip

breversa avatar Jun 05 '18 13:06 breversa

I'm running that too - but I've had this problem since lineage plain version 14.1

ADepic avatar Jun 05 '18 19:06 ADepic

You should confirm that it's also an issue with stock Android, otherwise it won't be blacklisted as said in https://github.com/signalapp/Signal-Android/issues/7635#issuecomment-378906186.

2-4601 avatar Jun 05 '18 20:06 2-4601

I think there are many people not running stock Android. Personally, I'm not willing to delete my entire Android installation merely because one app is not functioning as desired. In #6241, there was a proposal to add a setting to the configuration screen. Is this something that can be considered as a remedy for such situations?

abooij avatar Jun 05 '18 20:06 abooij

I agree with @abooij : I'd love to confirm the bug, but I have no practical way to do it, as I'm no longer running stock on any device. Is there any other was to test that ?

breversa avatar Jun 07 '18 08:06 breversa

@breversa @abooij I have asked on an xda forum for my device whether someone with stock could test it. So far without response. But that is one thing you can try. Adding a setting would be ideal for me as well, but I understand that this goes against the design ideas of the developers (setting explosion).

equaeghe avatar Jun 07 '18 08:06 equaeghe

What about a "testing" build, then, to allow volunteers like us to test the behaviour with and without AEC, report here, then blacklist or not in the "consumer" build ?

breversa avatar Jun 07 '18 08:06 breversa

The Xiaomi Mi A1 is also affected by non-working echo cancellation on stock. ro.product.model=Mi A1

b0m0x avatar Jun 26 '18 11:06 b0m0x

I have the issue on Samsung Galaxy S7. I have a strong echo in each call, very difficult to use is these conditions. I hear myself back, being on speaker or not. The other side doesn't repport any call quality issue (tested with other side being motorola g4 and oneplus 5t)

SM-G630F Android 8.0.0

loxK avatar Aug 01 '18 01:08 loxK

@loxK If you hear your own voice echoing back, it's an issue with the other side. Lenovo Moto G4 is already on the list, do you have more detailed information about the other devices, including OS versions?

2-4601 avatar Aug 01 '18 11:08 2-4601

@moxie0 @greyson-signal Would it be possible to include an ‘advanced’ option that switches hardware echo cancellation on or off? That would help everybody instead of creating a blacklist entry for every major device out there. There's also countless numbers of lesser-used devices that might be affected but may never be reported because the likelihood of one of their users reporting the issue is much smaller.

ghost avatar Aug 08 '18 23:08 ghost

As a custom ROM user, an option to disable this would be useful. I have this issue, but can't add my phone to the blacklist because it works well with the (very) outdated stock ROM.

ghost avatar Aug 09 '18 19:08 ghost