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

Search This thread

dferferfer

Senior Member
Aug 8, 2014
132
15
is it possible to read the old copyed files from pc?

My best friend died in year 2017 and the police give me his device. I make a full copy from note 4 and i have all files on my pc. After this i reset the device.
Now i have all folders include whatsapp etc.

Is it in futre possible to read the messages again?
 

alecxs

Forum Moderator
Staff member
Feb 17, 2016
5,051
8
5,186
gitlab.com
Depends on what do you mean with "full copy", is /data partition included, do you have the possibility to restore backup to phone? Maybe i can assist send me pm
 

Nite.Achilles

Senior Member
Oct 3, 2011
177
46
Singapore
Hi everyone, my Whatsapp backup was corrupted from Google Drive. I do not have any internal storage db because I had formatted my phone.

Now I have already extracted my msgstore.db.crypt12 from Google Drive and then .dump into temp.sql

I can see all my messages there. But how do restore it back to Whatsapp?
 

sri2729

New member
Jan 5, 2019
1
0
HI,

after downloading Java and every thing also i am gettng below error while downloading

Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
Caused by: java.lang.RuntimeException: java.lang.IllegalArgumentException: Don't know how to process version 5
at org.nick.abe.AndroidBackup.extractAsTar(AndroidBackup.java:420)
at org.nick.abe.Main.main(Main.java:128)
... 5 more
Caused by: java.lang.IllegalArgumentException: Don't know how to process version 5
at org.nick.abe.AndroidBackup.extractAsTar(AndroidBackup.java:282)
... 6 more
bin\tar.exe: Cannot open tmp\whatsapp.tar: No such file or directory
bin\tar.exe: Error is not recoverable: exiting now
bin\tar.exe: Cannot open tmp\whatsapp.tar: No such file or directory
bin\tar.exe: Error is not recoverable: exiting now
bin\tar.exe: Cannot open tmp\whatsapp.tar: No such file or directory
bin\tar.exe: Error is not recoverable: exiting now
bin\tar.exe: Cannot open tmp\whatsapp.tar: No such file or directory
bin\tar.exe: Error is not recoverable: exiting now
bin\tar.exe: Cannot open tmp\whatsapp.tar: No such file or directory
bin\tar.exe: Error is not recoverable: exiting now

can you please help on this error.
i want to descrypt the crypt12 whats up file without key .. if any apllications are available let know i will try..

its very urgent kindly do the needful
 

angues

Member
Apr 3, 2010
20
3
I noticed that I'm not the only one who's having the tar errors "tar: apps/com.whatsapp/f/key: Not found in archive", the problem is with the backup file given by adb that is empty. I found on stackexchange (android.stackexchange .com /a/143481/207500) that it has to do with a backup command bug and a simple solution. You just need to use the phone shell instead of letting abd take care of it.
On unix open the ssh file and change this:
Code:
if [ $sdkver -ge 23 ]; then
adb backup -f tmp/whatsapp.ab com.whatsapp
else
adb backup -f tmp/whatsapp.ab -noapk com.whatsapp
fi
to this:
Code:
if [ $sdkver -ge 23 ]; then
adb shell "bu 1 backup com.whatsapp" > tmp/whatsapp.ab
else
adb shell "bu 1 backup -noapk com.whatsapp" > tmp/whatsapp.ab
fi
Also, it kept giving me empy backup files until I didn't put a "desktop backup password" and wrote it in BOTH the boxes (even if it says that leaving the second blank will make it use the default password).
Hope this helps and that the developers put this change in the script so that no one else has this problem.

Finally after a bit of digging I was able to get some old WhatsApp crypt7 databases decrypted using a small modification to the .sh script in the first post (on macOS Mojave).

I had a very similar problem to the above, and your hint put me on the right path to fix this for me. I was trying to recover the crypt key from a very old WhatsApp install on a Moto G, so old that the version of WhatsApp it had installed was 2.11.432... only 1 bugfix release higher than the legacy version the script puts in place!

In case it helps someone, I had to fix a couple of things along the way to make it work:
1. Manually downloaded the legacy WhatsApp using the link inside the script beforehand,
Code:
curl -o tmp/LegacyWhatsApp.apk "http://www.cdn.whatsapp.net/android/2.11.431/WhatsApp.apk"
2. Made very similar changes to ferraro.dav above, but on my setup I had to do this in a two step process for it to work, otherwise I would get an annoying "Exception in thread "main" java.lang.reflect.InvocationTargetException" .

So I changed:

Code:
if [ $sdkver -ge 23 ]; then
adb backup -f tmp/whatsapp.ab com.whatsapp
else
adb backup -f tmp/whatsapp.ab -noapk com.whatsapp
fi
to this:
Code:
if [ $sdkver -ge 23 ]; then
adb shell "bu 1 backup com.whatsapp > /sdcard/whatsapp.ab"
adb pull /sdcard/whatsapp.ab tmp/whatsapp.ab
else
adb shell "bu 1 backup -noapk com.whatsapp > /sdcard/whatsapp.ab"
adb pull /sdcard/whatsapp.ab tmp/whatsapp.ab
fi

This initiates a backup of the whatsapp data through the adb shell and saves it onto the device itself, before then pulling that down to where the script is expecting it to keep everything working.

Digging into it a bit further it looks like there is an incompatibility between the very old adb bridge on the phone (running android 4.4.4), and the much more up to date adb I have setup on macOS Mojave (1.0.40). I found this post on stack overflow very helpful in getting this working.

I was then finally able to view the messages and export to json/html which was my goal all along, using https://andreas-mausch.de/whatsapp-viewer/. N.B. The current version of this tool didn't like the really old WhatsApp archives, but I randomly tried one a few versions older (1.9) which worked for me.

HTH someone, and thanks for putting this script together!
 

meirtolpin11

New member
Mar 9, 2016
4
0
backupFrequency

what means the backupFrequency field in - 'info' ?
{
"backupFrequency": 3,
"backupNetworkSettings": 0,
"backupSize": 8133914927,
"backupVersion": 1,
"chatdbSize": 205945695,
"includeVideosInBackup": true,
"localSettings": {
"autodownload_cellular_mask": 0,
"autodownload_wifi_mask": 0,
"conversation_sound": true,
"input_enter_send": false,
"interface_font_size": "0",
"settings_language": "en-US",
"voip_low_data_usage": false
},
"mediaSize": 7927665742,
"numOfMediaFiles": 25389,
"numOfMessages": 784499,
"numOfPhotos": 8123,
"videoSize": 5796698165
}

what is '3' ? monthly? weekly? daily ? never?
 

dany512

New member
Jan 31, 2019
1
0
So this is a lognshot since its been a while, but i had whatsapp on an app called parallel, how could i recover the key for that?
 

nioBee

Senior Member
Jan 4, 2011
77
19
Huawei P30 Pro
Huawei P50 Pro
Hello,
I have downloaded the file linked in the first post, extracted it and tried to extract the key from my samsung galaxy s8...
First time I tried I got some errors (see attached images), then I decided to:
  1. Update Java to version 8 - 201
  2. Install ADB drivers from this page: 15 seconds ADB Installer v1.4.3
  3. Set Java path in system variables
  4. Disable "MyPhone Explorer" from launching every time I connect my phone to the PC

But now It just doesn't work.. I open the bat and it asks me to connect phone but then the window closes.. I disabled/reenabled debugging on phone, nothing happens.. uninstalled and reinstalled ADB Drivers.. nothing.. Tried to use Powershell but I get the error "whatsapp isnt installed" but it is on my phone... :confused:
I really don't get how to solve this issue... :eek:
Any help is really appreciated..

Edit: I have found out that the ADB Drivers I was using is obsolete (see this post: https://xdaforums.com/showpost.php?p=78809830&postcount=1456 so I took the platform tools and now it is connecting again to my phone! :good: but I still get errors connected to Java...
 
Last edited:

nioBee

Senior Member
Jan 4, 2011
77
19
Huawei P30 Pro
Huawei P50 Pro
Here the log I get using either the BAT file or the PowerShell File:
Code:
Please connect your Android device with USB Debugging enabled:

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

WhatsApp 2.19.34 installed

Found legacy WhatsApp 2.11.431 in local folder

Backing up WhatsApp 2.19.34
2475 KB/s (25385434 bytes in 10.014s)
Backup complete

Removing WhatsApp 2.19.34 skipping data
Success
Removal complete

Installing legacy WhatsApp 2.11.431
2983 KB/s (18329558 bytes in 5.999s)
Failure [INSTALL_FAILED_VERSION_DOWNGRADE]
Install complete

Now unlock your device and confirm the backup operation.

Please enter your backup password (leave blank for none) and press Enter:

Exception in thread "main" java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
Caused by: java.lang.RuntimeException: java.lang.IllegalArgumentException: Don't know how to process version 5
        at org.nick.abe.AndroidBackup.extractAsTar(AndroidBackup.java:420)
        at org.nick.abe.Main.main(Main.java:128)
        ... 5 more
Caused by: java.lang.IllegalArgumentException: Don't know how to process version 5
        at org.nick.abe.AndroidBackup.extractAsTar(AndroidBackup.java:282)
        ... 6 more
bin\tar.exe: Cannot open tmp\whatsapp.tar: No such file or directory
bin\tar.exe: Error is not recoverable: exiting now
bin\tar.exe: Cannot open tmp\whatsapp.tar: No such file or directory
bin\tar.exe: Error is not recoverable: exiting now
bin\tar.exe: Cannot open tmp\whatsapp.tar: No such file or directory
bin\tar.exe: Error is not recoverable: exiting now
bin\tar.exe: Cannot open tmp\whatsapp.tar: No such file or directory
bin\tar.exe: Error is not recoverable: exiting now
bin\tar.exe: Cannot open tmp\whatsapp.tar: No such file or directory
bin\tar.exe: Error is not recoverable: exiting now

Cleaning up temporary files ...

File eliminato - C:\WhatsApp-Key-DB-Extractor-master\tmp\whatsapp.ab
File eliminato - C:\WhatsApp-Key-DB-Extractor-master\tmp\waplen.txt
File eliminato - C:\WhatsApp-Key-DB-Extractor-master\tmp\sdpath.txt
File eliminato - C:\WhatsApp-Key-DB-Extractor-master\tmp\wapath.txt
File eliminato - C:\WhatsApp-Key-DB-Extractor-master\tmp\wapver.txt
File eliminato - C:\WhatsApp-Key-DB-Extractor-master\tmp\sdkver.txt

Done

Restoring WhatsApp 2.19.34
4926 KB/s (25385434 bytes in 5.031s)
Success

Restore complete

Removing WhatsApp 2.19.34 temporary apk
File eliminato - C:\WhatsApp-Key-DB-Extractor-master\tmp\base.apk

Operation complete
I don't understand If I get the error because the legacy version cannot be installed or by some Java problem... :confused:

UPDATE: I think I found the problem... on android 7 you cannot install the legacy version of whatsapp, the system won't allow you to do so... I tried also with other softwares but every time the app doesn't install.. I have an older phone with android 4.4.2 and the extractor worked like a charm.. so I really think it isn't compatible with android 7 or later versions.. :crying:
 
Last edited:

sercankd

Senior Member
Nov 23, 2011
261
70
GBWhatsapp has internal option to extract key file. In the GBSettings there is backup option which backups unencrypted chat database, key file and other stuff to sdcard.
 

idcore

New member
Feb 24, 2019
1
0
I was able to downgrade app on Oreo 8 (Honor 9) with the following lines (line 1 is probably useless, but i didn't tried without it):
I think trick is to downgrade right after restart... Last line is the one with the old apk, change the path accordingly...

bin\adb.exe shell getprop ro.build.version.release
bin\adb.exe reboot
bin\adb.exe wait-for-device
bin\adb.exe install -r -d tmp\LegacyWhatsApp.apk
 

nioBee

Senior Member
Jan 4, 2011
77
19
Huawei P30 Pro
Huawei P50 Pro
I was able to downgrade app on Oreo 8 (Honor 9) with the following lines (line 1 is probably useless, but i didn't tried without it):
I think trick is to downgrade right after restart... Last line is the one with the old apk, change the path accordingly...

bin\adb.exe shell getprop ro.build.version.release
bin\adb.exe reboot
bin\adb.exe wait-for-device
bin\adb.exe install -r -d tmp\LegacyWhatsApp.apk

Thank you, for now I'm unable to try because I don't have my phone anymore.
I was indeed able to install whatsapp legacy directly removing the new version but the script didn't work either.. He did the first check on the app, finds the legacy version and exits.. so in the end I just gave up and uninstalled everything.. I had a Drive backup, it wasn't complete, I miss about 1day of messages, but I had spent too much time trying.. ;)
Hope this script gets updated to work on Oreo and Pie.
 

Kurumim

New member
Mar 16, 2019
1
0
Solution to bin\tar.exe: not found - Windows

Solution to bin\tar.exe: not found - Windows

Please refer to this post for the Unix solution and explanation.

This is a two way solution. First your database will be copied to your cellphone and then to your computer. So you need to have enough free space on your cellphone memory. Just copied my database, needed about 400mb free on the phone.

Solution is applicable to WhatsApp Key/DB Extractor 4.7

1. Open "WhatsAppKeyDBExtract.bat" located in the main directory with a proper editor (i.e. Notepad++)
2. Find these problematic lines of code (lines 112-115 on code version 4.7):
Code:
if %sdkver% geq 23 (
bin\adb.exe backup -f tmp\whatsapp.ab com.whatsapp
) else (
bin\adb.exe backup -f tmp\whatsapp.ab -noapk com.whatsapp
)
3. Replace that with:
Code:
if %sdkver% geq 23 (
bin\adb.exe shell "bu 1 backup com.whatsapp > /sdcard/whatsapp.ab"
bin\adb.exe pull /sdcard/whatsapp.ab tmp/whatsapp.ab
) else (
bin\adb.exe shell "bu 1 backup -noapk com.whatsapp > /sdcard/whatsapp.ab"
bin\adb.exe pull /sdcard/whatsapp.ab tmp/whatsapp.ab
)
4. Save your .bat file and execute the script.

Thanks to ferraro.dav and angues
 
Last edited:

Chitarrista4

New member
Sep 11, 2012
1
0
Naples
Is there any way I can extract my key from Android Pie?
I've tried modifying this shell script applying the patch by angues, but I've only extracted a 549 bytes whatsapp.ab file. I've tried running abe.jar on this file and I obtained a not encouraging zero-padded 1KB file :D
 

p4r4d0x86

Member
Dec 20, 2014
11
8
Not tested yet on Android Pie :|

If you have access to the phone, make a backup on GD and try WhatsApp-GD-Extractor (?)

Another commercial tool could be tried: EXWA (Elcomsoft)
Direct extraction from Android smartphones
Rooted (Android 4.0-9.0) and non-rooted (Android 4.0-6.0.1) devices are supported. Phone must be unlocked for acquisition.
 

progman321

New member
Apr 17, 2019
1
0
This works on Android v9 and the one above does not work almost surely because the output pipe is not escaped!!! (> should be ^>) but also Android 9 does not allow the 1 argument to the backup/restore utility bu and it should be removed. Hope this helps some:

if %sdkver% geq 23 (
bin\adb.exe shell "bu backup com.whatsapp ^> /sdcard/whatsapp.ab"
bin\adb.exe pull /sdcard/whatsapp.ab tmp/whatsapp.ab
) else (
bin\adb.exe shell "bu backup -noapk com.whatsapp ^> /sdcard/whatsapp.ab"
bin\adb.exe pull /sdcard/whatsapp.ab tmp/whatsapp.ab
)

It still will not fix the error about version 5 - this is a problem with abe (android backup extractor) written in Java and in abe.jar - seems a better extractor needed for the .ab files with this header:
ANDROID BACKUP
5
1
AES-256

Can download the latest abe.jar here: github.com/nelenkov/android-backup-extractor/releases where abe-all.jar should be renamed to abe.jar and replaced in the bin folder version. This fixes errors up to the not found errors as the key and other databases simply are not in the small little ab file made. That is a separate issue however, due to downgrades being not allowed by apps and this error is shown above hence the backup will contain nothing in it and make a bad tar file. But the other fixes are applicable for those that would like to know of them.
 
Last edited:

p4r4d0x86

Member
Dec 20, 2014
11
8
Just extracted WhatsApp data from:
- Lenovo P2 under Android 7.0
- Galaxy S8 under Android 9.0

I spent 4 hours on the script to apply fixes and improve it.
I will "publish" it soon.

Few tips before publishing (they will be in the script):
- If you get an error during the downgrade, reboot your phone before installing the downgrade
- I kept the "adb backup" command but before executing it, you have to LAUNCH the downgraded application! (Tested multiple times, without this launch, the backup was empty or corrupted)
- Update "adb.exe" (and libs) and "abe.jar" (thanks @progman321 for the tips)
 

Makorus

Senior Member
Oct 4, 2012
195
171
github.com
Just extracted WhatsApp data from:
- Lenovo P2 under Android 7.0
- Galaxy S8 under Android 9.0

I spent 4 hours on the script to apply fixes and improve it.
I will "publish" it soon.

Few tips before publishing (they will be in the script):
- If you get an error during the downgrade, reboot your phone before installing the downgrade
- I kept the "adb backup" command but before executing it, you have to LAUNCH the downgraded application! (Tested multiple times, without this launch, the backup was empty or corrupted)
- Update "adb.exe" (and libs) and "abe.jar" (thanks @progman321 for the tips)

Any news on this? :)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 49
    ** Version 4.7 Updated October 2016 - Supports Android 4.0-7.0 **

    SUMMARY:
    Allows WhatsApp users to extract their cipher key and databases on non-rooted Android devices.
    UPDATE: This tool was last updated on October 12th 2016. and confirmed working on Android 4.0-7.0 using WhatsApp version v2.16.304 (latest available).
    IMPORTANT: If you wish to extract media files or WhatsApp databases from Google Drive backups then you need: WhatsApp Google Drive Extractor instead.

    TUTORIAL:

    BRANCH UPDATES:
    v4.0 - Fixed issues with Android API 14-17 (4.0-4.2 Jelly Bean).
    v4.1 - Added support for Android API 23 (6.0-6.0.1 Marshmallow).
    v4.2 - Added support for specifying adb backup passwords.
    v4.3 - Added PowerShell version as optional alternative to bat version.
    v4.4 - Changed primary mirror for legacy apk.
    v4.5 - Fixed issue pushing cipher key to emulated storage.
    v4.6 - Updated primary mirror for legacy apk (again).
    v4.7 - Added new sanity checks and support for Android API 24 (7.0 Nougat).

    PREREQUISITES:

    1. O/S: Windows Vista, Windows 7, Windows 8, Windows 10, Mac OS X or Linux
    2. Java - If not installed: Download Java
    3. ADB (Android Debug Bridge) Drivers
    4. USB Debugging* must be enabled on the target device. Settings -> Developer Options -> (Debugging) USB debugging
    5. Android device with Android 4.0 or higher. I.E. Ice Cream Sandwich, Jelly Bean, KitKat, Lollipop, Marshmallow or Nougat.
    *= If you cannot find Developer Options then please go to: Settings -> About phone/device and tap the Build number multiple times.

    INSTRUCTIONS:

    1. Extract WhatsApp-Key-DB-Extractor-master.zip maintaining the directory structure.
    2. Click on WhatsAppKeyDBExtract.bat (Windows) or WhatsAppKeyDBExtract.sh (Mac OS X / Linux).
    3. Connect your device via USB, unlock your screen and wait for Full backup to appear.
    4. Enter your backup password or leave blank (if none set) and tap on Back up my data.
    5. Confirm backup password in your command console and then check the "extracted" folder.

    TROUBLESHOOTING:

    1. If you have never used USB Debugging before, you may also need to verify the fingerprint.
    2. If you have set a default backup password in your Android settings, then this MUST be the
      backup password that you provide when prompted to backup your data. Else it WILL fail!
    3. Linux and Mac OS X users may need to set the script permissions as executable. Depending on the
      adb permissions, you may also need to sudo ./WhatsAppKeyDBExtract.sh from your command console.
    4. If you're having issues with WhatsAppKeyDBExtract.bat then right click WhatsAppKeyDBExtract.ps1
      and select Run with PowerShell. You may have to enter "y" at first run for script execution policy.
    5. If you get an error saying "AES encryption not allowed" then you need to update your Oracle Java
      Cryptography Extension (JCE) to Unlimited Strength Jurisdiction Policy Files.

    DOWNLOAD: WhatsApp-Key-DB-Extractor-master.zip


    AUTHOR: TripCode
    THANKS: dragomerlin for Android Backup Extractor and Abinash Bishoyi for being cool.
    4
    just extracted whatsapp data from:
    - lenovo p2 under android 7.0
    - galaxy s8 under android 9.0

    i spent 4 hours on the script to apply fixes and improve it.
    I will "publish" it soon.

    Few tips before publishing (they will be in the script):
    - if you get an error during the downgrade, reboot your phone before installing the downgrade
    - i kept the "adb backup" command but before executing it, you have to launch the downgraded application! (tested multiple times, without this launch, the backup was empty or corrupted)
    - update "adb.exe" (and libs) and "abe.jar" (thanks @progman321 for the tips)


    which url?

    http://whatcrypt.com/WhatsApp-2.11.431.apk is still available!?

    Yes http://www.cdn.whatsapp.net/android/2.11.431/whatsapp.apk is not anymore, but the script proceeds to download the link above then.

    thanks to everybody in this post, i finally made it in life, well, i mean... I managed to de-crypt the wa database as of today (29/02/2020, so it still works yey!!) after just a few hours of "playing" (not a funny game tho).
    Because i'm quite bored this morning, i feel the need to give a thorough list of instructions for the newcomers (a kind summary because many have already been given in this post):


    first, the "foreplay" steps, if you know what i mean ;) :
    1. enable "usb debugging" in your phone
    2. verify you have the latest version of java and the android debug bridge drivers in your pc
    3. download the .zip from this post
    4. extract it without changing the overall structure of the folder
    5. download wa 2.11.431 (like from android-apk.org)
    6. put it in the tmp folder replacing legacywhatsapp.apk

    second, the feel like a hacker from mr. Robot steps:
    1. launch whatsappkeydbextract.bat file
    2. input y to reboot the device
    3. once rebooted, unlock it (you should not find your wa app anymore) and press any key in cw
    4. wait until the streamed install is done
    5. unlock again your phone
    6. prompted "wa has been updated" should be prompted in your phone, press continue
    7. search for wa in your phone and open it
    8. (a new prompt in your phone will say it's an outdated version of wa press ok, if it doesnt appear don't worry)
    9. press the adjust date and you will be sent to a date & time page, keep it open
    10. press any key in cw
    11. select the option you prefer at the command window
    12. select fullback up in your phone (without entering any password)
    13. restore wa press any key
    14. you made it as well :highfive:

    finally you should download the whatsapp viewer and use it to open the msgstor.db file
    i hope it helps and sorry for the bad jokes :p

    n.b.: For the steve jobs lovers i'm sorry i have a win pc altough i'm not against a fundraise to buy me one, i would love to replace my potato with an apple :d
    wa = whatsapp
    cw = command window

    FINALLY!!!! THIS UP HERE IS ALL YOU NEED TO HAVE/FOLLOW SO TO BACKUP WhatsApp FILES WITH LAST 2020 ANDROID ON A WINDOWS BASED SYSTEM!!!!!!

    1. Download WhatsApp Key/DB Extractor posted by p4r4d0x86
    2. Download whatsapp-2.11.431.apk file from link posted by lopra (if it doesn't work, just googe that exact version)
    3. Strictly follow instructions written by fabiml

    EVERYTHING DID WORK AT FIRST TRY!!!!!

    Thank you guys. I really love ya!!! :D
    3
    I will try this evening/night (ADT - Atlantic Daylight Time / ADST Atlantic Daylight Saving Time ... or currently UTC-3) :p

    Here it is:
    https://github.com/p4r4d0x86/WhatsApp-Key-DB-Extractor/archive/v4.7-E1.0.zip

    And the new UNTESTED merjapp.jar is here:
    https://github.com/p4r4d0x86/merjapp/releases/download/v190508/merjapp.jar
    3
    Detailed Instructions

    Thanks to everybody in this post, I finally made it in life, well, I mean... I managed to de-crypt the WA database as of today (29/02/2020, so it still works yey!!) after just a few hours of "playing" (not a funny game tho).
    Because I'm quite bored this morning, I feel the need to give a thorough list of instructions for the newcomers (a kind summary because many have already been given in this post):


    First, the "foreplay" steps, if you know what I mean ;) :
    1. Enable "USB Debugging" in your phone
    2. Verify you have the latest version of Java and the Android Debug Bridge Drivers in your PC
    3. Download the .zip from this post
    4. Extract it without changing the overall structure of the folder
    5. Download WA 2.11.431 (like from android-apk.org)
    6. Put it in the tmp folder replacing LegacyWhatsApp.apk

    Second, the feel like a hacker from Mr. Robot steps:
    1. Launch WhatsAppKeyDBExtract.bat file
    2. Input Y to reboot the device
    3. Once rebooted, unlock it (you should not find your WA app anymore) and press any key in CW
    4. Wait until the streamed install is done
    5. Unlock again your phone
    6. Prompted "WA has been updated" should be prompted in your phone, press continue
    7. Search for WA in your phone and open it
    8. (A new prompt in your phone will say it's an outdated version of WA press ok, if it doesnt appear don't worry)
    9. Press the adjust date and you will be sent to a Date & Time page, keep it open
    10. Press any key in CW
    11. Select the option you prefer at the command window
    12. Select fullback up in your phone (without entering any password)
    13. Restore WA press any key
    14. You MADE IT as well :highfive:

    Finally you should download the Whatsapp Viewer and use it to open the msgstor.db file
    I hope it helps and sorry for the bad jokes :p

    N.B.: For the Steve Jobs lovers I'm sorry I have a Win PC altough I'm not against a fundraise to buy me one, I would love to replace my potato with an apple :D
    WA = Whatsapp
    CW = Command Window

    This method still works for Oneplus 9pro Android 13, but it has some new twists.

    Latest whatsapp viewer can't decrypt backups or open the conversations as-is due to slight changes to the encryption plus messages format in the sql database.

    Hope you find this helpful.

    To decrypt .14 files, use this instead:

    To open the new database file format after obtaining the files with the extractor, here are the instructions on how to create the needed tables in the SQL database so the viewer can process them:
    2
    Yes, this is a normal backup method. There are automatic tools that do the same without using PC, just on device side.

    Apart from normal ADB method, you could use ECLIPSE for that, using the memory module, you could transfer files from and in.

    If you have physical access to the device, there are many solutions.

    regards.

    The only way to access private application files (such as a WhatsApp's cipher key) without root is the ADB method. You can backup some files on the device without a PC (APK's etc...), but there is currently no way to access private files and folders. All the "My Big Fat Backup" style apps and tools will either require root or ADB. Eclipse also utilizes ADB. Basically, device side backups of application data require root. There are no other alternatives to this. If there was, then Android would be too infeasible and insecure as a viable operating system. Physical access translates into only two solutions. 1.) The ability to root and 2.) The ability to utilize ADB (Eclipse, Bats, Exe's doing nothing more than calling a simple command line). Of course if you are aware of a 3rd method (disregarding the user interface) and is not based on root or ADB then please feel free to share. :)