Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

I want to see the files from /root/data/data folder. Is there any application/trick which can do this?

share|improve this question
    
Did you try the suggestion? –  Sid Jan 12 '13 at 2:38
    
You will definitely need to root the phone first of all. Then you will need a competent file manager app you can use. ASTRO file manager is popular but it has no root access support so it's useless for power users. You should be able to use ES File Explorer or File Expert. I have recently had problems viewing /data/data or other protected folders with ES File Explorer and have pretty much abandoned it, and I am now using File Expert. They both require that you go into settings and enable root explorer option (and sometimes also mount the file system as writable). So you need to do that first. –  sammyg Jul 5 '13 at 10:34

3 Answers 3

up vote 3 down vote accepted

Short answer

You cannot do that without having your device rooted, as the file permissions won't allow you to list contents there. You will be able to change into /data/data, but you will not see a single thing there.

Longer explanation

While one might be able to access /data/data without root (i.e. change into that directory), permissions are set to forbid listing its contents:

shell@android:/ $ ls /data/data
opendir failed, Permission denied
1|shell@android:/ $ cd /data/data
shell@android:/data/data $ 
shell@android:/data/data $ ls -l /data
opendir failed, Permission denied

This is what happens on a device without root (output created just now on my Cat Stargate 2 running Android 4.1.1). Repeating the same on my HTC Wildfire running CM9 (Android 4.0.4) and having root access enabled looks a little different, and should give us the wanted details (output cut to the necessary stuff):

adb shell
root@android:/ # ls -l /data
drwxrwx--x system   system            2013-02-27 02:01 data

As it is clearly shown, /data/data is owned by the user system group system, with this user and group being the only having full read/write/execute access. Everybody else only has execute permission, enabling all processes to change into that directory. This is necessary for the apps to access their data: They know their package names, and such an app named com.foo.bar can directly jump to /data/data/com.foo.bar which it owns and has full access to.

share|improve this answer

You can do it with ES File Explorer(Only if your device is rooted)

Step 1:
press menu button --> select Root explorer
Step 2:
(A prompt will popup for giving super User permission) Allow permission
Step 3:
(Another pop-up) Click on Mount R/W ,by default there is Read permission(do this only if you need to write something,else leave it)

Step 4: Access any system folder

share|improve this answer

Simply use a file manager app like AndroZip File Manager

Keep in mind that you cannot edit the files if you do not have root access. It is not harmful only to read the files though.

share|improve this answer
    
I'm not able to access the folder with androzip file manager :( –  Jaguar Jan 19 '13 at 18:04
    
What happens? Try pressing the home button on the app (at your top left corner) and then hit the up arrow right next to the home button. –  Sid Jan 20 '13 at 1:07

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.