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

failed to downgrade WhatsApp on Redmi 5 MIUI 11.0.2 global rom (Android 8.1) #45

Closed ronkwann closed 3 years ago

ronkwann commented 3 years ago

related to this? https://android.googlesource.com/platform/frameworks/base/+/921dd75

on win 10 x64, cmd log;

[16:01:18.934401] Found Java installed on system.

[16:01:18.936397] Current release date : 25/02/2021

[16:01:18.938389] Please read above instructions carefully ↑ . Continue? (default y) : y [16:01:21.461007] Connected to Redmi 5 [16:01:23.164581] WhatsApp V2.21.4.22 installed on device [16:01:23.164800] Found legacy WhatsApp V2.11.431 apk in helpers/ folder [16:01:23.353969] Backing up WhatsApp 2.21.4.22 apk, the one installed on device to tmp/WhatsAppbackup.apk /sdcard/WhatsAppbackup.apk: 1 file pulled, 0 skipped. 20.2 MB/s (33009455 bytes in 1.557s) [16:01:25.467246] Apk backup complete. [16:01:25.467246] Uninstalling WhatsApp, skipping data. Success [16:01:26.979392] Uninstalled. [16:01:26.979392] Installing legacy WhatsApp V2.11.431, hold tight now. Performing Streamed Install adb: failed to install helpers/LegacyWhatsApp.apk: Failure [INSTALL_FAILED_VERSION_DOWNGRADE] [16:01:35.790874] Installation Complete. Starting: Intent { cmp=com.whatsapp/.Main } Error type 3 Error: Activity class {com.whatsapp/com.whatsapp.Main} does not exist. [16:01:35.947860] Press any key after running Legacy WhatsApp for a while. Ignore invalid date warning. ...

YuvrajRaghuvanshiS commented 3 years ago

run with --allow-reboot

python3 wa_kdbe.py --allow-reboot