title: Android use System app without root to write to file
body: <p>I am currently developing an AOSP ROM and I need to make a system app which is able to write data to CPU text files. The thing is I am able to do it while I have root access but the ROM needs to be flashed and provided to a non-root phone which should still be able to use that system app. </p>
  
  <p>Could someone with prior experience please provide some guidance ? </p>