How to recover "data/data" folder from HTC Desire before rooting
You can backup data in an app's /data/data/&lt;packagename&gt; folder by using Android's backup function.

adb backup -noapk com.app.packagename


You will now be prompted to 'unlock your device and confirm the backup operation'. The resulting 'backup.ab' file on your computer contains all the app's data in android backup format. Use

adb restore backup.db 


to restore the backup.