[Streak 5 Q&A, Help & Troubleshooting] CharlesCCO:
Hi,Confucio1986 , thanks for your suggestion.

I have tried what you did, but seems my history still not restored...

The following is the log from WhatsApp, "android.database.sqlite.SQLiteDatabaseCorruptException" is caused by removing the msgstore.db after root. But still have "java.io.IOException: File.renameTo failed" error.

Sigh....

2011-10-13 15:30:57.538 msgstore/checkhealth

2011-10-13 15:30:57.550 msgstore/checkhealth/journal/delete false

2011-10-13 15:30:57.563 msgstore/checkhealth/back/delete false

2011-10-13 15:30:57.574 msgstore/checkdb

2011-10-13 15:30:57.585 msgstore/checkdb/list msgstore.db 2602000

2011-10-13 15:30:57.610 ### begin stack trace 2.6.7814

android.database.sqlite.SQLiteDatabaseCorruptException: error code 11: database disk image is malformed

at android.database.sqlite.SQLiteStatement.native_1x1_long(Native Method)

at android.database.sqlite.SQLiteStatement.simpleQueryForLong(SQLiteStatement.java:107)

at android.database.sqlite.SQLiteDatabase.getVersion(SQLiteDatabase.java:926)

at com.whatsapp.wl.b(wl.java:962)

at com.whatsapp.wl.d(wl.java:816)

at com.whatsapp.t2.onClick(t2.java:15)

at android.view.View.performClick(View.java:2408)

at android.view.View$PerformClick.run(View.java:8816)

at android.os.Handler.handleCallback(Handler.java:587)

at android.os.Handler.dispatchMessage(Handler.java:92)

at android.os.Looper.loop(Looper.java:123)

at android.app.ActivityThread.main(ActivityThread.java:4627)

at java.lang.reflect.Method.invokeNative(Native Method)

at java.lang.reflect.Method.invoke(Method.java:521)

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

at dalvik.system.NativeStart.main(Native Method)

### end stack trace

2011-10-13 15:30:57.626 registername/clicked/sdcardstate mounted

2011-10-13 15:30:57.643 verifymsgstore/usehistoryifexists/backupfilesfound 1

2011-10-13 15:30:57.654 verifymsgstore/dialog/restore

2011-10-13 15:31:00.542 verifymsgstore/dialog/setup

2011-10-13 15:31:00.600 msgstore/initialize

2011-10-13 15:31:00.666 msgstore/restore/backupfiles msgstore.db.crypt (2602000)

2011-10-13 15:31:00.712 msgstore/restore/copy msgstore.db.crypt 2602000

2011-10-13 15:31:05.566 msgstore/restore/ioerror java.io.IOException: File.renameTo failed

2011-10-13 15:31:05.866 msgstore/setup

2011-10-13 15:31:05.887 msgstore/checkdb

2011-10-13 15:31:06.014 msgstore/checkdb/nodb

2011-10-13 15:31:06.024 msgstore/getwritabledb doesn't exist

2011-10-13 15:31:06.040 msgstore/create

2011-10-13 15:31:06.067 msgstore/getwritabledb/done/list msgstore.db 8192

2011-10-13 15:31:06.078 msgstore/preparestatements

2011-10-13 15:31:06.092 msgstore/backup

2011-10-13 15:31:06.504 msgstore/backup/size 8192

2011-10-13 15:31:06.522 msgstore/backup/to msgstore.db.crypt

2011-10-13 15:31:07.445 msgstore/backup | time spent: 1336

2011-10-13 15:31:07.633 msgstore/finish

2011-10-13 15:31:07.644 msgstore/initialize/lastmsgs

2011-10-13 15:31:07.656 msgstore/initialize/lastmsgs 0

2011-10-13 15:31:07.667 msgstore/getAllGroupActionMessages

2011-10-13 15:31:07.680 msgstore/asyncthread/started

2011-10-13 15:31:07.691 verifymsgstore/success