[GH-ISSUE #1060] backing up to SMS folder in gmail does not show the correct names #847

Open
opened 2026-02-26 01:32:06 +03:00 by kerem · 12 comments
Owner

Originally created by @thinkscriptfan on GitHub (Apr 27, 2021).
Original GitHub issue: https://github.com/jberkel/sms-backup-plus/issues/1060

Originally assigned to: @jberkel, @kurahaupo on GitHub.

Hi , I am using smsbackup+ on pixel 3axl , latest android .
recently , I have noticed that sometimes my text to some known contacts is not backed up correctly .
instead of showing from me , it shows from +1xxxxxxx +1xxxxxxx@unknown.email , and instead of showing SMS with the name of the receiver , it shows SMS with +1xxxxxxx
( where +1xxxxxxx is my cell number )

I just noticed that this has been happening only in the last 2 years,

This is very serious , as the conversation threads can not be valid anymore under a certain name.

Expected behaviour from me SMS with " the name of the receiver"

Actual behaviour from +1xxxxxxx +1xxxxxxx@unknown.email SMS with +1xxxxxxx

Steps to reproduce the behaviour ? sometimes happens , not sure how to reproduce.

Please specify the following:

  • Android version 11
  • Phone model / brand pixel 3a xl
  • SMS Backup+ version installed version 1.5.11
  • Messaging app google message app version 7.7.050 (Neem_RC02.phone_dynamic) (SPAM protection ON)
Originally created by @thinkscriptfan on GitHub (Apr 27, 2021). Original GitHub issue: https://github.com/jberkel/sms-backup-plus/issues/1060 Originally assigned to: @jberkel, @kurahaupo on GitHub. Hi , I am using smsbackup+ on pixel 3axl , latest android . recently , I have noticed that sometimes my text to some known contacts is not backed up correctly . instead of showing from me , it shows from +1xxxxxxx <+1xxxxxxx@unknown.email> , and instead of showing SMS with the name of the receiver , it shows SMS with +1xxxxxxx ( where +1xxxxxxx is my cell number ) I just noticed that this has been happening only in the last 2 years, This is very serious , as the conversation threads can not be valid anymore under a certain name. ### Expected behaviour from me SMS with " the name of the receiver" ### Actual behaviour from +1xxxxxxx <+1xxxxxxx@unknown.email> SMS with +1xxxxxxx ### Steps to reproduce the behaviour ? sometimes happens , not sure how to reproduce. ### Please specify the following: * Android version 11 * Phone model / brand pixel 3a xl * SMS Backup+ version installed version 1.5.11 * Messaging app google message app version 7.7.050 (Neem_RC02.phone_dynamic) (SPAM protection ON)
Author
Owner

@kurahaupo commented on GitHub (May 29, 2021):

I'm pretty sure this is a continuation of a known issue. I will check for related issues shortly.

Essentially, the API used to access an individual message presents a list of addresses (phone numbers) associated with it, in no particular order.

When this app was written they were presented with the "sender" as the first address, but at some point the order became randomized, and a "type" tag was added. This is why you see your own address appearing instead of the other party's.

<!-- gh-comment-id:850911016 --> @kurahaupo commented on GitHub (May 29, 2021): I'm pretty sure this is a continuation of a known issue. I will check for related issues shortly. Essentially, the API used to access an individual message presents a list of addresses (phone numbers) associated with it, in no particular order. When this app was written they were presented with the "sender" as the first address, but at some point the order became randomized, and a "type" tag was added. This is why you see your own address appearing instead of the other party's.
Author
Owner

@kurahaupo commented on GitHub (May 29, 2021):

@jberkel - I'd like your thoughts on this plan:

What needs to happen is to inspect the "type" tag on each address to find which one is the sender and then to choose based on incoming or outgoing whether the sender is the "other party" or not.

In the case of group messages it gets more complicated, as for incoming messages it would need to identify which of the recipients are "self" and which are "others". Possibly this could be learned from the 2-party messages.

If that can't be made to work reliably, then there are several options:

  1. save a separate copy for each participant
  2. include all the participants in one message, including the local user's address. They might need to be sorted & hashed into a single "address"; that will depend on conversation works in detail.
<!-- gh-comment-id:850911023 --> @kurahaupo commented on GitHub (May 29, 2021): @jberkel - I'd like your thoughts on this plan: What needs to happen is to inspect the "type" tag on each address to find which one is the sender and then to choose based on incoming or outgoing whether the sender is the "other party" or not. In the case of group messages it gets more complicated, as for incoming messages it would need to identify which of the recipients are "self" and which are "others". Possibly this could be learned from the 2-party messages. If that can't be made to work reliably, then there are several options: 1. save a separate copy for each participant 2. include all the participants in one message, including the local user's address. They might need to be sorted & hashed into a single "address"; that will depend on conversation works in detail.
Author
Owner

@kurahaupo commented on GitHub (May 29, 2021):

Duplicate of #390

<!-- gh-comment-id:850911495 --> @kurahaupo commented on GitHub (May 29, 2021): Duplicate of #390
Author
Owner

@kurahaupo commented on GitHub (May 29, 2021):

Possibly related to #621

<!-- gh-comment-id:850911751 --> @kurahaupo commented on GitHub (May 29, 2021): Possibly related to #621
Author
Owner

@kurahaupo commented on GitHub (May 29, 2021):

Possibly related to #671

<!-- gh-comment-id:850911911 --> @kurahaupo commented on GitHub (May 29, 2021): Possibly related to #671
Author
Owner

@kurahaupo commented on GitHub (May 29, 2021):

Possibly related to #704

<!-- gh-comment-id:850911993 --> @kurahaupo commented on GitHub (May 29, 2021): Possibly related to #704
Author
Owner

@kurahaupo commented on GitHub (May 29, 2021):

Possibly related to #621

<!-- gh-comment-id:850912335 --> @kurahaupo commented on GitHub (May 29, 2021): Possibly related to #621
Author
Owner

@kurahaupo commented on GitHub (May 29, 2021):

Possibly related to #663

<!-- gh-comment-id:850912505 --> @kurahaupo commented on GitHub (May 29, 2021): Possibly related to #663
Author
Owner

@kurahaupo commented on GitHub (May 29, 2021):

Duplicate of #676

<!-- gh-comment-id:850912553 --> @kurahaupo commented on GitHub (May 29, 2021): Duplicate of #676
Author
Owner

@kurahaupo commented on GitHub (May 30, 2021):

See new bug classification misattribution

<!-- gh-comment-id:850917485 --> @kurahaupo commented on GitHub (May 30, 2021): See new bug classification [misattribution](/jberkel/sms-backup-plus/labels/misattribution)
Author
Owner

@kurahaupo commented on GitHub (May 30, 2021):

See additional classification half-missing, as some of the issues with that tag may be hidden variants on the misattribution tag.

<!-- gh-comment-id:850917867 --> @kurahaupo commented on GitHub (May 30, 2021): See additional classification [half-missing](/jberkel/sms-backup-plus/labels/half-missing), as _some_ of the issues with that tag may be hidden variants on the misattribution tag.
Author
Owner

@kurahaupo commented on GitHub (Jun 2, 2021):

@jberkel FYI need to make allowance that some MMS messages include the sender among the recipients as well

<!-- gh-comment-id:852696494 --> @kurahaupo commented on GitHub (Jun 2, 2021): @jberkel FYI need to make allowance that some MMS messages include the sender among the recipients as well
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#847
No description provided.