yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Blinkin89:
So yours only has phone numbers and yourself named as me right?

If you used the msgstore.db.crypt then that normal.

De crypted db doesn't has the names included, only the numbers.

If you want the names your phone has to be rooted so you can copy the msgstore.db and wa.db.

Because the wa.db contains the information about which number is which name.

If you did use the msgstore.db and wa.db but you're still getting only numbers then you might have found a bug.

Make sure everything is in the same folder. If it's still not working you might want to upload screenshots...
[Android Apps and Games] sparshithp:
helppp

I have done everything as shown but when i try to open msgstore.db.crypt file, i get the following error

Trying to repair database

Trying to decrypt database

Error: Input strings must be a multiple of 16 in length

Could not decrypt file. Guess, its not a valid android/iphone databse. or whatsapp has changed encryption

but when i opened the db file from another phone of mine where i had kept a backup , i can see it without any problems . but when i restored the messages from that backup and copied it again , it is throwing the same error

can ypu please help as to why
[Android Apps and Games] aj3300:
thnxxxx

A GREAT THANKS for the tool, for the description and for all your kind replys :good:

after I done everything right up to point 12: I tried (c) and it worked softly and correctly

but when I tried (b) i faced a problem (plz to help me :crying: )

after I uninstalled & installed Whatsapp from the market, it didn't ask me if I want to restore any backup (I think because the normal backup type is "CRYPT File" but the final one I got is "Data Base File" so it didn't see it :confused: )

plz advice
[Android Apps and Games] Cimmero:
Hello to all.

We are news to the database to support the blackberry?

thanks
[Android Apps and Games] advance512:
v2.51

Hi there,

For your (lazy) service, I am attaching a ZIP file with v2.51 of WhatsApp Xtract.

As I said before, I have some plans to improve this tool. However, as of right now I just came back from 2 years of traveling, finished a job hunt and am looking for an apartment.. so it is a bit difficult. Hope to get to it in a week or two.

For now, use the attached ZIP (the one in THIS message) with the instructions posted in the original post in Page 1 of this thread.

The !README.txt file is still the v2.2 one, sorry. The actual code is v2.51. (I don't have my work PC with me, just using my netbook so I can't do much about this here.)

I will not bother replying to people who use v2.2 and require assistance.

Enjoy..
[Android Apps and Games] allforfriend:
can you tell me what is the the problem in that

HI...

I Already use your new version crash tools

but still dont work...

can you tell me the problem in that

i upload the picture
[Android Apps and Games] advance512:
I don't like the way in which the current script runs - there are just too many options and too many things that can break.

The second picture is irrelevant.

The first means the file you have is probably corrupted - not a valid WhatsApp database. But, if you want me to look at it, you can send me the DB file and I might figure out something new.
[Android Apps and Games] asdal9021:
Have you sorted out the media management issue? I really need it moving from Iphone to android. I got hundreds of pics from friends that are saved to the whatsapp history but not in camera roll. It would be a pain and really long saving each pictures to the camera roll now in order to move it to my new Note 2
[Android Apps and Games] ark0n3:
i got no spare time yet, hope to have some in april!
[Android Apps and Games] asdal9021:
Thanks, looking forward to it. hope it's done soon:good:
[Android Apps and Games] KnoblauchKnut:
Hey there,

using this great script for several days now, but since today, I´ve got a weired problem with a android device: when I want to decrypt the msgstore-file, the scripts stops after generating the msgstore-XXX-plain.db.html-File. All other files, especially the chatlogs, weren´t compiled as a html-file and the plain.db.html file is empty.

Using WA Xtract 2.51! Thanks in advance :)
[Android Apps and Games] verochmd:
Hi!

I have the same problem that you, but I don´t understand your solution. Can you help me please? It's very very important to me. What I have to edit?

Thank You!!
[Android Apps and Games] hafatih27:
could you develop this useful tool become more useful such as cross-platform whatsapp migrator? for example, if i want to move from iphone to android, i can keep all my chat history. vice versa. thanks for considering :D
[Android Apps and Games] mylztrini:
Cant get it to work

Ok so I am not really a techie, anymore at least it seems! I have these messagestore DB Files from a blackberry whatsapp card.

I desperately need to get them decrypted and pull personal information off of them.

I am willling to pay for this service can someone contact me asap if you are will to help thanks
[Android Apps and Games] tnashc:
Failing to open .db.crpt files

Hi, I am not much of a techie guy but I can follow instructions well. Have downloaded and installed as Instructed. Okay I downloaded Whatsapp_Xtract_V2.0_2012-05-02.zip. That was because the version 2.2 link you provided is not opening. Now I'm getting the following error

Can someone provide an alternative link to Whatsapp_Xtract_V2.51 or V2.2 please. Possible on Google drive or Dropbox will be easier. I don't have a good internet connection in my country :(
[Android Apps and Games] Blinkin89:
Sure here you go.

2.2: https://dl.dropboxusercontent.com/u/2980851/Whatsapp_Xtract_V2.2_2012-11-17.zip

2.51 (the upgrade, not full): https://dl.dropboxusercontent.com/u/2980851/Whatsapp_Xtract_Py_2_51_unofficial_upgrade.zip

To use the 2.51 version you also have to download 2.2.

I hope this works for you. :)

Edit: the 2.51 version which has been attached on the previous page is working for me...

However here is a dropbox link (you won't need the above two for this one): https://dl.dropboxusercontent.com/u/2980851/Whatsapp_Xtract_V2.51_2013-03-15.zip
[Android Apps and Games] leijonasisu:
Guys I'm having an issue.

This works fine, follow the instuctions and install Python, then drag the desired back up over the 'drag and drop.bat' and it decrypts in moments and is readable.

Whilst the interface is very... very confusing, it saves numbers but not names etc.. (so you have to memorize all of your friend's numbers)

Anyway... the problem I am having is this.

Whilst my backups SEEM to be saying when the latest message from a 'certain' person was recieved. Displayed here:

As seen above, it states that the latest message that was recieved from that person was at '2013-04-12 21:53:11'

BUT!! When I go to look for the messages recieved at this date, for some reason the latest/newest messages I can find are ones from this date:

See it shows "2012-10-16 01:21:04" as the latest viewable messages... It seems like for some reason after those messages (shown just above) it doesn't display any of the recent ones... why? Why not when at the top it says that there were messages recieved at '2013-04-12 21:53:11'...

Any messages sent after that don't show up at all... I don't care how far back the logs go, I just care that they show the latest messages recieved.. but for some reason it doesn't seem like they do.. because the logs stop there.

TL;DR

Basically, whilst the page shows that there were messages recieved and sent yesterday, it's not showing those messages when I actually go to view them. They just stop randomly and afterwards they don't show up. I've tried looking at multiple backups, (all that I have available) but for some reason I cannot seem to see those messages.

Is there some 'auto-truncate' or something or some bug that if there really are so many messages, it only displays the first 1500 or something?

Please someone help me out on viewing all of the messages..

Thanks.

P.S. Using that updated 2.51 :)
[Android Apps and Games] kong123:
Does anyone know how the android to iphone migrator is going? I know one for iphone to android was being developed has there been any progress? Really want to keep my old whatsapps on my android and transfer to my new iphone !!
[Android Apps and Games] leijonasisu:
Not to be unappreciative but this is really annoying that it's not updating all messages in the log... honestly. The problem I described before is a pretty big let down with this....
[Android Apps and Games] KnoblauchKnut:
A question to the dev:

Would it be possible, to add the created .html-files to a new folder, which is named like the database, from where it was created? So all the .html of the decrypted "msgstore-2013-03-04.1.db.crypt"-file will be written into the folder called "msgstore-2013-03-04.1"?

If you have a lot of db´s, it´s always a mess to create new folders, copy all the html-files, and so on. That would be nice :good:

I was looking for the python code, but I´m a python n00b :D
[Android Apps and Games] aylumna:
Works Great

Hi,

I tried first, there is an error when drag .db.crypt. Crypto.Cipher. But it has been solved.

REMEMBER:

You must install pycrypto that match to version of ActivePython you have installed.

. ;)

This is great method to view my whatsapp backup conversatation. It works great!! really great!!

Thank you so much.. :laugh:
[Android Apps and Games] nicard:
Where to find Nokia Symbian 60 Version 5 (s60v5) database file

The db file can be found at root folder of the phone memory (WhatsApp is always installed on phone memory, never on SD card). This arquive named as "MsgStore.bak" - when exists just one - can be found at "wa" folder which one is situated on root directory as I said before. If there are other backups they receive these following titles: "MsgStore.bak.1", "MsgStore.bak.2" and "MsgStore.bak.3" (I've seen just 3 of them simultaneously at most).

Please, develop a compatible software to extract Nokia Symbian SMS backups. Because I'm about to buy an Windows Phone and really want to keep old messages, important messages!!

Thanks!

PS: I can even send a db sample, but not now 'cause I'm hurry. Please also confirm if this is really needed. I will be glad to help you help me... :)
[Android Apps and Games] chuneric:
something that i would like to know

Would it be transfer the html file into sql (for iphone)???

coz I was using android phone, i have extracted the html format from db.crypt

but how can I change the html format into sql to restore the history to iphone??

i have tried a lot of method but lamentably not successful

Can anyone help me with steps:crying::crying:

Thanks a lot
[Android Apps and Games] verochmd:
Hi!

Can someone help me with this error, please?

PLEASE, PLEASE it´s very important!! :crying:
[Android Apps and Games] fool no more:
I owe you more than words can say

I would like to thank this forum and who-ever made this application available to everyone.

If it wasn't for this software, I wouldn't have found out that my fiance was cheating on me 2 weeks before

the wedding. I'm eternally grateful that I found this before I made a the biggest mistake in my life and can not thank you enough. :good::good::good::laugh::good::good:
[Android Apps and Games] kfirf:
Hi ark0n3,

I also asked for access, I'm moving from Iphone 4s to HTC X One+.

Thank you for your great work.
[Android Apps and Games] KnoblauchKnut:
Hey,

seems, that this is no encrypted database. From where do you have this file? It should look like msgstore.db.crypt!
[Android Apps and Games] verochmd:
Hi

Yes, it's correct. I have some files from /sdcard/WhatsApp/Databases/

msgstore-2013-03-30.1.db.crypt

msgstore-2013-03-29.1.db.crypt

msgstore-2013-03-28.1.db.crypt

.....

but not msgstore.db.crypt though I changed the name without date.

I'm doing this with my phone's databases and I have no problems, but I do it with other phone's databases and I have that problem. The strange thing is that the phone model is the same.

I do not know if I have explained well.

THANKS!
[Android Apps and Games] KnoblauchKnut:
Well, these files will work for sure. Important is the .crypt at the end of the file, that means, that they´re crypted, the .plain-files are already decrypted and can be loaded into a SQL program!

The folder WhatsApp\Databases is correct. But I´m a little bit confused, that there´s no msgstore.db.crypt...
[Android Apps and Games] verochmd:
Yes, there is, but I don't have it in computer because I copied only with dates. Why the others databases (with dates) don´t work if I changed the name?

:confused:

Thanks
[Android Apps and Games] nickauga:
something is wrong

affter trying several times i get it work with the drag and drop feature but only with old one crypted files. Now (last week) seems that whatsapp changed the encryption. it show me the following message.

C:\Users\Usuario\Desktop\Whatsapp_Xtract_V2.2_2012-11-17>python "C:\Users\Usuari

o\Desktop\Whatsapp_Xtract_V2.2_2012-11-17\whatsapp_xtract.py" C:\Users\Usuario\D

esktop\Whatsapp_Xtract_V2.2_2012-11-17\msgstore-2013-04-18.1.db.crypt

Python Version 3.x

Android mode!

trying to repair android database...

trying to decrypt android database...

Error during decrypting: Input strings must be a multiple of 16 in length

Could not decrypt database file. Guess it's not a valid Android/Iphone database

file or Whatsapp changed the encryption.

Presione una tecla para continuar . . .

Please help me. dont know what to do.:confused:

P.D: Excuse me if my english is too pover... im learning yet.:o
[Android Apps and Games] udovoodoo:
Edit time stamps and messages!

Dear Forum,

I would like to decrypt and edit time stamps and messages that i have received through whatsapp on my Android Nexus 4. *

I would like to then be able to encrypt it again and be visible through my whatsapp on my Android phone.*

I am willing to pay for this service. *No scamers please.*

Sincerely,

Naser
[Android Apps and Games] droopyar:
yes

yes, i could do it.

But you need to send me the rooted database so i could edit it.

PM me for more info
[Android Apps and Games] dharadavda:
can not open

I tried all the possible tips given here. process goes well till i drag the msgstore.db.crypt to stated file but i get an error as

"type error: expected bytes, not str"
[Android Apps and Games] adilshah1211:
whatsapp.db decrypt

Hi,

I have tried every bit of what you have guided but I have been unsuccessful to decrypt the .db files.

I would request if you or anyone who has successfully decrypted the files to help me out OR I would be greatful if someone can decrypt them for me.

Attached is the screenshot of the error message.

Thanks
[Android Apps and Games] advance512:
I am working on a new version of this tool.

It will be much simplified and so user support will be much easier.

I might also try and offer modification of WhatsApp databases. Would be nice to know what sort of modifications you'd like to be able to do on said databases.

Since I don't have an iPhone - I am planing on deprecating iPhone support.

Might just keep an iPhone -> Android migrator, we'll see.

If anyone has any requests or ideas for features, or bugs that need to be fixed - let me know.
[Android Apps and Games] The Jinxer:
Heres some help

what are you stuck on? works for me,

download the Xtract package

extract to my documents/Whatsapp (or any directory)

download activepython 2.7 or 3.2 and make sure when it installs that it installs to C:/program files/Python27 or Python32, not C:/Python**

put your whatsapp file where you put Xtract, you will see +-4 .bat files, thats the right place

drag and drop your database to the drag_n_drop.bat file

voila! It should work
[Android Apps and Games] evo.dev.m1nd:
Works like a charm.
[Android Apps and Games] LubbeSGS:
Hey! Is this method for merging the databases still working with the latest versions of Whatsapp (2013, May+)? Thank you!
[Android Apps and Games] Tom Pepo:
Por favor alguien que me ayude.

Pls someone to help me.
[Android Apps and Games] ztedd:
New Version 2.0 of Whatsapp Xtract - now supports Iphone, Android, crypt database

Here is the new version 2.0 of Whatsapp Xtract!

V2.0 (updated by Fabio Sangiacomo and Martina Weidner - Apr 28, 2012)

- supports WhatsApp DBs coming from both Android and iPhone platforms

- (Android Version) wa.db is optional

- (Android Version) now also crypted msgstore.db.crypt from the SD card can be imported

- chat list is sorted by the last sent message

- fixed some bugs (e.g. that the script didn't work with python 3)

Download:

see first post!
[Android Apps and Games] ztedd:
Iphone support (especially of media messages) is a bit beta status, though. We only had a rather old sample of the Iphone whatsapp database, so there may be need for improvements. I'm curious for your feedback and maybe someone can create a new sample of the ChatStorage.sqlite, including:

- group chat

- changing of group name

- all possible types of media messages:

- image

- video

- audio

- vcard (contact)

- gps

- gps of specific place (e.g. a restaurant)

Also a copy of the corresponding media files in the Media folder would be great.

You could backup your chats, then empty your chats, then send test messages, then backup again, send me the sample, then restore the original backup.

The sample can be anonymized and you can use SQLite Editor to modify/delete sensitive information.
[Android Apps and Games] EmilyThorne:
The Whatsupp_xtract doesn`t work

Hi, I don`t speak english very well, sorry. I try to read the bd.scrypt instaling the whatsupp_xtract and python, but in the last step, nothing happens, I mean, when Irun whatsapp_xtract.bat or whatsapp_xtract_crypted.bat or whatsapp_xtract_iphone.bat the chants don't apperar, I see for a second a black window, and then disappear.

What can I do?

Sorry for my bad english, thank you for your help.
[Android Apps and Games] Mayn:
When I try the iPhone version I (also) get a message:

"ChatStorage_sample.sqlite is not found"

I followed all the steps in the readme.txt.
[Android Apps and Games] fsangy:
There is a little imperfection in the whatsapp_xtract_iphone.bat...

you can open it with notepad and change ChatStorage_sample.sqlite with ChatStorage.sqlite (or the name of your whatsapp db file)..

alternatively, open the command prompt and type:

> python whatsapp_xtract.py -i <filename>
[Android Apps and Games] oscargpes:
impossible

First thank you for the program.

Secondly, I must be a little silly, because I am unable to get me out the database.

In theory I followed the steps but I get no result.

Would it be possible you to do a tutorial with the steps to get it.

If you can not be, I would appreciate an e-mail with the steps.

Thank you.

By the way, my English is very, very bad, so I used a translator.
[Android Apps and Games] Mayn:
Thanks for your help!

I'm getting closer, but now I get the following error message.

See attachment
[Android Apps and Games] ztedd:
fixed some problems

@all: I fixed some minor problems and updated the download links in the first post.

Download the actual version and run one of the scripts. Now the window will not close but show you an error message. Copy or screenshot the message and tell it to us in this thread.

I fixed this, also added some advanced instructions in the Readme on how to use this script with the command line (also added a .bat that will open the command prompt and show the help message of the script).

I fixed the code responsible for that error. Hope it works now. (Download the updated archive)
[Android Apps and Games] ztedd:
At which step (which number from 1. - 5.) is it not working?

If you start the script, a black windows opens and closes again, then please download the updated archive. Try to use the tool again. Now the window should not close but show you an error message. Copy or screenshot that error message and post it here.
[Android Apps and Games] gu1lty:
hello everybody

i´ve the same probleme like EmilyThorne.

when i starting the whatsapp_xtract_crypted, a dos window open for few seconds and close.

what i´ve done:

-copy WhatsApp from my Smartphone into a new folder

-extract the ZIP-File into the same folder

-install python

-execute "install pyCrypto"

-execute whatsapp_xtract_crypted.bat

can everybody help me? :\
[Android Apps and Games] ztedd:
If you copied the folder "Whatsapp" from your SD card, then that's not the folder where the database is.

It is located in the folder "Whatsapp/Databases".

There you will find the msgstore.db.crypt.

Copy this file to the folder where the Tool Whatsapp Xtract is installed.

Also important: Download the updated file of Whatsapp Xtract (see first post for link).

If you use that version then you will always be shown an error message and the dos windows doesn't just close.

If you still get an error message, then please post the text or image of the error here.
[Android Apps and Games] gu1lty:
Okay thank you

i´ve installed the new version Whatsapp_Xtract_V2.0_2012-04-29.

the following error appears:
[Android Apps and Games] Mayn:
I downloaded the updated files but unfortunately it doesn't quite work.
[Android Apps and Games] ztedd:
You need to install both Python AND PyCrypto module of Python. As explained in the Readme and first post, the easiest way is this:

1. Download and install Active Python

http://www.activestate.com/activepython/downloads

2. Run install pyCrypto.bat (contained in the tool archive)

wait till PyCrypto module is installed.

(alternatively: go to windows start menu, then folder "ActiveState ActivePython", then run "Python Package Manager (PyPM)"

in the opened dos window, type: pypm install pycrypto )

3. Now Python and PyCrypto should be installed. After this you can use the tool.

Update: Updated archive again. Now installation of PyCrypto is indeed optional. You only need it if you want to import a crypted db.

New file is Whatsapp_Xtract_V2.0_2012-04-30.zip, see download link in first post.
[Android Apps and Games] ztedd:
I updated again. I changed the way the script handles errors during parsing single messages. If a message can't be read then it just prints an error inside the generated .html file and in the DOS window but continues execution.

I guess this should solve the problem for you at first.

Please have a look at the html file then: what is displayed correctly, what not? which error is printed (if any)?

In your case, some media item can't be read, I think. Okay, let's have a look at the result now...

You can download the new archive and try it again :)
[Android Apps and Games] valek07:
Works great! What about messagestore.db on Blackberry?

Hello!

First of all I would like to say that it works great! I was able to see everything from the msgstore.db.crypt file from my Galaxy Note! :)

Is there any way of opening the messagestore.db file that is used for Whatsapp on Blackberry? I had a BB Bold before and I need to check something from that history. I have the messagestore.db file and tried to rename it to msgstore.db.crypt but it doesn't work, I'm getting this error:

whatsapp_xtract.py -i msgstore.db.crypt

Python Version 2.x

Android mode!

trying to decrypt android database...

Traceback (most recent call last):

File "C:\Whatsapp_Xtract_V2.0_2012-04

-28\whatsapp_xtract.py", line 1842, in <module>

main(sys.argv[1:])

File "C:\Whatsapp_Xtract_V2.0_2012-04

-28\whatsapp_xtract.py", line 933, in main

decoded = cipher.decrypt(open(options.infile,"rb").read())

ValueError: Input strings must be a multiple of 16 in length

Is there any way of decrypting the blackberry file even though I am unable to use this nice program to display it with a browser? I guess that if this program is able to decrypt the "msgstore.db.crypt" file this means that it can also decrypt the blackberry file right?

I would really appreciate your help since this is very important!

Thanks a bunch and congrats on this excellent app! :)
[Android Apps and Games] Mayn:
Thanks for taking your time and effort but this is what happens:
[Android Apps and Games] Ripper_X:
Keep getting a "ImportError: cannot import name AES" error

Pycripto has been successfully installed.

Any idea?
[Android Apps and Games] ztedd:
Gee, that was an ugly syntax error :( I fixed it. Download link in first post.