/sys file modification

sloth606

New member
Apr 21, 2012
3
0
0
Like it says, trying to modify a file in the /sys directory (not /system)

The following has been done:
-rooted phone
-changed permissions to rw on /sys and subsequent child directories needed

However when saving modifications I keep getting an error that says it cant save or complete the operation...

I'm at a loss. Does anyone have any advice?
 
Like it says, trying to modify a file in the /sys directory (not /system)

The following has been done:
-rooted phone
-changed permissions to rw on /sys and subsequent child directories needed

However when saving modifications I keep getting an error that says it cant save or complete the operation...

I'm at a loss. Does anyone have any advice?

What file and/or type of file you trying to modify? Could this be something you can modify off the device like in Notepad ++ and then push it to your device using ADB?
 
Just a text configuration file. Unfortunately, I have no computer so I have to do everything within the confines of the android os.
 
Text files need to be modified with specific formats. You can try and use Root Explorer since it has a built in Text Editor and see if that works. There may be others in the Play Store so take a look around.
 
I figured it out when I took a look at the mounts. /sys is using sysfs as file system. Its a virtual file system so it only exists in RAM. As the configuration parameter files come from the compiled kernel during startup, I would have to recompile OR the easier way, I just added to init.rc script. Thanks for all your inputs!
 

Trending Posts

Forum statistics

Threads
956,757
Messages
6,969,818
Members
3,163,608
Latest member
cambium