Exporting and decrypting your Whatsapp message SQLite store (Android)

Search for a command to run...

No comments yet. Be the first to comment.
World of Tomorrow Source: World of Tomorrow 2015, Don Hertzfeldt In the 2015 animated short film World of Tomorrow by Don Hertzfeldt, a young girl called Emily (prime) is visited by a clone of herself from 227 years in the future. The world is endin...

This is a companion piece to “How I cloned my past self using AI”. You can start with that then read this one though that’s not mandatory. You can find the code for all of this in this Github repository. Data sourcing The first problem when building...

Websockets are great for when you want bidirectional communication between the client and the server over an extended session. The de facto approach to building websockets with Elixir Phoenix involves using Channels. This pattern is great and it come...

In 2023, I was working at a company where we were running our Elixir backend on Gigalixir. Gigalixir is a PaaS similar to Heroku that at the time we were using provided its managed database service for Postgres via GCP (Google Cloud Platform). I foun...

Create an E2E encrypted backup on Whatsapp Settings on your phone. It will prompt you to setup E2E encryption either with a custom password or an autogenerated 64 bit string. Choose the 64 bit option and save this string!
Create a Python virtualenv and install wa-crypt-tools
pip install wa-crypt-tools
Create the key file
wacreatekey --hex <your-hex-value>
# creates a file called encrypted_backup.key
Connect your phone and pull the encrypted DB file
adb pull /sdcard/Android/media/com.whatsapp/WhatsApp/Databases/msgstore.db.crypt15
# will copy this file to your cwd
Decrypt the DB file using your key
wadecrypt encrypted_backup.key msgstore.db.crypt15 msgstore.db
# key15.py:54 : [I] Crypt15 / Raw key loaded
# wadecrypt.py:271 : [I] Done