[MOD/SCRIPT] CPU editor

Search This thread

popfan

Senior Member
Jan 26, 2011
864
250
I modded Smoking1337 CWM-flash file to run from Windows.
All credit goes to Smoking1337 for this - I only modding the install of it
See here for original website:http://xdaforums.com/showthread.php?t=1584508
He also has a snapdragon version of this for those interested:
http://xdaforums.com/showthread.php?t=1798765

Additional Requirement:
You need to have Init.d!!

See my init.d section in Android Development

One more comment: This is not build for overclocking - mainly built for underclocking to save battery life

Features:
Change CPU Governor
Change CPU Min/Max Frequencies
Apply Settings on Boot - Sticky Mode
Set Dual Core CPU's Independently - Governor and Frequencies
Force Dual Core - Second Core Online ALL The Time
Seperate Menus For Single and Dual Core Devices - Auto Selects
View Current Settings For Everything
Sticky Mode
OnDemand Profiling
Now uses config file to store values

Usage:
Open terminal
Type "su" without the quotes
Type "cpu" without the quotes
Make your selections

Notes:

An error appears sometimes when enabling or disabling force dual core, it's ok the settings still get applied.

Settings get applied immediately

Cores can be set independently, you can make the governors and frequencies different on each core. Could be a great battery saver by limiting the second cores resources.

Force Dual Core will make the second core stay online all the time

Some kernels do not have a available_scaling_freq so the available frequencies will not be displayed, look up the settings your kernel has either in your rom thread or kernel thread.

Sticky Mode will apply the settings you have made on reboot (requires init.d support- which most roms and most devices have)

OnDemand Profiling allows you to set profiles for ondemand governor, the settings possible are performance, performance and battery, and battery saver. Setting will only apply to ondemand govenor !! I will add more when i get some kernels for my one x.
 

Attachments

  • CPU_Editor_QC_Beta_1.zip
    177.9 KB · Views: 2,190
Last edited:

ganeshbiyer

Inactive Recognized Contributor
Jan 16, 2011
2,404
2,628
Bangalore
This mod will depend on the successful working of INIT.D. init.d did not work for me.

Edit:
After Init.d working successfully, this also worked.
 
Last edited:

Toledo_JAB

Retired Forum Moderator
Jan 16, 2011
3,076
3,142
Toledo
Thank you for the quick reply can you give me the guide using windows? Tnx in advance

Sent from my LT28h using xda premium

Follow steps 2 thru 6 in this guide
http://xdaforums.com/showthread.php?p=29713958

This will setup your pc with drivers and ADB to allow you to run .bat files from a Windows command prompt.
You have to unzip your file to get the .bat file.
After setup and unzip just double click .bat file where it was unpacked.
~Jaramie

from my LT28at rooted & eating an Ice Cream Sandwich ;)
 

Toledo_JAB

Retired Forum Moderator
Jan 16, 2011
3,076
3,142
Toledo
Will my 'cpu master' app still work? Should I uninstall it first?

EDIT: uninstalled cpu master first. All went well
~Jaramie

from my LT28at rooted & eating an Ice Cream Sandwich ;)
 
Last edited:

popfan

Senior Member
Jan 26, 2011
864
250
They do the same thing more or less. One will have to be disabled for the other to work.
 

Toledo_JAB

Retired Forum Moderator
Jan 16, 2011
3,076
3,142
Toledo
I must have ADB on my brain cuz when I read use terminal and run su then cpu I used windows(it was late @ night)
Luckily I use the android terminal for ubuntu on my Ion so when Windows terminal failed I figured It out. Might want to update the OP with 'use android terminal app' ;)
Well I was able to set 2 different govs, core 0= performance core1= PowerSave

But when setting min/max freqs they seemed to be tied together. I can set both min & max but not different for the cores. I hope I am missing something. While the governors should help with better battery I want to limit core1 to 1ghz


~Jaramie

from my LT28at rooted & eating an Ice Cream Sandwich ;)
 
Last edited:

popfan

Senior Member
Jan 26, 2011
864
250
I wish I could tell you for sure, but since I don't have a rooted device at this time I cannot use it. You can read the original forums posting and find out.
 
  • Like
Reactions: Toledo_JAB

split2th

Senior Member
Nov 19, 2010
104
8
Toronto
I'm gonna try this with both cores 1.5 ghz in performance mode. I wonder if it will make a difference at all in battery life. The cores should still only run when their needed. Just at full blast for a shorter period of time. :laugh:
 

ganeshbiyer

Inactive Recognized Contributor
Jan 16, 2011
2,404
2,628
Bangalore
I must have ADB on my brain cuz when I read use terminal and run su then cpu I used windows(it was late @ night)
Luckily I use the android terminal for ubuntu on my Ion so when Windows terminal failed I figured It out. Might want to update the OP with 'use android terminal app' ;)
Well I was able to set 2 different govs, core 0= performance core1= PowerSave

But when setting min/max freqs they seemed to be tied together. I can set both min & max but not different for the cores. I hope I am missing something. While the governors should help with better battery I want to limit core1 to 1ghz


~Jaramie

from my LT28at rooted & eating an Ice Cream Sandwich ;)

No you can set them separately for both the cores.

###########################
#-CPU Editor - smokin1337-#
###########################
1. Governor - CPU0
2. Governor - CPU1
3. Max Frequency - CPU0
4. Max Frequency - CPU1
5. Min Frequency - CPU0
6. Min Frequency - CPU1
7. Force Dual Core
8. OnDemand Profile
9. Change I/O Scheduler
10. Change Cache Size
11. Clear All Settings (Disable)
Press X to EXIT
 
  • Like
Reactions: Toledo_JAB

Toledo_JAB

Retired Forum Moderator
Jan 16, 2011
3,076
3,142
Toledo
I wish I could tell you for sure, but since I don't have a rooted device at this time I cannot use it. You can read the original forums posting and find out.

I was wondering if you might still have the original cwm zip file? I think it might be easier to install after new flash. The original thread download links are dead.
Thanks

~Jaramie

sent by my ION
 

Top Liked Posts

  • There are no posts matching your filters.
  • 6
    I modded Smoking1337 CWM-flash file to run from Windows.
    All credit goes to Smoking1337 for this - I only modding the install of it
    See here for original website:http://xdaforums.com/showthread.php?t=1584508
    He also has a snapdragon version of this for those interested:
    http://xdaforums.com/showthread.php?t=1798765

    Additional Requirement:
    You need to have Init.d!!

    See my init.d section in Android Development

    One more comment: This is not build for overclocking - mainly built for underclocking to save battery life

    Features:
    Change CPU Governor
    Change CPU Min/Max Frequencies
    Apply Settings on Boot - Sticky Mode
    Set Dual Core CPU's Independently - Governor and Frequencies
    Force Dual Core - Second Core Online ALL The Time
    Seperate Menus For Single and Dual Core Devices - Auto Selects
    View Current Settings For Everything
    Sticky Mode
    OnDemand Profiling
    Now uses config file to store values

    Usage:
    Open terminal
    Type "su" without the quotes
    Type "cpu" without the quotes
    Make your selections

    Notes:

    An error appears sometimes when enabling or disabling force dual core, it's ok the settings still get applied.

    Settings get applied immediately

    Cores can be set independently, you can make the governors and frequencies different on each core. Could be a great battery saver by limiting the second cores resources.

    Force Dual Core will make the second core stay online all the time

    Some kernels do not have a available_scaling_freq so the available frequencies will not be displayed, look up the settings your kernel has either in your rom thread or kernel thread.

    Sticky Mode will apply the settings you have made on reboot (requires init.d support- which most roms and most devices have)

    OnDemand Profiling allows you to set profiles for ondemand governor, the settings possible are performance, performance and battery, and battery saver. Setting will only apply to ondemand govenor !! I will add more when i get some kernels for my one x.
    1
    They do the same thing more or less. One will have to be disabled for the other to work.

    But daemons are more resposive. The state change times compared to an app, is much less.

    Sent from my LT28h using xda premium
    1
    I wish I could tell you for sure, but since I don't have a rooted device at this time I cannot use it. You can read the original forums posting and find out.
    1
    I must have ADB on my brain cuz when I read use terminal and run su then cpu I used windows(it was late @ night)
    Luckily I use the android terminal for ubuntu on my Ion so when Windows terminal failed I figured It out. Might want to update the OP with 'use android terminal app' ;)
    Well I was able to set 2 different govs, core 0= performance core1= PowerSave

    But when setting min/max freqs they seemed to be tied together. I can set both min & max but not different for the cores. I hope I am missing something. While the governors should help with better battery I want to limit core1 to 1ghz


    ~Jaramie

    from my LT28at rooted & eating an Ice Cream Sandwich ;)

    No you can set them separately for both the cores.

    ###########################
    #-CPU Editor - smokin1337-#
    ###########################
    1. Governor - CPU0
    2. Governor - CPU1
    3. Max Frequency - CPU0
    4. Max Frequency - CPU1
    5. Min Frequency - CPU0
    6. Min Frequency - CPU1
    7. Force Dual Core
    8. OnDemand Profile
    9. Change I/O Scheduler
    10. Change Cache Size
    11. Clear All Settings (Disable)
    Press X to EXIT