yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] na2016:
Firstly many thank for you answer, but doesn't work.

I have a lot of errors message: one of them: failure INSTALL_FAILED_INVALID_APK

WhatsApp 2.16.57 installed

Found legacy WhatsApp 2.11.431 in local folder

Backing up WhatsApp 2.16.57

2615 KB/s (24889374 bytes in 9.292s)

Backup complete

Removing WhatsApp 2.16.57 skipping data

Success

Removal complete

Installing legacy WhatsApp 2.11.431

0 KB/s (135 bytes in 1.000s)

pkg: /data/local/tmp/LegacyWhatsApp.apk

Failure [INSTALL_FAILED_INVALID_APK]

Install complete

Now unlock your device and confirm the backup operation.

Strong AES encryption not allowed

Magic: ANDROID BACKUP

Version: 3

Compressed: 1

Algorithm: none

1024 bytes written to tmp\whatsapp.tar.

bin\tar: Record size = 2 blocks

bin\tar: apps/com.whatsapp/f/key: Not found in archive

bin\tar: Error exit delayed from previous errors

bin\tar: Record size = 2 blocks

bin\tar: apps/com.whatsapp/db/msgstore.db: Not found in archive

bin\tar: Error exit delayed from previous errors

bin\tar: Record size = 2 blocks

bin\tar: apps/com.whatsapp/db/wa.db: Not found in archive

bin\tar: Error exit delayed from previous errors

bin\tar: Record size = 2 blocks

bin\tar: apps/com.whatsapp/db/axolotl.db: Not found in archive

bin\tar: Error exit delayed from previous errors

bin\tar: Record size = 2 blocks

bin\tar: apps/com.whatsapp/db/chatsettings.db: Not found in archive

bin\tar: Error exit delayed from previous errors

Extracting whatsapp.cryptkey ...

El sistema no puede encontrar la ruta especificada.

Extracting msgstore.db ...

El sistema no puede encontrar la ruta especificada.

Extracting wa.db ...

El sistema no puede encontrar la ruta especificada.

Extracting axolotl.db ...

El sistema no puede encontrar la ruta especificada.

Extracting chatsettings.db ...

El sistema no puede encontrar la ruta especificada.

Pushing cipher key to: /sdcard/WhatsApp/Databases/.nomedia

cannot stat 'tmp\apps\com.whatsapp\f\key': No such file or directory

Uploading cipher key to: http://whatcrypt.com/?cmd=_cryptkey

Cleaning up temporary files ...

Archivo eliminado: C:\Users\User1\Desktop\WhatsAppKeyExtract\tmp\whatsapp.ab

Archivo eliminado: C:\Users\User1\Desktop\WhatsAppKeyExtract\tmp\whatsapp.tar

Archivo eliminado: C:\Users\User1\Desktop\WhatsAppKeyExtract\tmp\waplen.txt

Archivo eliminado: C:\Users\User1\Desktop\WhatsAppKeyExtract\tmp\wapath.txt

Archivo eliminado: C:\Users\User1\Desktop\WhatsAppKeyExtract\tmp\wapver.txt

Archivo eliminado: C:\Users\User1\Desktop\WhatsAppKeyExtract\tmp\sdkver.txt

El sistema no puede encontrar el archivo especificado.

Done

Restoring WhatsApp 2.16.57

3723 KB/s (24889374 bytes in 6.528s)

pkg: /data/local/tmp/base.apk
[Android Apps and Games] TripCode:
That will most certainly be a show stopper! It's possible that the download of the legacy apk got corrupted. Delete tmp\LegacyWhatsApp.apk and try again. I did notice that the first mirror for the legacy apk is currently down. That may explain your problem. If you delete the corrupt apk and run the script again it will change to the second mirror automatically.

EDIT: The primary mirror was causing issues. The script has been updated and a new primary mirror has been added. You should still delete the old LegacyWhatsApp.apk before running the updated script.
[Android Apps and Games] TripCode:
Updated Version 4.4: Changed primary mirror for legacy apk.
[Android Apps and Games] na2016:
Good Job, this is OK, but now when I try descrytp the data bases with http://whatcrypt.com/, I cant, can you said me who do it, please?

Thanks
[Android Apps and Games] TripCode:
First you upload the whatsapp.cryptkey that you extracted to the section that says Upload Your Crypt 6-12 Key. Then you upload the encrypted database to Decrypt WhatsApp Database or Export WhatsApp Database. Alternatively, you can decrypt your encrypted files offline using WhatCrypt for Android.
[Android Apps and Games] TripCode:
Announcement: Moved project over to

GitHub

.
[Android Apps and Games] TripCode:
Your android backup is protected with a password and AES is not allowed on your Java setup.

First you need to install the Oracle Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files. I have attached them for Java 1.6, 1.7 and 1.8 respectively. They belong in your jre's lib/security folder.

Example locations:

Windows:

C:\Program Files\Java\jdk1.7.0_79\jre\lib\security\

C:\Program Files\Java\jre7\lib\security\

C:\Program Files (x86)\Java\jdk1.8.0_77\jre\lib\security\

C:\Program Files (x86)\Java\jre8\lib\security\

Linux:

/usr/local/jdk1.7/jre/lib/security/

/usr/lib/jvm/java-7-openjdk-*/jre/lib/security/

/usr/local/openjdk7/jre/lib/security/

OS X:

/Library/Java/JavaVirtualMachines/jdk1.7.0_79/Contents/Home/jre/lib/security/

Once these files are in place, re-run the script.
[Android Apps and Games] TripCode:
It would appear that the backup process failed. Do you have a master password set? If so, then that is the password you must use when you make the adb backup. If not then the backup will succeed, but normally the archive is empty (as it appears to be in your case). If you don't have a master password set then set one and use that password. Some devices will not allow a backup to be made unless the master password is set. I can confirm that you have fixed the previous error by installing the unlimited policy jars.
[Android Apps and Games] Jason761:
I left the password blank when it asked for it on my phone. Is this password supposed to be the one thats used to unlock my phone?
[Android Apps and Games] DLz88:
Usually is different. The backup password is a password that usually the phone asks you to set when you set all the other passwords (pin,fingerprint,lockscreen password,etc..). To avoid any password problem, before starting the process, remove all the security protocols: pin,fingerprint,lockscreen combination or whatever.

Inviato dal mio LG-H850 utilizzando Tapatalk
[Android Apps and Games] airforcesinblack:
Internet connection needed?

Hi,

I've used this before and it worked fine, but I tried using it again earlier without an internet connection and it didn't seem to work.

Is an internet connection required for it to work and if so why?

Thank you for your help
[Android Apps and Games] pinopisca:
Doesnt' work on samsung S 3 neo. The dos screen appears and the last frase is : " daemon started successfully ".......and no other .

What's the problem ????

Thank
[Android Apps and Games] TripCode:
Internet connection has always been required on first run. This is because it has to download a legacy version of WhatsApp.

This suggests that adb is waiting to connect to your device. Do you have the correct adb drivers installed? Do you have usb debugging enabled and is your device connected?
[Android Apps and Games] TripCode:
Updated Version 4.5: Fixed issue pushing cipher key to emulated storage.
[Android Apps and Games] airforcesinblack:
So the internet connection is used just to get the legacy apk and not doesn't send or store the whatsapp db anywhere online? That's awesome.

Thanks a lot for your help and hard work
[Android Apps and Games] pinopisca:
Exuse me,.....what are adb drivers ????

Usb debugging was enabled . The connection is ok !!
[Android Apps and Games] TripCode:
That is correct. Nothing is uploaded anywhere. Only a legacy WhatsApp is downloaded and once that has been saved locally it should work offline.

Usually they're bundled with the software that came with your phone. How were you able to confirm the connection is ok? Extract the attached bat file to the same directory as the other bat files and run it. Can you see your device listed? If not then the connection is not ok.
[Android Apps and Games] gremxulina:
I'm trying to decrypt the history from my Oneplus One device, but I keep getting the following message: 'WhatsApp is not installed on the target device", which is obviously not the case. Any ideas why I could be getting this message?

I'm also wondering whether it would be possible to decrypt a copy of the messages which is saved on the pc, instead of having to take it directly from the device.
[Android Apps and Games] TripCode:
The bat file automatically checks that the package: com.whatsapp is installed. If not then it will reply with that message. If the package really is installed then you can easily edit out the package check in the bat file and re-run it. Please be cautious, I have never had a report where it says WhatsApp is not installed when it is. Not unless the package has been renamed to something else (unauthorized clients).

With regards to your other question. You can easily decrypt the message backups providing you have extracted the cipher key. Click the link in my sig and download WhatCrypt for Android. This app is specifically designed for that purpose.
[Android Apps and Games] sparttan2264:
Latest Version 4.5: Batch script is not working properly

I am trying to connect my device properly & extract the data from my lollipop device ( same procedure that i followed for previous versions ) bt i am getting error " = was unexpected at this time " please give me a solution for the same

Thank You
[Android Apps and Games] TripCode:
Do you get the same error with the powershell script? Could you provide a screenshot?
[Android Apps and Games] sparttan2264:
Powershell script is working properly

Thanks :)
[Android Apps and Games] rayman3:
This script is working fine for me. It worked with 5 Phones (Samsung, Sony, HTC - Android Versions from 5.0.1 to 6.0.1) within 2 weeks. The next weeks, i test it with other phones.

But i have to use it offline (no internet) and on my first try on an online-device the server sends an error. So i download the legacy version of WA manually and save it into a folder.

I modified the script, not to check online of the legacy version and to take the legacy version from the folder. And that´s it.

But i´m suprised, that the saved msgstore.db is decrypted. I don´t need the key to extract it with WhatsApp Xtract. I only need the key to decrypt other backups from the database.

I´m already on the search for a tool to decrypt the other databases (>crypt9) offline, and not to use WhatCrypt or other online-tools, because that´s not reliable for me.

Previously i used Whatsapp_DB_Decrypt from Dfox, but the tool do not support databases >crpyt8.... Any ideas?

So very many thanks for your efforts!!!!
[Android Apps and Games] TripCode:
I'm glad that you have had a high success rate with this tool. Many thanks for your feedback. If you visit WhatCrypt and click on Install WhatCrypt for Android then you can download the apk version. It supports legacy crypt and crypt versions 5-12. No internet permissions are required and it will work offline.
[Android Apps and Games] SH8701:
Hi,

after having started the WhatsAppKeyDBExtract.bat I never get asked to confirm the backup operation (Samsung S4 active, Android 5.0.1, not rooted).

How can I solve this issue?

BR
[Android Apps and Games] TripCode:
Have you tried rebooting the device and trying again? USB debugging is enabled? Failing that, have you set a default backup password? If you have then remove it. If you haven't then try setting one. I've had mixed results with this same model and o/s (various service operator roms). Some have been a bit tricky, but I have gotten there in the end on all of them. Let me know how you get on.
[Android Apps and Games] SH8701:
First of all thanks for your hints. Well, I tried with another computer, set a backup password and everything seemed to run. However, neither files are stored in the folder named "extraced" nor a error message occured.

Can you give me some advice?

BR
[Android Apps and Games] CoLdIcE42:
Hi I am having some issues to the Tool seems to work properly but how can I read the extracted db? It seems like Whatsappviewer doesnt Support the db I recovered (its a db from a recent whatsappversion so probably Crypt12?). However Whatsappviewer only Supports decryption Up to Crypt8. Any Suggestions which Tool I need to read the db?
[Android Apps and Games] TripCode:
Does the same happen with both the bat version and the PowerShell version? Would it be possible to see some screenshots (even if there were no errors).

The extracted .db file is in SQLite3 format so can easily be read with DB Browser for SQLite. WhatsApp viewer should still be able to read the .db file as it's not encrypted. If you need to decrypt the crypt12 backup files then you can download WhatCrypt for Android. Just specify the database and key file paths and decrypt away.
[Android Apps and Games] CoLdIcE42:
You solved my problem :D thank you so much
[Android Apps and Games] airforcesinblack:
"The syntax of the command is incorrect" S6 Marshmallow error

Software worked fine with S5 Lollipop, but having problems with S6 on Marshmallow.

As soon as the phone is connected and the daemon starts successfully, the message "The syntax of the command is incorrect" and the program immediately closes.

What can I do?
[Android Apps and Games] milad0011988:
Thanks, It works perfectly.

But what is the best way to protect my device from stealing my whatsapp conversations.

It takes less than a minute and anyone who can reach my phone for a minute could steal them.

Technically answer please.
[Android Apps and Games] subs123456:
My Android phone is not prompting for "full backup" could someone please help. ?

---------- Post added at 01:15 PM ---------- Previous post was at 01:11 PM ----------

I am using "whatsapp key extractor" and my phone is not prompting for "Full backup". Could someone please help.
[Android Apps and Games] knahledgejd:
The syntax of the command is incorrect

Every time I try to run this I get the same error. Right after I plug in the phone I get "The syntax of the command is incorrect". I have run and ADB test and my device is visible. Any help would be greatly appreciated. I have an S6 Edge running 6.0.1

C:\WhatsApp-Key-DB-Extractor-master>whatsappkeydbextract

=========================================================================

= This script will extract the WhatsApp Key file and DB on Android 4.0+ =

= You DO NOT need root for this to work but you DO need Java installed. =

= If your WhatsApp version is greater than 2.11.431 (most likely), then =

= a legacy version will be installed temporarily in order to get backup =

= permissions. You will NOT lose ANY data and your current version will =

= be restored at the end of the extraction process so try not to panic. =

= Script by: TripCode (Greets to all who visit: XDA Developers Forums). =

= Thanks to: dragomerlin for ABE and to Abinash Bishoyi for being cool. =

= ### Version: v4.5 (17/05/2016) ### =

=========================================================================

Please connect your Android device with USB Debugging enabled:

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

The syntax of the command is incorrect.

C:\WhatsApp-Key-DB-Extractor-master>

if I run ADB test I get the following:

C:\WhatsApp-Key-DB-Extractor-master>bin\adb.exe devices

List of devices attached

02157df2931aa531 device

C:\WhatsApp-Key-DB-Extractor-master>

Does anyone have some suggestions?
[Android Apps and Games] moinkhan0137:
You are awesome !!

Many thanks brothers..!! I really so much thankful for your efforts! You are splendid! I was so much badly in need of this. God bless you. :) :good:
[Android Apps and Games] knahledgejd:
Did you ever find a solution to this? I'm experiencing the exact same problem
[Android Apps and Games] Elsin10:
I had a S3 with whatsapp then i made a backup by manually copying the whatsapp DB files to my pc. The DB files are crypt9.

I changed phones. Now i have a J7 and the whatsapp DB is crypt12.

What can i do to merge those crypt files ? I dont want to lose that chat history, specially those in crypt9.

Thanks
[Android Apps and Games] rayman3:
Hi TripCode, thanks for that hint, but i´m searching for a windows based tool. I don´t want to do it on an android device. I want to decrypt it on a workstation and offline. Any other suggestions?

---------- Post added at 12:45 PM ---------- Previous post was at 12:39 PM ----------

If you have problems with the backup-function

Hi guys, after using the script with several phones, i noticed, that some phones do not prompt the backup-button after starting the script. Some users here seem to have the same problem.

I got a solution, working fine for me: If the adb-backup starts and the screen will not show the backup-button, tap on the lower right side of the screen (where normaly the backup-button should prompt).

Now the backup starts, although there is no button and even you don´t set a password.

Try that. I hope it helps in somes cases. The script ist working fine (tried it last time last week with a sony Z2 on android 6.0.1 and the latest version of WA).:D
[Android Apps and Games] 3py0n:
anyone know if it's possible to still open the msgstore.db.crypt8 file even though I factory reset my phone? I know I need to grab the key but did not know this prior to reset.

Thanks!
[Android Apps and Games] knahledgejd:
Hey Everyone,

I'm going crazy not getting this to work on any device or any computer. Does anyone know what I'm doing wrong?
[Android Apps and Games] Karthick9966:
Whatsappkey/Dbextracter closes automatically

Hello XDA Genious,

I have tried and followed all the solutions, suggestions from the first page of this post.

But I am not able to succeeded.

below is the screen shot of my problem.

1. Java is updated and Directory of the extractor is corrected.

I am using Redmi 1s. i m trying to extract the key.

Mobile is in developper and debugger mode.

After executed bat file, the window is shows like below and closes automatically.

Please help me asap.
[Android Apps and Games] ToAruShiroiNeko:
I am getting a strange syntax error, I am unsure why this happens. I am running the batch file in WhatsApp-Key-DB-Extractor-master.zip and have added a few echos to see which like breaks.

Code fragment:

:nextVar

echo 1111

echo k %%k

echo v %version%

for /F "tokens=1" %%k in ("%version%") do (

echo 1111a

set %%k

echo 1111b

set version=%%v

echo 1111c

)

echo 2222

Output:

1111

k %k

v versionName=2.16.133

The syntax of the command is incorrect.
[Android Apps and Games] Baconator724:
Hey, I suppose the legacy version of Whatsapp that is temporary installed on the device is just modified of Whatsapp to have AllowBackup set to true. Could you also set Debuggable to true? This would allow me, you and the whole comunity to also extract the Whatsapp password and also allow an easier way to get the database files too, since it would not require the backup, so no passwords.

[MENTION=5771215]TripCode[/MENTION]
[Android Apps and Games] psychem:
im using 2.16.95 on Micromax Q380 and NOT getting the FULL BACKUP prompt. . i got that prompt on oneplus X with 2.16.95. usb debugging is enabled on both. What could be wrong with Q380?
[Android Apps and Games] Baconator724:
If your device is connect using MTP you should try PTP, or the other way around. Also please make sure your drivers are up-to-date.
[Android Apps and Games] psychem:
yes it was a driver issue!
[Android Apps and Games] jefffran:
where is the key stored on the PC once the app has completed running?
[Android Apps and Games] psychem:
in the extracted folder
[Android Apps and Games] Baconator724:
Try to make sure your backup password is correct (possibly reset it), make sure your Java is working fine and possibly open the tar file manually to make sure it isn't corrupt.
[Android Apps and Games] simonjebu:
need information for read deleted chat history in whatsapp

dear friends

im using moto e and i deleted some bank account number and information

i need to recollect all the information

but i am not rooted my phone

without rooting how can we recollect the deleted file form phone.
[Android Apps and Games] rayman3:
This thread is about how to decrypt whatsapp-chats.... Wrong thread??:confused:
[Android Apps and Games] alexman505:
Hi everyone!

I have got a Huawei P9 plus with Android 6.0 and 4.1 emui version. I have a strange problem: when I start the bat file the window show daemon starts in the port but it will close immediately and nothing is backupped.

How can I solve?

Inviato dal mio VIE-L09 utilizzando Tapatalk
[Android Apps and Games] simonjebu:
OK. sir. tell mw how to decrypt whatsapp-chats..?
[Android Apps and Games] alexman505:
Hi!

Scripts says

Extracting whatsapp.cryptkey ...

Extracting msgstore.db ...

Extracting wa.db ...

Extracting axolotl.db ...

Extracting chatsettings.db ...

Pushing cipher key to: /sdcard /WhatsApp/Databases/.nomedia

failed to copy 'tmp\apps\com.whatsapp\f\key' to '/sdcard': Is a directory

Cleaning up temporary files ...

Done

How can I solve it?
[Android Apps and Games] ProITM:
The script fail in Windows because yourfile.link is not available now

Change that in the script with whatcrypt.com and will work
[Android Apps and Games] -k-:
My problem was zero kb size backups.

I fixed it, by making sure that adb versions on desktop and phone are the same.

check with:

adb version # this is the desktop version

adb shell # open shell on phone

adb version # this is the phone version

awesome work, thanks guys
[Android Apps and Games] Pbottcher:
Hi there!

The first few times I used Whatcrypt key extractor, I got the following error: "= was unexpected at this time". After this it shuts down immediately. Somehow, and I don't know how, I managed it to get it working, and it extracted everything perfectly. However, it only worked once...

After that one time, I still get the same error:

[IMG="Error"]https://s32.postimg.org/x0gcnuwd1/Untitled.png[/IMG]

Does somebody know why?
[Android Apps and Games] Pbottcher:
Thank you, that worked for me!
[Android Apps and Games] Kovmeedin:
Help!

I just cannot get this to work..

Can someone who knows what they' re doing please help? ;)
[Android Apps and Games] Kovmeedin:
I think i'm a little further now.. (Excuse my English btw, it's rusty to say the least.. )

But still no files.. :(

I put in a Back-up password within the developer settings..

In dutch it says "Back-up password desktop" "select to edit or remove password for full desktopback-ups"

I used that password in the script.

Everything seems to work.. just this last little part! And i really, really need to read my old files :(
[Android Apps and Games] weirdsciencex:
I'm curious. What would you use this for?
[Android Apps and Games] zizon65:
[MENTION=5771215]TripCode[/MENTION] How could I get this app working for a samsung S6 Edge rooted Bro. I have to mention that I already got the whatsapp database saved.

Cheers.
[Android Apps and Games] Dante63:
Samsung Note 4 - Android 6.0.1

What am I missing?
[Android Apps and Games] CoLdIcE42:
problems with GT-S6310N

I love this tool however it seems like it doesnt like this phone.

As far as i know the tool supports all android devices starting from android 4.0 .

This phone has the 4.1.2 android version so it should work right ?

However it doesnt.

The tool gives the errormessage "androidversion not supported" .

Can anyone help ? :(
[Android Apps and Games] macklef:
crypt12

hello friend you seem very good with extracting files

please, i have some crypt12 files. can you help me with the extraction to pdf,html,text? i will very much appreciate it.

---------- Post added at 10:16 AM ---------- Previous post was at 10:04 AM ----------

hi friend did you eventually suceed with decrypting the database file?
[Android Apps and Games] macklef:
hello friend i admire your techy abilities. i would like you to help me decrypt some crypt12 files to any readeable format. i would reaaly appreciate this as i have some important documents to extract.
[Android Apps and Games] lshashank310:
i want to open this file msgstore-2016-08-10.1.db.can you please help me
[Android Apps and Games] Kalandero:
Same

I had the same issue, Moto Droid Turbo 2 here. Any solutions?