YuvrajRaghuvanshiS / WhatsApp-Key-Database-Extractor

The most advanced and complete solution for extracting WhatsApp key/DB from package directory (/data/data/com.whatsapp) without root access.
MIT License
447 stars 57 forks source link

Error: Could not install legacy WhatsApp #78

Closed ObliviousMonkey closed 10 months ago

ObliviousMonkey commented 2 years ago

Describe the bug

Script stops at the same place every time, even though legacy WhatsApp is installed. OS: Windows 10 Phone: Samsung S10e (SM-G970F) Android 11

To Reproduce

Steps to reproduce the behavior:

  1. run python wa_kdbe.py (python is mapped to Python 3)
  2. Hit Enter at first (read instructions) and 2nd (backup suggestion) invitations
  3. Phone reboots and see error

Expected behavior

Script should get to the end and produce unencrypted db in /extracted folder.

Screenshots

wa_kdbe

Terminal output or log file

wa_kdbe.log

Additional context

It looks like the script is failing because something causes the phone to reboot while the Installing legacy WhatsApp V2.11.431, hold tight now step is running. And the error messages come right when it reboots, because the communication with the device is lost I'm guessing.

The legacy WhatsApp was installed, after the first try of the script. At the beginning I could launch the legacy app but not dismiss the date/time screen (it would exit the app if I tried to go back). But then after a lot of tries, including with --allow-reboot flag (exact same result), the app kept crashing on startup. I updated it from the Google Play Store, same crash on startup (and additional warning from Android saying it was hogging the battery because of the crashes). I had to uninstall and reinstall (and thus wipe the com.whatsapp folders). Right now I can't say if the app works or not because FB servers are down and the phone number verification is in an endless wait loop.