I have just learnt using preferences in Android. For debugging purpose I need to access the preferences files. I googled and found the default location of the p
preferences
Root your device and open adb shell and change the permissions as:
$ adb shell $ su 1|root@android:/ # chmod -R 777 data/