Not receiving MMS/group text on Google Fi (with Sprint)
- [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
Not receiving group sms. Switched default sms app to hangouts and started receiving them again.
Steps to reproduce
- Have friend send a sms to you and another number(nonencrypted sms conversation)
- Fail to receive the message
Actual result: Receive no notification or message of any kind Expected result: Receive a message
Screenshots
Device info
Device: Motorola Moto X4 Android version: 9 Signal version: 4.46.2
Link to debug log
https://debuglogs.org/cc4789394be2d5995e39e790cdcefcb5eb32e5b6a39bfd0faefc5359f06ae97c
Same issue with Google fi on pixel 2. Android v10. Signal v4.47.6. Everyone on the MMS chain(default sms app) gets the sender's message except me (signal).
Same here on signal v. 4.47.6
Moto X4 Android version 9
Provider: Google Fi
I can't pin down exactly when this started happening by Signal version, but about the time that the OP posted is in the right vicinity.
Since I didn't mention in the original post and it seems like it could be a unifying factor now, I am also experiencing this issue under Google Fi
May be related to #8571.
May be related to #8571.
I think this is different and difficult to see happening. I'm not even seeing that an MMS failed to download, the MMS group message just looks as if there is no activity on it. I don't receive any notification that an MMS was sent. I had to confirm this was happening with non-signal users that sent a message. I switched back to the default android messages app to confirm they worked there. When I scroll through the debug log I can see that an MMS message was received, but there is no error to be found.
@lafkob I have the same symptoms as you. I thought it might be related to #8571 because of the MMS nature of the group texts that are not showing up.
But here's a new data point: I tried turning on the native "messages" app and like you, received a test group MMS message. But when I tried switching to another different SMS/MMS app from the Play Store called QKSMS, the same thing happens with it as happens with Signal - no group MMS incoming at all.
So this may be a bigger than Signal issue. So far we have two non-native SMS apps (Signal & QKSMS) both not receiving group MMS messages with Google Fi as the carrier.
EDIT: Tried Textra SMS and it (like Messages) works for me for group MMS.
@moxie-signal @moxie0 I don't know how much this matters to you, but this bug is making many of the people in my contact list who i have painstakingly converted to signal over years bail and start using unencrypted SMS via their phone's native app. Once they've lost confidence in Signal, the likelihood that they will ever switch back seems low. I can't be the only person in this situation.
I'm neither an Android nor a Java developer, so it would take me far too long to get up to speed to be able to try to address this and send a PR, but given what I've documented above, I'd guess a reasonably good Android developer should be able to fix this in a day or two.
Find out what is common in how QKSMS and Signal are processing incoming MMS messages and what is not common in how Textra SMS is processing incoming MMS messages and make Signal like Textra instead of like QKSMS. It must be some kind of system API and Signal and QKSMS must be using it one way and Textra (and Google Messages) must be using it a different way.
Signal Android 4.48.4 beta does not fix this issue for me despite https://github.com/signalapp/Signal-Android/commit/1e375ec494ec63c514552c48dbb34e226cd29071
Still not receiving group MMS messages.
cc: @greyson-signal
@pjv Ah, bummer. Was hoping it'd be a two-for-one.
@lafkob
When I scroll through the debug log I can see that an MMS message was received, but there is no error to be found.
Can you please post a debuglog with an example of this? I don't see any indication an incoming MMS was 'detected' in @edvallie's log.
@greyson-signal would it be relatively easy to grab the .apk for QKSMS and Textra SMS and see how they are each handling incoming MMS messages as I suggested in my comment here?
I'm going to guess based on my results that QKSMS is doing something similar to Signal and Textra SMS is doing something different. If it's relatively easy to see what Textra SMS is doing that is different, that might point the direction for a fix because both group MMS and non-group media-containing MMS work 100% fine on my phone with Textra and are 100% broken with both Signal and QKSMS.
would it be relatively easy to grab the .apk for QKSMS and Textra SMS and see how they are each handling incoming MMS messages
Looking at decompiled APK's is never fun, but if you're interested, be my guest :)
@greyson-signal
Looking at decompiled APK's is never fun, but if you're interested, be my guest :)
See, I'm so much an android developer that I thought APK's had source in them. Are they, like bundles of bytecode or ??
Anyway, I'm highly motivated to find a fix for this issue, but obviously useless with anything that involves Java or Android packaging and API's.
For kicks, I plugged my phone into my mac and tailed the log while I did various relevant things. There was a lot of extraneous junk in the log so I used this:
logcat |egrep -i "message|MMS|SMS|RCS|thought"
to try to focus on relevant data.
Then I made Textra the default app for SMS and MMS and I sent myself a group MMS text. Here are the log entries that seem like they matter:
09-29 08:42:13.543 2982 4497 I Tycho : [89] bjc.a: SMS pdu successfully injected.
09-29 08:42:13.608 2982 32077 I Tycho : [178] bjc.a: Acking SMS... [messageId=4298504725554789690, sourceChannel=1, messagePieceIndex=2]
09-29 08:42:13.819 2982 4953 I Tycho : [101] bjc.a: Process SMS payload [ID=4298504725554789690]
09-29 08:42:13.832 2692 2763 D GsmInboundSmsHandler: Skipped message de-duping logic
09-29 08:42:13.848 2982 4953 I Tycho : [101] bjc.a: Filter out SMS with payload [ID=4298504725554789690]
09-29 08:42:13.848 2692 2763 D GsmInboundSmsHandler: Skipped message de-duping logic
09-29 08:42:13.925 2692 19818 V GsmInboundSmsHandler: onFilterComplete: result is 1
09-29 08:42:13.997 1974 2570 D MmsServiceBroker: getCarrierConfigValues() by com.qualcomm.qti.telephonyservice
09-29 08:42:14.008 2692 2763 D MmsService: getCarrierConfigValues
09-29 08:42:14.008 2692 2763 I MmsService: mms config for sub 1: Bundle[{httpSocketTimeout=60000, aliasMinChars=2, smsUsesSimpleCharactersOnly=false, smsToMmsTextThreshold=-1, enableSMSDeliveryReports=false, mmsRoamingAutoRetrieveByDefault=false, maxMessageTextSize=-1, smsEncodingChangeable=true, supportMmsContentDisposition=true, enabledTransID=true, aliasEnabled=false, supportHttpCharsetHeader=false, allowAttachAudio=true, smsToMmsTextLengthThreshold=-1, recipientLimit=20, uaProfTagName=x-wap-profile, aliasMaxChars=48, maxImageHeight=1994, enableMMSDeliveryReports=false, userAgent=, mmsCloseConnection=false, config_cellBroadcastAppLinks=true, maxSubjectLength=80, httpParams=x-vzw-mdn: 1##LINE1NOCOUNTRYCODE##, enableGroupMms=true, emailGatewayNumber=, maxMessageSize=1048576, naiSuffix=, enableMMSReadReports=false, maxImageWidth=2592, uaProfUrl=, enabledMMS=true, enabledNotifyWapMMSC=true, sendMultipartSmsAsSeparateMessages=false, enableMultipartSMS=false}]
09-29 08:42:14.051 2692 2763 D MmsService: getAutoPersisting
09-29 08:42:14.097 1974 2037 W BroadcastQueue: Permission Denial: receiving Intent { act=android.provider.Telephony.WAP_PUSH_RECEIVED typ=application/vnd.wap.mms-message flg=0x19000010 (has extras) } to com.pushbullet.android/.sms.MmsReceiver requires android.permission.RECEIVE_MMS due to sender com.android.phone (uid 1001)
09-29 08:42:14.144 9666 9666 I MmsListener: Got MMS broadcast...android.provider.Telephony.WAP_PUSH_RECEIVED
09-29 08:42:14.157 1974 3640 D MmsServiceBroker: getCarrierConfigValues() by com.textra
09-29 08:42:14.157 2692 3108 D MmsService: getCarrierConfigValues
09-29 08:42:14.157 2692 3108 I MmsService: mms config for sub 1: Bundle[{httpSocketTimeout=60000, aliasMinChars=2, smsUsesSimpleCharactersOnly=false, smsToMmsTextThreshold=-1, enableSMSDeliveryReports=false, mmsRoamingAutoRetrieveByDefault=false, maxMessageTextSize=-1, smsEncodingChangeable=true, supportMmsContentDisposition=true, enabledTransID=true, aliasEnabled=false, supportHttpCharsetHeader=false, allowAttachAudio=true, smsToMmsTextLengthThreshold=-1, recipientLimit=20, uaProfTagName=x-wap-profile, aliasMaxChars=48, maxImageHeight=1994, enableMMSDeliveryReports=false, userAgent=, mmsCloseConnection=false, config_cellBroadcastAppLinks=true, maxSubjectLength=80, httpParams=x-vzw-mdn: 1##LINE1NOCOUNTRYCODE##, enableGroupMms=true, emailGatewayNumber=, maxMessageSize=1048576, naiSuffix=, enableMMSReadReports=false, maxImageWidth=2592, uaProfUrl=, enabledMMS=true, enabledNotifyWapMMSC=true, sendMultipartSmsAsSeparateMessages=false, enableMultipartSMS=false}]
09-29 08:42:14.163 2692 3108 D MmsService: getCarrierConfigValues
09-29 08:42:14.164 2692 3108 I MmsService: mms config for sub 1: Bundle[{httpSocketTimeout=60000, aliasMinChars=2, smsUsesSimpleCharactersOnly=false, smsToMmsTextThreshold=-1, enableSMSDeliveryReports=false, mmsRoamingAutoRetrieveByDefault=false, maxMessageTextSize=-1, smsEncodingChangeable=true, supportMmsContentDisposition=true, enabledTransID=true, aliasEnabled=false, supportHttpCharsetHeader=false, allowAttachAudio=true, smsToMmsTextLengthThreshold=-1, recipientLimit=20, uaProfTagName=x-wap-profile, aliasMaxChars=48, maxImageHeight=1994, enableMMSDeliveryReports=false, userAgent=, mmsCloseConnection=false, config_cellBroadcastAppLinks=true, maxSubjectLength=80, httpParams=x-vzw-mdn: 1##LINE1NOCOUNTRYCODE##, enableGroupMms=true, emailGatewayNumber=, maxMessageSize=1048576, naiSuffix=, enableMMSReadReports=false, maxImageWidth=2592, uaProfUrl=, enabledMMS=true, enabledNotifyWapMMSC=true, sendMultipartSmsAsSeparateMessages=false, enableMultipartSMS=false}]
09-29 08:42:14.163 1974 3640 D MmsServiceBroker: getCarrierConfigValues() by com.textra
09-29 08:42:14.175 1974 4301 D MmsServiceBroker: getCarrierConfigValues() by com.textra
09-29 08:42:14.175 2692 19818 D MmsService: getCarrierConfigValues
09-29 08:42:14.175 2692 19818 I MmsService: mms config for sub 1: Bundle[{httpSocketTimeout=60000, aliasMinChars=2, smsUsesSimpleCharactersOnly=false, smsToMmsTextThreshold=-1, enableSMSDeliveryReports=false, mmsRoamingAutoRetrieveByDefault=false, maxMessageTextSize=-1, smsEncodingChangeable=true, supportMmsContentDisposition=true, enabledTransID=true, aliasEnabled=false, supportHttpCharsetHeader=false, allowAttachAudio=true, smsToMmsTextLengthThreshold=-1, recipientLimit=20, uaProfTagName=x-wap-profile, aliasMaxChars=48, maxImageHeight=1994, enableMMSDeliveryReports=false, userAgent=, mmsCloseConnection=false, config_cellBroadcastAppLinks=true, maxSubjectLength=80, httpParams=x-vzw-mdn: 1##LINE1NOCOUNTRYCODE##, enableGroupMms=true, emailGatewayNumber=, maxMessageSize=1048576, naiSuffix=, enableMMSReadReports=false, maxImageWidth=2592, uaProfUrl=, enabledMMS=true, enabledNotifyWapMMSC=true, sendMultipartSmsAsSeparateMessages=false, enableMultipartSMS=false}]
09-29 08:42:14.180 1974 3640 D MmsServiceBroker: downloadMessage() by com.textra
09-29 08:42:14.191 2692 19818 D MmsService: downloadMessage: https://android.googleapis.com[79]
09-29 08:42:14.205 2692 19818 D MmsService: [DownloadRequest@51369f4] downloading message by carrier app
09-29 08:42:14.210 2692 19818 V MmsService: bindService() for carrier messaging service succeeded
09-29 08:42:14.839 2692 3108 D MmsService: Carrier app result for download: 0
09-29 08:42:15.875 1974 4301 D MmsServiceBroker: getCarrierConfigValues() by com.textra
09-29 08:42:15.875 2692 19818 D MmsService: getCarrierConfigValues
09-29 08:42:15.876 2692 19818 I MmsService: mms config for sub 1: Bundle[{httpSocketTimeout=60000, aliasMinChars=2, smsUsesSimpleCharactersOnly=false, smsToMmsTextThreshold=-1, enableSMSDeliveryReports=false, mmsRoamingAutoRetrieveByDefault=false, maxMessageTextSize=-1, smsEncodingChangeable=true, supportMmsContentDisposition=true, enabledTransID=true, aliasEnabled=false, supportHttpCharsetHeader=false, allowAttachAudio=true, smsToMmsTextLengthThreshold=-1, recipientLimit=20, uaProfTagName=x-wap-profile, aliasMaxChars=48, maxImageHeight=1994, enableMMSDeliveryReports=false, userAgent=, mmsCloseConnection=false, config_cellBroadcastAppLinks=true, maxSubjectLength=80, httpParams=x-vzw-mdn: 1##LINE1NOCOUNTRYCODE##, enableGroupMms=true, emailGatewayNumber=, maxMessageSize=1048576, naiSuffix=, enableMMSReadReports=false, maxImageWidth=2592, uaProfUrl=, enabledMMS=true, enabledNotifyWapMMSC=true, sendMultipartSmsAsSeparateMessages=false, enableMultipartSMS=false}]
09-29 08:42:15.886 2692 19818 D MmsService: getCarrierConfigValues
09-29 08:42:15.886 2692 19818 I MmsService: mms config for sub 1: Bundle[{httpSocketTimeout=60000, aliasMinChars=2, smsUsesSimpleCharactersOnly=false, smsToMmsTextThreshold=-1, enableSMSDeliveryReports=false, mmsRoamingAutoRetrieveByDefault=false, maxMessageTextSize=-1, smsEncodingChangeable=true, supportMmsContentDisposition=true, enabledTransID=true, aliasEnabled=false, supportHttpCharsetHeader=false, allowAttachAudio=true, smsToMmsTextLengthThreshold=-1, recipientLimit=20, uaProfTagName=x-wap-profile, aliasMaxChars=48, maxImageHeight=1994, enableMMSDeliveryReports=false, userAgent=, mmsCloseConnection=false, config_cellBroadcastAppLinks=true, maxSubjectLength=80, httpParams=x-vzw-mdn: 1##LINE1NOCOUNTRYCODE##, enableGroupMms=true, emailGatewayNumber=, maxMessageSize=1048576, naiSuffix=, enableMMSReadReports=false, maxImageWidth=2592, uaProfUrl=, enabledMMS=true, enabledNotifyWapMMSC=true, sendMultipartSmsAsSeparateMessages=false, enableMultipartSMS=false}]
09-29 08:42:15.899 2692 19818 D MmsService: getCarrierConfigValues
09-29 08:42:15.899 2692 19818 I MmsService: mms config for sub 1: Bundle[{httpSocketTimeout=60000, aliasMinChars=2, smsUsesSimpleCharactersOnly=false, smsToMmsTextThreshold=-1, enableSMSDeliveryReports=false, mmsRoamingAutoRetrieveByDefault=false, maxMessageTextSize=-1, smsEncodingChangeable=true, supportMmsContentDisposition=true, enabledTransID=true, aliasEnabled=false, supportHttpCharsetHeader=false, allowAttachAudio=true, smsToMmsTextLengthThreshold=-1, recipientLimit=20, uaProfTagName=x-wap-profile, aliasMaxChars=48, maxImageHeight=1994, enableMMSDeliveryReports=false, userAgent=, mmsCloseConnection=false, config_cellBroadcastAppLinks=true, maxSubjectLength=80, httpParams=x-vzw-mdn: 1##LINE1NOCOUNTRYCODE##, enableGroupMms=true, emailGatewayNumber=, maxMessageSize=1048576, naiSuffix=, enableMMSReadReports=false, maxImageWidth=2592, uaProfUrl=, enabledMMS=true, enabledNotifyWapMMSC=true, sendMultipartSmsAsSeparateMessages=false, enableMultipartSMS=false}]
09-29 08:42:15.899 1974 4301 D MmsServiceBroker: getCarrierConfigValues() by com.textra
09-29 08:42:15.917 1974 4295 D MmsServiceBroker: sendMessage() by com.textra
09-29 08:42:15.930 2692 3108 D MmsService: sendMessage
09-29 08:42:15.954 3721 12994 W InstantAppResolverImpl: at android.os.Handler.dispatchMessage(Handler.java:99)
09-29 08:42:15.958 2692 3108 D MmsService: [SendRequest@8d45ad5] sending message by carrier app
09-29 08:42:15.966 2692 3108 V MmsService: bindService() for carrier messaging service succeeded
Then I changed the default SMS / MMS app to signal (which at this time for me is 4.48.4 beta) and again sent a group MMS to myself.
Here are the logs:
09-29 08:46:43.597 2982 4497 I Tycho : [89] bjc.a: SMS pdu successfully injected.
09-29 08:46:43.682 2982 32532 I Tycho : [181] bjc.a: Acking SMS... [messageId=11183969056372274472, sourceChannel=1, messagePieceIndex=2]
09-29 08:46:43.862 2982 2996 I Tycho : [74] bjc.a: Process SMS payload [ID=11183969056372274472]
09-29 08:46:45.090 2982 2996 I Tycho : [74] bjc.a: Successfully requested to re-deliver MMS 11183969056372274472 via carrier.
09-29 08:46:45.212 2982 2996 I Tycho : [74] bjc.a: Filter out SMS with payload [ID=11183969056372274472]
09-29 08:46:45.317 2692 10863 V GsmInboundSmsHandler: onFilterComplete: result is 1
I don't know if any of that means anything to you. I don't know if my egrep regex is too restrictive and there might be other lines in the log that would tell a more interesting story.
...but my totally naive intuitive hit is that Textra is subscribing to some kind of system level events related to incoming MMS messages that Signal is not subscribed to. Or Textra is subscribed to whatever that is in a different way than Signal is.
Note that Pulse SMS is also able to receive group MMS messages for me. Maybe Luke Klinker @klinker-apps @klinker24 would be willing to drop a clue on how this might be working for Pulse and not for Signal.
While I don't have any specific insight, because I don't know how Signal works or how they have implemented MMS, all of the code for Pulse's MMS support is open source
https://github.com/klinker41/android-smsmms
@klinker24 Thanks so much for popping in. I saw that library but it seemed like it was about sending (outgoing) MMS. The issue that Signal is having trouble with is incoming MMS. Does that library also interface with incoming SMS and MMS messaging?
It does both sending and receiving, yes
https://github.com/klinker41/android-smsmms/blob/master/sample/src/main/AndroidManifest.xml#L62
ok @moxie-signal @moxie0 @greyson-signal @signalandroiddevseverywhere...
In here: https://github.com/signalapp/Signal-Android/issues/6134#issuecomment-276569041 Moxie said:
I agree that MMS support is probably the weakest functionality in Signal, and at this point it doesn't seem like something that we can just buckle down and "solve." Each network does something slightly different and many devices behave inconsistently, so we'd need someone to be dealing with all of those tweaks full time, which is probably the last job that anyone on the planet world want to sign up for.
and...
Android finally introduced an MMS API, but it's Lollipop-only, and is still flaky. I hoped that eventually all the SMS apps would get together and build a library that handles all the inconsistencies, but other than a few false starts, that doesn't seem to be happening.
This: https://github.com/klinker41/android-smsmms seems to be exactly what you hoped for, a professionally developed, maintained, open source SMS/MMS library.
What say you? Please don't make me become an Android developer.
Sorry I'm late getting back to this. Here's a frustrating twist: Signal updated on Sep 28 (now at 4.47.7), so I switched back to it for SMS/MMS and it is working again. I didn't capture the log when it was acting up. Coincidence? I don't see any evidence of android system updates.
@pjv I am not going to pretend that my library works for every single user, in every single case. I get complaints about MMS support. You can go to the reviews section of any SMS app on the Play Store and see complaints about MMS not working, though. There isn't an app out there that has solved MMS for every single user, in every situation.
@klinker24 - thanks, I appreciate the context. Still think it's likely that since Signal developers are more focused on signal protocol related messaging than conventional SMS / MMS that using a library like yours could be a real step forward (also doesn't hurt that in my particular case, Pulse works perfectly where Signal and QKSMS don't work).
@lafkob When I saw your message I thought maybe that the problem is something related to Google fi (independent of Signal) and maybe they fixed it. I tried again this morning with Signal (for me, v. 4.48.7 beta) but I still do not receive group MMS.