jensstein / oandbackup

backup manager for android
Other
544 stars 193 forks source link

Can't restore data #170

Open niksabaldun opened 7 years ago

niksabaldun commented 7 years ago

Oab won't restore data of any app. I am on Sony Xperia M4 Aqua stock ROM (Marshmallow). The backup was made on the same ROM. Oab log and logcat output are attached. Logs were made with 0.2.10 debug version, but the same thing happens with 0.2.12 from F-Droid.

oablogcat.txt oablog.txt

ildar commented 7 years ago

You seem to lack permission for reading external sd card. BTW the app should toast about that, didn't you see? That's another issue easily searchable.

niksabaldun commented 7 years ago

No, there was no toast. And I tried restoring from internal storage, with the same result.

ildar commented 7 years ago

Then would you provide the logcat from the moment of oab startup?

niksabaldun commented 7 years ago

Here is the complete logcat. I also noticed that oandbackup does not show apps which are not installed, even though they exist in backup folder. This happens when I put the backups on internal storage or external SD, regardless.

oablogcat.txt

ildar commented 7 years ago

StrictMode policy violation; ~duration=6 ms: android.os.StrictMode$StrictModeDiskReadViolation: policy=65567 violation=2 and lower.

It seems your Xposed denies oandbackup to Read Disk.

niksabaldun commented 7 years ago

I didn't even know I had Xposed. However, I installed Xposed Installer and turned Xposed off, but nothing changed with oab. Thanks for your help, but I give up. It seems oab is not actively developed any more, so it's obviously risky to use it.

ildar commented 7 years ago

I can be wrong with my analysis. Maybe others ( @jensstein ?) can do it better?