DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
Results 1 to 2 of 2

Thread: changing the cpu frequency

  1. Droid Newbie
    ashok_jeev's Avatar
    Member #
    166399
    Join Date
    Jan 2011
    Posts
    2
    Phone
    samsung galaxy tab
    #1

    changing the cpu frequency

    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.  
     
     
     
  3. Developer
    jeffv2's Avatar
    Member #
    151962
    Join Date
    Dec 2010
    Location
    south jersey
    Posts
    1,241
    Liked
    3 times
    Phone
    galaxy nexus
    DroidForums.net Developer
    #2
    Quote Originally Posted by ashok_jeev View Post
    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??
    you dont need to change the governor to change cpu frequency

Links

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. changing gmail sync mail frequency
    By fastazzevo in forum Motorola Droid
    Replies: 14
    Last Post: 07-20-2011, 07:52 AM
  2. Can't change LED frequency
    By FormerIphonePreuser in forum Android General Discussions
    Replies: 9
    Last Post: 06-25-2011, 02:31 AM
  3. polling frequency
    By papak in forum HTC Droid Incredible
    Replies: 1
    Last Post: 11-27-2010, 04:16 PM
  4. droid fm frequency
    By Nblufire12 in forum Android Applications
    Replies: 7
    Last Post: 07-11-2010, 09:45 PM
  5. 3G frequency
    By BasilofBakerStreet in forum Off Topic Forum
    Replies: 4
    Last Post: 05-07-2010, 10:17 AM

Search tags for this page

allowed cpu frequencies
,
altering the cpu frequency in android
,

android change cpu frequency

,
android change frequency
,
android set minimum cpu frequency
,
change android cpu frequency
,

change cpu frequency android

,
cpu frequency change android
,
how to change cpu frequency android
,
how to set cpu frequency in android
Click on a term to search our site for related topics.

Tags for this Thread

Find us on Google+