how to restore android app data?

asked 2015-10-05 20:43:37 +0200

c.la gravatar image

Hi, before returning the phone to care for repairs I did a backup of some android app data, for example fennec (firefox on f-doid) with the following command:

tar cf /media/sdcard/xxxx-xxxx/app_backup/fennec/fennec.rar -C /data/data/org.mozilla.fennec_fdroid .

now I want to restore it but doing an untar creates error while installing applications, probably because the folder owner of /data/data/org.mozilla.fennec_fdroid is root.

On data/data I see that there are several owners of its app subfolders, from 10000 to 10010. Which one is the one to chmod/chown the newly created folder?

Thank you

edit retag flag offensive close delete