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 : ADB can not install apk #20

Closed vrashankvats closed 3 years ago

vrashankvats commented 3 years ago

adb: failed to install tmp\WhatsAppbackup.apk

Terminal output E:\WhatsApp-Key-Database-Extractor>bin\adb.exe install tmp\WhatsAppbackup.apk Performing Streamed Install adb: failed to install tmp\WhatsAppbackup.apk: Failure [INSTALL_FAILED_VERSION_DOWNGRADE]

Desktop Windows 10

YuvrajRaghuvanshiS commented 3 years ago

Run python wa_kdbe.py --allow-reboot then send complete output.

YuvrajRaghuvanshiS commented 3 years ago

And other details as per template like device name and android version etc.

vrashankvats commented 3 years ago

[00:36:42.582555] Rebooting device, please wait. [00:36:44.511076] Waiting for device... [00:36:49.602704] Waiting for device... [00:36:54.647664] Waiting for device... [00:36:59.754859] Waiting for device... [00:37:04.865755] Waiting for device... [00:37:09.916029] Waiting for device... [00:37:14.967674] Press any key after unlocking device. [00:37:49.398534] Installing legacy WhatsApp V2.11.431, hold tight now. Performing Streamed Install adb: failed to install helpers/LegacyWhatsApp.apk: [00:37:55.139868] Installation Complete. [00:37:55.141232] Backing up WhatsApp data as tmp/whatsapp.ab. May take time, don't panic. WARNING: adb backup is deprecated and may be removed in a future release adb: unable to connect for backup: device 'RZ8M91EE45B' not found [00:37:55.259801] Done backing up data. Size : 0 bytes. [00:37:55.260576] Reinstallting original WhatsApp. Performing Push Install adb: error: failed to get feature set: device 'RZ8M91EE45B' not found

[00:37:55.405185] Our work with device has finished, it is safe to remove it now.

[00:37:55.420130] Found whatsapp.ab in tmp folder. Continuing... Size : 0 bytes. [00:37:55.422119] Enter a reference name for this user. :

device: Samsung Galaxy M30S android version: 10

YuvrajRaghuvanshiS commented 3 years ago

Check if device blocks install via ADB/USB. Like this in MIUI.

Nuc1eoN commented 3 years ago

Hi, I have the same issue (Honor 8 device). There is no option to allow installation over USB. However I think the device doesnt block it, becasue right under DEBUGGING there is an option like "Check software in intsalled over USB for viruses (which I have unchecked).

Also after the first attempt,WhatsApp extractor stopped working. When I type python wa_kdbe.py now it stops after:

[10:53:55.834942] Current release date : 17/03/2021

[10:53:55.834942] Please read above instructions carefully ↑ . Continue? (default y) :

[10:53:57.565146] If you haven't already, it is adviced to take a WhatsApp chat backup by going to WhatsApp settings → Chat Settings → Chat Backup. Press any key to continue.
[10:53:59.019031] Connected to FRD-L09

The program exits with no further messages.

YuvrajRaghuvanshiS commented 3 years ago

Did it give any error like

adb: failed to install path\to\app.apk: Failure [INSTALL_FAILED_USER_RESTRICTED: Install canceled by user]
Nuc1eoN commented 3 years ago

@YuvrajRaghuvanshiS Hi Yuvraj, I cannot test it because the tool stopped working after that. Lets resolve #46 first :)

YuvrajRaghuvanshiS commented 3 years ago

Closing due to inactivity.