yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] ztedd:
This looks like PyCrypto is not correctly installed.

Which versions of

- windows/linux/.. (I assume windows)

- ActivePython

Do you have?

Please download the newest archive, extract and then run install pyCrypto.bat again.

Now the window will stay open after executing the install commands. Make a screenshot of what it shows.

Then start whatsapp_xtract_console.bat

there you type:

python

then hit Enter. Then python shows something, then you type:

from Crypto.Cipher import AES

Make a screenshot of this as well. Send the screenshots here.
[Android Apps and Games] ToMeRv32:
I did everystep from the guide but when I drag the file to the CMD windows it closes and nothing happens.
[Android Apps and Games] m.abouabed:
Hello

I would like to thank you for this great tool

I have a question, can we encrypt the plain DB (decryption message file) again (from android) to be used as litsql (for iPhone)??

I'll explain

I'm trying to transfer my chat history from Android to iPhone

Thank you
[Android Apps and Games] mrpooooon:
Can someone help me? Urgent. Thanks!

C:\Users\Josiah\Downloads\Compressed\Whatsapp_Xtract_V2.2_2012-11-17>python "C:\

Users\Josiah\Downloads\Compressed\Whatsapp_Xtract_V2.2_2012-11-17\whatsapp_xtrac

t.py" C:\Users\Josiah\Downloads\Compressed\Whatsapp_Xtract_V2.2_2012-11-17\msgst

ore-2012-11-27.1.db.crypt

Python Version 2.x

Android mode!

trying to repair android database...

trying to decrypt android database...

Traceback (most recent call last):

File "C:\Users\Josiah\Downloads\Compressed\Whatsapp_Xtract_V2.2_2012-11-17\wha

tsapp_xtract.py", line 2453, in <module>

main(sys.argv[1:])

File "C:\Users\Josiah\Downloads\Compressed\Whatsapp_Xtract_V2.2_2012-11-17\wha

tsapp_xtract.py", line 1371, in main

from Crypto.Cipher import AES

ImportError: No module named Crypto.Cipher

Press any key to continue . . .
[Android Apps and Games] alohadpz:
someone help me?how to open and read msgstore-2013-05-05.1.db.crypt ???Whatsapp_Xtract_V2.2 can't
[Android Apps and Games] Necromacer:
Im having an error too.

Even while trying to run the msgstore.plain.db i'm getting the following issue

malformed disk image.

how do i remove this error so that i can import the backup file again to my whatsapp .

also if i try to create a new copy using the temp.sql method mentioned somewhere above in this post, i'm getting the erro ( The picture is attached)
[Android Apps and Games] ntfs:
hey

how did you solve it ???

i have the same error i cant solve it .....>>>>
[Android Apps and Games] aylumna:
Just try what I said above.:D
[Android Apps and Games] neleshpatole:
problem

Hi frnds....

i m using whats app version (2.9.5196) in my samsung galaxy y S5360

and i want to open all the chats of whats app (with media, smiles, group chats etc) on my computer.

i have installed on my computer -----

1. ActivePython-2.7.2.5-win32-x86.msi

2.Whatsapp_Xtract_V2.0_2012-05-02

but m getting the following error ----

"ImportError: No module named Crypto.Cipher"

E:\g\Whatsapp_Xtract_V2.0_2012-05-02>python whatsapp_xtract.py -i msgstore.db

Python Version 2.x

Android mode!

trying to decrypt android database...

Traceback (most recent call last):

File "whatsapp_xtract.py", line 1898, in <module>

main(sys.argv[1:])

File "whatsapp_xtract.py", line 941, in main

from Crypto.Cipher import AES

ImportError: No module named Crypto.Cipher

so plz help me frnds........
[Android Apps and Games] Marvi70:
I assume you didn't read the 1st post "How to use", point 4:

You need Python and (for Android msgstore.db.crypt decryption) the PyCrypto library

The easiest way is to install ActivePython

!! on Windows choose 32bit/x86 version even if you have 64bit windows (if not you will get an "requires Business Edition subscription" error!):

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

It's available for Windows, Linux and Mac. However in my HowTo, I focus on Windows.

and then run !install pyCrypto.bat (contained in this archive. The best is to rightclick on it and choose "run as administrator".)

If you have troubles installing pyCrypto this way, then please try to install it using an installation package from this site (Thanks, andcha!): http://www.voidspace.org.uk/python/m...shtml#pycrypto
[Android Apps and Games] juanyllo87:
On windows 8 x64 is working perfectly.

Thank you very much. You have done great job.

Greetings from Canary Island, Spain.
[Android Apps and Games] boaxfux:
You need to install pyCrypto for 2.7 32bit. The .bat file installs pyCrypto for 2.6 so it doesn't work. Here is the direct link(<1MB). Download it and install. After that, run the xtract_android.bat file.
[Android Apps and Games] The_One_guy:
Blackberry support

Hi there,

I've pretty much scraped the bottom of the internet trying to find a way to gain access to blackerry messagestore .db files. tried everything with no luck. Even if its simple text, that could work for me... Any assistance will be highly appreciated.

Thanks
[Android Apps and Games] RAND0M1ZER:
Hi everyone, can someone please help me?

I am trying to transfer my WhatsApp messages from my old phone to new one and have copied the /data/data/com.whatsapp/databases/msgstore.db and wa.db files from the old phone to the new phone. My messages show up fine which is great as well as the image previews however when I press the image it says "Sorry this media file does not exist on your SD card". I am using the same SD card though so I still have my WhatsApp folder with all the images so I don't know what wrong.

Thanks
[Android Apps and Games] Blinkin89:
Hi RAND0M1ZER.

Have you tried coping the Whatsapp folder (or at least the media folder inside there) to the internal SD?

Because Whatsapp normally uses the internal storage to store all media, I've only had 1 rom that used the external storage...

Putting them on both should be a problem. After a few days you can check the databases (crypted) folder for the dates in the file names. That indicate which folder Whatsapp is using so you can (re)move the other one.
[Android Apps and Games] RAND0M1ZER:
That worked, thanks!
[Android Apps and Games] Sk Kanna:
Whatsapp database

i have below error when running whatsapp_xtract_iphone.bat
[Android Apps and Games] dreamville:
Any progress on this?
[Android Apps and Games] N0rd:
Looks like Nice work!

recently upgraded from iphone4 to a optimus, would love to try it out and give some feedback

Sent you an request to the mentioned google drive folder as i4n0rd.
[Android Apps and Games] ark0n3:
some enhancements were applied but got no time yet to add group chat support
[Android Apps and Games] ToMeRv32:
I extracted my db file and it doesn't show me everything.

I have only 2 conversions there, one with few msgs and one with thousands msgs (I think over 120K),

and it shows me only few thousands I think.

(HTML file is about 5MB and db is 30MB..)

Also, it doesn't show the name of the contact, only his number.
[Android Apps and Games] ark0n3:
new public site, www.whatsappmigrator.com !

move your Whatsapp history from iPhone to Android (free)
[Android Apps and Games] flambostudios:
That's cool!

Hope to an app for it
[Android Apps and Games] eragon44111:
iPhone emojis not displaying.

Hey everyone!

This is an awesome tool, and I have used it to back up all of the Whatsapp messages from my old Android phone with absolutely no problems.

However, I recently got an iPhone. When I try to use this tool for iPhone backups, it doesn't show some of the emojis. (It shows some of them normally, but some of them are just 'boxes')

I searched this thread and found that people have had this problem but I can't seem to find any solution.

If anyone could help, it would be much appreciated :)

Thanks,

Luke
[Android Apps and Games] viperbjk:
Whatsapp Xtract Version 2.52.1

- 2.52 : modded to show reverse engineered msgstatus / media type fields from android version (see attachment)

- 2.52.1 : added iPhone status types and other media types as well

Thanks to the Zena Forensics guys for this great tool :)
[Android Apps and Games] verochmd:
Thanks for the new version.

I just download but I have this comun error. Can someone help me, please? I don´t find a solution in this thread
[Android Apps and Games] hape70:
hi viperbjk,

Thanks for the update.

I found an error, where firefox (with chrome and ie it works) will have a problem.

The full paths to the other html files are written in the generated html files, instead of the filename only.

e.g.:

<td class="contact"><a href="C:\Whatsapp_Xtract_v.2.52.1\msgstore.plain.db.123456789.html">123456789</a> | <a href="C:\Whatsapp_Xtract_v.2.52.1\msgstore.plain.db.123456789.media.html">Media</a></td>

instead of:

<td class="contact"><a href="msgstore.plain.db.123456789.html">123456789</a> | <a href="msgstore.plain.db.123456789.media.html">Media</a></td>

I don't know why, but only firefox has a problem with this...

Removing the full pathes solves the problem and in all other browsers it's still ok.

thanks

hape1970
[Android Apps and Games] Noob911:
doesnt work :(
[Android Apps and Games] lenn-_:
Worked like a charm with the pycrypto-modules from Voidspace!
[Android Apps and Games] mziada:
Amazing!

Thank you ztedd :highfive: its such a great tool :good: helped me to check if the database files are alright or corrupted ;)

BlueMan
[Android Apps and Games] chilledguy11:
worked perfectly to me :D :good::good:
[Android Apps and Games] Stoux2:
Malformed DB.crypt

I got this exact problem but the question doesnt seem to be answered.. I had a .crypt file (21.5MB) which was malformed. Then I used the fix and it exported a "msgstore.plain.db.repaired.db" file (16MB). However, if i rename it to msgstore.db it wont load the messages (probably because it is missing wa.db). Is there a way to get this back to .crypt or just any way to get the messages back on my phone?

Thanks in advance!
[Android Apps and Games] hentieb:
errors

hi guys i get the following screens
[Android Apps and Games] hentieb:
help please
[Android Apps and Games] Blinkin89:
Hi Hentieb,

Have you tried rebooting the system after installing everything?

It could be required after installing phyton sometimes.
[Android Apps and Games] hentieb:
Thanks for the reply, yes i have and i have re-installed , tried everything i know
[Android Apps and Games] Tossnara:
Great post! thanks for sharing, I saw this article hongkiat.com/blog/backup-whatsapp-to-computer/ before, it teaches you how to backup WhatsApp chat messages from iphone to computer with 3rd party tool(iPhone Back Extractor), as I know, another whatsapp message extractor called whatsapp pocket can also backup the message to computer.
[Android Apps and Games] Blinkin89:
Sounds like it didn't register some commands correctly (I'm not an expert on this thought). I remember that checking the python versions and reinstalling the double checked correct version helped for me in the past.

But since you already reinstalled it... :/
[Android Apps and Games] lottumeb:
Thanks very much to everyone who contributed, it was very helpfull and i managed to merge 2 databases.

1 .crypt from the galaxy s2, 1 plain.db from s4.

Everything went fine with merging the 2, but the following problem occurs.

(My s4 is rooted and i can edit/write in phone system files)

I copy the merged msgstore.db into data/data/....../databases and replace the existing file.

Then is open whatsapp and look into messages, everything works, but i have a problem with 2 contacts.

When i scrolll upwards to older messages, it works at first, but at some point whatsapp is hanging and then crashes.

I merged the original files 3 times over, but everytime it are the same 2 contacts that make whatsapp crash.

Those 2 are contacts i have the most messages from and chat with them the longest.

In total it are only about 3000 messages.

Anyone else have the same issue?

Any idea what the problem could be (maybe difference in files between s2 and s4)?
[Android Apps and Games] nttcar:
How do you resolved ? I went to computer name and add path with system variable but still got the same error
[Android Apps and Games] redlag:
Don't remember now. Sorry.

Try restarting the pc or just ignore the error.
[Android Apps and Games] haseogu:
Thank you, this is a great application.
[Android Apps and Games] djuve:
I have decrypted de msgstore.db.crypt. It was corrupt, but the file is decrypted to msgstore.db. If i want to read the file by whatsapp_xtract_android.bat he asked for a wa.db. I cant find the file on my HTC Wildfire. The file msgstore.db can i read by

SQLiteDatabaseRecovery

I want to put the databas on a samsung S4. If i copied the file to the root of the samsung and install the Whatsapp. He asked to restore the backup, but he crashed. He told me that the file is corrupt on line -2. This is by the file msgstore.db.crypt and msgstore.db.

How can i repair the database, i cant find the solution!!
[Android Apps and Games] OB-bob:
Wazapp

does this work with the *.db data of the Nokia N9? it runs on Meego (no Symbian or S40)

also, if i can get the conversations out of my N9 can i merge them with an Android backup?
[Android Apps and Games] Cimmero:
support for the BlackBerry

Hello to all.

there is a hope that there is also support for the BlackBerry?

Does anyone know a method?

Thanks to all
[Android Apps and Games] nickmiller980:
Myjad iTunes Backup Extractor offer you a solution for recovering only iPhone SMS from iTunes backup. iTunes Backup Extractor enable you to recover iPhone SMS accurate to certain contact and message which are missing or deleted accidently.
[Android Apps and Games] LightC:
I'm having the same issue with whatsapp crashing when viewing a conversation history that was merged from two databases. Interestingly, some of my merged conversations have no issues but one important one in particular is giving me issues =/

---------- Post added at 10:06 AM ---------- Previous post was at 09:25 AM ----------

correction, it looks like all merged conversations crash depending upon how far up I go in the conversation
[Android Apps and Games] primhuman:
PM me solutions and post to others too .

Attached :

View attachment whatsapp.zip
[Android Apps and Games] primhuman:
help any ?
[Android Apps and Games] shreymehta:
not able to install pyCrypto library

i have installed pyCrypto but it gives the following error

C:\Program Files\whatsapp message reader>rem If you want to decrypt android what

sapp msgtore.db.crypt files, then you need to run this (after installing ActiveP

ython)

C:\Program Files\whatsapp message reader>"C:\Program Files\Python27\Scripts\pypm

" install pycrypto

skipping "pycrypto"; already installed at "%APPDATA%\Python" (2.7)

C:\Program Files\whatsapp message reader>"C:\Program Files\Python27\Scripts\pypm

" show pycrypto

Name: pycrypto

Latest version: 2.5

Author: Dwayne C. Litzenberger <dlitz@dlitz.net>

Summary: Cryptographic modules for Python.

Home Page: http://www.pycrypto.org/

Available versions: 2.5, 2.4.1, 2.4, 2.3, 2.2, 2.1.0, 2.0.1

Status: Already installed (2.5) at "%APPDATA%\Python" (2.7)

C:\Program Files\whatsapp message reader>setx pythonpath "C:\Program Files\Pytho

n27"

'setx' is not recognized as an internal or external command,

operable program or batch file.

_

Press any key to continue . . .

after this whatsapp_xtract_android.bat or whatsapp_xtract_android_crypted.bat just show the following

C:\Program Files\whatsapp message reader>python whatsapp_xtract.py msgstore.db.c

rypt

'python' is not recognized as an internal or external command,

operable program or batch file.

C:\Program Files\whatsapp message reader>pause

Press any key to continue . . .

so i guess pyCrypto isn't installed properly or at all

so the previous step...

i have successfully installed python from activestate.com

but i'm not able to install pyCrypto library

it shows the following error

C:\Program Files\whatsapp message reader>rem If you want to decrypt android what

sapp msgtore.db.crypt files, then you need to run this (after installing ActiveP

ython)

_

Could not find the Python directory. Please make sure that ActivePython is insta

lled in either C:\Program Files\Python27 or C:\Program Files\Python32

_

Press any key to continue . . .

what do i have to do??

your help is very much appreciated.
[Android Apps and Games] fayezbalhas:
i made all the steps, but didnt work.

the database i have is for an old version of whatsapp, maybe more than a year ago.

is that the problem?
[Android Apps and Games] AbhishekS:
I had a bootloop and so I manually copied msgstore.db and wa.db to sdcard from recovery before wiping the phone. How do I convert msgstore.db to msgstore.db.crypt to restore the messages to my phone again?
[Android Apps and Games] Spytronic:
Congratulations

This tool is amazing, thanks for all involved. The forensic community thanks.:good:
[Android Apps and Games] ZyosxD:
urgente

Buenas noches, necesitan con urgencias actualizar... no puedo completar la operacion, me sale un error

Good night, needed emergency update ... I can not complete the operation, I get an error:eek:

ImportError: No module named Crypto.Cipher
[Android Apps and Games] djuve:
I have decrypted de msgstore.db.crypt. It was corrupt, but the file is decrypted to msgstore.db. If i want to read the file by whatsapp_xtract_android.bat he asked for a wa.db. I cant find the file on my HTC Wildfire. The file msgstore.db can i read by

SQLiteDatabaseRecovery

I want to put the databas on a samsung S4. If i copied the file to the root of the samsung and install the Whatsapp. He asked to restore the backup, but he crashed. He told me that the file is corrupt on line -2. This is by the file msgstore.db.crypt and msgstore.db.

How can i repair the database, i cant find the solution!!

Can somebody help me!!
[Android Apps and Games] TheMegastar:
Can Chat Conversations after last backup but before next be restored??

Hi friends,

I had to uninstall my Whatsapp and re install the latest version. But I forgot to backup my latest/current chats. I know that Whatsapp automatically backs up chats at 4:00 AM every day, but what about chats which were not backed up at the time of uninstall. Can those chats be recovered somehow?

After re installing the new version, on pressing the RESTORE option all my chats till yesterday were restored. But not the chats I had during the day today. Can they be recovered somehow?

Cheers!

EDIT : My device is Samsung Galaxy S II running on 4.1.2 Jelly Bean
[Android Apps and Games] phiwwa:
wa.db

My Android phone is not rooted.

Is there a possibility to create an wa.db to have the names instead of the numbers in the msgstore.db.html ?
[Android Apps and Games] kh525:
Get this error message :( - please help!!

Hi Guys

Please can you help, I followed all the instructions in installing the whatsapp extract software, etc, and keep getting this error message in the fina step when trying to open the bat file or drag and drop:

C:\Whatsapp>python whatsapp_xtract.py msgstore.db.crypt

'python' is not recognised as an internal or external command, operable programme or batch file

I've tried reinstalling everything several times, and it keeps coming up with this error, will be very grateful if anyone can help.

P.s. please note, this may also be relevant...one of the steps i couldn't strictly follow was to run the 'install pyCrypto.bat file as administrator as recommended, as when i right click on it, it doesn't give me that option. So instead i just double clicked on it to open it. And when it ran, towards the end of the script it comes up with the following message:

C:\Whatssapp>setx pythonpath "C:\Programme Files\Python27"

'setx' is not recognised as an internal or external command, operavle programme or batch file.

Will be extremely grateful to anyone that can help!!!

Many thanks

kh525
[Android Apps and Games] Blinkin89:
I remember that the tool has problems with older versions because of a different db structure, but don't take my word for it... I'm not totally sure.

Errr... afaik we can't convert it to a crypt (yet).

Make sure you followed these stapes carefully:

[*]You need Python and (for Android msgstore.db.crypt decryption) the PyCrypto library

The easiest way is to install ActivePython

!! on Windows choose 32bit/x86 version even if you have 64bit windows (if not you will get an "requires Business Edition subscription" error!):

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

It's available for Windows, Linux and Mac. However in my HowTo, I focus on Windows.

and then run !install pyCrypto.bat (contained in this archive. The best is to rightclick on it and choose "run as administrator".)

If you have troubles installing pyCrypto this way, then please try to install it using an installation package from this site (Thanks, andcha!): http://www.voidspace.org.uk/python/modules.shtml#pycrypto

If it doesn't repair the db by itself then it might be completely corrupt. But it might be possible to repair them manually. There's a tutorial on one of the first pages in this topic.

Before you're going to try this... Can you check the file size of the db for me? It should at least be a few mb's.

Nope, the only way you can get such a backup is creating it manually within WhatsApp which you didn't (else you wouldn't ask this question :p).

There's an alternative which is coping the real database (not the backup) which you can do if you're rooted.

The problem is that when you uninstall WhatsApp... you also remove the app data which includes this database.

So in short: no there's no way, those messages are lost for ever.

I guess you could if you're able to get an example wa.db so you can manually refer each number to a contact.

Not running it as a admin might have to do with this. Your account probably doesn't have the rights to run something as a admin. Login on a account with admin privileges and try again. It needs those rights to register some Phyton commands.

NOTE TO ALL mentioned above:

If you're having problems related to Phyton then this might be helpful information... just guessing here though.

Some problems might be caused by new versions of Phyton which don't know some (older) commands (I'm talking about something I don't know much off).

I'm using the following version of Phyton: ActivePython-2.7.2.5-win32-x86.

Might be helpful... or it just doesn't matter.
[Android Apps and Games] djuve:
If it doesn't repair the db by itself then it might be completely corrupt. But it might be possible to repair them manually. There's a tutorial on one of the first pages in this topic.

Before you're going to try this... Can you check the file size of the db for me? It should at least be a few mb's.

Thanks for your answer. The file size is 14,3 MB. How can i repair this file? On which page is te tutorial to find, or is it impossible. I hope not!!
[Android Apps and Games] Blinkin89:
Well at first make sure you're using at least version 2.51 or higher.

If it doesn't auto repair you can repair it manually by following these steps.

Soma additional information about a similar problem can be fount here.

Just one thing: the 'how to repair' was just on the first page. I found the other posts by using the search bar 'search in this thread'

. It's not very hard to use and this just took me about 5-10 minutes. Just saying. ;)
[Android Apps and Games] djuve:
I have opened the crypted file by whatsapp_xtract_android_crypted. He repaired automaticly the file and made html files. He made also a repaired file msgstore.plain.db.repaired. If i copied the file to the new phone he don't reconnized the file, only if i put the crypted backup file on my new phone. How can i get the file msgstore.plain.db.repaired as crypted so i can use the file in my new phone.

The description on page 1 to repair the file isn't working or i do something wrong.

The file temp.sql is 1kb. Thats not ok if the crypt file is 14 mb.