NeoApplications / Neo-Backup

backup manager for android
GNU Affero General Public License v3.0
2.62k stars 127 forks source link

Unable to restore user data - missing #331

Open bugsyb opened 3 years ago

bugsyb commented 3 years ago

version 5.0.2 Backed up number of app, apk + data. Upon restore there's no tick-box for data, it exists for apk. Icons shows that user data is there.

Tested on systems: Android 8 and Android 9.

Not sure how to provide better information and what would be needed.

Thanks for looking into it.

machiav3lli commented 3 years ago

Step by step discription of the process like the template stated would be a good start.

bugsyb commented 3 years ago

Thanks for swift response, but to be honest, not sure what is not clear in steps:

  1. Created backup of number of apps +60. Backup was set for apk and data.
  2. Swiping to "Restore" section, only apk show as selectable for same apps.

Not sure what else can I provide, i.e. logcat? What should I grep for?

machiav3lli commented 3 years ago

So all the backed up apps still show only the apk checkbox with no data?

bugsyb commented 3 years ago

Yes, exactly.

hungryseashell commented 2 years ago

I can confirm this issue on the latest release too.

There are no error messages, although data is not backed up.

In "Settings > Tools > View the log" there is nothing. It's totally empty.

I think rysson in #376 has the same issue. And maybe this bug is related to android version, at least all three of this bug report mentions android 8.

My setup:

machiav3lli commented 2 years ago

@hungryseashell maybe it's storage access problem. Do you use rcx or something similar?

machiav3lli commented 2 years ago

It could be also that the toybox included in A8-A8.1 misses on some functions that we use.

hungryseashell commented 2 years ago

I don't know what rcx is (so I probably don't use it :smile: )

output of adb shell su -c /system/bin/toybox ls -AllZd /data/user/0/com.luckydroid.droidbase is:

drwx------ 10 u0_a213 u0_a213 u:object_r:app_data_file:s0:c512,c768 4096 2022-01-18 09:48 /data/user/0/com.luckydroid.droidbase

output of adb shell su -c /system/bin/toybox ls -AllZ /data/user/0/com.luckydroid.droidbase is:

total 32
drwxrwx--x 2 u0_a213 u0_a213       u:object_r:app_data_file:s0:c512,c768 4096 2022-01-18 09:48 app_textures
drwx------ 3 u0_a213 u0_a213       u:object_r:app_data_file:s0:c512,c768 4096 2022-01-18 09:48 app_webview
drwxrws--x 3 u0_a213 u0_a213_cache u:object_r:app_data_file:s0:c512,c768 4096 2022-01-18 09:48 cache
drwxrws--x 2 u0_a213 u0_a213_cache u:object_r:app_data_file:s0:c512,c768 4096 2022-01-17 22:54 code_cache
drwxrwx--x 2 u0_a213 u0_a213       u:object_r:app_data_file:s0:c512,c768 4096 2022-01-18 09:48 databases
drwxrwx--x 4 u0_a213 u0_a213       u:object_r:app_data_file:s0:c512,c768 4096 2022-01-18 09:50 files
drwxrwx--x 2 u0_a213 u0_a213       u:object_r:app_data_file:s0:c512,c768 4096 2022-01-18 09:48 no_backup
drwxrwx--x 2 u0_a213 u0_a213       u:object_r:app_data_file:s0:c512,c768 4096 2022-01-18 09:50 shared_prefs