[Q] Acessing Whatsapp Database - Android Q&A, Help & Troubleshooting

I have encountered a very weird error when i attempted to edit the database of whatsapp
I have made an app (Requires Root) which will copy the Whatsapp Database to Storage then it will edit it. After it finishes editing the database it copies it back to Whatsapp Directory(/data/data/com.whatsapp/databases/) . After the database it put back to its original place, i closed Whatsapp and reopened it. On Nexus 5 running Android L it worked but on my Galaxy S2 4.1.2 when i open Whastapp i get a message saying my message history is corrupted (I checked the Database, it isn't corrupted since i was able to open it in Root Explorer). I got rid of the error on my Galaxy S2 By using Titanium Backup (I backed up Whatsapp's Data when it gave me the corrupted message then i pressed restore [I basically DIDN'T Do Anything])
Why Did it work when i backed up a database that whatsapp considered corrupted the restored it?
How can i make it work without having the user to use Titanium Backup?
Thanks a lot For reading my question.

Related

[Q] Whatsapp reader or restore old messages

Hi all, i guess it's is already mentioned.. but i couldnt find it after searching for almost a day.
I have old whatsapp messages that i want restored, could anyone explain me the way how to do it?
greetings,
Gertjan
I'm not quite sure what your problem is. Did you change the device or reinstall whatsapp and want to restore a backup?
In general it should work following these steps:
http://www.teamandroid.com/2011/08/21/how-to-backup-chat-messages-in-whatsapp/
Follow the steps below to backup your Whats chat conversations:
- Open WhatsApp.
- Press the Menu key, and go to ‘Settings’.
- Scroll down and go to ‘More’;.
- Now tap once on “Chat History Backup” and backup will start.
That’s it! Next time when you re-install WhatsApp after a full reset, you will be asked to restore your previous backup (which is stored on your SD card).
Click to expand...
Click to collapse
If not, we need some more information...
However I guess it's not that useful too have all those older messages in whatsapp, because they are just filling the internal space and you can't easily access them (you would have to press "load older messages" again and again and whatsapp will become slower and slower ...).
A good possibility is to transfer the full whatsapp backup to your PC and use a tool called "Whatsapp Extractor" to display all the conversations.
Here is the link:
[TOOL] Whatsapp Database Analyzer / Messages Extractor / Chat-Backup
http://forum.xda-developers.com/showthread.php?p=24603294
ztedd said:
Here is the link:
[TOOL] Whatsapp Database Analyzer / Messages Extractor / Chat-Backup
http://forum.xda-developers.com/showthread.php?p=24603294
Click to expand...
Click to collapse
Thanks for the link
Sent from my SK17i using xda premium
is there a way to restore iphone whatsapp backup/history to android htc one X?
Re: Whatsapp reader or restore old messages
WhatsApp automatically makes backups every 24 hours and stores them on the microSD memory card of your Android phone. To restore the deleted messages of WhatsApp, you will need to uninstall and reinstall WhatsApp. During the installation process, you will be prompted to restore the lost message history of WhatsApp. Choose restore your missing chats.
Today I woke up in the morning and saw that all my whatsapp messages were deleted, I did not perform any back or restore from any backup utility such as Titanium backup. I am on Android 4.3 on Samsung note 2.
I tried to uninstall whatsapp and re-install again, it asked for restoring messages from backup folder but only restored messages till date 30-Dec-2013, although message backup was present with latest backup of yesterday’s date i.e. 23-Feb-2014.
Please let me know how can I restore all the messages and resolve this issue.
golo83 said:
is there a way to restore iphone whatsapp backup/history to android htc one X?
Click to expand...
Click to collapse
Have you tried whatsapp migrator tool?
:good:
Try this way
Have you tried to restore by WhatsApp. If you have done a backup, messages, chats can be easily restored. If not, try Android Data Recovery on RecoveryAndroid. I used it to get my lost Whatsapp messages back days ago.:highfive:

[Q] Restoring text messages from backup on 4.4?

I just rooted my phone to install the Google edition ROM but before I did I backed up my texts using Wondershare MobileGo. I've used this program to backup and restore messages, contacts, photos, etc. on my phone many times before and on previous phones and it has worked fine. But this time when I try to restore my messages they don't show up on my phone. To be specific, when I first do the restore the threads will show up under the contact name but there will be no messages when I open the thread. Soon after they just all disappear (only the restored messages, not any new ones). It seems like they're getting deleted as they're empty threads but that's just a guess. I thought it might have been a problem when doing the backup so I opened up the file (.sms file) in notepad and all the messages are there. I think it has something to do with Kit Kat but I've never encountered this problem before.
So does anyone know how I could restore my messages from the .sms file I was given from the backup or why the messages don't show up on my phone? Thanks!

[Q] Whatsapp cannot restore backup!

I've been trying to restore my chats from my Galaxy Fit with whatsapp version 2.11.175 to my Galaxy S3 Neo with whatsapp version 2.11.238 with no success! I transferred my sd card which contains the whatsapp folder(old). It didn't work. So, I copy/pasted the database & several other folders that weren't there in the new folder (the 2.11.238's folder) from the sd card one and reinstalled the app. This time it asked if I wanted to restore the found backup or not...to which I clicked the restore button...After few seconds, I got an error saying it couldn't restore & continued synchronizing. >_<
Is there a way to restore all the chats? Without rooting?
Please help guys! Thanks in advance!
The whatsapp folder in sdcard only include some audio files and pictures/videos, not your chat history. Since you are non-rooted user, you can try helium (download from playstore). It can be used without root to backup data of your apps (of course this includes your whatsapp account and chat history), but you will need to install a pc client to help you on that. It's very easy to set up, head over to the playstore and give it a try!

Moving Whatsapp to another (older) device for backup

I have a Samsung Galaxy S5 and three years worth of Whatsapp conversations. I saved the backup files from WhatsApp folder onto my computer, and did the Google Drive backup. I also used WhatsApp Viewer to save the chats onto my computer. It was unrooted so I used the Key DB Extractor to get the key. The biggest one with most messages only opens in txt format and crashes in html format, I assume because it's too big and the whole html file fails to load.
Now I got my Galaxy S5 rooted (for easier future chat exports through WhatsApp Viewer) and haven't reinstalled WhatsApp yet. I'd like to start fresh and decline the prompt to restore my root. However, before I do it, I was wondering if I can transfer this latest backup onto an older phone, an unrooted Samsung Galaxy Young 2. It's used but previous owner did factory reset. WhatsApp isn't installed on it yet. I wouldn't be using Whatsapp on two phones simultaneously, I'd use the Galaxy Young just for backup and would transfer the backup only once.
Is Galaxy Young too old to open such a huge backup file and/or to even run the latest version of WhatsApp?
What's the way to do it? I found this tutorial but it requires both phones to be rooted, and allows you to use Whatsapp on both, which is not what I need.
WhatsApp website says I should do this:
To restore a less recent local backup
Download a file manager app.
In the file manager app, navigate to sdcard/WhatsApp/Databases. If your data isn't stored on the SD card, you might see "internal storage" or "main storage" instead of sdcard.
Rename the backup file you want to restore from msgstore-YYYY-MM-DD.1.db.crypt12 to msgstore.db.crypt12. It's possible that an earlier backup may be on an earlier protocol, such as crypt9 or crypt10. Don't change the number of the crypt extension.
Uninstall and reinstall WhatsApp.
Tap restore when prompted.
I have the latest msgstore.db.crypt12 file, the SIM card my WhatsApp was used with, the msgstore.db file, the wa file and the key.
Will my current phone, Galaxy S5, give me issues when I try installing WhatsApp on it after I install it for backup onto Young 2?
Also, another question, how do I install WhatsApp on my rooted S5 onto the SD card and not internal memory?
Thank you for your help!

Help for recovering WhatsApp data

Hello,
I suddenly lost all my WhatsApp messages for no reason, and restoring them from my local backup does not work. Can you help me fixing this issue?
Let me explain:
In January I used the app « Import That App Messages from Windows Phone », in order to recover my WhatsApp messages from my old Windows phone to my new Android phone. I successfully performed the data transfer process to this phone (OnePlus 7T Pro, Android 10).
However today when I opened the WhatsApp app I suddenly got a message which said something like « Your chat history stopped working. You can restore your data by clicking on Restore ». I chose Restore but it actually only restored empty group discussions, without any messages inside, and no discussion were restored. Then, in the WhatsApp settings I checked my backup settings and saw there was a Google Drive backup dated of January (which corresponds to the moment I originally transferred my data from my old Windows Phone) and a local backup from February (which contains important new messages arrived in the meantime).
So I decided I would try to restore the local backup, since it is more recent.
I uninstalled WhatsApp, then installed it again and followed the instructions until it asked me to restore from a Google Drive backup. At this moment I turned off my Internet connection, clicked on Continue, waited until a message told me something like « The research is taking longer than expected ». Then I clicked on Skip so that WhatsApp detected my local backup and asked me if I wanted to restore it. I clicked on Restore, then the process started with a progression bar, but when the bar arrived at 100% I got an error message proposing me to Ignore or to Look for an older backup. The 1st button led to a restore only of empty group discussions.
I uninstalled WhatsApp again, did the same process and tried the 2nd button, which led to a search for a Google Drive backup, which I don’t want to use.
I tried the process several times but it failed every time.
I precise that in my internal phone storage I kept a folder « WhatsApp » inside which I have 3 visible folders: Backups, Databases, and Media. There are also 4 hidden folders: .Shared, .StickerThumbs, .Thumbs, and .trash.
Inside Backups there are 4 files: chatsettingsbackup.db.crypt1, statusranking.db.crypt1, stickers.db.crypt1, and wallpaper.bkup.
Inside Databases there is 1 file: msgstore.db.crypt12 (which I believe is the main backup file to recover my messages).
Inside Media there are 10 folders : .Status, WallPaper, WhatsApp Animated Gifs, WhatsApp Audio, WhatsApp Documents, WhatsApp Images (this folder contains all my pictures sent and received), WhatsApp Profile Photos, WhatsApp Stickers, WhatsApp Video, and WhatsApp Voice Notes.
I really need help. Can you help me restore my messages? What should I do?
Thank you a lot in advance!

Categories

Resources