FORUMS
Remove All Ads from XDA

[BETA 3.2][CF-ROOT]Adrenaline™ CPU Control | 5/4/2012

1,602 posts
Thanks Meter: 3,702
 
Post Reply Email Thread

▒▄█▀▄░ █▀▄ █▀▀▄ █▀▀ █▄░█ ▄▀▄ █░░ ▀ █▄░█ █▀▀░░▒▐█▀█▒▐█▀█▒█▒█░░▒▐█▀█ ▄▀▄ █▄░█ ▀█▀ █▀▀▄ ▄▀▄ █░
▐█▄▄▐█ █░█ █▐█▀ █▀▀ █░▀█ █▀█ █░▄ █ █░▀█ █▀▀░░▒▐█░░▒▐█▄█▒█▒█░░▒▐█░░ █░█ █░▀█ ░█░ █▐█▀ █░█ █░▄
▐█░▒▐█ ▀▀░ ▀░▀▀ ▀▀▀ ▀░░▀ ▀░▀ ▀▀▀ ▀ ▀░░▀ ▀▀▀░░▒▐█▄█▒▐█░░▒▀▄▀░░▒▐█▄█ ░▀░ ▀░░▀ ░▀░ ▀░▀▀ ░▀░ ▀▀▀

Rules Your CPU A Breeze !
*CF-ROOT ONLY !




DISCLAIMER: I take no responsible if you brick your phone


To Devs:
You have agreed to this if you're going to use any parts of my work:
Code:
If you are taking any of my work as reference, please add credit and maybe a link of my thread would be nice.
Pm me and tell me about your project.
Provide 'do & don't' and warnings about issues that Adrenaline Boost could cause to end user's device.
If you're using my file, please do not edit my #comment or add any main function unrelated system outputs. 
If you're using main function related code of my files, please add '#NAME_OF_MY_FILE by ImbaWind' on top of your file and maybe more precisely, which part of it.


[Description]
One Script To Rule Your CPU , Why SetCPU If You Have Installed This Script ?!


Why This Script ?!
Handy Script UI !
Easy To Use !!
No App Needed !!!
Zero Ram Usage !!!!
Few kb Space Needed ONLY !!!!!
More Tweaks Than Others!!!!!!
More Functions Than Others!!!!!!!
100% FREE !!!!!!!!




Functions :
1. Change Cpu Governors
----a) Set Cpu Governor Setting On Boot !
----b) Drop Cache When Phone Boots !
2. Change Cpu Max Frequency (b84 only)
----a)Set Clock Frequency On Boot ! [NEW]
3. Change Cpu Min Frequency (b84 only)
4. Adrenaline Boost™ [NEW*]



What you need :
Terminal
Root access (Superuser)
Busybox
Clockworkmod
CF-ROOT



How to install:
1. Download the latest version of .zip file attached below and put into your sdcard
2. Reboot into CWM
3. Go 'mounts and storage' > 'mount /system'
4. Go 'install zip from sdcard' > 'choose zip from sdcard' > locate 'Adrenaline CPU Control_BETA3.2.zip'
5. reboot system now



How to use:
Go terminal emulator and type :
Code:
su
clock




New function: Adrenaline Boost™



What is this?
-It's actually option 4 [drop cache] from previous build and I have pulled it out and add more command to clear more ram, now it shows your free ram too!



When and why should I use this?
-You will notice that your ram will increase everyday and task manager are NOT able to clear it and your phone are damn lag and you have to reboot, this is because the android os works everyday and creates system caches itself.
-Adrenaline™ Boost will help you to clear those caches for you and give back you smooth performance!!
-For more information, go here.



How to use this ?
Go terminal emulator and type :
Code:
su
boost


Then exit terminal and go task manager clear ram , you will see the magic !
And your phone will smooth as butter



**This Script Are ABLE To Overclock If You Are Using CF-ROOT B84!**



Currently Available Governor:
Code:
conservative
ondemand
smartass
smartassV2 [b84 only]
interactive
interactiveX
powersave
performance
userspace


Screenshots


Before : 245670 ~ 825600


Selecting Governor


Insert Governor


Change Max Frequency From 825600 to 844800


As you can see , the max frequency changed


My script is working
PROOF: Set CPU shows exactly what setting I have in CPU Script


Adrenaline Boost™
Before Memory Free : 44.1172 MB
After Memory Free : 95.9102 MB
Memory Freed : 51.793 MB




Known Issue :
-Loop back to 'Current Governor : xxxxxx: when selecting exit option after choosing a governor, have no idea what causes it =(


How to uninstall ?
Reboot cwm, mount /system and install THIS from sdcard.




-------THINGS TO DO IN NEXT VERSION-------
1) More Governor Tweaks
*) Bug Fixes [If got any]



Credits
-Special thank to ketut.kumajaya for CF-Root and his guidance
-pikachu (I learn to create flashable-zip using his cwm package as guide)
-Google for Android OS
-matmutant from X10 Mini for his script's first line (You are running from ***to *** , Current Governor is ***)
-Those who have helped/tried to help me
-droidphile for his awesome ref

For those who want to include this into your ROM, please give proper credits and a link directs to this thread, thanks


I may use HOURS for an update but if you like my work,
please consider to use only one SECOUND to hit the THANKS button
It will make me happy and motivate me to update more often and add more features
Rate this thread ✯ ✯ ✯ ✯ ✯ and share it to your friends too!



If you found this script S'UCKS and think that this script is just crap , please comment to tell me why ;D


I'm willing to accept your view and make my script better =]

Any Feedback Please =D


If you want to mod this script for others kernel use , or include this in your rom
PLEASE SEND A PM TO ME , AND POST A LINK DIRECT TO HERE
The Following 47 Users Say Thank You to ImbaWind For This Useful Post: [ View ] Gift ImbaWind Ad-Free
 
 
12th January 2012, 01:39 PM |#2  
OP Senior Member
Flag Johor
Thanks Meter: 3,702
 
Donate to Me
More
Arrow
[For devs and experts]

Loop back to 'Current Governor : xxxxxx: when selecting [Exit] option after choosing a governor, have no idea what causes it =S
Any help please =D
Attached Thumbnails
Click image for larger version

Name:	SC20120226-134108.png
Views:	46154
Size:	11.2 KB
ID:	946806   Click image for larger version

Name:	SC20120226-134125.png
Views:	45478
Size:	16.2 KB
ID:	946807   Click image for larger version

Name:	SC20120226-134143.png
Views:	45232
Size:	31.9 KB
ID:	946808   Click image for larger version

Name:	SC20120226-134219.png
Views:	46103
Size:	32.6 KB
ID:	946809   Click image for larger version

Name:	SC20120226-134238.png
Views:	45265
Size:	34.7 KB
ID:	946810   Click image for larger version

Name:	SC20120226-134440.png
Views:	45258
Size:	36.2 KB
ID:	946811   Click image for larger version

Name:	SC20120314-224053.png
Views:	300897
Size:	4.4 KB
ID:	946812  
The Following 8 Users Say Thank You to ImbaWind For This Useful Post: [ View ] Gift ImbaWind Ad-Free
12th January 2012, 01:43 PM |#3  
OP Senior Member
Flag Johor
Thanks Meter: 3,702
 
Donate to Me
More
[Change Log]


Alpha 1 > 12/1/2012 <
1st release

Alpha 1.1 > 12/1/2012 <
Fix a minor bug , doesn't matter if your phone are rooted properly

Alpha 2 > 15/1/2012 <
Made flashable zip but the files are set as wrong permission
Added command to copy file to init.d , but the script does't work [Will be able to set on boot when it's done]

Alpha 2.1 > 23/1/2012 <
Found a minor bug , causes "end of file" error

Alpha 2.2 > 24/1/2012 <
Fixed a 'End Of File' error

BETA 1 > 26/1/2012 <
Added Set On Boot Function !
Added Clear Ram During Boot

BETA 2 > 30/1/2012 <
CPU Freq Are Now Able To Set On Boot !!

BETA 2.1 > 30/1/2012 <
Fixed some minor bugs
Add only b84 can access option 3 , 4 and smartassV2 governor

BETA 2.2 > 6/2/2012 <
Fixed a minor bug when changing governor

Beta 3 > 25/2/2012 <
Major Update
Fully Flashable zip
New Function : Adrenaline Boost
More Governor Tweaks
Bug Fixes

Beta 3.1 > 14/3/2012 <
Updated Adrenaline™ Boost, now shows your free ram

Beta 3.2 > 3/4/2012 <
Updated to Adrenaline™ Boost V3
The Following 2 Users Say Thank You to ImbaWind For This Useful Post: [ View ] Gift ImbaWind Ad-Free
12th January 2012, 02:21 PM |#4  
KcLKcL's Avatar
Senior Member
Flag Jakarta
Thanks Meter: 630
 
Donate to Me
More
Try 'touch'?

Code:
touch /system/init.d/nameofscripthere
echo "interactiveX" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
Dunno if that's correct, do some experiment
Touch is used to create a plain file when there's no file available on /path/to/file
The Following User Says Thank You to KcLKcL For This Useful Post: [ View ] Gift KcLKcL Ad-Free
12th January 2012, 02:41 PM |#5  
OP Senior Member
Flag Johor
Thanks Meter: 3,702
 
Donate to Me
More
Quote:
Originally Posted by KcLKcL

Try 'touch'?

Code:
touch /system/init.d/nameofscripthere
echo "interactiveX" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
Dunno if that's correct, do some experiment
Touch is used to create a plain file when there's no file available on /path/to/file

thanks for your reply
i'll try it tomorrow
12th January 2012, 02:54 PM |#6  
dylan_ace's Avatar
Senior Member
Flag AUS
Thanks Meter: 7
 
More
don't work , I extracted it and put in system bin changed permission and rebooted and went to terminal and
su
clock
didn't work..
should I flash it?

Sent from my GT-S5830 using xda premium
12th January 2012, 03:01 PM |#7  
OP Senior Member
Flag Johor
Thanks Meter: 3,702
 
Donate to Me
More
Quote:
Originally Posted by dylan_ace

don't work , I extracted it and put in system bin changed permission and rebooted and went to terminal and
su
clock
didn't work..
should I flash it?

Sent from my GT-S5830 using xda premium

move the file inside the .zip not the folder
check ur perm
dun rename the file otherwise wont work
dont flash it , it's not a flashable file
12th January 2012, 03:12 PM |#8  
dylan_ace's Avatar
Senior Member
Flag AUS
Thanks Meter: 7
 
More
the Alpha folder from the extract?

Sent from my GT-S5830 using xda premium
The Following User Says Thank You to dylan_ace For This Useful Post: [ View ] Gift dylan_ace Ad-Free
12th January 2012, 03:28 PM |#9  
OP Senior Member
Flag Johor
Thanks Meter: 3,702
 
Donate to Me
More
Quote:
Originally Posted by dylan_ace

the Alpha folder from the extract?

Sent from my GT-S5830 using xda premium

the file is called : 'clock'
if u edit the file by notepad u will see those code are same as my 1st post code

if it's same , move the 'clock' file to /system/bin
-SGA-
12th January 2012, 05:57 PM |#10  
Guest
Thanks Meter: 0
 
More
Does it only set the CPU frequencies based on the Kernels limitations? ie. CF-Root 3.7-b83 max frequency is 902MHz with OC'ing apps, am I to expect this to be the same....
saigetshu
13th January 2012, 03:09 AM |#11  
Guest
Thanks Meter: 0
 
More
I already have it, lol
Post Reply Subscribe to Thread

Tags
adrenaline, cf root, control, no frills, set cpu

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes