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 '16 at 15:53

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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