NeoApplications / Neo-Backup

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

[Bug] Backups from Android 9 don't show on Android 12 #715

Closed r0zbot closed 1 year ago

r0zbot commented 1 year ago

Description I have a backup I just took from Android 9 and I'm trying to restore it on Android 12, but it doesn't show on the list no matter what. The logs don't say anything other than recreateAppInfoList: 6 sec.

Backups done locally on each phone shows up.

Steps To Reproduce

  1. On android 9, create a backup
  2. Move it to a phone running android 12
  3. It doens't show on the list.

Expected behavior I expect it to at least show up. If impossible to restore, show an error.

Screenshots Only if there's no clear logs, add screenshots to help explain your problem.

System Information(please complete the following information):

Properties file:

{"backupVersionCode":8002,"packageName":"com.itau.pers","packageLabel":"Personnalité","versionName":"7.020.2","versionCode":1389,"sourceDir":"/data/app/com.itau.pers-ABoQ9Wv1pFGps8Fz_HXFpg==/base.apk","splitSourceDirs":["/data/app/com.itau.pers-ABoQ9Wv1pFGps8Fz_HXFpg==/split_config.arm64_v8a.apk","/data/app/com.itau.pers-ABoQ9Wv1pFGps8Fz_HXFpg==/split_config.xxhdpi.apk"],"backupDate":"2023-01-20T01:44:35.889","hasApk":true,"hasAppData":true,"hasDevicesProtectedData":true,"hasExternalData":true,"iv":[89,-11,-30,-125,37,59,42,3,88,-118,76,101,28,107,-94,111],"cpuArch":"arm64-v8a","permissions":["android.permission.READ_EXTERNAL_STORAGE"," android.permission.WRITE_EXTERNAL_STORAGE"," android.permission.USE_CREDENTIALS"," android.permission.MANAGE_ACCOUNTS"," com.google.android.providers.gsf.permission.READ_GSERVICES"," android.permission.CAMERA"," android.permission.VIBRATE"," android.permission.MODIFY_AUDIO_SETTINGS"," android.permission.BLUETOOTH"," android.permission.BROADCAST_STICKY"," android.permission.FLASHLIGHT"," android.permission.USE_BIOMETRIC"," com.google.android.c2dm.permission.RECEIVE"," com.samsung.android.providers.context.permission.WRITE_USE_APP_FEATURE_SURVEY"," com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE"," android.permission.REORDER_TASKS"],"size":188509621}
hg42 commented 1 year ago

is it only this package or all the backups taken on A9?

r0zbot commented 1 year ago

I only tried this package, as this is the one i really really need to have moved over.

Let me try a different one.

r0zbot commented 1 year ago

Just tried a different package, and it shows up just fine on both phones.

But the one with the issue also shows up fine on the original phone....

hg42 commented 1 year ago

in order to reduce logcat spamming, the log is mostly gathered internally (in the latest version(s)), so logcat only shows some less important messages that are not (or cannot be) made internal, yet.

Please enable in dev settings:

all trace* maybe excluding traceCompose

also enable logToSystemLogcat

then do a refresh, enter preferences/Tools/Terminal, press log/app and ->Log. Then share the latest log from Tools/"View the log" (you could inspect it before).

hg42 commented 1 year ago

Just tried a different package

:-) if you would have tried let's say 10 packages, it would at least have a minimal statistical significance.

At least we know it's not a general problem.

Just a guess (that would be really sad): Do you have other packages with an é in the Label? It's the first property that comes to mind... though my pumpkin packages include some utf-8 icon character, which works flawlessly. If you could try more packages, it would be interesting, which show up and which don't and what those have in common.

r0zbot commented 1 year ago

Interesting. I don't have other packages with that particular character, but I do have some other weird ones ó, ê, ô, ç, and they all show up just fine.

r0zbot commented 1 year ago

Oh, I just saw the logs, and in it, that particular app was on the blocklist. I definitely didn't put it there intentionally, but I can't completely rule out "user error". Maybe add some sort of "some packages were ignored" on that screen to prevent further stupidity? My bad and thanks for the help!

hg42 commented 1 year ago

do you use the context menu? it's easy to click on the wrong menu entry, it's still a bit experimental, but useful enough