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
337 stars 39 forks source link

Failing to export/import messages. "0 SMS(s) and 0 MMS(s) imported" #202

Closed Savasdotexe closed 17 minutes ago

Savasdotexe commented 1 month ago

After trying various combinations of settings, I'm at a loss why my SMS messages are not importing.

When exporting, I do get a message of 1900 sms and 56 mms exported in 10 seconds. The zip file size is 846KB, I can see some media in the data folder and the messages.ndjson file is 1531 KB so I am guessing it is exporting correctly, just not importing. Any suggestions or fixes?

Here's some screenshots.

Exporting from: Samsung A52 Android 14 (one ui 6.1) Importing to: Samsung A21s android 10 (one ui 2.1)

Screenshot_20240728-130941_SMS Import  Export

Screenshot_20240728-130949_SMS Import  Export

Screenshot_20240728-130958_SMS Import  Export

tmo1 commented 1 month ago

I'm at a loss why my SMS messages are not importing.

Thank you for reporting this. Do your message addresses by any chance contain spaces? There's currently a bug that prevents such messages from being imported. In any event, please provide a minimal reproducible example.

Savasdotexe commented 1 month ago

Hi tmo1,

So first I tried to export then wipe and import 2 messages I had on the target device (Samsung A21s) yet still was unable to import anything. I tried the debugging option and selected 2000 and it imported successfully so I tried the same process with the large export I had it exported 1900, yet I only imported around 1700 so some messages are getting lost. If that helps.

I'll try and provide the logs in a few days, thank you.

Do your message addresses by any chance contain spaces? By that you mean if some of my addresses, as in phone numbers are saved with spaces?

tmo1 commented 1 month ago

I'll try and provide the logs in a few days, thank you.

And a minimal reproducible example, please.

By that you mean if some of my addresses, as in phone numbers are saved with spaces?

Yes.

tmo1 commented 17 minutes ago

Closing due to inactivity. If the problem remains, feel free to reopen with the requested information.