Results 1 to 5 of 5
  1. Thread Author  Thread Author    #1  

    Default /sys file modification

    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?
  2. #2  
    Paul627g's Avatar

    Posts
    13,340 Posts
    Global Posts
    13,803 Global Posts
    ROM
    Milestone 1/Lean Kernel

    Default Re: /sys file modification

    Quote Originally Posted by sloth606 View Post
    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?
  3. Thread Author  Thread Author    #3  

    Default

    Just a text configuration file. Unfortunately, I have no computer so I have to do everything within the confines of the android os.
  4. #4  
    srkmagnus's Avatar

    Posts
    2,429 Posts
    ROM
    Calkulin 2.7/Desperado

    Default Re: /sys file modification

    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.
  5. Thread Author  Thread Author    #5  

    Default

    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!

Posting Permissions