Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get Failure [INSTALL_FAILED_INVALID_APK] #39

Open
exx8 opened this issue Feb 28, 2021 · 5 comments
Open

get Failure [INSTALL_FAILED_INVALID_APK] #39

exx8 opened this issue Feb 28, 2021 · 5 comments

Comments

@exx8
Copy link

exx8 commented Feb 28, 2021

Whenever I tried to use the script I get:
Failure [INSTALL_FAILED_INVALID_APK]
Has anyone solved this issue before?

@exx8
Copy link
Author

exx8 commented Mar 1, 2021

solved by replacing the legacy apk, it seems that it can't download the right apk automatically.
It's still a bug in the script, so I keep this issue open.

@fleimgruber
Copy link

fleimgruber commented Mar 3, 2021

@exx8 I am hitting the same issue. Could you please explain which file location you replaced with which file exactly? Thanks!

@Brugix
Copy link

Brugix commented Mar 19, 2021

@fleimgruber I solved this problem in this way:

  1. Download "WhatsApp-2.11.431.apk" from https://whatcrypt.com/WhatsApp-2.11.431.apk.
  2. Copy the file "WhatsApp-2.11.431.apk" inside the "tmp" folder.
  3. In "WhatsAppKeyDBExtract.ps1", line 87, replace LegacyWhatsApp.apk with WhatsApp-2.11.431.apk.
  4. Save and run it.
  5. In "extracted" folder you should find the cryptkey and the other files.

@exx8 you did something like this?

@fleimgruber
Copy link

@Brugix thanks for the instructions. I managed to do what you described (but without changing the .ps1 script, just directly replacing the LecacyWhatsApp.apk) two days after I wrote my question and did not report back. Good to have the instructions explicitly in this issue though, thanks!

@exx8
Copy link
Author

exx8 commented Mar 20, 2021

@fleimgruber I solved this problem in this way:

  1. Download "WhatsApp-2.11.431.apk" from https://whatcrypt.com/WhatsApp-2.11.431.apk.
  2. Copy the file "WhatsApp-2.11.431.apk" inside the "tmp" folder.
  3. In "WhatsAppKeyDBExtract.ps1", line 87, replace LegacyWhatsApp.apk with WhatsApp-2.11.431.apk.
  4. Save and run it.
  5. In "extracted" folder you should find the cryptkey and the other files.

@exx8 you did something like this?

Actually I just got the apk and placed it in the right place. the script checks that if the apk already exists, and doesn't change it if it does.
Maybe you should write PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants