Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Importing WhatsApp messages fails #63

Open
panomitrius opened this issue Oct 26, 2022 · 6 comments
Open

Importing WhatsApp messages fails #63

panomitrius opened this issue Oct 26, 2022 · 6 comments

Comments

@panomitrius
Copy link

I just downloaded the lastest version of your Signal fork (6.0.1.0-JW) here on github, and trying to import a decrypted msgstore.db according to this guide fails. The Signal app just instantly says "Import complete", but nothing happens. I've tried putting in root directory and in root directory on the sd-card, doesn't help..
I'm running LineageOS with MicroG 19.1 on a Samsung phone.

Any idea what the issue could be?

@johanw666
Copy link
Owner

Without a logfile, no idea. The WA database should be placed in the root of the "internal sd card", usually something like /storage/emulated/0 in absolute path. The documentation is somewhat unclear about this, I should improve that.

If you are a member of any groups in WA you shoudl create grouos in Signal with the same name before importing.

@panomitrius
Copy link
Author

It is already placed in /storage/emulated/0 (I tried to remove it and then i get an error message, so I assume it's placed properly when I don't get the error message). I'm happy to share the logs, how do I access them?

@panomitrius
Copy link
Author

Found a way to access the logs. The error message seems to be:

[org.thoughtcrime.securesms/org.thoughtcrime.securesms.ImportExportActivity#1] Invalid device requested composition type change: CLIENT (1) --> CLIENT (1)

There are more logs though, but it's quite massive only during a couple seconds, so instead of pasting more I'm attaching them here .

@panomitrius
Copy link
Author

Any thoughts on this @johanw666..?

@panomitrius
Copy link
Author

Found the prefered way to create a log, here it is:
https://debuglogs.org/android/6.3.2/d58417710e26c852ef543fd8a47d3c37f4cd230f60d0612b7b09fefc6d45bc6b

@panomitrius
Copy link
Author

panomitrius commented Nov 22, 2022

I think the relevant info is:

[6.3.2.0-JW] [21457] 2022-11-22 18:51:48.827 GMT+01:00 W PlaintextBackupImporter: importWhatsapp(): importGroup: true, avoidDuplicates: false
[6.3.2.0-JW] [21457] 2022-11-22 18:51:48.897 GMT+01:00 W PlaintextBackupImporter: no such table: messages (code 1 SQLITE_ERROR): , while compiling: SELECT COUNT(*) FROM messages
[6.3.2.0-JW] [21457] 2022-11-22 18:51:48.899 GMT+01:00 W WhatsappBackup: no such table: messages (code 1 SQLITE_ERROR): , while compiling: SELECT * FROM messages LIMIT 0, 1
[6.3.2.0-JW] [21457] 2022-11-22 18:51:48.899 GMT+01:00 W PlaintextBackupImporter: Exited loop

I decrypted the msgstore.db.crypt15 file with ElDavoo/WhatsApp-Crypt14-Crypt15-Decrypter without any error messages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants