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

Search This thread

Orical

Senior Member
May 22, 2011
2,211
731
Boston
Working great here.

ForumRunner_20120616_164840.png
 

MadJoe

Senior Member
Jul 18, 2007
839
146
Boston
Battery life since using this script has been excellent! Thank you!

Sent from my H1S using XDA Premium.
 

kmacneil3

Senior Member
Mar 15, 2012
198
111
Worcester
im haveing a little trouble with ROM Toolbox. Is there a way to add a text file on the sd card with the frequencies to use like with setcpu?
 

pwnyourace

Senior Member
Mar 13, 2011
643
517
Modded the battery saver to 1026000 MHz in the profile script in xbin for the evo3d, instead of 1134000 (I assume that was set for the evo one), and there's a noticeable improvement without any noticeable performance drops

Sent from my PG86100 using Tapatalk 2
 

smokin1337

Retired Recognized Developer
Jul 30, 2010
963
1,602
Virginia
Updated to RLS_4 added a disable feature to profiles (Don't know what i was thinking not having it) And removed some stuff specific to my rom from the init.d script.

If everyone likes this please rate and submit as news tip, Thanks :)
 

wilddexter

New member
Nov 17, 2011
4
0
Chennai
stuck at boot screen

I changed few values with the ondemand profile and the terminal emulator hanged. I restarted the phone and it is now stuck in boot screen. Any way to restore or should i reflash my phone. ?:confused:

edit:

Luckily was running on CM7.2 RC and updated to 7.2 and that helped me get back to my home screens.. relieved :D
 
Last edited:

dung8604

Senior Member
Sep 8, 2010
926
71
Sorry for being so clueless but I am completely lost on how to run this. Using terminal emulator and typing such and CPU does nothing for me. I can't flash this zip either. Sorry, very confused right now.

Sent from my HTC VLE_U using Tapatalk 2
 

smokin1337

Retired Recognized Developer
Jul 30, 2010
963
1,602
Virginia
Sorry for being so clueless but I am completely lost on how to run this. Using terminal emulator and typing such and CPU does nothing for me. I can't flash this zip either. Sorry, very confused right now.

Sent from my HTC VLE_U using Tapatalk 2

Flash the zip in recovery, it flashes for me just fine. Then open terminal and type su the $ should change to #

Once you have # type cpu and then you should see the menu

All the letters have to be lower case eg., su and cpu
 

ickedmel

Senior Member
Jul 10, 2010
1,604
217
I installed this today but didn't have time to set anything up, does this work by default once installed or do I need to activate ? If it does work by default what's the default profile?

Sent from my HTC VLE_U using xda premium
 

blessup

Senior Member
Nov 26, 2010
577
43
flashed in recovery just fine but type su changes from $ to # then when i type cpu it says SH: cpu not found
 

smokin1337

Retired Recognized Developer
Jul 30, 2010
963
1,602
Virginia
Blessup try reinstalling it.

And no default profile is set, you have to set one then it takes effect.

Sent from my HTC One X using xda premium
 
Last edited:
  • Like
Reactions: ickedmel

blessup

Senior Member
Nov 26, 2010
577
43
Tried same problem am I missing something? Boot to recovery flash open terminal emulaer su get # type CPU get error CPU not found. And i use all lower case.


Sent from my HTC VLE_U 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.