-
Notifications
You must be signed in to change notification settings - Fork 9
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
Failure [INSTALL_FAILED_VERSION_DOWNGRADE] #2
Comments
What is the Android version you are working on? |
Possibly the script detected a wrong API version. |
I also got the same error:
Iv'e ended up uninstalling it manually from phone which solved the original problem. However I bumped into another error:
which IIUC implies my android is too advanced to install that apk. Here is my version:
|
@chezihp The issue Deprecated SDK Version is due to the behavioural changes in SDK 34 (Android 14) To solve this you can try this command : adb install --bypass-low-target-sdk-block tmp/LegacyWhatsApp.apk |
@chezihp can you explain how you bypassed adb: failed to install tmp/LegacyWhatsApp.apk: Failure [INSTALL_FAILED_VERSION_DOWNGRADE: Downgrade detected: Update version code 450146 is older than current 232583004] im struggling with it |
I can't remember but in my post from back then I mentioned that I had to uninstall it manually |
You uninstalled with using -k flag? Because manually uninstalling actually deletes app data too that is com.whatsapp |
Just a reminder, ALWAYS do backup before you execute the scripts. |
Hi, unfortunately this issue seems not solved. I have been able to backup wa chats two months ago, but now I receive this message:
and also adding the flag '--bypass-low-target-sdk-block' doesn't work because such flag is not recognized:
Any idea of how this could be solved or of any way to workaround this issues or should I give up on a proper whatsapp chats backup/export to html? |
Forgot to say, both with Windows and Linux and using Android 9 on moto g(6) play. I tried with Pixel 2XL with Android 11 but this last one connects to a PC once every 100 trials no matter which cable I use. |
Hi. Can you show the full logs? |
Hello, thank you for replying me and sorry for getting back so late... I have really very very little time. How to I generate a file log? is there an option for it? To try again is hard because I would have to transfer again all whatsup data from my cell (a Pixel2 XL) to the one that is normally able to connect with a cable to my laptop, and that would cost me many hours which are very hard to find. At the same time, I happened few days ago to be able to connect my cell (the Pixel2 XL) directly to my PC (I couldn't for months even trying with different good quality cables)... and it worked on Windows 10. In other words it seems like that the legacy apk is today allowed to run on the 'Pixel2 XL', but not on the Motorola 'moto g(6)' Cheers, |
Any proper solutions to backing up on android 14? |
I do have the same issue. |
In the meantime, if anyone encounters this issue, I recommend attempting the extraction manually, as it might offer more insight into the problem. |
Lately I maybe partly solved the issue for myself. I'm using a 'Realme Note 50' As strange as it seems it the 'File Transfer' only works with my old laptop running Win7 AND only Because this behaviour is so unexpected I only want to report my experience but please, don't take it as an absolute truth, I don't want to mislead anyone. Maybe the problem is still a software one. For example my strong impression is that Windows gives you the impression that the cell is not connecting well, while actually it technically could, as often I only need to wait one minute (!!!) in order to have the 'Transfer files' option enabled (not grayed). Hope it helps. |
@Arch-Zero Your best option would likely be to use the end-to-end encrypted backup feature to extract the chat database. Check out the discussion in #5 for more details. |
I tried to get the script to run with a LegacyWhatsApp.apk from APKMirror.
First I forgot to enable Installing via USB so the program failed.
After figuring this out, I tried running again, and the only things what appeared to not working was an error Failure [INSTALL_FAILED_VERSION_DOWNGRADE] while installing the LegacyWhatsApp.apk
I think it has something to do with the adb install command and after some research I found this:
https://stackoverflow.com/questions/13400499/is-there-any-way-to-ignore-install-failed-version-downgrade-on-application-insta/13772620#13772620
It is worth mentioning that the error might be caused by having a dual app for WhatsApp installed, but I'm not quite sure.
Below there is the terminal output

The text was updated successfully, but these errors were encountered: