Is there any way to edit files in sys folder? I want to do that because buttons backlight on new rom is off, probably because I turned it off on previous rom and now I dont have backlight buttons settings.

  • /sys or /system? /sys is the sysfs psuedo filesystem which is a reflection of the kernel's device object structure and should not (cannot?) be edited directly even with root access. – acejavelin Sep 28 '16 at 20:12
  • @acejavelin /sys OK. Well than how it was possible to change brightness when it's file is stored there? – Једноруки Крстивоје Sep 28 '16 at 20:31
  • Doesn't Lux work? BTW, it's file isn't stored there, the current setting the kernel is using would be... the actual brightness is somewhere in the framework (beyond my direct knowledge). – acejavelin Sep 28 '16 at 20:57
  • It works, but I wanted to do it without aditional apps. Oh, my bad than. Thanks anyway – Једноруки Крстивоје Sep 28 '16 at 21:21
  • From my experience, editing it is possible at least on some occasions. Many HTC devices rely on the trick to disable/enable capacitive key backlights. Problem is you don't know what devices are capable of that and what files they allow you to touch - Samsung phones save those in a different place (device) for example. If editing directly fails, try writing an init.d script that does the same on boot (via echo). – Andy Yan Sep 29 '16 at 0:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.