Fix a system error after UnTar in /data/data partition
Well, good job for running chmod after untar-ing. You, however, missed the most important thing: file owner/group.

If you look into /data/system/uiderrors.txt, you'll find a bunch of information like this:

1970/01/01 00:00: Package jackpal.androidterm uid has changed from 0 to 10001, old data erased.


I've already answered a question before about Android applications' UIDs. A factory reset would have made you lose more data than you have already lost now. As Izzy pointed out, you didn't take care about file permission owner/group, as the app might have been assigned a different UID on the other device, and all its data were erased by Package Installer.

You may want to take a look at my answer and restore file owner from /data/system/packages.list manually. As far as I can tell everything will be fine after that.