0

I working on a root - base programm, but I'm a little bit confused on how to use DataOutputStreamto edit and save a system file located at /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq (File name is scaling_max_freq)

Can anyone help me out? Can this happen without having root access?

(Let's suppose that root access is granted by a process named p)

  • possible duplicate of [Write files to /system](http://stackoverflow.com/questions/11268717/write-files-to-system) – L.Butz Sep 04 '15 at 13:23
  • No..I just want to edit the file and then just save it again where it was. Thanks for your answer! –  Sep 04 '15 at 13:44

0 Answers0