My phone is getting out of storage space warnings and most of this is due to log files in /data that I cannot get to.

I'm using CyanogenMod and use Terminal to gain shell access. Issue su in the root filesystem, cd data, then ls. That's when I get permission denied.

enter image description here
Screenshot (click for larger variant)

What do I need to do to gain permission to clear out these large, inaccessible log files?

  • If you'll add as an answer I'll green check you.
    – a coder
    Nov 9, 2016 at 15:53

1 Answer 1


You're not even operating as root - the symbol before each command is still $ instead of #. Double check the root-related options in Developer options - allow root for shell.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .