possible to WriteString to a /sys... file ?

peacemaker

Expert
Licensed User
Longtime User
How to write system folder files, if the device is rooted ?
For control hardware settings.

File.WriteString(txtPath.Text, "brightness",a) - gives error.
 

joseluis

Active Member
Licensed User
Longtime User
For posterity, could you please explain what happened, in case some others walk into the same doubt?
 
Upvote 0

peacemaker

Expert
Licensed User
Longtime User
It was just mistake in code. After fixing writing was OK, but actually, it was tested remotely by a customer, so i'm still not sure if the device was rooted or not...
 
Upvote 0
Top