Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decrypting file without rooted device but I have the files on my computer #160

Open
Pankeki03 opened this issue Sep 27, 2022 · 4 comments
Open

Comments

@Pankeki03
Copy link

Hello, I wanted to ask, if it was possible using the program with encrypted files on my PC.
The main problem is that the device is not rooted and at the moment, the device is broken too, but I do have the files on my pc.
Is there a way I can use it? Or I have to give up?

@ttonin33
Copy link

ttonin33 commented Oct 7, 2022

You need the decryption key, which you can only get with root rights otherwise the program can't decrypt your chats, so badly no.
But if you have a backup on Drive and a Pc this schould gonna Work. Your get the Databases even decrypted.

#160 (comment)

@ttonin33
Copy link

ttonin33 commented Oct 9, 2022

However, it is possible to start an emulator with Android Studio to open the files. For this you need a Emulator with Google API (no Produktion build) and with adb install Whatsapp.apk you install Whatsapp. After that you get with adb root the root rights to read the directory of Whatsapp.

https://developer.android.com/studio/debug/device-file-explorer

Screenshot 2022-10-09 204031

Screenshot 2022-10-09 203410

@irvine48
Copy link

is that this key only needed when chat is end to end encrpted? do encryption off need this key?

@ttonin33
Copy link

The key file is needed to decrypt the accessible database file (msgstore.db.crypt14). All chats are stored in this file.
It is not needed if you take the msgstore.db file directly, but this is only possible with root rights.
The end to end encryption only applies to the transport to the recipient but not to the storage on the own cell phone.

is that this key only needed when chat is end to end encrpted?

No

do encryption off need this key?

Yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants