Comments (3)
Hi, a couple of questions:
-
How large is the backup? Edit: There is currently no progress indication, so for large backups it can be hard to tell whether the import completed. The expected behaviour is that you'll see a message saying "Importing..." at the start, then some time later you'll see another message saying "Importing successful" and the import dialog (which asked you to choose whether to import SMS / MMS) should close. If the dialog doesn't automatically close, it means the import is still running.
-
Just to confirm, did you create it using the Fossify / Simple Mobile Tools app, or some other app?
-
When you open the backup using a text editor and look for
"subscriptionId"
, do you see"subscriptionId":1
everywhere or do you also see other values (e.g."subscriptionId":2
)? If you see values other than 1, then the issue could be related to multiple SIM cards; the workaround is to change everything to(credit)."subscriptionId":1
Edit: The value 1 will only work if the new phone's Subscriber ID is also 1. It's better to use -1 ("unknown"), which will work regardless. -
the previews of every messages appears to be visible
This is interesting. To clarify, do you mean that when you are in the main screen (the conversation list) you can see the snippets showing the most recent message in each conversation? And when you open the conversation you can't see any messages at all?
If you're willing to do some experiments, it would be interesting to try with a smaller backup. Here is an example: example-backup.json. You can also create a smaller backup by hand from your original backup:
- Open the original .json file using a text editor (you might need to temporarily change the file extension to .txt, and use a text editor that supports large files).
- Search for some text that you know is in the backup but doesn't appear after import.
- Copy the entire message. For SMS, it's everything from previous "{" to the next "}".
- Create a new text file, paste the message, and insert "[" at the start and "]" at the end. It should look similar to this (same as the example above):
[{"subscriptionId":1,"address":"5550100","body":"This is an example message","date":1720795913000,"dateSent":0,"locked":0,"protocol":null,"read":1,"status":-1,"type":2,"serviceCenter":null,"backupType":"sms"}]
- Rename to .json and import.
these collective SMS are not in chronological order.
This is probably the same as issue #42. There is a patch for that in the works.
from messages.
Hi Tom93,
I appreciate for your help with this issue, I will try to do smaller chucks of the backs up and see what its lead to, as far as the technique, I was able to view quite a few messages from one contact, which is good sign and shows 98,000 lines in the file. The result with original method of backups didn't show most of the conversation.
-
In my case using SimpleSms, the behavior started off same by displaying the "imported.." message then instead of showing "Importing successful", it directly goes back to the conversation list. This is only with SimpleSms
-
In terms of the size of the file . it can be little tricky, since I do not know how accurate it maybe. On the other hand, If I change the default SMS app to Fossify SMS,. It reproduces the expected behavior you mentioned.
-
When I comparing the size, its 32mb on Fossify, whereas Simple SMS is displayed as 0,
-
I have used both Fossify / Simple Mobile to export the messages for testing it out and the end result is same
-
have used Simple Mobile SMS tool to do this
When you open the backup using a text editor and look for "subscriptionId", do you see "subscriptionId":1 everywhere or do you also see other values (e.g. "subscriptionId":2)? If you see values other than 1, then the issue could be related to multiple SIM cards; the workaround is to change everything to "subscriptionId":1.
- I followed the steps, I was able to open the json file and reformat the json data using plugin for better viewing, I am seeing mix of "subscriptionId" some are set as 3 , other as 1
This is interesting. To clarify, do you mean that when you are in the main screen (the conversation list) you can see the snippets showing the most recent message in each conversation?
And when you open the conversation you can't see any messages at all?
- Yes that's correct, there are snippets of the the recent messages in the preview line, when I open the conversation, its basically empty except for few verification messages that are okay.
from messages.
there are snippets of the the recent messages in the preview line, when I open the conversation, its basically empty except for few verification messages that are okay.
I believe the subscriptionId values are causing this issue on Android 14 (I created #191 to track this). The workaround is to change them to -1
, either manually using a text editor or using this debug APK which I built; it also has a bunch of other useful patches. Alternatively, wait until #192 is merged & released.
Let me know if that helps!
from messages.
Related Issues (20)
- Deleted SMS contacts are immediately restored HOT 1
- Wrong SIM card shown sending messages
- When sending multiple images at once, only one is sent HOT 6
- Mark all read HOT 1
- Alphanumeric sender ID should not be treated as unknown contact (not stored contact) HOT 5
- 'Block messages from not stored contacts' does not block group chats from unknown numbers HOT 3
- Translate iMessage Tapbacks as Emoji Reactions HOT 1
- Import doesn't include all messages on Android 14 due to subscriptionId issue
- Support for overlaying or building with mms configs
- Android back button doesn't always work as expected
- Keep SMS send and receive reports available HOT 1
- Display sent time HOT 1
- Error Code 5 with pic under limit HOT 5
- Add the number of messages associated with each contact
- Notify user when message is not sent
- App doesnt ask to be the default messanger app
- Auto export messages. HOT 1
- [BUG] Repeated "java.lang.NullPointerException" Errors occuring while App is in use or in background HOT 1
- [Feature Request] Advanced Search Features in Global or Individual search (inside a conversation)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from messages.