Updated Android Usage (markdown)

Knugi
2024-09-20 16:04:22 +00:00
parent 27dd3b3e98
commit 8399d024f2

@@ -7,6 +7,7 @@ After you obtain your WhatsApp database, copy the WhatsApp database and media fo
And now, you should have something like this in the working directory.
![Android folder structure](https://github.com/KnugiHK/WhatsApp-Chat-Exporter/blob/main/imgs/android_structure.png)
#### Extracting
Simply invoke the following command from shell.
```sh
@@ -19,7 +20,10 @@ In order to support the decryption, install pycryptodome if it is not installed
pip install pycryptodome # Or
pip install whatsapp-chat-exporter["android_backup"] # install along with this software
```
## Crypt15 is now the easiest way to decrypt a backup. If you have the 32 bytes hex key generated when you enable End-to-End encrypted backup, you can use it to decrypt the backup. If you do not have the 32 bytes hex key, you can still use the key file extracted just like extacting key file for Crypt12 and Crypt14 to decrypt the backup.
> [!TIP]
> Crypt15 is now the easiest way to decrypt a backup. If you have the 32 bytes hex key generated when you enable End-to-End encrypted backup, you can use it to decrypt the backup. If you do not have the 32 bytes hex key, you can still use the key file extracted just like extacting key file for Crypt12 and Crypt14 to decrypt the backup.
### Crypt12 or Crypt14
You will need the decryption key file from your phone. If you have root access, you can find it as `/data/data/com.whatsapp/files/key`. Otherwise, if you used WhatsApp-Key-DB-Extractor before, it will appear in the WhatsApp backup directory as `WhatsApp/Databases/.nomedia`.
@@ -28,6 +32,7 @@ Place the decryption key file (key) and the encrypted WhatsApp Backup (msgstore.
And now, you should have something like this in the working directory.
![Android folder structure with WhatsApp Backup](https://github.com/KnugiHK/WhatsApp-Chat-Exporter/blob/main/imgs/android_structure_backup.png)
### Extracting
Simply invoke the following command from shell.
```sh
@@ -46,6 +51,7 @@ If you do not have the 32 bytes hex key (64 hexdigits), place the decryption key
Now, you should have something like this in the working directory (if you do not have 32 bytes hex key).
![Android folder structure with WhatsApp Crypt15 Backup](https://github.com/KnugiHK/WhatsApp-Chat-Exporter/blob/main/imgs/android_structure_backup_crypt15.png)
#### Extracting
If you do not have 32 bytes hex key but have the key file available, simply invoke the following command from shell.
```sh