Background: As part of an upgrade to A6/MM, I ended up having to wipe my phone. I did however back up /data/app and /data/data before I wiped. After the upgrade I rsync'ed /data/data back to the phone. Then I proceeded to re-install some apps from google play.
I expected the app data in /data/data to be used, but instead the app install first failed, but on 2nd attempt the install worked (finished), BUT it overwrote all my settings (etc) that I had restored into /data/data. My question is, how do I avoid this? Was the first install fail because the app installer saw the old data?
The app in question was Zoiper Lite, but I don't think the specific app is terribly significant. Is there something about wiping (factory reset) that causes the apk install process to expect no data and therefore fail, but then erasing data if you insist with a 2nd attempt? Of course, what I really want is a workaround so I can install the app AND keep the old data. I have lots of apps for which I would like to do this, so it is definitely a problem...