tmo1 / sms-ie

SMS Import / Export is a simple Android app that imports and exports SMS and MMS messages, call logs, and contacts from and to JSON / NDJSON files.
GNU General Public License v3.0
312 stars 38 forks source link

Restoring Android 13 messages backup on Android 14. #134

Open andromedasun opened 8 months ago

andromedasun commented 8 months ago

I did an export of SMS on Pixel 4 XL that was updated to Android 13 and tried restoring it on Pixel 6 Pro that was updated to Android 14. The import appears to take place smoothly, but when I open the messages app, no messages appear to have been imported.

On the other hand, if I backup the messages on the Pixel 6 Pro itself and then wipe all SMS, and then try to restore this backup onto the same phone, the messages are restored perfectly.

I wonder if this is a general issue with Android 13 backups not restoring on Android 14?

The version I am using on both phones is v2.2.0, the latest.

tmo1 commented 8 months ago

Thank you for reporting this. You may be hitting issue #128, which has been fixed in the latest code. Please check the sub_ids of your messages as per the discussion there, and / or try importing the messages exported from your Android 13 device to your Android 14 device using a build of the latest code and see if that solves the problem.

adamroyjones commented 8 months ago

I had a similar issue (Pixel 4a to Pixel 7a) and the build as of 76cd8b5 fixed it for me—thanks for the pointer.

tmo1 commented 8 months ago

I had a similar issue (Pixel 4a to Pixel 7a) and the build as of https://github.com/tmo1/sms-ie/commit/76cd8b571393a10c8273080c5dcb40d4a81d279f fixed it for me—thanks for the pointer.

Sure! Thanks for confirming that the fix is working.

PatrykMis commented 7 months ago

Just don't enable subscription ID in settings (sub_id) while importing on A14 then everything will work as smooth as in no other open-source app currently. I made this mistake too.

@tmo1 may be some kind of warning dialog if someone tries to enable it on A14+? Just a suggestion.

tmo1 commented 7 months ago

may be some kind of warning dialog if someone tries to enable it on A14+? Just a suggestion.

This issue is discussed in the README, but a warning dialog might be a good idea, or at least a warning in the settings text - I'll consider doing something like this.