Open Nonononoki opened 6 years ago
Just a quick guess: maybe these apps use Accounts which are stored in system area. So restoring app data doesn't get the apps to working state...
@ildar What do you mean by accounts? You do not have to log in to reproduce this error.
I mean that an app may use https://i.stack.imgur.com/LtvvX.png In that case restoring a backup is just not enough. OAndBackup can't handle account info. The apps must be confused that data is there but account info is not. But that's generally app's fault, not OAndBackup's Can you check my assumption?
@ildar I can't say for Twitter because a Twitter account definitely being created and added to the system, but the banking app is not creating nor requiring any account (it doesn't even have to contacts permission).
@Nonononoki some of apps have allowBackup="false"
tag in AndroidManifest.xml
file. Bank apps are 100% have it. You can't backup this apps. Other backup utilites marks this apps as not supported backups even it using root on the device. Seems that OAB don't mark this apps so.
@acuna-personal Figured. Is there really no workaround?
@Nonononoki all (known) backupers which I see deny to backup this apps due you can't restore it. It's simply use copy
utility to copy neccessary folders (with su
of course, so you need root), but you can't restore it on started with Lollipop devices because it needs to call restorecon
command after, but it can't be done for apps which backups possibility is denied.
Certain apps are crashing after restoring App and Data. I have experienced it on my banking app "DKB Tan2Go" and "Twitter".
Easy steps to follow:
Expected bahavior: App launches with backed up data
Actual behavior: App crashes
I'm on Android 8.1.0 with AEX custom ROM. I wonder how they developed the banking app, because clearing the data (not just cache) will not suffice. You have to manually uninstall and reinstall the application to get it to work again.