remCPU
Here is a script that I have been using to manage my cpu and device specific bits. Here is what it can currently control. Usage is pretty simple.
Code:
sh-3.2# /system/bin/remCPU --help
Lithid's remCPU Controller
Help:
--set:
Look at cpu settings config.
--stat:
Look at cpu freq stats.
--config:
Setup the configuration of your cpu.
--help:
Get help.
Contact: [email protected]
Code:
sh-3.2# /system/bin/remCPU --stat
Cpu freq stats:
1400000 0
1200000 4127
1100000 37
1000000 107
800000 346
400000 897
200000 537
100000 88226
Code:
sh-3.2# /system/bin/remCPU --set
Verified:
>>>
Your current governor is: ondemandx
Your max cpu frequency is: 1200000
Your min cpu frequency is: 100000
Your min memory free config is: 3674,4969,6264,8312,9607,11444
Your tcp buffer w/r is: 110592/110592
Backlight noti: 1
Backlight noti blink: 1
Backlight noti blink interval: 750
Backlight noti blink max count: 30
>>>
You run the script, check out your current settings then go through the settings to set it up. It will create a config in /data/data/com.lithid/kernelscript/config. This config will be pulled into effect during the next and everyother reboot, or by running sh /system/etc/init.d/89remCPU after your config is in place. Like I said, set it and forget it! No app running, no space taken up. Just what you want without the extra!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
-Cpu governors.
-Max Cpu frequency
-Min Cpu frequency
-BLN interface
- - Turn on/off
- - Enable blink
- - Modify blink interval
- - Max blink duration
- Low mem free settings
- TCP Buffer read/write
Something as simple as setting and forgetting is what I like. I will be adding in more and more tweaks to the system, checking for features per kernel etc etc.
You should know what the kernel can and can't do before you attempt to mess with the settings.
>> Download Here <<
Issues? Let me know.
Now this is a badass script man,,,Thanks
this will come in handy thanks lithid
Nice release lithid, thanks!
Tanks, figured someone would enjoy it as well. Have anything you want added or removed or tweaked, let me know guys!!!
Thanks Lithid! Glad to see you around here again.
Sent from my PC36100 using xda premium
dieselford said:
Thanks Lithid! Glad to see you around here again.
Sent from my PC36100 using xda premium
Click to expand...
Click to collapse
There will always be a weak spot for the evo!
lithid-cm said:
Tanks, figured someone would enjoy it as well. Have anything you want added or removed or tweaked, let me know guys!!!
Click to expand...
Click to collapse
Nice to see u back here Lith.
fitz420 said:
Nice to see u back here Lith.
Click to expand...
Click to collapse
Yeah really cool to see you back around.
Sent from my PC36100 using xda premium
I like this lithid thanks man
How convenient and no app necessary! Thanks Lithid and welcome back! Something new to play with in Terminal Emulator. I was looking for an app to check LMK and VM values all day yesterday but no luck until..now!
HELL YEAH!! Glad to have Lithid back!! Will check this out as it looks really interesting and useful
Lithid returns and is bearing gifts...
post and you shall receive, google and you shall find, root and it shall be opened unto you.
Well look at who it is
Good script too hehe.
Sent from my EVO using Tapatalk 2
tommytomatoe said:
Well look at who it is
Good script too hehe.
Sent from my EVO using Tapatalk 2
Click to expand...
Click to collapse
Just don't look at my eyes. Lol. Might have the evo back tomorrow kinda excited not gonna lie.
Sent from my Nexus S 4G using xda premium
Related
I've download SETCPU and for some reason, I don't see the phone listed.
NVIDIA tegra 2 TP20/AP2OH?
t-mobile Pulse?
Cannot find it. Anyone know what to do in this situation?
Use Pimp My CPU instead.
I believe that Pimp my CPU is the only one working for our phone. You may want to check that out instead. If you search on XDA the Developer posted the app on here, however, I suggest you purchase the app from the market to support him.
Depends..
If your on stock rom and kernel then use setcpu and choose tegra2.
If your on custom rom with custom OC kernel use pimp my cpu.
Of course both require your phone to be rooted as well.
Sent from my LG-P999 using XDA Premium App
What exactly does SetCPU do that the stock froyo governor does not do?
Just curious.
This week I am trying a couple of things to see how big a difference Juice Defender and SetCPU really make.
^ Honestly haven't seen a difference with Juicedefender, unless I need to download the ultimate one. The basic one actually drains mybattery like no tomorrow.
Honestly, I use task killer but manual, I hardly kill my applications, I ignore most of them that need to be on or are on everytime I turn my phone.
But I have a girlfriend that likes to play 6 - 10 games at a time when she's on my phone, that needs to be killed when she's done or when I'm done with them.
I'm going to try SETCPU for tegra2 because I'm on stock right now. Looking to download a ROM though
What SETCPU does is it scales the processor frequency or speed in non techy terms.
For example:
If you enable screen off profile you can force the processor to run on slower speeds to conserve battery when the screen is off.
Recommended settings:
Max: 500
Min: lowest
Also with battery profile enabled if the phone goes below certain percentage it will drop the processor's speed to help conserve battery life as well but of course sacrificing performance though.
Recommended settings:
Max: lowest
Min: lowest
The main screen a.k.a general profile is the main profile the processor will be set to when the screen is on and the phone is being used.
Recommended settings:
Max: 1ghz
Min: 1ghz
What do you suggest for the other profiles such as charging or temp? Thanks for your post. It's the only one I've found in this thread with suggestions for the noobs.
mylomine said:
What do you suggest for the other profiles such as charging or temp? Thanks for your post. It's the only one I've found in this thread with suggestions for the noobs.
Click to expand...
Click to collapse
I don't have one for charging, but for temp, I have the max speed kick down to about half (512MHz or whatever the step value is) if the temp goes over 41C.
The most important one is the Screen Off profile, I have the max speed set to one step over minimum and it saves a lot of battery life.
sryan1983 said:
I believe that Pimp my CPU is the only one working for our phone. You may want to check that out instead. If you search on XDA the Developer posted the app on here, however, I suggest you purchase the app from the market to support him.
Click to expand...
Click to collapse
I beg to differ....cause I use setcpu.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my LG-P999 using XDA Premium App
Setcpu has worked for me on stock Froyo and stock Gingerbread, both rooted ofcourse.
Faux's kernel needs pimp, but morfic's Trinity kernel uses SetCPU and works great.
Sent from my Nexus 3 using XDA Ultimate App
LordButtersI said:
Faux's kernel needs pimp, but morfic's Trinity kernel uses SetCPU and works great.
Sent from my Nexus 3 using XDA Ultimate App
Click to expand...
Click to collapse
I've used SetCPU with Faux's kernel ever since the dev made SetCPU usable with Tegra devices.
In fact here is a post with Faux saying to use either http://forum.xda-developers.com/showpost.php?p=16056765&postcount=1695
so here are some things i found that helped me out hopefully they can help you im using romracers unsecured kernel.
download v6 super from here http://forum.xda-developers.com/showthread.php?t=991276
or just change your min free memory values as follows:
foreground applications=8mb
visible applications=16mb
secondary server=200mb
hidden applications=220mb
content provider=240mb
empty applications=275mb
after debloating and freezing apps/processes, this will drop your ram use im getting 234/780 mb thats 546 mb of free ram!
fell free to drop wifi scan interval if you would like i believe the lower the value the better, i think it should be pretty low though stock
also you should drop the vm heap its HUGGE! im using 150 feel free to try any value between 50-250 and last but not least tweak your kernel
to up threshold of 75 and a power saving bias of 100 ( no larger than 200) min free KBytes should be set to 40960, dirty ratio 20, rty backround ratio 5, vfs cache pressure 100...apply these settings to boot; and always remember if your not using it turn it off!(i.e data, bluetooth, wifi, gps) try these out hope it helps remmeber to always practice safe nandroid and im not responsible for you bricking your device. i wanted to venture into undervolting but im to chicken can someone confirm that it works with skyrocket? thanks! and let me know what you guys think i take no credit i just used our friend google =) much love for all the xda community!
phone not charging
oikhlail11 said:
so here are some things i found that helped me out hopefully they can help you im using romracers unsecured kernel.
download v6 super from here http://forum.xda-developers.com/showthread.php?t=991276
or just change your min free memory values as follows:
foreground applications=8mb
visible applications=16mb
secondary server=200mb
hidden applications=220mb
content provider=240mb
empty applications=275mb
after debloating and freezing apps/processes, this will drop your ram use im getting 234/780 mb thats 546 mb of free ram!
fell free to drop wifi scan interval if you would like i believe the lower the value the better, i think it should be pretty low though stock
also you should drop the vm heap its HUGGE! im using 150 feel free to try any value between 50-250 and last but not least tweak your kernel
to up threshold of 75 and a power saving bias of 100 ( no larger than 200) min free KBytes should be set to 40960, dirty ratio 20, rty backround ratio 5, vfs cache pressure 100...apply these settings to boot; and always remember if your not using it turn it off!(i.e data, bluetooth, wifi, gps) try these out hope it helps remmeber to always practice safe nandroid and im not responsible for you bricking your device. i wanted to venture into undervolting but im to chicken can someone confirm that it works with skyrocket? thanks! and let me know what you guys think i take no credit i just used our friend google =) much love for all the xda community!
Click to expand...
Click to collapse
I installed V6 Super and now my battery won't charge...any ideas?
cuban88 said:
I installed V6 Super and now my battery won't charge...any ideas?
Click to expand...
Click to collapse
I replied to your thread.... please read before posting.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
But seriously.... can we get a little more information here on this besides saying "do this, change that" - where? with what app? just adding in details on the steps you used in the OP would be great, really looking to get more than 12 hours out of my 2100 mAh extended battery over here!
GarciaM25 said:
But seriously.... can we get a little more information here on this besides saying "do this, change that" - where? with what app? just adding in details on the steps you used in the OP would be great, really looking to get more than 12 hours out of my 2100 mAh extended battery over here!
Click to expand...
Click to collapse
Yea which apps are you using for all this?
odeccacccp said:
Yea which apps are you using for all this?
Click to expand...
Click to collapse
Looks like Rom Toolbox has all these areas to tweak available.
Does this mesh well with mhx's rom? what about the 3g supercharger and the other one? anyone tested it?
secondary server=200mb
hidden applications=220mb
content provider=240mb
empty applications=275mb
Something is up with these settings, the maz value for it is 120mb, how do you want to set it over 200's???
secondary server=0mb
hidden applications=20mb
content provider=40mb
empty applications=75mb
This is the correct configuration
I'm going to use rom toolbox to adjust the settings. Hope it helps.
Sent from my SAMSUNG-SGH-I727 using xda premium
Mafioso_atl said:
I'm going to use rom toolbox to adjust the settings. Hope it helps.
Sent from my SAMSUNG-SGH-I727 using xda premium
Click to expand...
Click to collapse
Did it help?
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2 Beta-5
This post is moved to http://forum.xda-developers.com/showthread.php?t=1947559
thanks man for your hard work will try it now
great app, but in conflict with CPU Tuner It changes the CPU Frequency but CPU Tuner tries also (have customized CPU Tuner so it saves battery better then you App does I think) but wil compare those two now
Thanks for the Trial Options!
mautz001 said:
great app, but in conflict with CPU Tuner It changes the CPU Frequency but CPU Tuner tries also (have customized CPU Tuner so it saves battery better then you App does I think) but wil compare those two now
Thanks for the Trial Options!
Click to expand...
Click to collapse
You might give me some advice.One Power Guard does not just set the CPU
pixiebob said:
thanks man for your hard work will try it now
Click to expand...
Click to collapse
How effective? I think I will write a help document.
fonter said:
How effective? I think I will write a help document.
Click to expand...
Click to collapse
during night no interesting to compare because deep sleep work already great , no loss.
i have reinstall and try your application today to see if there are better battery usage during the day.
but for people who trying they must accept that phone is low cause optimal settings battery profile.
I'll give it a try thanks, battery defender don't seem to be working to well with faux kernel and my rom.
Sent from my Atrix
Motorola Atrix (MokeeOS v1.10.436)
Nexus 7 (Vanilla root flavour)
fonter: can you tell me more details how exactly your application initiating or improve deep sleep like you says in introduction.
pixiebob said:
fonter: can you tell me more details how exactly your application initiating or improve deep sleep like you says in introduction.
Click to expand...
Click to collapse
We optimize some kernel, CPU, WIFI etc.
New Version 1.5 Release
1.5 Version
1、Fix the custom mode bug
2、Fix get CPU frequency is null problem
Hi, everybody
1.6 version releases, can be updated.
1、Fix some custom mode bug
2、Fix the notification bug
The speed of the processor appears in Khz. It is incorrect that value. Is not it?
Where I can get the blonde? :silly:
Salu2
fonter said:
Hi, everybody
1.6 version releases, can be updated.
1、Fix some custom mode bug
2、Fix the notification bug
Click to expand...
Click to collapse
1.7 version releases
1、Fix bluetooth adapter bug
2、Fix Listview bug
Jolufa said:
The speed of the processor appears in Khz. It is incorrect that value. Is not it?
Where I can get the blonde? :silly:
Salu2
Click to expand...
Click to collapse
Thank you for your reminder, we will change the CPU unit.
Guess its very use full for people who are lazy to manually tweak their rooted phones. Almost perfect now =].
Sent from my Nexus S using Tapatalk 2
xjerlzx said:
Guess its very use full for people who are lazy to manually tweak their rooted phones. Almost perfect now =].
Sent from my Nexus S using Tapatalk 2
Click to expand...
Click to collapse
We consider that many users do not know how to modify the system parameters, do not know how to optimize.So we did some work.
Version 1.7 has been perfect, we already have new innovations, please waiting.
Is there any way to change the governor in the already made mode? It always set to ondemand how about I want to change it to other governor like badass / smartassv2?
Sent From My BioWonder V4
reddvilzz said:
Is there any way to change the governor in the already made mode? It always set to ondemand how about I want to change it to other governor like badass / smartassv2?
Sent From My BioWonder V4
Click to expand...
Click to collapse
You can select the Custom mode,change cpu governor.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
New version release V1.8
Search "One Power Guard" from android play
New modified as follows
1.8 Version
1、Fix bitmap size exceeds VM budget
2、Fix motion event bug
3、Fix get running tasks exception
4、Fix popup window exception
5、Try fix notification bug
thanks man for your hard work will try it now
roger0220 said:
thanks man for your hard work will try it now
Click to expand...
Click to collapse
If you like, please give a good rating.
THOSE SETTING BELOW ARE SYSCTL, YEY I FOUND AMERICA
PROBABLY SOMEONE IS GOING TO LAUGH
Hello,
The one and only thing I was bothering about is why some users can multitask great and I am always not able too.
The reason?
Well the apps are closing too frequently, going out of simple game makes the launcher load again, going back in game makes the game start all over again.
First I thought I need to limit myself and get used to it.
This is not a great multitasker as the iPhone is.
iOS is far from the best system but its multitasking capabilities amazed me.
So where is our problem? Why are we not able to multitask as we should?
Well in the past month I was messing around only with the RAM consumption.
I was aiming at more free RAM and persistent apps, here comes the V6 Supercharger which helps a lot.
But when I was enjoying it I got a call. What happend? Black screen and vibrating phone, that's all, I said to myself "No more playing, I have to answer my calls."
Where was the problem I believe I don't know still.
But with some dev help we might be able to control our phone a little bit more than we can right now with uboot and recovery. Thanks to all of the developers.
What was the problem? The Kernel! I installed ROM Toolbox and just got a look at the app when I saw the Kernel Tweaks.
The mess began, read which setting what does on vm and on kernel tweaks. Increased some, decreased others, tested it didint worked and I increased and decreased others and still the same when I saw this in vm
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
And
And this in kernel
Enabled them, decreased the swappiness (don't know if it has to be high, i increased it the first time to 100 but no change so I decreased it.)
And something happend, I called myself from another phone and there you go, no more black screen, I was able to answer while I was playing Shadowgun Deadzone at high graphics.
And the most amazing part was when I ended the call, the game was still running and I was connected.
In the process of testing I noticed a few freezes just in the launcher when opening apps for like 5 secs and will see what have I done, maybe I messed up something.
Anyways I was able to launch the task killer while the game was running in the background and I am so happy that it works fine for now.
If you read all this, thank you.
If you are developer and you think this is totally wrong I will remove this.
Hey I was wondering what was best settings I'm a bit of a noob when it comes to codes lol but I have a good understanding of it I think
Anyway in rom manager when it comes to performance I noticed io was set too noop and gov to interactive at this setting you get good performance but lags in games
So thinking from previous Roms for GB 21e most always io was sio and gov was hot plug
I'm not too sure what differences are between them in code but do see differences in performance
Any recommendations and maybe quick heads up would be highly appreciated
Running on Darkroom ICS int
Sent from my LG-SU760 using Tapatalk 2
MattJaO3D said:
Hey I was wondering what was best settings I'm a bit of a noob when it comes to codes lol but I have a good understanding of it I think
Anyway in rom manager when it comes to performance I noticed io was set too noop and gov to interactive at this setting you get good performance but lags in games
So thinking from previous Roms for GB 21e most always io was sio and gov was hot plug
I'm not too sure what differences are between them in code but do see differences in performance
Any recommendations and maybe quick heads up would be highly appreciated
Running on Darkroom ICS int
Sent from my LG-SU760 using Tapatalk 2
Click to expand...
Click to collapse
The setting you are using are perfect.
I was fiddling around with TWRP recovery and tweaking trough rom toolbox. I've set governer hotplug and I/O ondemand. SD boost on 4096kb. In TWRP I've created a swap file of 2GB and a EXT4 file of 2GB on my sdcard. I'm running ICS Darkroom international. In Sysctl Conf i set min free kb to 4096.
Phone is running very smooth and very very fast. I've a total new phone
Kernel Tuner
Take control of your device
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Features:
Full CPU control
GPU Control (changing freq and governor)
Changing buttons backlight
Fastcharge*
Enable/Disable VSYNC
Quickly toggle individual cores online/offline
Restoring settings on boot
Voltage Control*
IO Scheduler
SD read ahead cache size
Governor settings
Full quad core support
Swep2Wake*
DoubleTap2Wake
CPU Times in State*
Full MP-Decision control*
Full thermald control*
Enable OTG with standard USB cable*
Color depth
OOM
Entropy
ADB over WiFi
TCP Congestion
Task Manager
build.prop Editor
sysctl editor
LogCat viewer
Analise SD Card and display Biggest files
Swap - deprecated, will no longer improve this functionality*
Detailed System Info(CPU, Sensors, Memory, Battery...)
NOTE FOR DEVELOPERS
You can include this app in your ROM/MODE/KERNEL/WHATEVER as long as you give proper credits.
Downloads:
Kernel Tuner
Kernel Tuner PRO
Nightly Releases
http://kerneltuner.pedjaapps.net
Screenshots
https://github.com/pedja1/Kernel-Tuner/tree/kt-ne/scrns
Old thread is here.
http://forum.xda-developers.com/showthread.php?p=54257727
Latest Downloads are attached
PLEASE DONT SHARE PRO VERSION APK OUTSIDE XDA. THANKS
Another one ...
Nice to see you back, been a long time since I have used this. Excited to follow the new project.
Sent from HTC M8 s-off from TapaTalk
Will it work on HTC 601 ZaraUL?
Wow,cool,i know the older one and give it a try,thanx. [emoji106]
GREETZ FROM TEAM-OPTIMA!!!
MrMatnenko said:
Will it work on HTC 601 ZaraUL?
Click to expand...
Click to collapse
Probably, try and let us know [emoji6]
Sent from my Nexus 5 using Tapatalk
pedja1 said:
Probably, try and let us know [emoji6]
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Working on HTC one m7! Thanks pedja for bringing this back.
Sent from my HTCONE using Tapatalk
WOoo WOoo Oh Mi Mi
look who is back.. man so happy to c u... welcome back and thanx for starting project again..
App published to Google Play
It should be visible in few hours:
https://play.google.com/store/apps/details?id=rs.pedjaapps.kerneltuner
Downloading now
Rooted Note 2 Jellykat v6.7
Just going to download now too
so this app will not work for the galaxy s3 for example?
When downloading the .apk in the post, I get an error message saying "Parse Error - There was a problem parsing the package." when trying to install the app.
However, with the one on the market there were no issues.
Thank you for all your efforts, will try and report back the results from HTC One (M8)
hello
i got glitch or something ,
see the picture:
it should 156,666,and 999 ,but i got some glitch or bug in here
octa core
My device is MT6592. It's octa core but the application shows only four cores.
Is this only for Qualcomm device or all?
Sent from my One using XDA Premium 4 mobile app
I hope you say yes..
pedja1 said:
App published to Google Play
It should be visible in few hours:
https://play.google.com/store/apps/details?id=rs.pedjaapps.kerneltuner
Click to expand...
Click to collapse
Will it be able to enable some app to make it possible to have Double Tap to Wake up on devices that don't support it natively - Note 3 for example?.. :fingers-crossed:
Difference Between other app
Is there a difference between this app, and say, android tuner?
Hi @pedja1! Thanks for the app! I have one comment - there is no smooth_ui parameter for ondemand in Governor Manager.