I have non-rooted Android 7.0 device (NVIDIA Shield Tablet) which was previously backed up with
adb backup -apk -shared -all -nosystem -f mybackup.ab
But restoring it with
adb restore mybackup.ab
results in that /Android/data
, etc are restored, but the applications are not installed from apk files, no errors.
I've had to extract apk files from mybackup.ab and install them manually in batch with adb install <...>.apk
. After that everything was fine.
I'm quite sure that I've previously had similar problem with 6.0. and Helium/Carbon before but thought that it was specific to backup method I've chosen.
What is the problem with adb restore
? Is it because the device is non-rooted? Why does adb install
work as expected then?
adb install
in batch. Hope somebody can help on this.