Skip to content

INSTALL_FAILED_DEPRECATED_SDK_VERSION #131

@ChristoferRian

Description

@ChristoferRian

[Wednesday 23/10/2024, 16:27:50] >>> I am in wa_kdbe.check_java()
[Wednesday 23/10/2024, 16:27:50] Found Java v21.0.4 installed on system. Continuing...

[Wednesday 23/10/2024, 16:27:50] Arguments passed: Namespace(allow_reboot=True, tcp_ip=None, tcp_port='5555', scrcpy=False, tar_only=False)
[Wednesday 23/10/2024, 16:27:50] >>> I am in wa_kdbe.get_sys_info()
[Wednesday 23/10/2024, 16:27:50] System Info: {
"Architecture": "x86_64",
"Hostname": "christofer-ubuntu",
"Platform": "Linux",
"Platform Release": "6.8.0-47-generic",
"Platform Version": "#47~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Oct 2 16:16:55 UTC 2",
"Processor": "x86_64",
"RAM": "8 GB",
"Python": [
"main",
"Sep 11 2024 15:47:36"
]
}
[Wednesday 23/10/2024, 16:27:50] Turned off wifi and mobile data...
[Wednesday 23/10/2024, 16:27:50] >>> I am in wa_kdbe.run_scrcpy(_is_scrcpy=False)
[Wednesday 23/10/2024, 16:27:50] Please read above instructions carefully ↑ . Continue? (default y): y

[Wednesday 23/10/2024, 16:27:50] 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.
[Wednesday 23/10/2024, 16:27:50] >>> I am in wa_kdbe.usb_mode()
[Wednesday 23/10/2024, 16:27:50] >>> I am in handler.handler(adb=adb -s R9CX100A5NF)
[Wednesday 23/10/2024, 16:27:50] Connected to SM-A055F
[Wednesday 23/10/2024, 16:27:50] >>> I am in handler.after_connect(adb=adb -s R9CX100A5NF)
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
[Wednesday 23/10/2024, 16:27:50] WhatsApp v2.24.20.89 installed on device
[Wednesday 23/10/2024, 16:27:50] Found legacy WhatsApp V2.11.431 apk in "helpers" folder
[Wednesday 23/10/2024, 16:27:50] >>> I am in wa_kdbe.real_deal(sdk_version=34, whatsapp_apk_path_in_device=/data/app/~~dBIaSf-y7JZLUgB-kV7IRQ==/com.whatsapp-da8_eVTqDwtYsI66yOJVPg==/base.apk, version_name=2.24.20.89)
[Wednesday 23/10/2024, 16:27:50] >>> I am in wa_kdbe.backup_whatsapp_apk(sdk_version=34, version_name=2.24.20.89, whatsapp_apk_path_in_device=/data/app/~~dBIaSf-y7JZLUgB-kV7IRQ==/com.whatsapp-da8_eVTqDwtYsI66yOJVPg==/base.apk)
[Wednesday 23/10/2024, 16:27:50] Backing up WhatsApp 2.24.20.89 apk, the one installed on device to "/data/local/tmp/WhatsAppbackup.apk" in your phone.
[Wednesday 23/10/2024, 16:27:50] Apk backup is completed.
[Wednesday 23/10/2024, 16:27:50] >>> I am in wa_kdbe.uninstall_whatsapp(sdk_version=34)
[Wednesday 23/10/2024, 16:27:50] Uninstalling WhatsApp, skipping data.
[Wednesday 23/10/2024, 16:27:50] Uninstalled.

[Wednesday 23/10/2024, 16:27:50] Rebooting device, please wait.
[Wednesday 23/10/2024, 16:27:50] Waiting for device to get online | o |
[Wednesday 23/10/2024, 16:27:50] Hit "Enter" key after unlocking device.
[Wednesday 23/10/2024, 16:27:50] >>> I am in wa_kdbe.install_legacy(sdk_version=34)
[Wednesday 23/10/2024, 16:27:50] Installing legacy WhatsApp V2.11.431, hold tight now.
[Wednesday 23/10/2024, 16:27:50] Could not install legacy WhatsApp
[Wednesday 23/10/2024, 16:27:50] adb: failed to install helpers/LegacyWhatsApp.apk: Failure [INSTALL_FAILED_DEPRECATED_SDK_VERSION: App package must target at least SDK version 23, but found 19]
Performing Streamed Install
[Wednesday 23/10/2024, 16:27:50] Trying to restore WhatsApp in 00:10.
[Wednesday 23/10/2024, 16:27:50] Trying to restore WhatsApp in 00:09.
[Wednesday 23/10/2024, 16:27:50] Trying to restore WhatsApp in 00:08.
[Wednesday 23/10/2024, 16:27:50] Trying to restore WhatsApp in 00:07.
[Wednesday 23/10/2024, 16:27:50] Trying to restore WhatsApp in 00:06.
[Wednesday 23/10/2024, 16:27:50] Trying to restore WhatsApp in 00:05.
[Wednesday 23/10/2024, 16:27:50] Trying to restore WhatsApp in 00:04.
[Wednesday 23/10/2024, 16:27:50] Trying to restore WhatsApp in 00:03.
[Wednesday 23/10/2024, 16:27:50] Trying to restore WhatsApp in 00:02.
[Wednesday 23/10/2024, 16:27:50] Trying to restore WhatsApp in 00:01.

[Wednesday 23/10/2024, 16:27:50] >>> I am in wa_kdbe.reinstall_whatsapp()
[Wednesday 23/10/2024, 16:27:50] Reinstalling original WhatsApp.
[Wednesday 23/10/2024, 16:27:50] Reinstallation complete.
[Wednesday 23/10/2024, 16:27:50] >>> I am in wa_kdbe.kill_me()

[Wednesday 23/10/2024, 16:27:50] Exiting...
[Wednesday 23/10/2024, 16:27:50] Turn off USB debugging [and USB debugging (Security Settings)] if you're done.

OS :
Ubuntu 22.04.5

Device :
Samsung 045
Android 14
OneUI 6.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions