title: Writing to text file, file not updating
body: <p>I have been having some trouble: my previous question <a href="https://stackoverflow.com/questions/25597215/writing-string-to-text-file">here</a> explains it all. I was trying to write to a file in the external storage which on my device is /data/media or /sdcard. The file (when you adb pull it with device on) one saves two lines of text and then gets overwritten but once you adb pull it again in recovery with /data mounted, all the logs appear.</p>
  
  <p>I have tried mounting /data and then writing to the file but still no luck... Any help?</p>