WhatsApp "something when wrong with your chat history" and msgstore.db got automatically deleted
1
vote
0
answers
867
views
I have this problem since updated my Whatsapp to latest version where at random time it will crash and display a notification saying:
It happens so many times throughout the day.
I have a rooted phone. And when that happens I can see that my

.db
from /data/data/com.whatsapp/databases
is completely gone others like .db
,etc are left untouched.
I have backed up my .db
somewhere in my phone and I can just copy that to the /data/data/com.whatsapp/databases
no problem, but sure enough sometime in the day same error pop up and my .db
got wiped.
The easiest way to trigger this error by simply back up my chat in the settings and enable google drive upload, when the local backup complete and the backup showing "preparing google drive backup..." The Whatsapp just simply crash.
I have tried reinstalling whatsapp and setting the chown like in https://android.stackexchange.com/questions/169607/restore-whatsapp?rq=1 but that doesn't work. I even tried setting SELinux to permissive and have no luck.
Here's the logcat just in case: https://pastebin.pl/view/b8fe76fb
Owh ya, I forgot to mention that my msgstore.db is sized 3.58gb :)
Any help will be appreciated. Thanks in advance.
Asked by Xonline
(11 rep)
Nov 16, 2022, 06:41 AM
Last activity: Nov 16, 2022, 06:54 AM
Last activity: Nov 16, 2022, 06:54 AM