jensstein / oandbackup

backup manager for android
Other
543 stars 194 forks source link

[Bug] Android 4.4+ applications don't restore #194

Open Kristinita opened 6 years ago

Kristinita commented 6 years ago

1. Summary

Use oandbackups, I can restore 64 my apps with data, but 4 apps doesn't restore.

I found the dependency: 64 restored apps works with Android versions < 4.4, but 4 non-restored apps needs Android 4.4+.

2. Non-restored applications

I download all these apps from F-Droid.

2017/12/05 - 19:19:29:  pkg: /storage/sdcard0/oandbackups/at.bitfire.davdroid/base.apk [DAVdroid]
2017/12/05 - 19:19:29: Failure [INSTALL_FAILED_INVALID_URI] [DAVdroid]
2017/12/05 - 19:19:29: cannot restore data without restoring apk, package is not installed [at.bitfire.davdroid]
2017/12/05 - 19:19:43:  pkg: /storage/sdcard0/oandbackups/com.orpheusdroid.screenrecorder/base.apk [ScreenCam]
2017/12/05 - 19:19:43: Failure [INSTALL_FAILED_INVALID_URI] [ScreenCam]
2017/12/05 - 19:19:43: cannot restore data without restoring apk, package is not installed [com.orpheusdroid.screenrecorder]
2017/12/05 - 19:19:44:  pkg: /storage/sdcard0/oandbackups/de.baumann.browser/base.apk [Browser]
2017/12/05 - 19:19:44: Failure [INSTALL_FAILED_INVALID_URI] [Browser]
2017/12/05 - 19:19:44: cannot restore data without restoring apk, package is not installed [de.baumann.browser]
2017/12/05 - 19:20:26:  pkg: /storage/sdcard0/oandbackups/org.horaapps.leafpic/base.apk [LeafPic]
2017/12/05 - 19:20:26: Failure [INSTALL_FAILED_INVALID_URI] [LeafPic]
2017/12/05 - 19:20:26: cannot restore data without restoring apk, package is not installed [org.horaapps.leafpic]

If I can add more detailed debugging information, please, tell me, what can I do.

3. Steps to reproduce

I backup my apps use oandbackup → I migrate from VERTEX to Cyanogen 12.1 → I open oandbackup → batch restore → I select applications from my previous ROM → I select data + apkRESTORE → 4 from 68 applications not restored for me.

4. Hardware and software

Thanks.

ildar commented 6 years ago

Let's try to simplify the issue. Could you please try:

  1. restoring a single problematic app without batch
  2. to "restore APK only"
Kristinita commented 6 years ago

@ildar , for LeafPic:

LeafPic

Error

Thanks.