10

Question - SMS B&R & Swift not restoring all messages? Android 14 issue?...

 11 months ago
source link: https://xdaforums.com/t/sms-b-r-swift-not-restoring-all-messages-android-14-issue.4635681/page-3#post-89108013
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Question SMS B&R & Swift not restoring all messages? Android 14 issue?

hpower1

Senior Member
Jan 24, 2012
I think they will. When I was looking at this, I found similar stuff back when i think the P6 released, updates came within a week or two.

demonjrules

Member
Dec 10, 2010
seems to have been happening in the beta too.
Seems like Android 14 handles messages differently...

On the Reddit thread that Paz9 linked to, there is this comment regarding SMS Backup & Restore. The user said if you look at the XML you will see sub_id="-1" and changing this to 1 should allow the restore to work properly.


I tested it out with a single backed-up SMS thread and it did not restore anything. I then tried changing all the sub_ids to -1 and all of my messages were restored properly. So I had the opposite of what this user mentioned but it led me to a solution.

Reactions: simplepinoi177

Paz9

Senior Member
Jan 3, 2011 2,686
On the Reddit thread that Paz9 linked to, there is this comment regarding SMS Backup & Restore. The user said if you look at the XML you will see sub_id="-1" and changing this to 1 should allow the restore to work properly.


I tested it out with a single backed-up SMS thread and it did not restore anything. I then tried changing all the sub_ids to -1 and all of my messages were restored properly. So I had the opposite of what this user mentioned but it led me to a solution.
ok so if its -1 we change to 1 and vice versa?
pretty strange it worked after you changed sub ids to -1 and in the tread it states the opposite.

i guess we can figure out the messages that actually do get restored and match the sub ids to them - ill give this a crack tonight.

@demonjrules just to confirm that you changed all subIDs to -1 on your pixel 8/pro? suspect it might be related to different phones too.
i will give this a crack later tonight.


can anyone else confirm the findings?
Last edited: Today at 3:44 AM

craigacgomez

Senior Member
Jan 29, 2010 2,198 3,903 Tustin
SMS Backup & Restore (Pro) worked fine for me, both to restore and backup SMS, MMS & RCS messages. In SMS Backup & Restore, I use "Archive mode".

demonjrules

Member
Dec 10, 2010
ok so if its -1 we change to 1 and vice versa?
pretty strange it worked after you changed sub ids to -1 and in the tread it states the opposite.

i guess we can figure out the messages that actually do get restored and match the sub ids to them - ill give this a crack tonight.

@demonjrules just to confirm that you changed all subIDs to -1 on your pixel 8/pro? suspect it might be related to different phones too.
i will give this a crack later tonight.


can anyone else confirm the findings?

not sure if that is the case but I am just saying that is what worked for me, and yes I do admit that it is strange that it is the exact opposite of the Reddit commenter. All the messages that were missing from my XML file were set to a value of 1 while the items that did show up were set to -1. So take a look at your XML and find a known message that is missing from your restore and change it to the opposite of what the sub_id is currently.

I have a Pixel 8 pro to answer your question. Before I saw your comment, I originally did a full backup/restore from my Pixel 3A (over 200k+ messages) and it took over a day to restore so I was pretty upset seeing a lot of SMS/MMS missing. So what I did was make a backup of just 1 thread (77 messages) on the Pixel 3A, copied the XML to my computer, changed the sub_ids, copied the new XML to the Pixel 8 pro, and restored that and I saw the messages that I confirmed were missing from the previous full restore.

Edit:
I don't know how I did not notice this comment before but this person also had success by changing the value to -1

Last edited: 33 minutes ago

Paz9

Senior Member
Jan 3, 2011 2,686
not sure if that is the case but I am just saying that is what worked for me, and yes I do admit that it is strange that it is the exact opposite of the Reddit commenter. All the messages that were missing from my XML file were set to a value of 1 while the items that did show up were set to -1. So take a look at your XML and find a known message that is missing from your restore and change it to the opposite of what the sub_id is currently.

I have a Pixel 8 pro to answer your question. Before I saw your comment, I originally did a full backup/restore from my Pixel 3A (over 200k+ messages) and it took over a day to restore so I was pretty upset seeing a lot of SMS/MMS missing. So what I did was make a backup of just 1 thread (77 messages) on the Pixel 3A, copied the XML to my computer, changed the sub_ids, copied the new XML to the Pixel 8 pro, and restored that and I saw the messages that I confirmed were missing from the previous full restore.

Edit:
I don't know how I did not notice this comment before but this person also had success by changing the value to -1
a backup of my current messages that the sub_id is 1
i cant view my other xml files until im on my PC (file too large) but im going to suspect they are -1

another person in the thread just stated changing his to -1 worked?

it doesnt seem consistent...

Paz9

Senior Member
Jan 3, 2011 2,686
not sure if that is the case but I am just saying that is what worked for me, and yes I do admit that it is strange that it is the exact opposite of the Reddit commenter. All the messages that were missing from my XML file were set to a value of 1 while the items that did show up were set to -1. So take a look at your XML and find a known message that is missing from your restore and change it to the opposite of what the sub_id is currently.

I have a Pixel 8 pro to answer your question. Before I saw your comment, I originally did a full backup/restore from my Pixel 3A (over 200k+ messages) and it took over a day to restore so I was pretty upset seeing a lot of SMS/MMS missing. So what I did was make a backup of just 1 thread (77 messages) on the Pixel 3A, copied the XML to my computer, changed the sub_ids, copied the new XML to the Pixel 8 pro, and restored that and I saw the messages that I confirmed were missing from the previous full restore.

Edit:
I don't know how I did not notice this comment before but this person also had success by changing the value to -1
  • sub_id - Optional field that has the id of the phone subscription (SIM). These are values like 0, 1, 2 etc. based on how the phone assigns the index to the sim being used.
sounds like if you have multiple sims you may need to use a different number?
what happens if this field is missing?


i think best thing to do would be run a recent backup of new messages
go into the XML > look at the sub_id number and that is the number you should use to replace the old backups with.

Paz9

Senior Member
Jan 3, 2011 2,686
SMS Backup & Restore Fix:

Step 1. Run a new backup
Step 2. open XML file and look for SUB_ID="X" - remember this number
Step 3. open old backup XML file and replace SUB_ID with the aforementioned number found in the recent backup
Step 4. Save and restore old backup
Step 5. ???
Step 6. Profit.

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK