question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: Could not install legacy WhatsApp

See original GitHub issue

Describe the bug

Script stops at the same place every time, even though legacy WhatsApp is installed. OS: Windows 10 Phone: Samsung S10e (SM-G970F) Android 11

To Reproduce

Steps to reproduce the behavior:

  1. run python wa_kdbe.py (python is mapped to Python 3)
  2. Hit Enter at first (read instructions) and 2nd (backup suggestion) invitations
  3. Phone reboots and see error

Expected behavior

Script should get to the end and produce unencrypted db in /extracted folder.

Screenshots

wa_kdbe

Terminal output or log file

wa_kdbe.log

Additional context

It looks like the script is failing because something causes the phone to reboot while the Installing legacy WhatsApp V2.11.431, hold tight now step is running. And the error messages come right when it reboots, because the communication with the device is lost I’m guessing.

The legacy WhatsApp was installed, after the first try of the script. At the beginning I could launch the legacy app but not dismiss the date/time screen (it would exit the app if I tried to go back). But then after a lot of tries, including with --allow-reboot flag (exact same result), the app kept crashing on startup. I updated it from the Google Play Store, same crash on startup (and additional warning from Android saying it was hogging the battery because of the crashes). I had to uninstall and reinstall (and thus wipe the com.whatsapp folders). Right now I can’t say if the app works or not because FB servers are down and the phone number verification is in an endless wait loop.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:48 (20 by maintainers)

github_iconTop GitHub Comments

2reactions
YuvrajRaghuvanshiScommented, Oct 19, 2021

I am sorry to hear it Signal wouldn’t be an option for you.

That is a nice pun with Signal you made lol.

1reaction
Barabba11commented, Feb 25, 2022

I’ve succeed and I like to report it here as promised. As I have a modified version of Whatsapp this mod didn’t work for me, probably I had to uninstall it, install the original and recover the database, but since it was the first time I was afraid of that and I chosed the second solution, leave my phone as it is and use a second phone. In this way I’ve reised up a problem, because when I put the sim card on the second phone and autenticated my whatsapp account there I had to repeat the same thing when back on my phone, and that required anyway a reinstallation. So better don’t do it. Anyway the method of “restore just the old backup, save messages and reinstall again with the latest backup” worked

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Tool] WhatsApp Key/DB Extractor | CRYPT6-12 | NON-ROOT
= = If your WhatsApp version is greater than 2.11.431 (most likely), then = = a legacy version will be installed temporarily in...
Read more >
wakdbe · PyPI
The idea is to install "Legacy Version" of WhatsApp on you device via adb and use "adb backup" to fetch files from "/data/data/com.whatsapp" ......
Read more >
How to Fix 'App Not Installed' Error on Android? (2022) - DigitBin
App Not Installed Error Fix on Android with this simple solution and install the problematic app. Through the Methods, you can Fix APK...
Read more >
"You cannot install this app because another user has already ...
The message can also be Update package not compatible, please uninstall and then reinstall. You can install this app in App Store. and...
Read more >
Cannot restore WhatsApp backup without Google Services
apk: Failure [INSTALL_PARSE_FAILED_NOT_APK: Failed to parse /data/app/vmdl1329425107.tmp/base.apk] Install complete Now unlock your device and ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found