Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

Persistent permissions in dev/am*

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Persistent permissions in dev/am*

    Hi All
    Running a M8 Box with Finless 1.8 which is working much better than the default firmware.

    Only problem I have is permissions in dev/am* appear to vanish after a reboot.

    Is there any way to make it persistent? I did notice various script apps in the Android Market. Perhaps I could make a script to automate this?

    Cheers

    #2
    My ROMs enable init.d which will run any scripts placed in /etc/init.d/

    Create the script with a number in front like 01amperm
    do not put a .sh or any other . extension on the file name.
    set permissions on the script the same as the init.d folder

    On boot wait a few seconds to give the script a chance to run as it usually runs after the launcher comes up.

    Bob
    "Pzebacz im, bo nie wiedzą, co czynią"
    "Прости им, они не ведают, что творят"
    "Perdona loro perché non sanno quello che fanno"
    "Vergib ihnen, denn sie wissen nicht, was sie tun"
    "Vergeef hen want ze weten niet wat ze doen"
    "Pardonne-leur car ils ne savent pas ce qu'ils font"
    "Perdónalos porque no saben que lo que hacen"
    "Oprosti im, jer ne znaju što čine"
    "Forgive them as they know not what they do"





    Comment


      #3
      Thanks Bob
      Works perfectly

      Originally posted by Finless View Post
      My ROMs enable init.d which will run any scripts placed in /etc/init.d/

      Create the script with a number in front like 01amperm
      do not put a .sh or any other . extension on the file name.
      set permissions on the script the same as the init.d folder

      On boot wait a few seconds to give the script a chance to run as it usually runs after the launcher comes up.

      Bob

      Comment


        #4
        PATCH for Permissions - PLEASE TEST

        This was posted in 2 places..... So repeating it here:

        ________________________________________



        OK so this was pretty easy. Not sure why they are making a modified XBMC to fix the permissions when it can easily be done in boot.img.

        Please test this patch.
        All this does is replace boot.img in my Finless 1.8 ROM for the ENY square box.
        I have tested and check the permissions of the files after applying and they are correct. Just don't have time to test standard XBMC.

        It does not erase or do anything else. The boot.img is a modified one to fix permissions and is to ONLY BE USED with my ENY Square box Finless 1.8 ROM


        No instructions! Just apply the update from recovery. If you don't know how to do that then you should not be messing with it.

        REMEMBER TO TEST THIS, Remove all the init.d script you may have added BEFORE applying this patch. If you don't then your not testing it!

        If this works for everyone I will start to add it to all my future ROMs.

        Let me know how it goes...

        Download:

        PATCH -> EM8 Tomato Square Box - Finless ROM 1.8 - XBMC Permissions Patch (8 megs)


        Bob
        "Pzebacz im, bo nie wiedzą, co czynią"
        "Прости им, они не ведают, что творят"
        "Perdona loro perché non sanno quello che fanno"
        "Vergib ihnen, denn sie wissen nicht, was sie tun"
        "Vergeef hen want ze weten niet wat ze doen"
        "Pardonne-leur car ils ne savent pas ce qu'ils font"
        "Perdónalos porque no saben que lo que hacen"
        "Oprosti im, jer ne znaju što čine"
        "Forgive them as they know not what they do"





        Comment

        Working...
        X