Created Android Usage (markdown)

Knugi
2021-07-11 03:13:15 +00:00
parent e884a8af7b
commit 57f51ac62e

30
Android-Usage.md Normal file

@@ -0,0 +1,30 @@
# Working with Android
## Unencrypted WhatsApp database
Extract the WhatsApp database with whatever means, one possible means is to use the [WhatsApp-Key-DB-Extractor](https://github.com/KnugiHK/WhatsApp-Key-DB-Extractor)
After you obtain your WhatsApp databse, copy the WhatsApp database and media folder to the working directory. The database is called msgstore.db. If you also want the name of your contacts, get the contact database, which is called wa.db. And copy the WhatsApp (Media) directory from your phone directly.
And now, you should have something like this in the working directory.
![Android folder structure](imgs/android_structure.png)
### Extracting
Simply invoke the following command from shell.
```sh
wtsexporter -a
```
## Encrypted Android WhatsApp Backup (crypt14)
In order to support the decryption, install pycryptodome if it is not installed
```sh
pip install pycryptodome
```
Place the decryption key file (key) and the encrypted WhatsApp Backup (msgstore.db.crypt14) in the working directory. If you also want the name of your contacts, get the contact database, which is called wa.db. And copy the WhatsApp (Media) directory from your phone directly.
And now, you should have something like this in the working directory.
![Android folder structure with WhatsApp Backup](imgs/android_structure_backup.png)
### Extracting
Simply invoke the following command from shell.
```sh
wtsexporter -a -k key -b msgstore.db.crypt14
```