[GH-ISSUE #663] MMS oddities #564

Open
opened 2026-02-26 01:30:59 +03:00 by kerem · 10 comments
Owner

Originally created by @2Fast08 on GitHub (Jul 24, 2016).
Original GitHub issue: https://github.com/jberkel/sms-backup-plus/issues/663

Most of my MMS that get backed up show up in Gmail as a single thread to myself, and thus, not included in the proper conversation thread in gmail.

Samsung Galaxy S7

Originally created by @2Fast08 on GitHub (Jul 24, 2016). Original GitHub issue: https://github.com/jberkel/sms-backup-plus/issues/663 Most of my MMS that get backed up show up in Gmail as a single thread to myself, and thus, not included in the proper conversation thread in gmail. Samsung Galaxy S7
Author
Owner

@psykauze commented on GitHub (Jul 25, 2016):

Same for me. I'm not using a lot MMS but the issue has started from May 26th (X-smssync-version: 1556) for me.

Edit.: I've got more infos, before I had this issue I'm using the X-smssync-version: 1554

<!-- gh-comment-id:234964138 --> @psykauze commented on GitHub (Jul 25, 2016): Same for me. I'm not using a lot MMS but the issue has started from May 26th (X-smssync-version: 1556) for me. Edit.: I've got more infos, before I had this issue I'm using the X-smssync-version: 1554
Author
Owner

@psykauze commented on GitHub (Jul 25, 2016):

Looks like it is from commit 7884ec6. Need confirm.

Here a sample: (I've replaced my name, phone number and email by John Doe ones. The "references" line is also not correct "xxx.3335" instead of "xxx.3315")
MMS.txt

<!-- gh-comment-id:234970010 --> @psykauze commented on GitHub (Jul 25, 2016): Looks like it is from commit 7884ec6. Need confirm. Here a sample: (I've replaced my name, phone number and email by John Doe ones. The "references" line is also not correct "xxx.3335" instead of "xxx.3315") [MMS.txt](https://github.com/jberkel/sms-backup-plus/files/381824/MMS.txt)
Author
Owner

@psykauze commented on GitHub (Jul 26, 2016):

I think this part of "HeaderGenerator.java" is broken:

private void setSmsHeaders(Message message, Map<String,String> msgMap) throws MessagingException {
    message.setHeader(Headers.ID, msgMap.get(Telephony.BaseMmsColumns._ID));    // Why use a MMS class for SMS header ? Also, I don't find an explanation for "_ID".
    message.setHeader(Headers.TYPE, msgMap.get(Telephony.TextBasedSmsColumns.TYPE));
    message.setHeader(Headers.DATE, msgMap.get(Telephony.TextBasedSmsColumns.DATE));
    message.setHeader(Headers.THREAD_ID, msgMap.get(Telephony.TextBasedSmsColumns.THREAD_ID));
    message.setHeader(Headers.READ, msgMap.get(Telephony.TextBasedSmsColumns.READ));
    message.setHeader(Headers.STATUS, msgMap.get(Telephony.TextBasedSmsColumns.STATUS));
    message.setHeader(Headers.PROTOCOL, msgMap.get(Telephony.TextBasedSmsColumns.PROTOCOL));
    message.setHeader(Headers.SERVICE_CENTER, msgMap.get(Telephony.TextBasedSmsColumns.SERVICE_CENTER));
}

'

private void setMmsHeaders(Message message, Map<String,String> msgMap) throws MessagingException {
    message.setHeader(Headers.ID, msgMap.get(Telephony.BaseMmsColumns._ID));    // I don't know what does "_ID" mean.
    message.setHeader(Headers.TYPE, msgMap.get(Telephony.BaseMmsColumns.MESSAGE_TYPE));
    message.setHeader(Headers.DATE, msgMap.get(Telephony.BaseMmsColumns.DATE));
    message.setHeader(Headers.THREAD_ID, msgMap.get(Telephony.BaseMmsColumns.THREAD_ID));
    message.setHeader(Headers.READ, msgMap.get(Telephony.BaseMmsColumns.READ));
}

`

<!-- gh-comment-id:235221283 --> @psykauze commented on GitHub (Jul 26, 2016): I think this part of "HeaderGenerator.java" is broken: ``` private void setSmsHeaders(Message message, Map<String,String> msgMap) throws MessagingException { message.setHeader(Headers.ID, msgMap.get(Telephony.BaseMmsColumns._ID)); // Why use a MMS class for SMS header ? Also, I don't find an explanation for "_ID". message.setHeader(Headers.TYPE, msgMap.get(Telephony.TextBasedSmsColumns.TYPE)); message.setHeader(Headers.DATE, msgMap.get(Telephony.TextBasedSmsColumns.DATE)); message.setHeader(Headers.THREAD_ID, msgMap.get(Telephony.TextBasedSmsColumns.THREAD_ID)); message.setHeader(Headers.READ, msgMap.get(Telephony.TextBasedSmsColumns.READ)); message.setHeader(Headers.STATUS, msgMap.get(Telephony.TextBasedSmsColumns.STATUS)); message.setHeader(Headers.PROTOCOL, msgMap.get(Telephony.TextBasedSmsColumns.PROTOCOL)); message.setHeader(Headers.SERVICE_CENTER, msgMap.get(Telephony.TextBasedSmsColumns.SERVICE_CENTER)); } ``` ' ``` private void setMmsHeaders(Message message, Map<String,String> msgMap) throws MessagingException { message.setHeader(Headers.ID, msgMap.get(Telephony.BaseMmsColumns._ID)); // I don't know what does "_ID" mean. message.setHeader(Headers.TYPE, msgMap.get(Telephony.BaseMmsColumns.MESSAGE_TYPE)); message.setHeader(Headers.DATE, msgMap.get(Telephony.BaseMmsColumns.DATE)); message.setHeader(Headers.THREAD_ID, msgMap.get(Telephony.BaseMmsColumns.THREAD_ID)); message.setHeader(Headers.READ, msgMap.get(Telephony.BaseMmsColumns.READ)); } ``` `
Author
Owner

@computerdude95 commented on GitHub (Sep 28, 2016):

Same problem here - MMS are shown in gmail as emails from myself.

SMS Backup+ 1.5.10
Android 6.0.1
Samsung Note5

<!-- gh-comment-id:250237474 --> @computerdude95 commented on GitHub (Sep 28, 2016): Same problem here - MMS are shown in gmail as emails from myself. SMS Backup+ 1.5.10 Android 6.0.1 Samsung Note5
Author
Owner

@mdes commented on GitHub (Oct 30, 2016):

I just add some precision to the faulty MMS about the joined picture. See my link just above.

<!-- gh-comment-id:257141934 --> @mdes commented on GitHub (Oct 30, 2016): I just add some precision to the faulty MMS about the joined picture. See my link just above.
Author
Owner

@2Fast08 commented on GitHub (Oct 30, 2016):

It's been 3 months and the issue still exists, are we going to get an update on this or not.

<!-- gh-comment-id:257153206 --> @2Fast08 commented on GitHub (Oct 30, 2016): It's been 3 months and the issue still exists, are we going to get an update on this or not.
Author
Owner

@jberkel commented on GitHub (Nov 8, 2016):

@2Fast08 @mdes Can you post some headers from backed up MMS emails (anonymized) ?

<!-- gh-comment-id:259154398 --> @jberkel commented on GitHub (Nov 8, 2016): @2Fast08 @mdes Can you post some headers from backed up MMS emails (anonymized) ?
Author
Owner

@2Fast08 commented on GitHub (Nov 8, 2016):

I would if I knew how.

<!-- gh-comment-id:259225356 --> @2Fast08 commented on GitHub (Nov 8, 2016): I would if I knew how.
Author
Owner

@jberkel commented on GitHub (Nov 8, 2016):

@2Fast08 don't worry, got some already.

<!-- gh-comment-id:259260065 --> @jberkel commented on GitHub (Nov 8, 2016): @2Fast08 don't worry, got some already.
Author
Owner

@dtuma commented on GitHub (Jan 3, 2017):

I would really love to see a fix for this as well. For me, I see normal conversation threads in GMail for almost all messages; but whenever I reply on my phone and attach a picture, that picture message gets pulled out of the correct GMail thread. Instead, every picture I've sent to anyone at all shows up as a single GMail thread of me talking to myself. Looking at the backups, I have no way of telling who I sent a given picture to; and when reviewing individual threads, the conversations are disjointed because every MMS message I sent is missing.

In the past, this behavior would occur for MMS messages that were part of a group conversation. I forgave that behavior because I could understand the difficulty of properly sorting group messages. But now, it happens for every MMS message I send, even MMS messages to a single individual. (Received MMS messages do not fall prey to this problem.)

This used to work properly in the past, but some change has broken it. Looking at the backed-up messages from three phones in my family, it seems that all of our phones received the update with the breaking change sometime around Feb 1, 2016.

<!-- gh-comment-id:270053328 --> @dtuma commented on GitHub (Jan 3, 2017): I would really love to see a fix for this as well. For me, I see normal conversation threads in GMail for almost all messages; but whenever I reply on my phone and attach a picture, that picture message gets pulled out of the correct GMail thread. Instead, every picture I've sent to anyone at all shows up as a single GMail thread of me talking to myself. Looking at the backups, I have no way of telling who I sent a given picture to; and when reviewing individual threads, the conversations are disjointed because every MMS message I sent is missing. In the past, this behavior would occur for MMS messages that were part of a group conversation. I forgave that behavior because I could understand the difficulty of properly sorting group messages. But now, it happens for every MMS message I send, even MMS messages to a single individual. (Received MMS messages do not fall prey to this problem.) This used to work properly in the past, but some change has broken it. Looking at the backed-up messages from three phones in my family, it seems that all of our phones received the update with the breaking change sometime around Feb 1, 2016.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/sms-backup-plus-jberkel#564
No description provided.