Whatsapp: Restore messages from db, key, wa.db - Android Q&A, Help & Troubleshooting

Hi guys,
for some reason I cannot restore my Whatsapp chats after a factory reset. However, I have a two year old Titanium backup with a key file and a wa.db. Whatcrypt could decrypt all my msgstore.db.crypt12 with that, even the new ones. But I would like to get my messages back into Whatsapp. How can I do that? When I place the key and wa.db in /data/data/com.whatsapp/files and .../com.whatsapp/databases, Whatsapp stops during restore with an error "Whatsapp has stopped".
Any ideas? I've been trying for a few days now and would be so glad if somebody could help me!

Nobody? I can't believe that nobody has had this problem before.
The logfile in /data/com.whatsapp said something about a timeout when connecting to some android(...)ntp.org-address. Maybe WA crashing during recovery has something to do with a timestamp?
I read that it is important to use the correct WA version during recovery (according to Google Drive my last back is from 14 Feb 2017) - could this be the problem?

Ok, one last try...
Has anybody achieved this before - restore the messages only via key (and maybe wa.db) into Whatsapp (while the usual recovery failed)? That way, I would know at least that it is possible.

Related

[Q] Viber messages backup anyone?

Can any of the Viber users or soft dev guru help on this little problem.
I love Viber and I love my SGS2, now after few months of owning and learning, I want to start playing around specifically changing my Rom and what not.
Now my problem is i have 13,000+ exchange messages with my GF on viber and I really wanna keep it, as i understand that when I change my Rom I have to do a data wipe and all. I know there's a backup/restore function but is there a guarantee that i can restore Viber with all the messages still there?
Can someone provide a walk around? I have tried google for solution and used the search here but there was nothing except the android team saying its something that they "might" incorporate in the future - that's backing up of the messages.
I hope other users are on the same ship with me here. thanks in advance...
It is posible via Titanium backup, but you need get root on your SGS2 first.
On a rooted phone copy the /data/data/com.viber.voip/databases/viber_messages file to sd-card or whatever.
After new install, put the file back, make sure it has the right permissions and do a compleate restart of Viber.
Done and done.
(Its very lazy of Viber to not include a backup-functionality of messages, as this is SQLite databases that could very easily be dumped out to disc and imported)
Olangu said:
On a rooted phone copy the /data/data/com.viber.voip/databases/viber_messages file to sd-card or whatever.
After new install, put the file back, make sure it has the right permissions and do a compleate restart of Viber.
Done and done.
(Its very lazy of Viber to not include a backup-functionality of messages, as this is SQLite databases that could very easily be dumped out to disc and imported)
Click to expand...
Click to collapse
good trick, agree that viber is lazy
viber message storage
I could not find /data/data/com.viber.voip/databases/viber_messages in my LG CM7.2 Android.
I need help, Please can anyone confirm me again please where viber is stored messages locally?
Olangu said:
On a rooted phone copy the /data/data/com.viber.voip/databases/viber_messages file to sd-card or whatever.
After new install, put the file back, make sure it has the right permissions and do a compleate restart of Viber.
Done and done.
(Its very lazy of Viber to not include a backup-functionality of messages, as this is SQLite databases that could very easily be dumped out to disc and imported)
Click to expand...
Click to collapse
I have the same problem with backup and restore old Viber messages. I managed to backup (or rather email messages history) from my old HTC Desire but could not restore them on my new Samsung S3). What's the use of backup without restore function?
Oh! I can't find /data/data/com.viber.voip/databases/viber_messages on SD card too. Any suggestions?
Thanks,
Copying the database doesn't work for me. Here's what happens:
When I make a fresh installation of viber and replace the empty (fresh) /data/data/com.viber.voip/databases/viber_messages database file with my backup (old) one, viber crashes every time I launch it. I was careful to set permissions to rw- rw- --- as the fresh file has them.
What can I do - maybe export the records in the backup db file and reimport them into the fresh one?
If the previous question has no easy answer, at least can someone tell me what's happening so I can try to figure out an alternative approach?
Hello,
I've successfully backuped and restored Viber on my S III but I've got an issue with contact names: it randomly picks another contact name instead of the real one.
Anybody had the same issue? How did you solve it?
thanks!
tizio84 said:
Hello,
I've successfully backuped and restored Viber on my S III but I've got an issue with contact names: it randomly picks another contact name instead of the real one.
Anybody had the same issue? How did you solve it?
thanks!
Click to expand...
Click to collapse
I have the exact same problem. Once upon a time, I had an older version of the software saved on TiBu which I was able to restore and the messages stayed to the right person. Unfortunately, I don't have that version or backup anymore. I just downloaded another older version of the software from a thread here on XDA and I'm about to install it and see if it fixes the messages list problem...
Update: That version wouldn't open on my phone, it just FCed (could be because I'm running the vzw jellybean leak). Off to search for another version...
aungsan said:
I could not find /data/data/com.viber.voip/databases/viber_messages in my LG CM7.2 Android.
I need help, Please can anyone confirm me again please where viber is stored messages locally?
Click to expand...
Click to collapse
Only Root Explorer can see that folder, worth the $3.75 i paid :good:
Restore from viber message.zip
Hello, i got a different problem on restoring my messages, i tried rooting my android and i got the back up and restore from the TI back up and it worked good, but my prob is, is there a way that i can restore the viber message .zip which is sent to me from email, back to my viber, cause i thought when i backed it up, i can also restore it, and i didnt know that time that viber doesnt have a restore function, so i deleted all my messages and i those messages are very important, can someone help me please? Thank you in advance!!
elitebetan said:
Hello, i got a different problem on restoring my messages, i tried rooting my android and i got the back up and restore from the TI back up and it worked good, but my prob is, is there a way that i can restore the viber message .zip which is sent to me from email, back to my viber, cause i thought when i backed it up, i can also restore it, and i didnt know that time that viber doesnt have a restore function, so i deleted all my messages and i those messages are very important, can someone help me please? Thank you in advance!!
Click to expand...
Click to collapse
The file on the phone is an SQL Lite database.
Probably you could copy it to your PC, import the data, copy it back and have the database repaired.
I just restored the whole "com.viber.voip/databases" folder, and it works perfectly. all messages etc are there.
Hello I also have a problem with backuping my Viber messages.
Today I've done a software update. I'm using Samsung I9105P (SGS II+ with NFC). The update was from 4.1.2 to 4.2.2. I did a normal copy of data\data\com.voip.viber\ and full app+data backup with Titanium Backup.
So this is what happens:
Everytime I restore data with Titanium the app starts normally and then I'm always asked to type in my phone number and the activation code. Before doing that all messages do exist. I know that because I am able to close these dialog windows with "back button" and look on the messages but I'm unable to normally use viber (I mean send and recieve msgs). After applying the activation code the message tab appears without any message. It happens like this everytime.
I also tried to just paste the "databases" folder or just the "viber_messages" file but both of these actions end with appcrash and then i need to reinstall it or just back up data with titanium (and then it's all the same as I wrote above - I mean activation code etc.).
I have several thousands of messages and I don't really want to lose them. Especially looking on the fact, that I've restored up my viber messages for a few times when I've been using Samsung Galaxy S (i9000) and also transferred them on this phone.
Any ideas for a solution? I'd be grateful. :fingers-crossed:
Same problem here! I can see the messages at first (after restoring APK + data from titanium or mybackuppro), but Viber wipes them when it asks me to reactivate. This whole thing is a mess. Anyone know a possible solution? I also have lots of messages that are important and I would like to restore.
I have exactly the same problem with the one the two last users are dealing with.
As soon as i got updated to Android 4.3 and restored Viber and its data with Titanium Backup, the first time i run Viber i can see my messages for 1 or 2 secs and then activation screen appears. After finishing app's activation i can't see my messages anymore..
Swyped from my Nexus 4 using Tapatalk 4
ajoh99 said:
Same problem here! I can see the messages at first (after restoring APK + data from titanium or mybackuppro), but Viber wipes them when it asks me to reactivate. This whole thing is a mess. Anyone know a possible solution? I also have lots of messages that are important and I would like to restore.
Click to expand...
Click to collapse
tsiftsism said:
I have exactly the same problem with the one the two last users are dealing with.
As soon as i got updated to Android 4.3 and restored Viber and its data with Titanium Backup, the first time i run Viber i can see my messages for 1 or 2 secs and then activation screen appears. After finishing app's activation i can't see my messages anymore..
Swyped from my Nexus 4 using Tapatalk 4
Click to expand...
Click to collapse
If you have a titanium backup, unzip the backup file and extract the viber_messages file and replace the one in /data/data/com.viber.voip/databases/viber_messages by root browser. It worked for me.
seawind107 said:
If you have a titanium backup, unzip the backup file and extract the viber_messages file and replace the one in /data/data/com.viber.voip/databases/viber_messages by root browser. It worked for me.
Click to expand...
Click to collapse
Yeah that's the way to do it, but it didn't work for me and the other 2 guys who wrote below my post.
Syfeeq said:
I also tried to just paste the "databases" folder or just the "viber_messages" file but both of these actions end with appcrash and then i need to reinstall it or just back up data with titanium (and then it's all the same as I wrote above - I mean activation code etc.).
Click to expand...
Click to collapse
+1
Have the exact problem with TB and activation process, messages are gone after activation, but i have the solution that worked for me:
In TB folder find com.viber.voip-(some numbers).tar archive
open \data\data\com.viber.voip\.\databases
find both "viber_messages" AND "viber_messages_journal" files
copy them to \data\data\com.viber.voip\databases on the phone
change permission for viber_messages to RW RW --
change permission for viber_messages_journal to RWX RW --
restart phone and that's it, you will have all your messages
zoozth said:
Only Root Explorer can see that folder, worth the $3.75 i paid :good:
Click to expand...
Click to collapse
You can do this with ES file explorer, just go to settings/display settings/ and tick "show hidden files", great program and it's free :good:
Got my messages back, but the photos/doodles are not displayed in the chat-thread. empty images. when you click on them to view them bigger, they are displayed.
any idea how to get the thumbs in chat back?
Try to reboot phone, or delete cache in settings/applications/viber. For me everything is ok.

[Q] Viber messages restore with Titanium Backup

so I wanted to restore my device to factory settings cuz it was lagging a bit and backed up my viber messages with TB. I now am stuck with the infamous verification screen wipe. I tried everything on the 7th page of this thread http://forum.xda-developers.com/showthread.php?t=1471396&page=7 but nothing has worked and I've lost an entire day. Please help me find a way to restore these messages. I have my save and I get to see it for a couple of seconds until the verification screen pops up.
-Desperate here!
also Im troubled by the fact that when I was trying to restore the messages and messages journal files I went to Android-data-com.viber.voip and there was no databases folder and I had to create it. is smth wrong? I couldnt find the com.viber.voip folder anywhere else

Recover WhatsApp Messages Without Backup

Hello everyone,
While I was sleeping my WhatsApp crashed or something, and it completely closed and when I opened it in the morning it said:
"Starting WhatsApp, please wait..." (My phone is in Spanish so the translation may not be accurate).
And, when it finally opened, it deleted absolutely all my conversations, except the groups which I'm member, but they where also empty.
And the most recent copy is from 1 month ago (Sure for now on, I will backup with more frequency, but I was very busy this month).
Does anyone know which file from the internal memory holds WhatsApp messages, so I can try to recover that file to restore them?
And no, I'm not talking about the backups file, I'm talking about the WhatsApp cache folder, not the cache but you know, the WhatsApp messages need to be in the internal memory as data and that's the thing I want to fully or partially recover to try to restore my messages.
My first idea is that on Applications -> Data -> Whatsapp should be the file with the messages, but it is hidden and I don't know how to recover it.
Any help or ideas would be appreciated because the messages are important for me.
Thank you so much.

How to repair whatsapp corrupted database (msgstore.db) please help

Im sorry but i need urgent help with my WhatsApp .
I did a full backup of my whatsapp in the morning using titanium backup and its said backup complete 100% then around 5PM my whatsapp crashed and started saying initializing untill it started up on the "Agree to continue " stage which meant it had started over againand at that time my whatsapp data got wiped ... I tried restoring my earlier backup using titanium back again but it failed (although it says restore complete ) as soon as i try to open whatsapp it crushed 3 times till it wiped the restored data again.
I dont have the mgstore.db.crypte12 files cz i delete them never seeing id need them like now... It seems my unencrypted database is still with me but (512mb size) but is now like mgstore.db.corrupt and whatsapp won't read the file but i need all the chats back. If anyone can help me please i have some locked away chats and willing to pay if i can recover them
My phone is rooted and i tried backup whatsapp again and its restoring back to nornal now but without my old chats!:crying: i want a way to restore chats in thad mgstore.db.corrupt file please.
Thank you in advance..Ive attached the a screenshot of the corrupt file.
Ps; i have spent all night researching about this but cant find anyway to repair the (msgstore.db) database please any help??..Im gonna try data recovery software for sqlite seeing thag its the same as the database whatsapp uses but i want a positive fix plz
Have you tried merging messages with sqlite?
Android.Play said:
Have you tried merging messages with sqlite?
Click to expand...
Click to collapse
Is there a way to add them back to db format after merging?

FMWhatsapp crypt14 database reader, Please HELP

Hi, I need help regarding reading my FMWhatsapp Database that is .crypt14, Now this is what happened with me and I am helpless from all sides..
I was using Fmwhatsapp from last 1 year, Just last week, My phone number which I was using for my business in FMWhatsapp stopped working so I decided to change my number, I changed my number then and sent a message to almost 20-30 people at once.. After sending msgs, immediately i got a error showing you cant use whatsapp for spamming.. something like this. FmWhatsapp shuts down then and when i reopen it, it again shuts down without any interface, it happened everytime i tried to open it. So i decided to copy my FMWhatsapp folder to sd card, and decided to uninstall it and install whatsapp, after I done it, When i tried to restore chats in whatsapp, it again and again said, We cant restore your chats, please try with old chats.. I checked everything to read my whatsapp database and everything pointed me to toot my device first, I rooted my device, for that i had to reset my phone to unlock bootloader, in which i think i lost my key file for fmwhatsapp..
Now , i got the reason why i cant restore chats are because, i have changed the number and backup was made on old number. For reading database, i need key file which i dont know how i can get appropriate key bcz it was deleted while resetting... Can anybody help me by any means please...?

Categories

Resources