Signal camera not working on Huawei phones
- [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
Bug description
When trying to take a picture to send within Signal using a Huawei Mate 10 Pro or a Huawei P20, a black screen is displayed with the shutter button and the square in the bottom left of existing pictures, but no camera image. On pressing back to return to the chat and trying again, Signal stops being responsive.
Steps to reproduce
- Open a chat
- Try to take a photo to send
Actual result: Black screen with camera UI but no image Expected result: Camera UI with a moving image of what the camera sees
Device info
Device: Huawei Mate 10 Pro, Huawei P20 Android version: 9.1 Signal version: 4.49.13
Link to debug log
https://debuglogs.org/b6f9596c588335d29eccc0851848d75b31ad9be16ee8a06e75de96286985e662
Without a debug log the devs can do nothing, but guess. Please include one. Here is how to grab one: https://support.signal.org/hc/en-us/articles/360007318591-Debug-Logs-and-Crash-Reports#android_debug
I have exported one and added it to the original comment. :)
Can confirm this bug on P20pro with latest Android 9.1 and latest Signal 4.49.14. https://debuglogs.org/d4a4e8b68f53fa4d265c5a7e479966180d72f68a566b0b1f763234bb5096c1f6
I reported this during the beta testing on the Signal Community and via the support email (no response from this at all). My phone is a Huawei P20 Pro and one of my debug logs is https://debuglogs.org/5f89fa4fbbaacbb78129c31801644c2ef00c403ba160a62ddf5724f7e4398ee7
Mate 20 Pro same issue.
FYI, this is NOT an issue on my Huawei Nexus 6P running stock Android 8.1.0. I use signal every day without picture and video issues. Just wanted to confirm that not ALL Huawei phones are impacted by this issue. Thanks
One more with exactly same issue, Android 9.1, Signal app version 4.49.14, Huawei P20 Pro
+1 Android 9.1 Signal 4.49.14 Huawei P20 Pro
Same behavior here with Signal 4.49.14, Android 9.1.0 and a Honor 10. You can find my logs here: https://debuglogs.org/ac09b21c2d195269cf43e4d10ef368eb41d5bda7997551729f6a1ddba4589be3
+1 for P30. To clarify, this is a regression that started happening after upgrading to 4.49.13 and 4.49.14. Camera worked fine on previous versions.
+1 Huawei Mate 10 As pabl0 said, this started after upgrading to 4.49.13 Log link below
https://debuglogs.org/511fa0393844537837bb6e7e7d861e4357b12f685901e6e58d61a652ff3fac23
P20 is also in the list.
Tested on a P30 Pro, same behaviour.
Tested with Huawei Mate 9 and it works fine: Android 9 (252C432, MHA-L29 9.1.0.252(C432E7R1P8)) Signal 4.49.18 (5652)
Tested with P20 and P20 Pro... Still black screen.
Tested with Huawei Mate 9 and it works fine: Android 9 (252C432, MHA-L29 9.1.0.252(C432E7R1P8)) Signal 4.49.18 (5652)
You go my hopes up with the 4.49.18 update...sadly still fritz'd on Mate 10. It actually crashed and prompted a send feedback action when trying to use camera.
Frustratingly, the camera works fine on the Huawei device I do have, the Huawei Mate 10 Lite. The logs aren't super helpful for tracking down something I could use to detect this more widely, and it does seem to work for some Huawei devices, so don't want to blanket-disable the new camera for all Huawei's.
Instead, I've taken down the list of phones you all have listed, and I've added them to a "new camera blacklist" that will cause you to fall back to our legacy camera. This change will go out in 4.50.x, which is likely releasing to beta soon. If you're still experience the problem, or you have a model that hasn't been listed here, please post a debug log (your phone model info is in the log).
So far, I've blacklisted the following:
- Huawei Mate 10
- Huawei Mate 10 Pro
- Huawei Mate 20
- Huawei Mate 20 Pro
- Huawei P20
- Huawei P20 Pro
- Huawei P30
- Huawei P30 Pro
- Huawei Honor 10
In the meantime, a temporary workaround would be to hit the '+' button in the compose bar and select the external camera option. This will link to your system camera.
Thank you for working on this, @greyson-signal. Even a workaround helps.
I think the difference between your device and the ones having problems is that Mate 10 Lite only has a single main camera and not dual/triple. Multiple main cameras are very common in modern higher end phones. But this issue does not happen on other manufacturer's multi-camera devices?
Hello, I also have the issue on my Honor 10. Android 9 - EMUI 9.1.0 Thanks for the workaround anyway !
Hi.
I wanted to chip in. I have the same issue with my Mate 10 Pro.
See log here: https://debuglogs.org/8fcb16c1a48aa40b9d7fb13e57627c7ab76aeb6bbd5958d8eb427e4e20416ca2
I found this line in the log:
2019-11-13 09:29:37.765 CET E VideoCapture: AudioRecord object cannot initialized correctly!
It's found almost at the end of my log.
@greyson-signal I hope above may help figuring out the issue.
Thank you! :)