Hardware echo cancellation does not work on many devices
- [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.
I'm happy to add devices to the blacklist, but only if we can confirm that they are a problem with stock Android.
👍 for my Moto G5SPlus on Android 7.1.1 Signal 4.18.3
@sluger We'll need the ro.product.model string for that.
hi @moxie0, the ro.product.model is Moto G (5S) Plus
This effects Oneplus 2 running lineage os too.
This is a deal breaker and needs to be sorted out
@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!
Echo happens too on the Samsung Galaxy S III : ro.product.model=GT-I9300
@breversa Which ROM are you running on that Samsung Galaxy S III?
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
I'm running that too - but I've had this problem since lineage plain version 14.1
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.
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?
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 @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).
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 ?
The Xiaomi Mi A1 is also affected by non-working echo cancellation on stock.
ro.product.model=Mi A1
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 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?
@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.
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.