[APP][May 25th] CoreControl v1.4.2 [BETA] - Battery Profiles! - Root Only

Search This thread

jonas2295

Senior Member
Jan 4, 2010
5,128
2,787
Bavaria
What about Standby?
My phone reboots when im using the app After pushing the lock Button (Not sure if thats the right Name:/ )
Im using TripNDroids ROM 003 on HOX

Well first thing is you should definitely update your rom when you are still. Using 003 when there is 012 out and we'll this app is used and tested on HTC sense but not on cm and it's an issue of your rom not of the app as it worked for me when I had 012 of tripnravers rom for 1 day.

Have a nice day :)

Sent from my HTC One X using xda premium
 

ONE!

Senior Member
May 13, 2012
95
17
Thank you for the quick reply!
Yeah i see there is even an Update on 013 for the CM9 Rom.
But Trips official Rom is only on 003... @modaco
Thats the rom i use, sorry my fault;)
So i think its up to date.. ill try an older version of the app and report
 

Johnny0906

Senior Member
May 30, 2011
712
80
Would be cool to have the option 0 cores to see if that piece of **** '5th' core kicks in.

Also would be cool to have a 1 core option.

0 1 2 3 4 options would be awesome!

:D
 
Last edited:

treebill

Senior Member
Jan 28, 2011
2,130
564
Would be cool to have the option 0 cores to see if that piece of **** '5th' core kicks in.

Also would be cool to have a 1 core option.

0 1 2 3 4 options would be awesome!

:D

If set to 1 core it will still use 2 that's why it was removed, the 5th core is not visible to android and is controlled in the back ground, that core is used when ever a task can be performed on it else it uses main cores and that's the reason 0 cores would never work as android would see no CPU at all.

Sent from my HTC One X using xda premium
 

Johnny0906

Senior Member
May 30, 2011
712
80
If set to 1 core it will still use 2 that's why it was removed, the 5th core is not visible to android and is controlled in the back ground, that core is used when ever a task can be performed on it else it uses main cores and that's the reason 0 cores would never work as android would see no CPU at all.

Sent from my HTC One X using xda premium

So logical yet so f-ing weird isn't?

The fifth core is invisible to the system yet performs system tasks, it doesn't see the system and the system doesn't see it yet it works for the system.

I swear I'm starting to doubt things but even if I'm certain that it does exist I'm still asking myself shouldn't the battery life be much MUCH better? Considering the way they advertised it 'oh look this CPU that we have developed is marvelous it has a companion core that is invisible to itself and the system and the other cores and it will increase the battery life substantially since it does invisible things to things that are invisible to it'.
 

treebill

Senior Member
Jan 28, 2011
2,130
564
So logical yet so f-ing weird isn't?

The fifth core is invisible to the system yet performs system tasks, it doesn't see the system and the system doesn't see it yet it works for the system.

I swear I'm starting to doubt things but even if I'm certain that it does exist I'm still asking myself shouldn't the battery life be much MUCH better? Considering the way they advertised it 'oh look this CPU that we have developed is marvelous it has a companion core that is invisible to itself and the system and the other cores and it will increase the battery life substantially since it does invisible things to things that are invisible to it'.

The it has to be invisible because of android, as it assumes all cores it.sees are equal e.g it would assume the 5th is 1.5 GHz.

As it stands it seems like a great idea I doubt it implemented as well has it should be.

Sent from my HTC One X using xda premium
 

Meltus

Senior Member
Jan 11, 2009
1,903
1,023
Manchester
www.androidaudiohacks.com
The it has to be invisible because of android, as it assumes all cores it.sees are equal e.g it would assume the 5th is 1.5 GHz.

As it stands it seems like a great idea I doubt it implemented as well has it should be.

Sent from my HTC One X using xda premium

It would be nice to be able to tweak how the 5th core functions, but that's not an option at the moment. I'm sure some clever devs will be able to figure out a way in the future though :)

Does anyone know what the 5th core is actually clocked at?

Sent from my HTC One X using xda premium
 

treebill

Senior Member
Jan 28, 2011
2,130
564
It would be nice to be able to tweak how the 5th core functions, but that's not an option at the moment. I'm sure some clever devs will be able to figure out a way in the future though :)

Does anyone know what the 5th core is actually clocked at?

Sent from my HTC One X using xda premium

5th core scales from 50 to 500 mhz i think main cores are 102 to 1.5
 

mach0boi

Senior Member
Jul 15, 2010
2,210
255
Manila
It seems that there's a problem on the latest version with Chameleon ROM. Battery profiles won't stick and it keeps saying "core change to 0". I was on Insertcoin ROM before and profiles work perfectly but the 'start on boot' thing won't stick.
 

cYbOrG5

Senior Member
Jan 27, 2012
561
41
this app doesn't stick on muiu (curr ver: 2.6.1 and prev ver: 2.5.25)after downloaded and installed. (these are the only miui i tested so far)
after each reboot, all settings will go back to first settings after installation:
4 cores active, Start Core Control on Boot is unchecked, enable battery profiles is unchecked
 

Meltus

Senior Member
Jan 11, 2009
1,903
1,023
Manchester
www.androidaudiohacks.com
It seems that there's a problem on the latest version with Chameleon ROM. Battery profiles won't stick and it keeps saying "core change to 0". I was on Insertcoin ROM before and profiles work perfectly but the 'start on boot' thing won't stick.

Hmmm, not sure why the battery profiles aren't sticking on that ROM, when I get the chance I'll have a look and see if I can find a workaround for it. I'll try and fix the 'start of boot' option too for the next update!

this app doesn't stick on muiu (curr ver: 2.6.1 and prev ver: 2.5.25)after downloaded and installed. (these are the only miui i tested so far)
after each reboot, all settings will go back to first settings after installation:
4 cores active, Start Core Control on Boot is unchecked, enable battery profiles is unchecked

As above; I'll check it out when I get the chance :)

5th core scales from 50 to 500 mhz i think main cores are 102 to 1.5

Ah cool, cheers! :D
 

poggus

Senior Member
Oct 20, 2010
103
37
LILLE
forum.frandroid.com
The battery profiles seems to work on Charmeleon 5.0.0, kernel stock.

But you have to reboot when you have setup your profiles, and don't change it.

So, you install Corecontrol, you setup your profiles, check "start core control on boot" don't close the apps, just reboot your phone and normally everything is nice.
But when you change something in you profiles you have to reboot for them to take effect, little bug i think.

I've verified with Tegrastatsfree cores are well autodisabled by battery profile.

Big Thanx Meltus for this amazing apps, was needed on HOX great idea dude !
 

treebill

Senior Member
Jan 28, 2011
2,130
564
I think the start at boot switch just isn't sticking as it still boots for me anyway

Sent from my HTC One X using xda premium
 

Meltus

Senior Member
Jan 11, 2009
1,903
1,023
Manchester
www.androidaudiohacks.com
how much battery life improvement can I expect from this piece of software? 10% max?

I haven't done a proper controlled test to see how much disabling cores helps battery life but it does seem to help a little. The main thing it does is to stop the phone overheating when playing games, etc. There is no need to have 4 cores active for about 99% of the time, the only time 4 are needed are for playing a few select games (Glowball is the only one I can think of off the top of my head).
 

Meltus

Senior Member
Jan 11, 2009
1,903
1,023
Manchester
www.androidaudiohacks.com
Just been messing round with some stuff* , I coded in the ability for CoreControl to return whether the Companion Core (LP = Low Power) is active or not. Unfortunately it doesn't seem possible to 'force' the lp core to be active but it's definitely detected by the kernel, so I'm sure someone could build a kernel with some optimisations or whatever :p
Not really much but I thought it might be useful to someone :)

Results with screen ON
x55lyq.png


Results with screen OFF
166ymmo.png


So yeah, this is why we get such great screen-off battery life! :D

*A post on here provided me with most of the information but for the life of me I can't find it. If you know which post I mean, please let me know so I can credit it! Thanks.
 

Goku80

Senior Member
Mar 18, 2012
10,010
6,782
Within the Matrix
hey meltus. running latest PKMN rom and same as other posters.. when i try to enable cores on boot it does not stick. not a big issue as i just set the cores just before charging and that is fine..but it would be nice to find out why it does not stick when i want to enable on reboot. cores stay the same just when rebooting it goes back to four cores. running latest franco kernel r9
 

Meltus

Senior Member
Jan 11, 2009
1,903
1,023
Manchester
www.androidaudiohacks.com
hey meltus. running latest PKMN rom and same as other posters.. when i try to enable cores on boot it does not stick. not a big issue as i just set the cores just before charging and that is fine..but it would be nice to find out why it does not stick when i want to enable on reboot. cores stay the same just when rebooting it goes back to four cores. running latest franco kernel r9

Yeah, It's a bug in the current version.
I'll work on getting it fixed for the next release :)
 
  • Like
Reactions: Goku80

kuailan

Senior Member
Aug 3, 2009
1,228
85
Sydney
hey meltus. running latest PKMN rom and same as other posters.. when i try to enable cores on boot it does not stick. not a big issue as i just set the cores just before charging and that is fine..but it would be nice to find out why it does not stick when i want to enable on reboot. cores stay the same just when rebooting it goes back to four cores. running latest franco kernel r9


Goku, use previous version 1.3, it will work fine, just no battery profile. Currently I am using it on Charmeleon 5.0 with Franco R9.
 
  • Like
Reactions: Goku80

ruscik

Senior Member
Jun 16, 2007
625
17
London
Could we add profiles per application? If I start solitaire I need one core only, GTA3 probably 2, Odeon app 1 core and so on.

Also during phone call if proximity sensor is activated only 1 core or just companion core.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 102
    CoreControl

    Only for users with ROOT ACCESS

    Screenshot_2012_05_19_16_00_40.png
    Screenshot_2012_05_19_16_07_50.png
    Screenshot_2012_05_19_16_00_08.png
    Screenshot_2012_05_19_15_59_50.png

    (Screenshots show the battery profiles changing the core count)

    This application will allow you to control how many cores are active on your phone!
    Is your One X getting a little hot or is the battery running out a little too quick? This application attempts to solve these problems by allowing you to disable some of the processor's cores!

    Battery Profiles Info (Please Read!)
    [Battery Profiles will override whatever number is selected by the buttons at the top!]
    First of all, this is nothing more than a proof of concept update. I realise that having a set number of profiles isn't the best idea and people will want to be able to change the cores on heat as well as battery level. There is also screen-off and charging profiles that need to be done. The layout is definitely not final either and will be changed in the next updates. I will try my best to incorporate these functions as well as others that have been requested.
    Second, the 3 battery level values you can edit (in the Battery Profiles section) MUST go in descending order (e.g. 100, 80, 50, etc). The app will check for this.
    The Battery profiles should take effect instantly.
    Please expect bugs. This update is very much a proof of concept and whilst the battery profiles function correctly in my testing, bugs may very well arise.

    Known Bugs
    Very occasionally it will revert to the default of 4 cores when using the battery profiles. I've only ever seen this happen once and I have no idea what caused it.
    Voltage is not currently colour-coded (I don't know the min/max levels)
    Temperature is not fully colour-coded. Anything below 40C will be Green and anything above will be Red. More colours will be added when I know the Max battery temperature and I can work out good colour ranges.

    Original thread - http://xdaforums.com/showthread.php?t=1630200

    I highly recommend you install TegraStats - http://xdaforums.com/showthread.php?t=1615666 (or search 'Tegrastats Free' on the market) - to monitor how many are active.

    If the file doesn't exist for you, try this fix!

    Originally Posted by mike1986.
    ok, my fault this time, sorry!

    Open root explorer, go to system/etc/ and open init.post_boot.sh

    navigate to line 115 and remove:

    umount /sys/kernel/debug

    save and reboot!

    Changelog
    Code:
    v1.4.2
    Hopefully fixed the pointless and repeated request for SU access
    
    v1.4.1 [BETA]
    Only ever asks for Root Access when changing cores
    Added CPU temperature and frequency (Many thanks to Treebill!)
     - WARNING: The frequency jumps around a lot. I don't know if the file is buggy or this is actually happening
     - CPU temp and frequency only ever update when CoreControl is open. This will obviously be changed when CPU temperature profiles are introduced
     - CPU temp is fully colour-coded
    Battery Temperature is now fully colour-coded (Many thanks to Treebill!)
    General code clean up and optimisation
    
    v1.4 [BETA]
    Added Battery Profiles
     - See "Battery Profiles Info" above
    Should get and display Battery Information quicker
    
    [B]v1.3[/B]
    UI Changes
    Added a 'Battery Information' Sliding Drawer with the following information:
      - Battery Health
      - Power Type [USB/AC/Battery]
      - Battery Charge [With Battery state, Charging, Full, etc.]
      - Battery Temperature
      - Battery Voltage
    It's all colour-coded too!
    Battery Profiles are pretty much fully coded, they're not included in this release though. Should be done by next update.
    
    [B]v1.2[/B]
    Removed pointless code
    Quite a few UI changes
    Active Cores can now be set on boot (last one selected will be used).
    
    [B]v1.1[/B]
    Removed pointless "1 Core" option
    Disabling/Enabling cores should be quicker (slightly)
    
    [B]V1.0[/B]
    Initial Release

    Enjoy! :)


    All credits go to MrPhilo and K0rner!
    5
    UPDATE
    No Battery Profiles yet, sorry guys, but the profiles are pretty much completely coded in, I'm just far too tired to finish it tonight! Here's something you guys might like though :)

    Screenshot_2012_05_16_23_17_23.png
    Screenshot_2012_05_16_23_17_30.png
    Screenshot_2012_05_16_23_17_41.png


    v1.3
    UI Changes
    Added a 'Battery Information' Sliding Drawer with the following information:
    - Battery Health
    - Power Type [USB/AC/Battery]
    - Battery Charge [With Battery state; Charging, Full, etc.]
    - Battery Temperature
    - Battery Voltage
    It's all colour-coded too!
    Battery Profiles are pretty much fully coded, they're not included in this release though. Should be done by next update.

    Download in the OP.

    Enjoy :)
    4
    Thanks for the awesome app. Funny thing is that it also works for the Asus Transformer Pad TF300t. Just thought you might wanna know. Maybe even add a option for the Tf300t to use only one core?

    Sent from my HTC One X using XDA

    Yeah it will do, it should work on any rooted device running a Tegra 3.
    Unfortunately, using only one core is not an option as the phone simply doesn't allow it. If you set the file to 1 (you can try it out yourself if you want) it still uses the second core whenever it needs to. There's no difference than just running it in dual-core mode :)

    Sorry I haven't updated this in a while everyone, I have far too many projects on the go and far too much laziness to get them done quickly :p
    I'll try and get it updated fairly soon!
    3
    Great app, thanks for making this easier for others and myself :)
    3
    I am getting pretty good battery life in standby mode since I dropped to 2 cores can I try one core please.

    I doubt my app will be helping in standby mode, the phone switches to the Companion Core when the screen is off and doesn't use any of the other 4.

    I have found a mod which allows you to 'throttle' the companion core, possibly resulting in even better battery off time. For more information and future results please see this thread :)
    If my tests are successful and it does indeed save us some battery life I'll code the feature into CoreControl so it throttles the cpu when the screen is off and then un-throttles when the device wakes up :)