androidroot

Android root access


I have a Google Nexus 7, and I've been developing on it. Only recently, however, have I become unable to access the /data/ directory using the file browser in eclipse. The device was never rooted, but now since I upgraded it, I believe that I have lost access to this. Is there any way to get eclipse to use the "run-as" command to access my app's data directory? How come I have suddenly lost access to this?

Is the only option left to root the device?

Thanks


Solution

  • Is there any way to get eclipse to use the "run-as" command to access my app's data directory?

    There is nothing for you to run "as" that would help here, AFAIK.

    How come I have suddenly lost access to this?

    You should not have had access to it in the first place. If you did, that was a security flaw in the device, perhaps fixed by a firmware upgrade.

    Is the only option left to root the device?

    You could not browse the /data/ directory on production hardware. For example, you can browse /data/ on the emulator.