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
443 stars 57 forks source link

Could not install legacy WhatsApp: Failure [INSTALL_FAILED_NO_MATCHING_ABIS: INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113] #113

Closed moxw closed 10 months ago

moxw commented 1 year ago

Describe the bug

Installing the legacy whatsapp apk is getting failed.

Screenshots image

Terminal output or log file

[Saturday 06/05/2023, 18:19:32] >>> I am in wa_kdbe.check_java()
[Saturday 06/05/2023, 18:19:32] Found Java v1.8.0_372 installed on system. Continuing...

[Saturday 06/05/2023, 18:19:32] Arguments passed: Namespace(allow_reboot=False, tcp_ip=None, tcp_port='5555', scrcpy=True, tar_only=False)
[Saturday 06/05/2023, 18:19:32] >>> I am in wa_kdbe.get_sys_info()
[Saturday 06/05/2023, 18:19:32] System Info: {
  "Architecture": "x86_64",
  "Hostname": "arch",
  "Platform": "Linux",
  "Platform Release": "6.3.1-arch1-1",
  "Platform Version": "#1 SMP PREEMPT_DYNAMIC Mon, 01 May 2023 17:42:39 +0000",
  "Processor": "",
  "RAM": "31 GB",
  "Python": [
    "main",
    "Apr  5 2023 15:52:25"
  ]
}
[Saturday 06/05/2023, 18:19:32] Turned off wifi and mobile data...
[Saturday 06/05/2023, 18:19:32] >>> I am in wa_kdbe.run_scrcpy(_is_scrcpy=True)
[Saturday 06/05/2023, 18:19:32] Please read above instructions carefully ↑ . Continue? (default y): 

[Saturday 06/05/2023, 18:19:32] If you haven't already, it is advised to take a WhatsApp chat backup by going to "WhatsApp settings → Chat Settings → Chat Backup". Hit "Enter" key to continue.
[Saturday 06/05/2023, 18:19:32] >>> I am in wa_kdbe.usb_mode()
[Saturday 06/05/2023, 18:19:32] >>> I am in handler.handler(adb=adb -s 2B071FDH300CCJ)
[Saturday 06/05/2023, 18:19:32] Connected to Pixel 7 Pro
[Saturday 06/05/2023, 18:19:32] >>> I am in handler.after_connect(adb=adb -s 2B071FDH300CCJ)
Starting new HTTPS connection (1): web.archive.org:443
https://web.archive.org:443 "HEAD /web/20141111030303if_/http://www.whatsapp.com/android/current/WhatsApp.apk HTTP/1.1" 200 0
[Saturday 06/05/2023, 18:19:32] WhatsApp v2.23.10.6 installed on device
[Saturday 06/05/2023, 18:19:32] Found legacy WhatsApp V2.11.431 apk in "helpers" folder
[Saturday 06/05/2023, 18:19:32] >>> I am in wa_kdbe.real_deal(sdk_version=33, whatsapp_apk_path_in_device=/data/app/~~XeLQGrajATrIK6g9O0stFw==/com.whatsapp-du1P5IPpTLYGS3-zJ_82OQ==/base.apk, version_name=2.23.10.6)
[Saturday 06/05/2023, 18:19:32] >>> I am in wa_kdbe.backup_whatsapp_apk(sdk_version=33, version_name=2.23.10.6, whatsapp_apk_path_in_device=/data/app/~~XeLQGrajATrIK6g9O0stFw==/com.whatsapp-du1P5IPpTLYGS3-zJ_82OQ==/base.apk)
[Saturday 06/05/2023, 18:19:32] Backing up WhatsApp 2.23.10.6 apk, the one installed on device to "/data/local/tmp/WhatsAppbackup.apk" in your phone.
[Saturday 06/05/2023, 18:19:32] Apk backup is completed.
[Saturday 06/05/2023, 18:19:32] >>> I am in wa_kdbe.uninstall_whatsapp(sdk_version=33)
[Saturday 06/05/2023, 18:19:32] Uninstalling WhatsApp, skipping data.
[Saturday 06/05/2023, 18:19:32] Uninstalled.
[Saturday 06/05/2023, 18:19:32] >>> I am in wa_kdbe.install_legacy(sdk_version=33)
[Saturday 06/05/2023, 18:19:32] Installing legacy WhatsApp V2.11.431, hold tight now.
[Saturday 06/05/2023, 18:19:32] Could not install legacy WhatsApp
[Saturday 06/05/2023, 18:19:32] adb: failed to install helpers/LegacyWhatsApp.apk: Failure [INSTALL_FAILED_NO_MATCHING_ABIS: INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]
Performing Streamed Install
[Saturday 06/05/2023, 18:19:32] Trying to restore WhatsApp in 00:10.
[Saturday 06/05/2023, 18:19:32] Trying to restore WhatsApp in 00:09.
[Saturday 06/05/2023, 18:19:32] Trying to restore WhatsApp in 00:08.
[Saturday 06/05/2023, 18:19:32] Trying to restore WhatsApp in 00:07.
[Saturday 06/05/2023, 18:19:32] Trying to restore WhatsApp in 00:06.
[Saturday 06/05/2023, 18:19:32] Trying to restore WhatsApp in 00:05.
[Saturday 06/05/2023, 18:19:32] Trying to restore WhatsApp in 00:04.
[Saturday 06/05/2023, 18:19:32] Trying to restore WhatsApp in 00:03.
[Saturday 06/05/2023, 18:19:32] Trying to restore WhatsApp in 00:02.
[Saturday 06/05/2023, 18:19:32] Trying to restore WhatsApp in 00:01.

[Saturday 06/05/2023, 18:19:32] >>> I am in wa_kdbe.reinstall_whatsapp()
[Saturday 06/05/2023, 18:19:32] Reinstalling original WhatsApp.
[Saturday 06/05/2023, 18:19:32] Reinstallation complete.
[Saturday 06/05/2023, 18:19:32] >>> I am in wa_kdbe.kill_me()

[Saturday 06/05/2023, 18:19:32] Exiting...
[Saturday 06/05/2023, 18:19:32] Turn off USB debugging [and USB debugging (Security Settings)] if you're done.

Additional context Assuming this is happening because of the device architecture based on 64-bit?