changing the cpu frequency

Discussion in 'Android Hacks and Help' started by ashok_jeev, Jan 31, 2011.

  1. ashok_jeev
    Offline

    ashok_jeev New Member

    Joined:
    Jan 31, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    hi guys im trying to develop an android application in which im tryin to change the scaling_governor to userspace so that i can set the cpu frequency but i dont know how to gain root user permission programatically in order to change the scaling_governor. is there any way to change the scaling_governor and to set user specified cpu frequency??

    String[] args = {"/system/bin/echo userspace >", "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor"};
    ProcessBuilder cmd1;
    cmd1 = new ProcessBuilder(args);
    Process process = cmd1.start();

    it is not changing the scaling_governor what is wrong in this??
  2. jeffv2
    Offline

    jeffv2 Developer Developer

    Joined:
    Dec 23, 2010
    Messages:
    1,240
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    south jersey
    you dont need to change the governor to change cpu frequency
Search tags for this page

android change cpu frequency

,
android increase cpu frequency
,
change android cpu frequency
,

change cpu frequency android

,
cpu frequency change android
,
how to change android cpu frequency
,
how to change cpu frequency android
,
how to manually change cpu freq on droid x
,
manually change cpu frequency android
,
odroid cpu frequency
,
scaling governor android
,
sdk manager change android governor