Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

What CPU frequency changer app do you recommend?

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

    #16
    Originally posted by Javimetal View Post
    I'm trying something like this:

    Code:
    #!/system/bin/sh
    sleep 15s
    am start com.android.settings
    I tried to save as "script" and also as "script.sh" (which one is correct?)

    It does not work. When I execute by #sh script it shows an error, it said "15s" is wrong. Also can not open the activity.

    I also tried to create a directory:

    Code:
    #!/system/bin/sh
    mount -o remount,rw rootfs /
    mount -o remount, rw /system
    busybox mkdir /etc/init.d/hello
    Also does not work.

    Anyway, the most important I want to do is launch an activity (or the app). When I write

    #am start com.android.settings

    I can see Settings APK opens without any problem, same for another apps if I use their main activity. But I can not do it by a bash script.
    Does the rom you are using support init.d

    Did you make the file executable and place in the init.d folder

    What device is this for?

    If no init.d....you will have to get it working first. You have to modify your boot.img to get it to work.
    Prahjister ****MK808(nonB)****MK808B V5****MK808B Plus****UBOX R89**** CX919****MK808B Pro****Nexbox N9****Eny Em95****Matricon Q2****Tanix TX5 Pro****

    Comment


      #17
      Code:
      #!/system/bin/sh
      is correct

      Code:
      sleep 15
      without 's' is correct


      Code:
      remount -oremount,rw /
      should work
      are you sure '/etc/init.d' already exists?

      If you want to run it as init.d script you must to use the filename without an extension...
      And don't forget
      Code:
      chmod 0755
      (?If you want to start it manually please don't forget the ./ in front of the filename?)
      RK3288 Devices
      - Overview BOX (LINK !)
      - Overview STICK (Dongle) (LINK !)

      MINIX NEO: Z64 W/A - (Intel Z3735F); X8-H Plus - (Amlogic S812H); A2 Lite (sponsored by minix.com.hk)
      UGOOS UT3S (4/32GB with fan) - FW 2.0.6 - (RK3288) (sponsored by GearBest.com)
      Tronsmart Draco AW80 Meta (2/16GB) - FW v2.0rc3 - (Allwinner A80) (sponsored by GeekBuying.com)
      Beelink / UBOX R89 - FW 111k4110_1219 - (RK3288) (sponsored by Netxeon (Beelink))

      RK3188: pcb => "CH001 1332 TN-BX09_V2.1" (K-R42 / CS918...) => wasser KK 1.0.3 (old rev)
      Fly Mouse Mini Wireless Keyboard with 2 mode learning IR remote 'iPazzPort KP-810-16'

      Comment


        #18
        Originally posted by prahjister View Post
        Does the rom you are using support init.d

        Did you make the file executable and place in the init.d folder

        What device is this for?

        If no init.d....you will have to get it working first. You have to modify your boot.img to get it to work.
        It supports init.t

        Time ago I have tested a 00test file, and it's ok.
        Android TV Box direct from China. English & Español

        Comment


          #19
          Originally posted by no_spam_for_me View Post
          Code:
          #!/system/bin/sh
          is correct

          Code:
          sleep 15
          without 's' is correct


          Code:
          remount -oremount,rw /
          should work
          are you sure '/etc/init.d' already exists?

          If you want to run it as init.d script you must to use the filename without an extension...
          And don't forget
          Code:
          chmod 0755
          (?If you want to start it manually please don't forget the ./ in front of the filename?)
          I'm using "SManager" APP from the google play, it looks like work when write: busybox sleep 15

          But I'm not sure how to open an app.


          From ADB, just need write #am start com.android.settings

          The Settings APP opens without any problem
          Android TV Box direct from China. English & Español

          Comment


            #20
            Originally posted by Javimetal View Post
            I'm using "SManager" APP from the google play, it looks like work when write: busybox sleep 15

            But I'm not sure how to open an app.


            From ADB, just need write #am start com.android.settings

            The Settings APP opens without any problem
            I don't understand why you use a leading #
            I think here you have to use the leading 'adb shell ' at the script
            => http://stackoverflow.com/questions/4...roid-adb-tools
            e.g.
            Code:
            #!/system/bin/sh
            adb shell am start com.android.settings
            RK3288 Devices
            - Overview BOX (LINK !)
            - Overview STICK (Dongle) (LINK !)

            MINIX NEO: Z64 W/A - (Intel Z3735F); X8-H Plus - (Amlogic S812H); A2 Lite (sponsored by minix.com.hk)
            UGOOS UT3S (4/32GB with fan) - FW 2.0.6 - (RK3288) (sponsored by GearBest.com)
            Tronsmart Draco AW80 Meta (2/16GB) - FW v2.0rc3 - (Allwinner A80) (sponsored by GeekBuying.com)
            Beelink / UBOX R89 - FW 111k4110_1219 - (RK3288) (sponsored by Netxeon (Beelink))

            RK3188: pcb => "CH001 1332 TN-BX09_V2.1" (K-R42 / CS918...) => wasser KK 1.0.3 (old rev)
            Fly Mouse Mini Wireless Keyboard with 2 mode learning IR remote 'iPazzPort KP-810-16'

            Comment


              #21
              Originally posted by no_spam_for_me View Post
              I don't understand why you use a leading #
              I think here you have to use the leading 'adb shell ' at the script
              => http://stackoverflow.com/questions/4...roid-adb-tools
              e.g.
              Code:
              #!/system/bin/sh
              adb shell am start com.android.settings
              I have tried a lot of ways. When I use the

              ADB Shell
              and test in the SManager it does the "sleep" well, later start daemon, but finally does not open the activity, just a "error: device not found"
              Android TV Box direct from China. English & Español

              Comment


                #22
                ...
                Last edited by Biomecanoid; 04-06-2015, 19:31. Reason: sorry double post

                Comment


                  #23
                  ...
                  Last edited by Biomecanoid; 04-06-2015, 19:32. Reason: sorry double post

                  Comment


                    #24
                    ...
                    Last edited by Biomecanoid; 04-06-2015, 19:32. Reason: sorry double post

                    Comment


                      #25
                      Hello i can ssh into my QPro and found the following : root@rk3288:/sys/devices/system/cpu/cpufreq/interactive # cat hispeed_freq 600000 The cpu on the QPro should go up to 1.8ghz so what does "600000" mean and what do i change it to so the cpu scales to 2ghz ?

                      Also SetCPU doesnt allow me to overclock past 1.8ghz

                      Comment

                      Working...
                      X