Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

A new 1.4 ROM coming

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

    #31
    Any progres?
    May i tested?
    if you love my work please buy a coffee

    <form action="https://www.paypal.com/cgi-bin/webscr" method="post">https://www.paypalobjects.com/en_GB/i/scr/pixel.gif
    https://www.paypalobjects.com/en_US/..._donate_SM.gif


    </form>

    Comment


      #32
      Originally posted by snakekiller View Post
      Any progres?
      May i tested?

      Comment


        #33
        This is for 10g2 right? Just for sure
        if you love my work please buy a coffee

        <form action="https://www.paypal.com/cgi-bin/webscr" method="post">https://www.paypalobjects.com/en_GB/i/scr/pixel.gif
        https://www.paypalobjects.com/en_US/..._donate_SM.gif


        </form>

        Comment


          #34
          Originally posted by snakekiller View Post
          This is for 10g2 right? Just for sure


          No this ROm is for the GoCLever tablet. See the Arnova forum for 1.4 for the 10G2.

          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


            #35
            Originally posted by Finless View Post


            No this ROm is for the GoCLever tablet. See the Arnova forum for 1.4 for the 10G2.

            Bob
            Ok, are these scripts already build in for the 10g2?
            Can you cook one for me please with these scripts?
            if you love my work please buy a coffee

            <form action="https://www.paypal.com/cgi-bin/webscr" method="post">https://www.paypalobjects.com/en_GB/i/scr/pixel.gif
            https://www.paypalobjects.com/en_US/..._donate_SM.gif


            </form>

            Comment


              #36
              You don't need to have these cooked in a ROM with these scripts. You are fully rooted if you installed my 10 G2 1.4 ROM. Just do what Arturial did and apply them since you are fully rooted!

              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


                #37
                Artural, you still around?

                Any idea how to make a script run on first boot but not run again after that?

                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


                  #38
                  just an idea about it. That may be not unfeasible, but try simply rm the script itself at the end. Maybe the script cannot be deleted while executing.

                  Comment


                    #39
                    Originally posted by petrus View Post
                    just an idea about it. That may be not unfeasible, but try simply rm the script itself at the end. Maybe the script cannot be deleted while executing.
                    I tried that actually

                    I was unable to delete a script that was running using Terminal Emulator or sl4a....

                    BUT... I can delete a script that called a script!

                    Problem is battery.sh will always try to call a dead scripts every boot. It logs it in logcat and complains

                    So I tried this already.... It can work but filling logcat with errors is not a elegant way to do this.

                    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


                      #40
                      Originally posted by Finless View Post
                      I tried that actually

                      I was unable to delete a script that was running using Terminal Emulator or sl4a....

                      BUT... I can delete a script that called a script!

                      Problem is battery.sh will always try to call a dead scripts every boot. It logs it in logcat and complains

                      So I tried this already.... It can work but filling logcat with errors is not a elegant way to do this.

                      Bob
                      to do it cleanly, if you can modify battery.sh, try :

                      if [ -e "the_srcipt_you_want_to_call.sh" ]; then
                      # call your script
                      fi

                      That will launch your script only if it exists

                      Comment


                        #41
                        As I said Petrus... YOUR a scripting GENIUS!

                        I will try it.

                        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


                          #42
                          Originally posted by Finless View Post
                          Artural, you still around?

                          Any idea how to make a script run on first boot but not run again after that?

                          Bob
                          Yes I'm still here but I have not much time (much work in my job),
                          If I good understand your problem - I'm not sure this
                          if [ -e "the_srcipt_you_want_to_call.sh" ]; then
                          # call your script
                          fi
                          work good, becouse if You have more scripts in init.d you must check every script (if exist script A.sh then script B.sh then C.sh.....).

                          Comment


                            #43
                            Originally posted by artural View Post
                            Yes I'm still here but I have not much time (much work in my job),
                            If I good understand your problem - I'm not sure this

                            work good, becouse if You have more scripts in init.d you must check every script (if exist script A.sh then script B.sh then C.sh.....).
                            In fact, if you launch the scripts by their name like ./init.d/A.sh you can test if present before calling. If you simply launch every script that is present, the problem of launching a trying to launch a missing script won't occur, I think.

                            Comment


                              #44
                              Sorry to revive this topic but I'd make a suggestion.

                              Why not use a for loop? Find all files in a directory and run.

                              I tried the following:

                              for n in $(ls /system/bin/); do echo $n; done

                              List all files in the directory. If no files does not cause any output, it does so only if there is no directory. On the other hand you could also set the execution priority preceding numbers to file names, as linux does.

                              Would be something like:
                              for n in $(ls /system/init.rd/); do exec $n; done.

                              I have not tried it, just right on my tablet to test the results and show files as expected, but can't be sure if file will be executed.

                              Thank you for your attention.

                              Greetings.

                              Edit: I have found that ls sort files "randomly", to sort by name we need "busybox ls <dir>".
                              Last edited by absurd2; 04-08-2012, 15:52.

                              Comment

                              Working...
                              X