Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] [WHATSAPP] Unable to recover message history: Corrupt Database

OP Basjoo

7th March 2014, 11:25 PM   |  #1  
Basjoo's Avatar
OP Junior Member
Thanks Meter: 1
 
24 posts
Join Date:Joined: Jan 2012
More
Hello,

Whatsapp problem! I want to copy my chat history from my Samsung Galaxy S1 (2.3.6) to my new Nexus 5 (4.4.2).

I copied my entire Whatsapp folder to my Nexus 5 (/sdcard/Whatsapp/) and then installed Whatsapp. It asked me if I would like to recover my history chat messages. After clicking yes it started recovering but after 10-20 seconds it shuts down and an error message comes forward saying that Whatsapp had stopped working. I tried it multiple times.

When looking in my System Log file it says that it has something to do with SQLite. These are some lines in the Log file concerning Whatsapp:
  1. "E/DefaultDatabaseErrorHandler (3784): Corruption reported by sqlite on database: /data/data/com.whatsapp/databasesmsgstore.db"
  2. "E/AndroidRuntime (3784): java.lang.AssertionError: android.database.sqlite.SQLiteDatabaseCorruptExcep tion: Database disk image is malformed (code 11), SQLiteConnection.java,-2"
  3. "E/SQLiteLog (3784): (14) cannot open file at line 30191 of [00bb9c9ce4]"
  4. "E/SQLiteDatabase (3784): Failed to open database '/data/data/com.whatsapp/databases/msgstore.db' "
  5. "E/SQLiteDatabaseException: unknown error (code 14): Could not open database"
  6. "I/sqlite_db_corrupt (3784): /data/data.com.whatsapp/databases/msgstore.db"

Can someone tell me how to fix this problem or how to find what the error causes in my database file?

NOTE: I added screenshots of System Log
Attached Files
File Type: zip sqlitecorrupt.zip - [Click for QR Code] (2.60 MB, 43 views)
Last edited by Basjoo; 7th March 2014 at 11:28 PM.
Post Reply Subscribe to Thread

Tags
4.4.2, corrupt data, nexus 5, sqlite, whatsapp
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes