

You can also try copying the file to the SD Card folder, which is a public folder, then you can copy the file to your PC where you can use sqlite to access it. my files directory permissions read drwxrwxrwx and my log.csv file permissions read -rw-rw. csv file that passed to the files directory. (to compound on this a tad further, oddly enough, the permissions did not pass to the. These commands allowed me to expand and view the files in my app's directory to confirm that the. chmod 777 /data /data/data /data/data//*įollowed by: chmod 777 /data /data/data /data/data//files I now could expand my myapp folder, but could not expand the files directory in it.Īt this point, I played around for a while then figured why not just try it on the directory I need rather than trying these wildcard entries. That solution seemed to work, but only on certain folders. That is when I tried the solution I posted: chmod 777 /data /data/data /data/data/* The initial instructions would not work on this part: chmod 777 /data /data/data /data/data/ /data/data//* That is when I discovered the above solution. directories, but I could not open any of them.

I rooted my 6 and tried DDMS again.Īt this point, it showed me the data folder and I could expand the folder and see the com. As mentioned online in other places, the expand + would vanish then reappear shortly thereafter (note, there are solutions on the web that claim to allow access to these folders without rooting, I didn't find them till too late, and I'm not sure if I prefer not to root anyway ((I'd rather be able to do it manually than rely on an app or command prompt to give me my solutions))).

I could see the data folder, but trying to open it would not work. When I first started to try to access this file on my Nexus 6, I found that I have to root the device. I'm running a Nexus 6 using DDMS in IntelliJ (Android Device Monitor). I assume the same solution is true for Eclipse DDMS. Changing the chmod command to /data/data/* gave access to all subfolders in the data directory from DDMS in Intellij. The original solution worked, but the chmod would return unknown directory. Open DDMS view in Eclipse/IntelliJ and from there open 'FileExplorer' to get your desired file After a successful connection you will have an arbitrary sized terminal on your PC, which is capable to run tail -f command on your phone. On a rooted device, the correct solution is this: Open cmdĬhange your directory and go into 'Platform tools' After that you can connect it from your PC, with the following command: (use cygwin on windows) telnet 192.168.1.8 8080 You should use your phones IP address instead of the above one.
