Is there a way to enable Android debugging by PC?



  • I'm trying to turn on debugging on my Samsung Galaxy J5 so I can use adb shell rm /data/system/gesture/.key and unlock my phone screen so I don't have to reset it and lose all its data (but it's locked with my PIN). For that, I need to know how to debug it just by the Command Prompt.

    Is there a way to enable Android debugging by PC?


  • QA Engineer

    There is no point pursuing this course of action. Deleting any file under /data/system requires root access. Android doesn't provide any way to users to access powers of root. A user has to resort to system hacking (called as rooting the device) to get root access. And in that process, most of the time the user data is wiped in the process.

    In short, even if you somehow manage to enable and authorize USB debugging the problem of "no-root-access" would stonewall you. And if you try to root the device, you will end up deleting all of your data -- the very thing you want to avoid.




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2