yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] hgc2002:
Not working any more. Try Andriller in the meantime.

Andriller.com worked perfectly because it access directly the .db files from WhatsApp.

If you have root access to your phone files, you can use Andriller to get a good report of your WhatsApp messages.

The output is even in Excel format, so you can even feed other programs / scripts with the data without crunching your fingers on the keyboard.

Well done, Andriller!
[Android Apps and Games] jok3r87:
Any news to open messageStore.db for blackberry ? :crying:
[Android Apps and Games] namnoops:
Merjapp

I've recently lost my phone in a terrible sea-dipping accident, and needed to merge its database with that of the temporary phone I bought on my vacation.

Since the instructions I found on this thread where partial at best, I worked hard at manually merging my two databases to perfection, and then decided to write an automatic tool to do the task.

Yes, very smart :)

You're welcome to try it out here.

Cheers!
[Android Apps and Games] Madmadmaddy:
Urgent...Half success..half failure

Hello !!

Everything went good but i got stuck at the end.

Nothing happens when i open: whatsapp_xtract_android.bat

nor when i use drag and drop option.

Only a command prompt opens and then nothing.

Please help.

will i have to copy entire whatsapp folder as it is so file directory is "Whatsapp/Database/...." ??

or what ?

where should i keep .crypt file ?

whatsapp extract folder is on desktop screen.

Please help.
[Android Apps and Games] patgbs123:
solution

did you ever find a solution to the icloud and whatsapp issue

Used for my iPhone

Works fine with local backups made by itunes and stored on my PC.

But...

When i tried to use ChatStorage.sqlite downloaded with iCloud backup (used Elcomsoft Phone Password Breaker ver. 1.92 build 1445, which allows to download icloud stored backups to PC) the program sets itself in android mode (dunno why) tries some decyptions and nothing works out.

The sqlite files from local and icloud backups are the same size and date but the one from icloud wont work with the program.

Any ideas on this? Might icloud encrypt the backup or just the whatsapp files somehow? Call history, SMS, notes etc. are read by other software used to view the backup, but whatsapp messages are still not read as well.[/QUOTE]
[Android Apps and Games] Weird_Bird:
Organize photos

Is it possible to make that also organize (move/copy) the images from the original path to sub folders named as the contact/his number?
[Android Apps and Games] Vic.:
Has anyone succeeded in opening a Windows Phone backup?
[Android Apps and Games] aminpro715:
I tried to merge with your tool but it did not seemed to really merge anything. I end up with the same two files I got from the beginning.
[Android Apps and Games] namnoops:
See my answer on the application thread :)
[Android Apps and Games] kuti84:
Can someone help me please? I have only crypt7 files. I need to open it. I tried too many program but I couldn't do it.
[Android Apps and Games] kuti84:
Omg. Too many people at here but noone hear me :(
[Android Apps and Games] TripCode:
The process:

1.) Device generates 2 hashes. One random and one based on your gmail.

2.) This info is sent to WhatsApp (must be logged in) and they generate the decryption key by seeding the random hash.

3.) The key is then saved to your device.

What you suggest can be done, but is pointless because it would only work on the original device (that's logged in).

FYI: Seeding is account based using a method only known to WhatsApp. I.E. You cannot use one account to request a key that will work with another. Also, if you ask for too many keys whilst logged into the same account then WhatsApp will suspend you. It's all bolted down pretty secure these days.

You will need to explain what you have tried if you expect anybody to help.

First of all, do you have the crypt7 decryption key from the original device that the crypt7 backup files came from? If not, then do you have access to the original device so that you can obtain the aforementioned key?

If you answer no to both the above, then there is nobody that will be able to help you as it's currently impossible to decrypt the file any other way.

See reply to previous question.
[Android Apps and Games] daimyorl:
I have been reading the source code and notice that this extractor tries to find out the name of the media files based on the date and size recorded on the database.

Why is it like that? There is no current field in whatsapp with the path of the files?

I'm interested in knowing more about that because some of my files exist in the sdcard but are not being picked up by whatsapp. I have tried the whatsapp backup, with Titanium Backup, reinstalling, clearing data...
[Android Apps and Games] johnwill888:
Error

I keep getting the following error, even after trying to uninstall and reinstall everything:

Python Version 2.x
iPhone mode!

*** METADATA PLIST DUMP ***

Plist ver.: 1
UUID:
ListsRequested: True
NSStoreModelVersionHashesVersion: 3
GroupsRequested: True
NSStoreModelVersionIdentifiers: ['2.11.5']
NSPersistenceFrameworkVersion: 479
NSStoreModelVersionHashes:
WAMessageWord: uI3vOPgV67W88Lb/5nQ7H+koKaxi7DrnyUwKRFVk05U=
WAGroupInfo: eSGZH+oIvii5cwqLHsBeWVbSQaWgoMSRfr27k1aBcgQ=
WABroadcast: aryOIMrXvcETzP0GUb2TAlCvB//b82ISmkfbcW5z7Nk=
WAGroupMember: Bixzg/JWorjHdKKG9ChcELk99mA9hKpKFCKvr37iW34=
WAMessage: PxbcN/a/eSEU1PaJ38KqxU/3pOD4maxxcWYdZFI1v+M=
WAChatSession: IPc7JcSLIDJEKbreSwyThbwrostnkKlkA0fTUuDvF40=
WAChatProperties: F4Z/TeC3UHNEjwQKYM7jaTKQUjuIIS1dGFGW9cRKyYg=
WAMediaItem: JHz80+O+pUeKqLqw9Ecy8gKXPhg3zgmymapluv8fueM=
WABlackListItem: tUA3p+9kSuWHiSPnaawz92JFG1ZbX1lYqXQ5LZKKJrI=
_NSAutoVacuumLevel: 2
PicturesInSync: True
DefaultWP: True
NSStoreType: SQLite

***************************

Traceback (most recent call last):
File "whatsapp_xtract.py", line 2062, in <module>
main(sys.argv[1:])
File "whatsapp_xtract.py", line 1279, in main
curr_message = Message(msgs["Z_PK"],msgs["ZISFROMME"],msgs["ZMESSAGEDATE"],m
sgs["ZTEXT"],contactfrom,msgs["ZMESSAGESTATUS"],media["ZMEDIALOCALPATH"],media["
ZMEDIAURL"],media["ZTHUMBNAILDATA"],ZXMPPTHUMBPATH,mediawatype,media["ZFILESIZE"
],media["ZLATITUDE"],media["ZLONGITUDE"],media["ZVCARDNAME"],media["ZVCARDSTRING
"])
IndexError: No item with that key

Can someone point me on the right direction? Am I missing something?
[Android Apps and Games] aarishcs2:
HELP :|

hey guys is it possible to extract messages from a windows phone ? if yes please help me . i did not find any links related to it
[Android Apps and Games] abhaymule:
Ab:confused:
[Android Apps and Games] Terente81:
C:\Whatsapp>python whatsapp_xtract.py msgstore.db.crypt
Python Version 2.x
Android mode!

trying to repair android database...
trying to decrypt android database...
decrypted database written to msgstore.plain.db
printing output to msgstore.db.html ...
done!

C:\Whatsapp>pause
Press any key to continue . . .

And I get back only the top header of the page of whatsapp without message or anything else. Where I mistake?
[Android Apps and Games] cpl.Bower:
If you got a msgstore.db.crypt7 DB try WhatsApp Tri-Crypt to convert this file to msgstore.db :D
[Android Apps and Games] haldo98:
enoji

Hi.. since the version 2.2 there are new enoji that are not recognized by the html....

any chance to get the new ones?

thanks
[Android Apps and Games] ralpha17:
Not working for me

I'm on Windows 8.1. I installed Python 2.7 and ran the batch file; everything apparently installed correctly but I'm getting the following (see attachment) when trying to open one of the db files.
[Android Apps and Games] AmyPP:
I just have the "wallpaper.bkup" file.

Is there any way to decrypt it?

Any software, something?

I've seacherd all the internet looking for a solution but I couldn't find any.
[Android Apps and Games] Leandro.DR:
When I drag the file on the whatsapp_xtract_drag'n'drop_database file (s) _here.bat, the screen appears informing a mistake, says "No module named Crypto.Cipher". Nothing happens. Can anyone guide me?
[Android Apps and Games] Ruben Jb:
I got the same problem as you... Can anyone help us?
[Android Apps and Games] julianmd:
[MENTION=5967140]ralpha17[/MENTION]: You're trying to decrypt a .crypt7 file. See below.

Get and install PyCrypto 2.6 for Python 2.7 from voidspace. The link is in the first post, please look it up, I have made a new account here and cannot post links yet.

LE: I see you're trying to decrypt a .crypt7 file, that isn't going to work, as it is the new crypt method of Whatsapp. You need to get your decrypt key from /data/data/com.whatsapp.apk/key (needs root) and need to use some other tool to decrypt the db.

Alternatively, you can use WhatsApp Tri-Crypt app to convert the file to old crypt format and then browse it from the tool.
[Android Apps and Games] Leandro.DR:
[MENTION=6191140]julianmd[/MENTION]

Thanks!

Is there any method without root? It is a particular case of mine. I got the phone databases of my wife. But the device has no root and will not have time for this.
[Android Apps and Games] julianmd:
What crypt type are those databases? 5, 7, normal? You can use the whatcrypt website for to decrypt the crypt5 type and download msgstore.db, which you can then view with whatsapp xtract.
[Android Apps and Games] Leandro.DR:
The files are crypt 7. You could show me sites to test?
[Android Apps and Games] julianmd:
If you have crypt7 files, it should mean the device is rooted.

1. Get the Root File Manager app from the Play Store

2. Go to data/data/com.whatsapp/files and copy the "key" file to Dropbox or email

3. Go to the whatcrypt website and upload the key file and the crypt7 file. They will decrypt it and you will download a file with .db extension

4. Use whatsapp xtract to view the conversations.

If it's not rooted, I'm afraid you're out of luck. The crypt7 files can only be decrypted with the key file attached.

Sent from my SGH-M919
[Android Apps and Games] mukptl:
Problems with Encrypted content after uninstall whats app

i uninstalled whatsapp and install again but all my photos and videos i cant open how to get them babk

photos are there but cant see them see attached pic

[IMG="photos cant open"]https://lh3.googleusercontent.com/YtBMwtoTolvifWUybBLcOrliowr3wwfxuX0r4ZKyjw=w124-h207-p-no[/IMG]
[Android Apps and Games] julianmd:
I will try it when I get home and report back ASAP. Basically uninstall it and reinstall it, yeah?

Sent from my SGH-M919
[Android Apps and Games] oshogoles:
I need help to decrypt msgstores

Good afternoon,

Recently, my brother died, I have some MSGSTORE files I attached my current key of phone samsung android system 1

The key was modified to update whassap on October 17, as can decrypt retrieve messages and conversations my brother now deceased.

Can you decrypt and send them to me by email?

I hope nearly satisfactory response due to gravity and delicacy of the messages are of great importance

They can ask me any document needed to prove the information I provide them

Thanks for your attention and dedication
[Android Apps and Games] julianmd:
Hi.

You can use the msgstore.db.crypt5/crypt7 and the key file with the whatcrypt website and you can try to decrypt them there. They will give you a decrypted msgstore file, which you can use with Whatsapp Xtract to open and view the conversations. If you need any help, just reply and I'll get back to you as soon as I can.

You can also send me a PM if you wish further help or if you want me to do that whole process for you.

Good luck!
[Android Apps and Games] Mtax:
hi

Nokia n8 w.a backup MsgStore.bak.1 open error ;

C:\WhatsApp\wa>python "C:\WhatsApp\whatsapp_xtract.py" C:\WhatsApp\wa\MsgStore.b

ak.1

Python Version 3.x

Android mode!

trying to repair android database...

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

operable program or batch file.

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

operable program or batch file.

trying to decrypt android database...

Traceback (most recent call last):

File "C:\WhatsApp\whatsapp_xtract.py", line 961, in main

c1.execute("SELECT * FROM chat_list")

sqlite3.DatabaseError: file is encrypted or is not a database

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "C:\WhatsApp\whatsapp_xtract.py", line 979, in main

c1.execute("SELECT * FROM chat_list")

sqlite3.OperationalError: no such table: chat_list

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "C:\WhatsApp\whatsapp_xtract.py", line 2062, in <module>

main(sys.argv[1:])

File "C:\WhatsApp\whatsapp_xtract.py", line 995, in main

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

File "C:\Program Files (x86)\Python32\lib\site-packages\Crypto\Cipher\blockalg

o.py", line 295, in decrypt

return self._cipher.decrypt(ciphertext)

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

Press any key to continue . . .

Help me :)
[Android Apps and Games] julianmd:
Whatsapp Xtract is not made to work with .bak files. In Whatsapp, go to Settings -> Chat settings -> Backup Conversations. Then get the .db or .crypt5/7 file and the "key" file from data/data/com.whatsapp.com/files or your equivalent on your phone. If you have crypt7 files, use it on the whatcrypt website with the key file and then use the file you get from them with Whatsapp Xtract to view your conversations.

Sent from my SGH-M919
[Android Apps and Games] stavBodik:
Thanks ! ;)
[Android Apps and Games] 4v.Alone_Easley:
Not working to me

I'm getting this error everytime i try to open the .db file, it says "The DLL file is not a win32 valid application

Any idea how to solve it? Thanks in advance!
[Android Apps and Games] julianmd:
I can't work out the name of the .db file from your screen shot. What's the filename of your .db file? Have you tried using it with the drag'n'drop of the Xtract app?

Sent from my SGH-M919
[Android Apps and Games] hoger:
hi

please help me with this error

IndexError: No item with that key
[Android Apps and Games] julianmd:
I'm guessing you obtained a database associated with another key file. I'd recommend manually backing up your conversations and then getting the files again.

Sent from my SGH-M919
[Android Apps and Games] ArikMz:
Nice! thanks for that!
[Android Apps and Games] doras100p:
Traceback (most recent call last):
File "C:\Users\Dor\Desktop\Whatsapp_Xtract_V2.2_2012-11-17\whatsapp_xtract.py"
, line 2453, in <module>
main(sys.argv[1:])
File "C:\Users\Dor\Desktop\Whatsapp_Xtract_V2.2_2012-11-17\whatsapp_xtract.py"
, line 1667, in main
curr_message = Message(msgs["Z_PK"],msgs["ZISFROMME"],msgs["ZMESSAGEDATE"],m
sgs["ZTEXT"],contactfrom,msgs["ZMESSAGESTATUS"],media["ZMEDIALOCALPATH"],media["
ZMEDIAURL"],media["ZTHUMBNAILDATA"],ZXMPPTHUMBPATH,mediawatype,media["ZFILESIZE"
],media["ZLATITUDE"],media["ZLONGITUDE"],media["ZVCARDNAME"],media["ZVCARDSTRING
"])
IndexError: No item with that key

What should I do?

Thanks!
[Android Apps and Games] julianmd:
What file(s) did you use?

Sent from my SGH-M919
[Android Apps and Games] doras100p:
The drag and drop one with a chatstorage.sqlite file
[Android Apps and Games] julianmd:
Try using msgstore.db instead. If it's a crypt7 file, you need to get the key file too, upload them to the whatcrypt website and then use the msgstore.db file from there.

Sent from my SGH-M919
[Android Apps and Games] Super777man:
I got the msgstore.db file from whatsapp but after using the tool, I have the html extracted file but only numbers, no corresponding names. Anyone can help?
[Android Apps and Games] julianmd:
I think that's because the database hasn't been properly backed up before extracting it. You need to go to Whatsapp - Settings - Chat settings - Backup conversations.

Take note I'm not sure about this, though.

Sent from my SGH-M919
[Android Apps and Games] str2der:
When I click "Decrypt WhatsApp Database" I only get: "Crypt 6/7/8 key is corrupt or does not exist!".

I have a rooted S4 (i9505) with Cyanogenmod 11. App has SU rights.

Any help is much appreciated!

// Anders
[Android Apps and Games] julianmd:
You'll have to use the "key" file from /data/data/com.whatsapp/files.

Sent from my SGH-M919
[Android Apps and Games] Jenks De Bobo:
Fast Way To Read Old Crypted Whatsapp Messages

How To Read Old Crypted Whatsapp Messages

The easiest and fast way to read Encrypted Old or New Whatsapp Messages is to load the backup of your messages into a new or any phone with whatsapp. Follow These Steps:

Blackberry

1. Backup your current Whatsapp messages. Click here to see the steps for backing up messages on whatsapp.

2. UNINSTALL whatsapp from your blackberry.

3. Get the old backup of your whatsapp messages from your old phone into a folder called "backup"

4. Located the backup folder on your Blackberry which can be found using "File Manager", - Device - Misc - whatsapp - backup

5. move the new backup of your whatsapp found in step 1, into a secured place - This will restore your current whatsapp messages. Incase you do not have this backup, click Here to see steps on how to backup your current whatsapp messages.

6. Now move your old backup from wherever you kept it or from the old phone into the folder "backup" - Device - Misc - Android - whatsapp - backup

7. Go to blackberry world and reinstall whatsapp

8. Go through the installation steps and it should prompt that "Whatsapp found backup and do you wish to restore" accept to restore and should inform you of the number of messages restored.

9. Once the installation is complete, lunch whatsapp and read you old messages.

10. Donate by Sharing. Cheers

Contact me for help....
[MENTION=1387503]agbo[/MENTION]olaolomola
[Android Apps and Games] testobomber:
can anybody tell me how i can extract the key file from a non-rooted motorola?

can i use an adb-pull command with the right path for this?
[Android Apps and Games] 0x0rbit:
Am I able to backup/move the key file from /data/data/com.whatsapp/files/key to the SD-Card on a non rooted device with an app, written by myself?
[Android Apps and Games] spicediablo:
New to this, I am trying to merge 2 files, however when i try to open them(.db.crypt8) in sqlite browser, it says invalid file format. How do I decrypt them first?
[Android Apps and Games] julianmd:
I'm pretty sure the adb-pull requires root in order to work. You could try it and tell us if it works, though.

No, the app folder requires root in order to see/do anything within it.

You need to get the "key" file from /data/data/com.whatsapp/files/ and then head to the whatcrypt website and upload them there. They will give you an unencrypted file to download afterwards.

Sent from my SGH-M919
[Android Apps and Games] spicediablo:
That means I'll need root to get the key... One file is from uprooted phone, another is on rooted phone. Both are registered to the same number, will the same key work? I do not wanna root another phone.
[Android Apps and Games] julianmd:
I'm not sure, to be honest. Could you try it and post your results?

Sent from my SGH-M919
[Android Apps and Games] spicediablo:
I'm new here. Can anybody guide me on how to merge 2 whatsapp msg.db with detailed instructions. Old database is from HTC and new database is from Nexus 4. Both are registered to the same number. Much appreciated!!
[Android Apps and Games] kayuz:
pleasee I need it too :(((( merge two databases :(
[Android Apps and Games] Miki800:
Please help:

#python3 whatsapp_xtract.py msgstore.db -w wa.db
Python Version 3.x
Android mode!

Traceback (most recent call last):
File "whatsapp_xtract.py", line 2454, in <module>
main(sys.argv[1:])
File "whatsapp_xtract.py", line 1487, in main
curr_chat = Chatsession(chats["id"],chats["display_name"],chats["jid"],None,chats["unseen_msg_count"],chats["status"],lastmessagedate)
IndexError: No item with that key

I've used SQLiteDatabaseBrowser to verify that both db files are intact and not corrupt,

also I was able to generate a html file using this command line:

#python3 whatsapp_xtract.py msgstore.db

but I'm not satisfied as it has phone numbers instead of contact names.

Please tell me what do I need to do?

or is it a known issue with whatsapp_xtract not being up to date with the latest whatsapp wa.db format?

if so, can somebody tell me how to convert the supposedly new wa.db version to an older one so that whatsapp_xtract will work again?

thank you....

[EDIT]

Fixed it myself, went to the line of the exception, figured out what was the problem:

in the mentioned line (1487):

curr_chat = Chatsession(chats["id"],chats["display_name"],chats["jid"],None,chats["unseen_msg_count"],chats["status"],lastmessagedate)

there is an attempt to address the key "id", but in a latest (as of when writing this edit) of whatsapp

that key had been renamed to "_id", so to quickly solve the issue I replaced that line with the following code:

id_name = 'id'
if id_name not in chats.keys():
id_name = '_id'
curr_chat = Chatsession(chats[id_name],chats["display_name"],chats["jid"],None,chats["unseen_msg_count"],chats["status"],lastmessagedate)

and it worked beautifully.

[/EDIT]
[Android Apps and Games] Vithia:
!!! Extract Whatapp Database Please !!!

Hi Would you be able to extract my old blackberry whatsapp data base for me.. i have tried but keep failing :( :( :(,

I really need this file needed urgently for work.

if someone can help please respond and i shall email the database file to them.
[Android Apps and Games] zaidnajid:
hi i also having the same error

C:\Users\geek\Desktop\New folder>cmd.exe /t:A0 /k python whatsapp_xtract.py -h

'python' is not recognized as an internal or external command,operable program or batch file.

dear friends, please help
[Android Apps and Games] stellage:
Getting Error "Choose a .db or .crypt (5/6/7/8) file"

I can download the crypt 8 file just fine to my pc.

When I want to export it to HTML on "whatcrypt.com/?cmd=_export"

It uploads the file, then after the upload gives me the error:

"Choose a .db or .crypt (5/6/7/8) file"

There is nothing wrong with the file,

because when I use the drag-and-drop method it puts the file into html with no problem.

I just like to format of whatcrypt.com bettter.

So why do I get the error??

Thanks a million
[Android Apps and Games] Hrga28:
Guys i need help.

Is there any way that i can access msgstore.db.crypt7 or msgstore.db.crypt or msgstore.db. without key. When i trie to open msgstore.db i got this message: Invalide file format. or in whatsappviewer: Decryption failed. Invalid key file or account name.

Please someone help, it's very important.
[Android Apps and Games] dadnammit:
Not without they key. :/

Crypt7 are encrypted.
[Android Apps and Games] megi23:
No module named Crypto.Cipher

With any method I use it keeps showing this (attachment)
[Android Apps and Games] galaxykeks:
Would like to archive my chats from a non rooted phone to start from scratch... if i can avoid i'd like to do it without rooting...

But it's not working with crypt8 is it?
[Android Apps and Games] exa_gon:
some problem with images, media in general

Hi at all,

i've some problemi wih images inside WA, i explain :

I've migrated WA from some roms, and now when I access to old media, the phone report me "image not found in your sd card" because i've saw on he message db the path is not the new path on the phone

path for image : storage/emulated/0

new path : /sdcard/0

there is a way to change the path on the oldest images ?

I've decrypted the db and open by sql browser but on the data field there is a raw image data, its is possible to convert and replace with the good path ?

another thing, the images are present on the device.

Someone can help me ?
[Android Apps and Games] brainsoft:
Windows Phone 8.1 support

I was wondering if there's any news about support for Windows Phone 8.1. Currently, all methods developed to decrypt and open backup files from either iPhone or Android do not work with Windows Phone. I can easily access the messages.db file (it's on the phone's SD card), but I can't find any method to access the data in the backup file, either using WhatsApp or any desktop application.

Thanks for helping me!