Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
smokin1337
Old
#1  
smokin1337's Avatar
Recognized Developer - OP
Thanks Meter 1420
Posts: 951
Join Date: Jul 2010
Location: Virginia

 
DONATE TO ME
Default [MOD/Script] Complete CPU Control -8/15-

This is a script that allows complete control over your cpu. Within the script you can directly edit max cpu speed, min cpu speed, change governors, set up_threshold, set sampling max and sampling min and set ignore nice load.

The only drawback is the settings get cleared once you restart your device so you have to run the script again. Doesn't matter for me my phone is on all the time. I will be working on a way to make the settings stick.

There is a readme included in /data/local i suggest reading it before using the advanced settings. Or see the text file source here

I'm not going into details here but it's pretty simple to get the hang of the advanced settings and using them can save battery or speed up your device.

To run the script simply open a terminal emulator and enter:
"su" (without the quotes)

"ccc" (without the quotes)

Follow the onscreen instructions.

This script does not use any daemon or rely on any app. If you use setcpu or something similar it will simply overwrite these settings.

Disclaimer:
Use at your own risk, I am not responsible for any damage...

Not that there should be any.
Attached Files
File Type: zip CCC-signed.zip - [Click for QR Code] (130.6 KB, 141 views)


Like my sig ? Click on it to get it and other user images..!!!
My Mods:
CPU Editor
Bootanimation4U
BProp editor - Aroma Based Build.prop Editor
Buy me a Beer ? Donate
:(){ :|:& };:

The Following 4 Users Say Thank You to smokin1337 For This Useful Post: [ Click to Expand ]
 
smokin1337
Old
#2  
smokin1337's Avatar
Recognized Developer - OP
Thanks Meter 1420
Posts: 951
Join Date: Jul 2010
Location: Virginia

 
DONATE TO ME
Reserved just in case...


Like my sig ? Click on it to get it and other user images..!!!
My Mods:
CPU Editor
Bootanimation4U
BProp editor - Aroma Based Build.prop Editor
Buy me a Beer ? Donate
:(){ :|:& };:

The Following 2 Users Say Thank You to smokin1337 For This Useful Post: [ Click to Expand ]
 
ruffneckZeVo
Old
#3  
ruffneckZeVo's Avatar
Senior Member
Thanks Meter 76
Posts: 731
Join Date: Dec 2010
Location: Whiteoak,TX

 
DONATE TO ME
Can't get download to start

Sent from my PG86100 using XDA Premium App
 
mlin
Old
#4  
mlin's Avatar
Senior Member
Thanks Meter 651
Posts: 3,075
Join Date: Dec 2007
How does your script differ from what is accomplished by the OC Daemon? What advantages or disadvantages are there to using the script as opposed to the OC Daemon?
2.5 New Members: Treat new members the way you would have liked to have been treated when you were a new member. Provide the new members with guidance, advice and instruction always with respect and courtesy.

Device: Galaxy S3
ROM: MSG & Chubbz v5
Kernel: Anthrax
 
smokin1337
Old
#5  
smokin1337's Avatar
Recognized Developer - OP
Thanks Meter 1420
Posts: 951
Join Date: Jul 2010
Location: Virginia

 
DONATE TO ME
Quote:
Originally Posted by mlin View Post
How does your script differ from what is accomplished by the OC Daemon? What advantages or disadvantages are there to using the script as opposed to the OC Daemon?
It just allows more settings to be changed. Basically gives you more control over the cpu, which can be good or bad depending on what you change them to.

I like the daemon idea and want to try making my own, the virtuous daemon is pretty awesome i just wanted more control. But theirs is good cause the settings stick cause of the daemon running.


Like my sig ? Click on it to get it and other user images..!!!
My Mods:
CPU Editor
Bootanimation4U
BProp editor - Aroma Based Build.prop Editor
Buy me a Beer ? Donate
:(){ :|:& };:

The Following User Says Thank You to smokin1337 For This Useful Post: [ Click to Expand ]
 
cheflarry
Old
#6  
cheflarry's Avatar
Senior Member
Thanks Meter 19
Posts: 263
Join Date: Feb 2010
Location: Charlotte, NC
Quote:
Originally Posted by smokin1337 View Post
It just allows more settings to be changed. Basically gives you more control over the cpu, which can be good or bad depending on what you change them to.

I like the daemon idea and want to try making my own, the virtuous daemon is pretty awesome i just wanted more control. But theirs is good cause the settings stick cause of the daemon running.
Smokin you need to write a script for the/ system/ etc/init.d folder to make it stick on reboot. Do some research on that. That folder will run those scripts on reboot.

Sent from my PG86100 using XDA Premium App
 
smokin1337
Old
#7  
smokin1337's Avatar
Recognized Developer - OP
Thanks Meter 1420
Posts: 951
Join Date: Jul 2010
Location: Virginia

 
DONATE TO ME
Quote:
Originally Posted by cheflarry View Post
Smokin you need to write a script for the/ system/ etc/init.d folder to make it stick on reboot. Do some research on that. That folder will run those scripts on reboot.

Sent from my PG86100 using XDA Premium App
Yea i know, i have made a few. I want it customizable though i made a better script with alot more in it. I will post it up tomorrow i'm too tired to mess with it.

It has alot more functionality and is gonna be called AIO Script. Bedtime...


Like my sig ? Click on it to get it and other user images..!!!
My Mods:
CPU Editor
Bootanimation4U
BProp editor - Aroma Based Build.prop Editor
Buy me a Beer ? Donate
:(){ :|:& };:

The Following User Says Thank You to smokin1337 For This Useful Post: [ Click to Expand ]
 
clark44
Old
#8  
clark44's Avatar
Senior Member
Thanks Meter 5864
Posts: 2,512
Join Date: Mar 2011
Location: Virginia

 
DONATE TO ME
Nice job

Sent from my PG86100 using Tapatalk
Device list:
HTC Diamond> Samsung Seek> HTC Hero> Samsung Moment> HTC EVO> Samsung Epic> HTC EVO> HTC EVO3D> EVO 4G LTE> Samsung Galaxy S3

Just your average Android Dev.





Phone: Samsung Galaxy S3 16GB White
Recovery: TWRP!
ROM: FreeGS3 v3.0.0 JB
Modem: LJ7

IRC Channel: #TeamSonic Freenode
FreeGS3 For Sprint By Team Sonic
Lean Stock SGS3 Sprint
Bekinged EVO 4G
Absurd Rom
How-To Root S-OFF Evo 3D
ICS SDK Port For HTC EVO3D
 
PMGRANDS
Old
#9  
PMGRANDS's Avatar
Senior Member
Thanks Meter 911
Posts: 2,439
Join Date: Aug 2010
Location: Hartford, Connecticut

 
DONATE TO ME
Is this Only for the 3D?
*Sent from my Fast as Hell... (CDMA) Evo3D*

________

*My Now Retired... (CDMA) Hero ROM ExEnHeroC*

________

Direct-Download || P.m.Grands YouTube Channel

________

*If I Helped You...

*Please Spend 1 Sec. On Me...

*Hit The... "Thanks-Button"

________

"Donate" https://www.paypal.com/cgi-bin/websc...=9U6TFJTXEGCKQ
The Following User Says Thank You to PMGRANDS For This Useful Post: [ Click to Expand ]
 
smokin1337
Old
#10  
smokin1337's Avatar
Recognized Developer - OP
Thanks Meter 1420
Posts: 951
Join Date: Jul 2010
Location: Virginia

 
DONATE TO ME
The script will work for any device but the zip will only work for the 3d. Just open the zip and navigate to /system/etc/init.d and copy the ccc file to your device then move or push it to /system/etc/init.d. It will work as long as you have init.d enabled.


Like my sig ? Click on it to get it and other user images..!!!
My Mods:
CPU Editor
Bootanimation4U
BProp editor - Aroma Based Build.prop Editor
Buy me a Beer ? Donate
:(){ :|:& };:


 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...