FORUMS
Remove All Ads from XDA

[Tool] WhatsApp Key/DB Extractor | CRYPT6-12 | NON-ROOT | UPDATED OCTOBER 2016

171 posts
Thanks Meter: 151
 
By TripCode, Senior Member on 3rd June 2014, 03:47 AM
Post Reply Email Thread
22nd April 2015, 12:05 PM |#121  
Junior Member
Thanks Meter: 0
 
More
Prompt Problems with the script
Hi I have been testing the script but it gives an error code is as follows
Code:
=========================================================================
= 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 =
= Base Script by: TripCode                                              =
= Thanks to: Nikolay Elenkov for abe.jar                                =
= Thanks to: David Fraser, Joel Purra                                   =
= Updated By: Abinash Bishoyi (Added support for 4.4.X/L devices)       =
= Version: v3 (26th Jan 2015)                                           =
=========================================================================

Using Java from C:\Program Files\Java\jre7 directory
java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)
I: Decompiling APK
I: Using Apktool 2.0.0-ec3fbf-SNAPSHOT on WhatsApp.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\apktool\framework\1.apk
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Baksmaling classes.dex...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
I: Patching AndroidManifest.xml
I: Recompiling APK
I: Using Apktool 2.0.0-ec3fbf-SNAPSHOT on WhatsApp
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
I: Checking whether resources has changed...
I: Building resources...
I: Copying libs...
I: Building apk file...
I: Copying unknown files/dir...
I: Signing APK
I: Patching Done

Please connect your Android device with USB Debugging enabled:

adb server is out of date.  killing...
* daemon started successfully *
Uninstalling older version
Installing latest WhatsApp version
4916 KB/s (20547242 bytes in 4.081s)
        pkg: /data/local/tmp/WhatsApp_Patched.apk
Failure [INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES]
Backing up WhatsApp
Now unlock your device and confirm the backup operation.

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

Extracting whatsapp.key ...
File not found: key
0 files(s) copied(s)

Extracting msgstore.db ...
The system can not find the path specified.

Extracting wa.db ...
The system can not find the path specified.

Pushing cipher key to: /sdcard/WhatsApp/Databases/.nomedia
cannot stat 'tmp\apps\com.whatsapp\f\key': No such file or directory

Cleaning up temporary files ...

Deleted file: C:\WhatsApp-Key-DB-Extractor-master (3)\WhatsApp-Key-DB-Extractor-master\tmp\whatsapp.ab
Archivo eliminado: C:\WhatsApp-Key-DB-Extractor-master (3)\WhatsApp-Key-DB-Extractor-master\tmp\whatsapp.tar
The system can not find the file specified.

Done
 .
Is there any possible solution
 
 
24th April 2015, 09:25 AM |#122  
Junior Member
Thanks Meter: 0
 
More
After using this tool, whatsapp now crashes everytime I start it. What should I do?
I tried uninstalling and reinstalling whatsapp
24th April 2015, 10:34 AM |#123  
OP Senior Member
Thanks Meter: 151
 
More
Quote:
Originally Posted by skurdekar

Phone complains that the old Whatsapp version is too old. Seems to be benign warning and everything seems to work. So not sure if Whatsapp is really being downgraded or what else is going on. Tried on Motorola Droid Turbo and Moto X. Both exhibit same behaviour.

If you are referring to the alert in the notification bar, then this is normal behavior. It will go away when WhatsApp gets upgraded again. If the alert keeps popping up then you must still be on the legacy release, in which case just go to the Play Store or WhatsApp's website and install the latest version. As long as you have extracted your key file then that's all that really matters.

Quote:
Originally Posted by okunova

Hi I have been testing the script but it gives an error code is as follows

Code:
Uninstalling older version
Installing latest WhatsApp version
4916 KB/s (20547242 bytes in 4.081s)
        pkg: /data/local/tmp/WhatsApp_Patched.apk
Failure [INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES]
.
Is there any possible solution

This is an old script that patches WhatsApp and is not the script I posted on this thread. It's failing because the patched version is self-signed and is mismatched against the pre-installed apk; hence the error: "INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATE S". You should download the script contained within my original post instead, as it does not use a self-signed apk. If you did download the script I posted in this thread, then you're running the wrong bat file!

Quote:
Originally Posted by doras100p

After using this tool, whatsapp now crashes everytime I start it. What should I do?
I tried uninstalling and reinstalling whatsapp

If you have uninstalled and re-installed WhatsApp, then the fault is elsewhere and has nothing to do with my tool.
27th April 2015, 01:09 PM |#124  
Member
Thanks Meter: 1
 
More
Hey TripCode,

When I used our script I get the same error message how "okunova". I have the newest version but get always the same error!
Next step was to install the patched.apk manual , after successful installation its not possible to verifiy your WhatsApp-Account, cause WhatsApp checked the APK and says "You have an modified version of WhatsApp, please contact bla bla bla...".

Next thing....the paths in our tool where you pull out the keyfile and wa.db are really correct?! I only see the paths "apps/com.whatsapp/f/key" and "apps/com.whatsapp/db/wa.db". I checked the path with my rooted device and I found the named files at "data/data/com.whatsapp/files/key" and "/data/data/com.whatsapp/databases/wa.db".

Sorry for mistakes-maikwars
28th April 2015, 12:13 PM |#125  
OP Senior Member
Thanks Meter: 151
 
More
Quote:
Originally Posted by maikwars

Next step was to install the patched.apk....

Please DO NOT install ANY patched WhatsApp APK's. Install the latest WhatsApp APK from the Google Play Store or from the Official WhatsApp Website.

Then download and run: WhatsApp Key/DB Extractor (the one attached to the first post in this thread).

Quote:
Originally Posted by maikwars

Next thing....the paths in our tool where you pull out the keyfile and wa.db are really correct?! I only see the paths "apps/com.whatsapp/f/key" and "apps/com.whatsapp/db/wa.db". I checked the path with my rooted device and I found the named files at "data/data/com.whatsapp/files/key" and "/data/data/com.whatsapp/databases/wa.db".

Yes, the paths are correct! I am referencing the relative paths from the ADB Backup and NOT the absolute paths on your device (which you are referencing).
29th April 2015, 02:01 AM |#126  
Junior Member
Thanks Meter: 0
 
More
Great project... some help needed
Hi great project but I've some issues. Attached is the result that i got. Thanks for your help
Testing on a Moto G 1st gen. Android 4.4.4
Win 8 32bit
Attached Files
File Type: txt log.txt - [Click for QR Code] (4.2 KB, 160 views)
29th April 2015, 05:57 AM |#127  
Member
Thanks Meter: 1
 
More
Quote:
Originally Posted by TripCode

Please DO NOT install ANY patched WhatsApp APK's. Install the latest WhatsApp APK from the Google Play Store or from the Official WhatsApp Website.

Then download and run: WhatsApp Key/DB Extractor (the one attached to the first post in this thread).

I told you so, that I have with the latest original WhatsApp this error message how okunova!

Edit:
It works with your attached version 1.6! Why failed 1.9 its a riddle!


P.S. Its possible to run the script without an internet connection? I already have the legacy whatsapp.apk in tmn folder The tool breaks off without an internet connection !
29th April 2015, 06:54 PM |#128  
OP Senior Member
Thanks Meter: 151
 
More
Quote:
Originally Posted by maikwars

It works with your attached version 1.6! Why failed 1.9 its a riddle!

P.S. Its possible to run the script without an internet connection? I already have the legacy whatsapp.apk in tmn folder The tool breaks off without an internet connection !

I have not released a 1.9 version (see the change log in my original post). You are probably referring to the fork on GitHub by Abinash Bishoyi? I do not maintain this unofficial fork, so you would have to go to Abinash for support on his version. I believe his version 1.9 is based on my 1.1 release.

As for running offline. It needs to be online to download the legacy WhatsApp version, which it will save to: tmp\LegacyWhatsApp.apk (relative from the bat file directory). Once it has been downloaded then it will function offline, if you remove the line of code that uploads the crypt key to whatcrypt first.
30th April 2015, 09:37 AM |#129  
Member
Thanks Meter: 1
 
More
Quote:
Originally Posted by TripCode

I have not released a 1.9 version (see the change log in my original post). You are probably referring to the fork on GitHub by Abinash Bishoyi? I do not maintain this unofficial fork, so you would have to go to Abinash for support on his version. I believe his version 1.9 is based on my 1.1 release.

As for running offline. It needs to be online to download the legacy WhatsApp version, which it will save to: tmp\LegacyWhatsApp.apk (relative from the bat file directory). Once it has been downloaded then it will function offline, if you remove the line of code that uploads the crypt key to whatcrypt first.

Right it was Abinash's version


So for running offline...it breaks off after bin\curl.exe. To remove the codelines against uploading keyfile isnt successfull!
30th April 2015, 12:51 PM |#130  
OP Senior Member
Thanks Meter: 151
 
More
Quote:
Originally Posted by maikwars

So for running offline...it breaks off after bin\curl.exe. To remove the codelines against uploading keyfile isnt successfull!

Try the attached bat file in the same directory as the original, making sure that LegacyWhatsApp.apk exists in tmp/.
Attached Files
File Type: zip OfflineBat.zip - [Click for QR Code] (1.5 KB, 512 views)
30th April 2015, 01:24 PM |#131  
Member
Thanks Meter: 1
 
More
Quote:
Originally Posted by TripCode

Try the attached bat file in the same directory as the original, making sure that LegacyWhatsApp.apk exists in tmp/.

Thank you for edit our script. I almost removed the right code lines

But now it contains an bug.

Make a Backup
install legacy apk from tmp
Start backup (confirm it on my device)....starts and then crashs my Whatsapp-App at my device. Script doesnt run anymore. I pressed Ctrl+C, the script abort this step and make the restore to current whatsapp version (2.12.56), WhatsApp is still crashing, a device reboot solved this problem.
Post Reply Subscribe to Thread

Tags
crypt, crypt5, crypt8, smsbackup, whatsapp

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes