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 msgstore.db
from /data/data/com.whatsapp/databases
is completely gone others like wa.db
,etc are left untouched.
I have backed up my msgstore.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 msgstore.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 Restore Whatsapp 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.