I recently loaded Cyanogenmod 13 on my nexus 4. Prior to flashing, I did a full adb backup and an app data backup for com.king.candycrushsaga. The only thing that seems to need restoring is the candycrush data, but adb restore doesn't seem to do the job. It simply creates an empty folder in /sdcard/Android/data.
I used the abe.jar expander app to extract the .ab contents to a backup.tar file to see what was really in the backup, and there's an extensive set of files there, but they are all relative to apps/com.king.candycrushsaga. I can't find any apps/com... structure on my phone now. And since there's no 'data' component to file paths in the adb backup, it would seem that Android 6 stores app data in a different location than 5.1 did. Is that true? And if so, can I just use my .tar backup to restore the data to the correct location? Or rebuild the .ab with a new top level directory?
/data
on your device; usually app data are stored inside the/data/data/<package_name>
directory, which normally is only accessible to the app itself (and of course root)).adb restore
to work – but you need root to manually check/access directories below/data
;)