andreas-mausch / whatsapp-viewer

Small tool to display chats from the Android msgstore.db database (crypt12)
https://andreas-mausch.de/whatsapp-viewer/
MIT License
1.26k stars 383 forks source link

Could not load chat list; SQLite error: 11; database disk image is malformed #39

Open MuhammadOmerKhan opened 7 years ago

MuhammadOmerKhan commented 7 years ago

When I am decrypting my msgstore.db.crypt5 file with Account Name it's giving me this error.

Please also check snapshot.

snipper

I look forward for your kind response.

andreas-mausch commented 7 years ago

please check the faq: http://andreas-mausch.de/whatsapp-viewer/

Error: could not load chat list sqlite error 11 database disk image is malformed Sometimes WhatsApp creates a malformed backup and you need to repair it. Currently there is no automatic repair option in WhatsApp Viewer, so you need to do it manually. You need sqlite installed on your computer and run these two lines from command prompt: echo .dump | sqlite3 msgstore.db > temp.sql echo .quit | sqlite3 -init temp.sql repaired.db Now you can load repaired.db with WhatsApp Viewer.

espedia1975 commented 7 years ago

hi. followed this tips.. .i have .db of 30mb after 1th command have a temp.sql of about 34mb. but after 2th command i have "repaired.db" that is 0 bytes (emty) :( how i can solve?

andreas-mausch commented 6 years ago

If you don't mind send the sql file to andreas.mausch@gmail.com and I try to help you.

teamb58 commented 6 years ago

I too am facing the issue of repaired.db being 0 bytes.. How to fix this? sql

rojasr00 commented 6 years ago

Please help me, i have the same problem, i send you a email

earmin commented 6 years ago

I have the same problem and commands in FAQ didn't solved the problem. The msgstoredb size is 130MB. The created temp.sql is only 7MB and the repaired.db file after ruing the second command line is 0KB! Please help. Thanks