InstallWithOptions icon indicating copy to clipboard operation
InstallWithOptions copied to clipboard

Can't downgrade app.

Open rejuanad99 opened this issue 1 year ago • 10 comments

As the title says I can't downgrade the even though I installed it with this app. Screenshot_20240501_212529_Install with Options It throw this error.

rejuanad99 avatar May 01 '24 19:05 rejuanad99

I'm using shizuku mode.

rejuanad99 avatar May 01 '24 19:05 rejuanad99

I just downgraded the exact same versions of the exact same app on A.8 with only 2 options: Allow Downgrade and Replace Existing, because I don't have the Enable Rollback one, which is dependent on the OS ver. I guess, my authorizer is Root, instead of Shizuku, but that shouldn't be the problem, are you sure you enabled the "Replace Existing" option, because it's a must and should be enabled by default IMO and it won't hurt even if you are not installing over an existing package.

drogga avatar May 02 '24 10:05 drogga

I just downgraded the exact same versions of the exact same app on A.8 with only 2 options: Allow Downgrade and Replace Existing, because I don't have the Enable Rollback one, which is dependent on the OS ver. I guess, my authorizer is Root, instead of Shizuku, but that shouldn't be the problem, are you sure you enabled the "Replace Existing" option, because it's a must and should be enabled by default IMO and it won't hurt even if you are not installing over an existing package.

It doesn't work even with replace existing option selected.

rejuanad99 avatar May 02 '24 15:05 rejuanad99

Disable any other option than the 2 I mentioned, because I've tried with Shizuku on A11 and it installed an older build as well, you can also try with InstallerX or any other alternative, even manually, by using the -d & -r attributes/params/flags in the install command, just to see if they will work.

Edit: I've tested with 3 other similar installers as well on A.14 and you are correct - nothing seems to able to downgrade, because apparently in order to do so a package must be debuggable now, which unfortunately is yet another restriction in the more recent OS vers. and IMO it should be mentioned in the option's description in IWO to avoid confusion.

drogga avatar May 02 '24 17:05 drogga

Nope, doesn't work, it did worked with my rooted phone. Which also running android 14.

rejuanad99 avatar May 03 '24 04:05 rejuanad99

If I use replace existing will the data be deleted as well?

rejuanad99 avatar May 04 '24 21:05 rejuanad99

No, it resumes the download.

zacharee avatar May 04 '24 21:05 zacharee

Thanks, it works on android 11 but not on android 14 with shizuku, but did work on android 14 with root.

rejuanad99 avatar May 05 '24 16:05 rejuanad99

Please make the app so that it works in all versions of Android

Russe098 avatar May 10 '24 04:05 Russe098

Russ - In general [A.4.0 > 15] or just this option, because I don't think it's possible or makes sense for a number of reasons, one is the availability of the flags in lower OS vers., the other is Shizuku [7.0+ nowadays], but this is for another issue ticket... But If you mean the Downgrade option, then as I mentioned above - Google crippled it, so now [14+] it requires an attribute/param in the AndroidManifest.xml that indicates that the package is debuggable and I tested by installing the same exact ver. with the RollBack option and then tried to downgrade, which didn't work. I no longer have anything with A.14 to further play around with the downgrade, not that there seems to be a point, but I've tested with debuggable packages and it works as it should.

drogga avatar May 10 '24 07:05 drogga