Skip to content
Small tool to display chats from the Android msgstore.db database (crypt12)
C C++ Objective-C CMake Makefile Python
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data
project Migrate project files to Visual Studio 2019 Jul 29, 2019
resources Remove email address from about dialog Jul 29, 2019
source Use relative imports in mbedtls Jul 29, 2019
.gitignore Bazel Jul 29, 2019
BUILD Bazel Jul 29, 2019
LICENSE.md #16 added MIT license file Mar 26, 2018
README.md Bazel Jul 29, 2019
TODO.md todo Jan 19, 2015
WORKSPACE Bazel Jul 29, 2019
WhatsApp Viewer.sln Migrate project files to Visual Studio 2019 Jul 29, 2019
changelog.txt updated changelog Mar 26, 2018
git-bundle.cmd git bundle Apr 13, 2014
git-log.cmd convenient git-log formatter Apr 16, 2014

README.md

WhatsApp Viewer

Small tool to display chats from the Android msgstore.db database.

How to use

  1. You need root access to your phone. If you don't know what it is: Wikipedia
  2. Download your WhatsApp database and key files:
  • /data/data/com.whatsapp/files/key
  • /data/data/com.whatsapp/databases/msgstore.db
  • /data/data/com.whatsapp/databases/wa.db
  1. Open WhatsApp Viewer
  2. File -> Open -> Select file
  3. Select msgstore.db in the folder "extracted"
  4. Leave account name empty, is was used for older versions of WhatsApp (crypt5)
  5. Optional: If you want, you can import contact names from the wa.db file

Command line support

"WhatsApp Viewer.exe" -decrypt12 msgstore-2016-10-22.1.db.crypt12 whatsapp.cryptkey12 decrypted.db

You cannot see bigger images because only thumbnails are stored in the database.

Build (using Bazel)

# Replace with your Visual Studio installation directory
"C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvarsall.bat" x86_amd64
# Unfortunately, I don't know a way to handle resource files inside the bazel script yet
rc.exe -fo resources\Resources.res resources\Resources.rc

bazel build //:whatsapp-viewer

Credits:

You can’t perform that action at this time.