You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Without having looked at the internals of oandbackup: the package manager prevents downgrades and I am not sure if the Android API exposes a way around that. With root and shell access, it is possible to achieve that by doing:
pm install -r -d base.apk
which will replace existing packages (-r) and accept downgrades (-d). Maybe it would help to use pm install for all APK restore operations.
The text was updated successfully, but these errors were encountered:
mvglasow
changed the title
Restore fails when downgrading
Restore fails silently when downgrading
Oct 17, 2019
Steps to reproduce
Expected behavior
The old version of the app is back
Actual behavior
oandbackup reports success, but the updated version of the app is still around
Versions affected
oandbackup 0.3.5-universal (from F-Droid), LineageOS 15.1
Further information
Without having looked at the internals of oandbackup: the package manager prevents downgrades and I am not sure if the Android API exposes a way around that. With root and shell access, it is possible to achieve that by doing:
which will replace existing packages (
-r
) and accept downgrades (-d
). Maybe it would help to usepm install
for all APK restore operations.The text was updated successfully, but these errors were encountered: