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

    What CPU frequency changer app do you recommend?

    Hi follow forumians... i have the s89-h with 108k4, i previously was running 104k4, and i find since flashing to 108, the cpu temp gets a little high during movie streaming ( 80 degrees! ) and picture gets a little stuttery, so i tried to install 'set cpu' to underclock slightly, ( i have the paid version over clocking my HTC Inc S ) but found the cpu frequencies don't stick, i can't see it being due to the kernal or else the frequencies would be greyed out and not selectable...

    any ideas, or has anyone had better results from other cpu clocker apps...

    Cheers

    Addy

    edit... might be answering my own question... looks like that's the norm on stock f/w's but found this topic...:


    now that ive had the unit a couple of months and HDMi connector is still hanging on, i might try some cooling mods first ( im sure a gaping hole in the lid with a pc fan will void the warrantly lol! )
    Last edited by Addyhash; 02 October 2014, 08:00. Reason: typo fixes
    Sent from my Commodore 64 using Geos
    My devices:
    Tronsmart Vega S89-H: running stock 104k4 rom, rooted & racky's cpu fix.
    Samsung Galaxy Tab 10.1: running KK's dual boot kernel, Phil's touch recovery & de-bloated, over-clocked and rooted stock rom.
    Samsung Galaxy S3: stock until warrany is over lol running JB 4.3 ...
    HTC Incredible S: Venom rom, 'kangaroo' kernel, overclocked to 2Ghz & still kicking the Sammy's butt!

    #2
    Did you try "No-frills CPU Control"?



    You also can "play" with this by ADB, terminal emulator or your own apk from:

    /sys/devices/system/cpu/cpu0/cpufreq
    Android TV Box direct from China. English & Español

    Comment


      #3
      init.d

      I use a script. Below is what i use for my mk808b. You will have to adjust to suit your needs and speeds.

      Code:
      #!/system/bin/sh
      sleep 15s
      echo "interactive" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
      echo "interactive" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
      echo "1608000" > /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq
      
      # Available frequencies for hispeed_freq are 252000, 504000, 816000, 1008000, 120000, 1272000, 1416000, 1512000, 1608000
      # Make a cwm backup before pushing. If you have issues try IPad charger and good usb cable or make a usb cable.
      # You do not need to run a program like setcpu with this script in use.
      Prahjister ****MK808(nonB)****MK808B V5****MK808B Plus****UBOX R89**** CX919****MK808B Pro****Nexbox N9****Eny Em95****Matricon Q2****Tanix TX5 Pro****

      Comment


        #4
        Originally posted by prahjister View Post
        I use a script. Below is what i use for my mk808b. You will have to adjust to suit your needs and speeds.

        Code:
        #!/system/bin/sh
        sleep 15s
        echo "interactive" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
        echo "interactive" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
        echo "1608000" > /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq
        
        # Available frequencies for hispeed_freq are 252000, 504000, 816000, 1008000, 120000, 1272000, 1416000, 1512000, 1608000
        # Make a cwm backup before pushing. If you have issues try IPad charger and good usb cable or make a usb cable.
        # You do not need to run a program like setcpu with this script in use.

        Why that

        Code:
        sleep 15s
        I was playing a little with bash scripting some days ago...
        Android TV Box direct from China. English & Español

        Comment


          #5
          BTW, do you have complete info about bash script for Android?

          I have seen people who must to use:

          Code:
          #!/system/bin/sh
          ADB Shell echo .........
          Also some ones who need to change the double quote " to simple ' or even this one ´
          Android TV Box direct from China. English & Español

          Comment


            #6
            Originally posted by Javimetal View Post
            Why that

            Code:
            sleep 15s
            I was playing a little with bash scripting some days ago...
            I think he only use it to be sure that other processes up / boot up finished...


            Originally posted by Javimetal View Post
            BTW, do you have complete info about bash script for Android?

            I have seen people who must to use:

            Code:
            #!/system/bin/sh
            ADB Shell echo .........
            Also some ones who need to change the double quote " to simple ' or even this one ´
            I don't know any need of this at the device (./system/bin/adb)...
            Maybe to open/start a separate shell ???

            "complete info about bash script for Android?" I don't think something like this exists and shell scripting at Android isn't same powerful as at PC or "full" Linux at the box...
            One of the important toys is the busybox also for scripting and often commands not as powerful as at PC or "full" Linux at the box...
            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


              #7
              Originally posted by Javimetal View Post
              Why that

              Code:
              sleep 15s
              I was playing a little with bash scripting some days ago...
              it wouldn't work without it. i think the script runs earlier then when the system sets it and the system puts to stock.

              This is straight shell i believe. But you can get bash compiled for android. Just google it and it will pop up in a forum.
              Prahjister ****MK808(nonB)****MK808B V5****MK808B Plus****UBOX R89**** CX919****MK808B Pro****Nexbox N9****Eny Em95****Matricon Q2****Tanix TX5 Pro****

              Comment


                #8
                off topic

                Here is another one I adapted from another script. Runs once and loads all apk's on external sdcard in apk folder. After flag is set it bypasses. Gonna include in any new roms.

                Code:
                #!/system/bin/sh
                sleep 30s
                FLAG="/data/system/firstboot.log"
                if [ ! -f $FLAG ]; then
                    mount -o remount,rw rootfs /
                    mount -o remount,rw /system
                    cd /mnt/external_sd/apk
                    for file in $(ls *.apk)
                    do
                        if [ ! -f "/data/app/$file" ]; then
                            echo $file
                            busybox cp /mnt/external_sd/apk/$file /data/app/
                            chown system:system /data/app/$file
                            chmod 644 /data/app/$file
                        fi
                   touch $FLAG
                   done
                else
                   echo "Do nothing"
                fi
                Prahjister ****MK808(nonB)****MK808B V5****MK808B Plus****UBOX R89**** CX919****MK808B Pro****Nexbox N9****Eny Em95****Matricon Q2****Tanix TX5 Pro****

                Comment


                  #9
                  Originally posted by prahjister View Post
                  it wouldn't work without it. i think the script runs earlier then when the system sets it and the system puts to stock.

                  This is straight shell i believe. But you can get bash compiled for android. Just google it and it will pop up in a forum.
                  Is it not possible to know when the system finished boot? Like if we want launch an app at startup, if we wait 15 seconds the launcher will be showed first.

                  I guess we can launch an app by using something like:
                  Code:
                  am start com.android.settings
                  but we can't get the moment when everything is loaded.

                  I can do it from an app by listening the BOOT_COMPLETED


                  Thanks for sharing about boot scripting, few info in the web

                  Comment


                    #10
                    This can help
                    Code:
                    while [ ""`getprop dev.bootcomplete` != "1" ] ; do sleep 1; done
                    but there also exists situations where it isn't finished (but not often)...
                    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


                      #11
                      Really good!

                      I think I will learn a lot here.

                      I'd like to make my own small CPU control APP and if possible include it in the "Settings", but I see it is a little difficult to compile the Settings.apk from any RK3188 SDK. Or at least can not from elipse...

                      Comment


                        #12
                        Also another thing about Hard. control. I can set the CPU speed, governor and so on but, is there any place to do same with RAM? I have been looking for some days and did not find any way.

                        I have been testing a good ROM but the stick becomes really hot, I found (by an IR thermometer) the problem comes from the RAM, it's really hot. After change CPU speed to low I can control this problem a little, but, is it not better to decrease the RAM speed? Also, when the actual RAM speed can be seen?

                        Thanks!!!

                        Comment


                          #13
                          I don't think so, normally it's compiled inside the kernel because it's controlled, if I'm not wrong, via Volt...
                          So you need an uncompressed kernel and you have to know where to patch (binary)...

                          Maybe you are able to read the 'DVFS TREE' at dmesg:
                          1. 'adb shell cat /sys/dvfs/dvfs_tree'
                          2. 'adb shell dmesg > dmesg.txt'
                          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


                            #14
                            I use an app from xda called Performance Control
                            Its originally from Aokp ROMs, but is open source so
                            could Be used in ROMs here I suppose
                            It works really well and shows the cores active or not active

                            But I found the reason why the settings don't stick
                            Its the kernel, a file init.amlogic.board.rc
                            Has a line
                            Scaling_dflt_freq 1608

                            /sys/devices/system/cpu/cpu1/cpufreq/scaling_dflt_freq 1608

                            This needs to be commented out or removed or set to 0
                            This then allows the CPU level to be changed and
                            stick
                            Last edited by racky29; 05 October 2014, 21:33.

                            Comment


                              #15
                              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.
                              Android TV Box direct from China. English & Español

                              Comment

                              Working...
                              X