Accepted answer

on rooted device you can do this:

  1. open cmd
  2. type adb shell
  3. su
  4. press 'allow' on device
  5. chmod 777 /data /data/data /data/data/com.application.package/data/data/com.application.package/*
  6. go to the ddms view in eclipse

after this you should be able to browse the files on the device.

to get the databases:

  1. chmod 777 /data/data/com.application.package/databases /data/data/com.application.package/databases/*

if it returns permission denied on su

go to settings > developer options > root access > apps and adb


if you need to do it on your phone, i use a terminal emulator and standard linux commands.


  1. su
  2. cd data
  3. cd com.yourappp
  4. ls or cd into cache/shared_prefs


when i say file system i meant the whole file system. but you can only browse part of the file system on a retail phone, perhaps even most of file system but not ./data. sorry for any confusion this may have caused.

this is alarming to me because i have a rooted my retail nexus one and a developer/unlocked nexus one. since i rooted my retail nexus one i can't figure out why i can't browse the whole file system like i can on my developer nexus one.


event though it's a bit too late to try to answer this i'll leave what worked for me.

peceps's solution didn't work because the superuser app didn't allow "shell" to have root access. so my solution is to directly use another app like rootexplorer and browse the folders from it.


if it retures "permission denied" on adb shell -> su...

go to "developer options" -> root access -> "apps and adb"


to set permission on the data folder and all it's subfolders and files:
open command prompt from the adb folder:

>> adb shell
>> su
>> find /data -type d -exec chmod 777 {} \;


much simpler than messing around with permissions in the android fs (which always feels like
a hack for me - because i believe there must be a kind of integrated way) is just to:

allow adb root access and restart the deamon with root permissions.

  1. first be sure that adb can have root access on your device (or emulator):
    (settings -> developer options -> root-access for adb or apps & adb.
  2. restart the adb-service with root-permissions:
    open a command prompt and type: adb.exe root
  3. restart adm (android device manager):
    enjoy browsing all files
  4. to negate this process:
    type adb.exe unroot in your command prompt.


you must edit permission of data folder.

i use "root explorer" (see market) app on root mode.

on top select "monunted as r/w"

then press over data folder (long click) and find permission option

have a somenthing like that

        read    write  execute




make sure that "others" have a check for read

then go eclpse and try again.

sorry about my english,i hope can help you.


if gives "permission denied" on adb shell -> su...

some roms are running adbd daemon in secure mode (adbd has no root access and su command does not even show permission ask dialog on the device). in this case you will get "permission denied" when you try cmd -> adb shell -> su. the solution i've found is one app from the famous modder chainfire called adbd insecure.


no one seems to understand that a retail nexus one even after being rooted still will not let you browse the file system using ddms file explorer. we are talking about real phones here and not the emulator. if you happen to have a nexus one developer phone you can browse the file system using ddms filer explorer, but a retail nexus one that has been rooted you can't. got it?

so i hope that answers the question of not being able to use the ddms file explorer to browse the file system of a rooted retail nexus one. after rooting a retail nexus one there is still something that remains to be done to use ddms to use the file explorer to browse the phones file system. i don't know what it is. maybe someone else knowns.

Related Query

More Query from same tag