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

adb fails to install legacy WhatsApp | macOS [INSTALL_FAILED_VERSION_DOWNGRADE] #40

Closed shloak17107 closed 3 years ago

shloak17107 commented 3 years ago

Describe the bug After backing up and uninstalling the existing Whatsapp on the device, the script proceeds to install the legacy WhatsApp. However, it runs into the following error: adb: failed to install helpers/LegacyWhatsApp.apk: Failure [INSTALL_FAILED_VERSION_DOWNGRADE].

To Reproduce

  1. Device connected via cable to Mac and USB debugging enabled
  2. Python requirements installed and dependencies installed
  3. Run python3 wa_kdbe.py
  4. See error

Screenshots

Screen Shot 2021-02-23 at 21 05 42

Desktop:

Smartphone:

YuvrajRaghuvanshiS commented 3 years ago

[INSTALL_FAILED_VERSION_DOWNGRADE]. is a known bug. Fix it by running with python wa_kdbe.py --allow-reboot