[MOD/SCRIPT]CPU Editor - BEST Battery Life - Now with Quad Core Support !!!

Search This thread

smokin1337

Retired Recognized Developer
Jul 30, 2010
963
1,602
Virginia
CPU Editor

This mod allows you to easily change cpu settings on the fly, and supports dual core devices. Easier and cheaper $$ than available apps that do the same thing !!

Will work on most devices, it edits linux files so device manufacturer makes no difference.

First off this works for ALL devices single/dual, and quad core !! So everyone can use it and please do...This is the beta version with quad core support. You can set each core individually and force each core individually !! I need some people to test it all out because i do not have a quad core phone. Thats why its beta for now. Please report bugs here or send me a pm with your device type and what bug you found. Also if it all works please post here so i know


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.

The battery saver profile is ridiculous, my One X battery lasts a loooooong time with it on. I was at 19 hrs on battery and still at 71%. Try and see for yourself. Here is a screenshot: http://xdaforums.com/showpost.php?p=27125704&postcount=3

Please report any bugs you may find here, this was tested on an evo 3d, one x, one s and a mytouch 4g.

Thanks to Orical for beta testing and -viperboy- for some code !!

Download:
http://goo.im/devs/smokin1337/Mods/CPU_Editor_RLS_4.zip


 

Attachments

  • CPU_Editor_Uninstaller.zip
    124.1 KB · Views: 6,770
Last edited:

smokin1337

Retired Recognized Developer
Jul 30, 2010
963
1,602
Virginia
Changelog:

QC Beta 1:
-Added quad core support
-Added daemon like script to monitor cpu's online state
-Fixed the options for gov and frequencies not showing up on other cpus
-ALL devices supported this is NOT for quad cores only

RLS_4:
- Fixed init.d script
- Added disable to profiles

RLS_3:
- Added OnDemand Profiling see post one (bottom) for details
- Now uses a config file to store values makes it more efficient
 
Last edited:

smokin1337

Retired Recognized Developer
Jul 30, 2010
963
1,602
Virginia
Works for me. I'll upload it to sendspace and post the link just in case

Edit: its only downloading 554 bytes for some reason I will reupload it soon I'm at work right now.

Sent from my PG86100 using xda premium
 
Last edited:

smokin1337

Retired Recognized Developer
Jul 30, 2010
963
1,602
Virginia
Attachment is fixed now sorry about that, guess it was a server error when i uploaded it the first time. If you use this mod please submit it as news so it gets to the portal :)
 

emannxperia

Senior Member
Jun 3, 2011
1,153
2,749
Kuching, Sarawak
What do you mean by profile ? If you explain it i will do my best to add it in.

Like this one.

7384e677-359d-9617.jpg


It would be nice. Thanks in advance.

sent from my digital typewriter
 
  • Like
Reactions: alispeedsport

smokin1337

Retired Recognized Developer
Jul 30, 2010
963
1,602
Virginia
Any way to see the changes effectively? Not yet .. felt changes Thank you ..

Yea in open these in a file explorer:

/sys/devices/system/cpu/cpu0/scaling_max_freq

/sys/devices/system/cpu/cpu0/scaling_min_freq

/sys/devices/system/cpu/cpu0/scaling_governor

They should reflect the changes you have made.

Also i am working on adding profiles, will make an update in the next day or two. Switching the script over to using a config file for settings.
 

emannxperia

Senior Member
Jun 3, 2011
1,153
2,749
Kuching, Sarawak
Yea in open these in a file explorer:

/sys/devices/system/cpu/cpu0/scaling_max_freq

/sys/devices/system/cpu/cpu0/scaling_min_freq

/sys/devices/system/cpu/cpu0/scaling_governor

They should reflect the changes you have made.

Also i am working on adding profiles, will make an update in the next day or two. Switching the script over to using a config file for settings.

Thanks. Looking forward for that an updated one.

sent from my digital typewriter
 

codybank_789

Senior Member
Dec 16, 2011
638
93
Maybe it doesn't work on s2g. Cant see any different. How to disable it ?

Sent from my GT-I9100G using XDA
 

smokin1337

Retired Recognized Developer
Jul 30, 2010
963
1,602
Virginia
I will be adding a way to go back to stock settings. Try the battery saver profile and see how long your battery lasts.
 

MadJoe

Senior Member
Jul 18, 2007
839
146
Boston
Just making sure, since it's not specified in the OP, but we flash the zip through recovery, and then use terminal emulator to change settings, right?

Sent from my H1S using XDA Premium.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 86
    CPU Editor

    This mod allows you to easily change cpu settings on the fly, and supports dual core devices. Easier and cheaper $$ than available apps that do the same thing !!

    Will work on most devices, it edits linux files so device manufacturer makes no difference.

    First off this works for ALL devices single/dual, and quad core !! So everyone can use it and please do...This is the beta version with quad core support. You can set each core individually and force each core individually !! I need some people to test it all out because i do not have a quad core phone. Thats why its beta for now. Please report bugs here or send me a pm with your device type and what bug you found. Also if it all works please post here so i know


    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.

    The battery saver profile is ridiculous, my One X battery lasts a loooooong time with it on. I was at 19 hrs on battery and still at 71%. Try and see for yourself. Here is a screenshot: http://xdaforums.com/showpost.php?p=27125704&postcount=3

    Please report any bugs you may find here, this was tested on an evo 3d, one x, one s and a mytouch 4g.

    Thanks to Orical for beta testing and -viperboy- for some code !!

    Download:
    http://goo.im/devs/smokin1337/Mods/CPU_Editor_RLS_4.zip


    15
    Changelog:

    QC Beta 1:
    -Added quad core support
    -Added daemon like script to monitor cpu's online state
    -Fixed the options for gov and frequencies not showing up on other cpus
    -ALL devices supported this is NOT for quad cores only

    RLS_4:
    - Fixed init.d script
    - Added disable to profiles

    RLS_3:
    - Added OnDemand Profiling see post one (bottom) for details
    - Now uses a config file to store values makes it more efficient
    11
    Download Link

    Since noone cares actually about provide a new download link I researched the internet using google search and finally found it available at XDA :silly:

    Check this:
    http://xdaforums.com/attachment.php?attachmentid=1243323&d=1344187468

    Hope it is fine with the originator to post this link.
    9
    Here is a link to v4
    http://db.tt/hln4BVsi

    Here is Beta 1
    http://db.tt/T0Y1SnPk

    And the uninstaller
    http://db.tt/3TkPNu6T

    Sent from my One X using Tapatalk 2
    4
    Any way to see the changes effectively? Not yet .. felt changes Thank you ..

    Yea in open these in a file explorer:

    /sys/devices/system/cpu/cpu0/scaling_max_freq

    /sys/devices/system/cpu/cpu0/scaling_min_freq

    /sys/devices/system/cpu/cpu0/scaling_governor

    They should reflect the changes you have made.

    Also i am working on adding profiles, will make an update in the next day or two. Switching the script over to using a config file for settings.