title: How can I write to /cache/recovery/command in Android?
body: <p>maybe this is a silly question, but I am a beginner in Android and I'm trying to make a small bash script to wipe data on Android phones automatically. I read somewhere that if I write the "--wipe_data argument" in the "/cache/recovery/command" and then "adb reboot recovery" it will erase all user data. So the question is how to write to cache without root. I even tried with a rooted device but I got Permission Denied.</p>
  
  <p>Thanks </p>