Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

Nexbook AMlogic root WORK!

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

    Originally posted by biffler View Post
    The init-pppd.sh is being setup as a service. To invoke
    it, you actually has to start if from a shell, IE "start pppd_gprs".
    (the name after service). That being said, I don't think "shell" has
    the permissions to start that service. Although if you try, it doesn't error.

    service pppd_gprs /system/etc/init-pppd.sh
    user root
    group radio net_admin cache inet misc
    disabled
    oneshot
    I tried "start pppd_gprs" and didn't get an error, but I don't think it ran the startup script because the files are still not there.

    I would like to take a look at the log file, just to be sure, though.
    Nextbook Premium 8 SE (Next8P12) - * ROOTED * (Sold on ****)
    AML8726-M3 Cortex A9 @ 1GHz

    Nextbook Premium 8 HD (N0008HD8G) - * ROOTED *

    Nextbook 8 (NX785QC8G) - STOCK (unfortunately)

    Comment


      Originally posted by biffler View Post
      if you look in the script, you see things like:
      /system/bin/log -t pppd "init-pppd.sh SCRIPT=$SCRIPT"

      that should log a pppd entry. I don't see anything.

      if you "cd /sdcard"
      then "logcat -d > logfile.txt"

      You can view that file. To prove that is the log, you could also
      do :

      /system/bin/log -t freaktab "this is a test"

      Then logcat -d should show it.
      Unable to open log device "/dev/log/main": permission denied
      Nextbook Premium 8 SE (Next8P12) - * ROOTED * (Sold on ****)
      AML8726-M3 Cortex A9 @ 1GHz

      Nextbook Premium 8 HD (N0008HD8G) - * ROOTED *

      Nextbook 8 (NX785QC8G) - STOCK (unfortunately)

      Comment


        So just doing a logcat command wont work? It should... I did not think you had to be rooted to get the log!

        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


          I can run it.

          shell@android:/ $ /system/bin/log -t freaktab "this is a test"
          /system/bin/log -t freaktab "this is a test"

          shell@android:/ $ logcat -d | grep freak
          logcat -d | grep freak

          I/freaktab( 8536): this is a test

          Comment


            Originally posted by Finless View Post
            So just doing a logcat command wont work? It should... I did not think you had to be rooted to get the log!

            Bob
            Yep! I just typed logcat into the terminal emulator - no piping or anything.
            Nextbook Premium 8 SE (Next8P12) - * ROOTED * (Sold on ****)
            AML8726-M3 Cortex A9 @ 1GHz

            Nextbook Premium 8 HD (N0008HD8G) - * ROOTED *

            Nextbook 8 (NX785QC8G) - STOCK (unfortunately)

            Comment


              Originally posted by biffler View Post
              I can run it.

              shell@android:/ $ /system/bin/log -t freaktab "this is a test"
              /system/bin/log -t freaktab "this is a test"

              shell@android:/ $ logcat -d | grep freak
              logcat -d | grep freak

              I/freaktab( 8536): this is a test
              Are you running from adb?
              Nextbook Premium 8 SE (Next8P12) - * ROOTED * (Sold on ****)
              AML8726-M3 Cortex A9 @ 1GHz

              Nextbook Premium 8 HD (N0008HD8G) - * ROOTED *

              Nextbook 8 (NX785QC8G) - STOCK (unfortunately)

              Comment


                ya, I execute "adb shell" to get a prompt

                Comment


                  biffler, do you see anywhere in the log that the pppd script gets run?

                  Also can you guys see if you can edit the install-recovery.sh script in /etc/

                  Might be another way as this runs at the end of init.rc

                  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


                    Also you guys... try to find somewhere in /data you can write to so we can push su and superuser.apk there via ADB. We will need that if we are to use a script that runs from init.rc. SDcard will not be mounted during init.

                    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


                      no, it does not show in the log, so I don't think it is runnin. I believe that since the init.rc shows it disabled, it will not run on boot. Only if an authorized user starts it afterwards.

                      perms on the script:

                      shell@android:/etc $ ls -l install-recovery.sh
                      ls -l install-recovery.sh
                      -r-xr--r-- root root 418 2008-08-01 08:00 install-recovery.sh

                      Comment


                        Originally posted by Finless View Post
                        biffler, do you see anywhere in the log that the pppd script gets run?

                        Also can you guys see if you can edit the install-recovery.sh script in /etc/

                        Might be another way as this runs at the end of init.rc

                        Bob
                        Just found out I can run logcat from adb as well, just not from a terminal window on the tablet. I grep'd for pppd and nothing showed up.

                        I tried to edit install-recovery.sh and got no error when I tried to save it but the file was unchanged when I looked at it again.
                        Nextbook Premium 8 SE (Next8P12) - * ROOTED * (Sold on ****)
                        AML8726-M3 Cortex A9 @ 1GHz

                        Nextbook Premium 8 HD (N0008HD8G) - * ROOTED *

                        Nextbook 8 (NX785QC8G) - STOCK (unfortunately)

                        Comment


                          This fricken thing is locked down hard! I am sure there is an exploit we just have to find it.

                          Again since I do not have the device I cannot see what the flash tool is capable of. boot.img is pretty esy to edit and pretty generic. This is where init.rc exists. I could make a boot.img. However if you cannot flash that by itself with the tool, it will be of no use.

                          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


                            I think I am going to bow out for a while until you guys find other ideas...

                            Sorry guys... I love a challenge but without this device myself I am guessing at this point.

                            If you find some new info PM me and I will see what we can figure out.

                            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


                              I won't be able to mess with it for a day or two either, currently stranded on the wrong side of a mountain pass waiting for it to reopen

                              Comment


                                I noticed the thread for the Latest Nexbook 9P stock ROM as of Nov. 2012, uses Bin4ry v15.zip to root. I also noticed over on xda, there is a v17 of this out. Root_with_Restore_by_Bin4ry_v17.zip. The title of the thread over there is "Root MANY ANDROID! [Upd: 22.11.2012]". It says "it should work on nearly all ICS/JB devices". Just checking if anyone has any opinion or experience with this method. I would hate
                                to brick the tablet. I know nothing about it, and am in no way suggesting using it.

                                Comment

                                Working...
                                X