You can list all files in the root directory using:
adb shell "run-as com.your.package ls -l"
To copy a file over:
adb shell "run-as com.your.package cat relative/path > /sdcard/some_name"
adb pull /sdcard/some_name
Question
I have a Galaxy Ace with access to super user and I can not see the contents of the file, I urgently need to access internal database of mobile
What can I do?
Solution
You can list all files in the root directory using:
adb shell "run-as com.your.package ls -l"
To copy a file over:
adb shell "run-as com.your.package cat relative/path > /sdcard/some_name"
adb pull /sdcard/some_name