[Q] How do you make governor changes persistent - Galaxy S I9000 Q&A, Help & Troubleshooting

Without needing to use nstools, how do you set SmartAssV2 as the default governor and set blink to on?
Just one less app needed if I can do it without...

I'm a complete noob, so I may be completly wrong...
I have ICSSGS RC4.2 on an I9000. Had a quick look at NSTOOLS code, specifically SettingsManager.java and it appears that they are appending the governer you choose to a file /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor. I changed the value in this file to "lazy", fired up NSTOOLS and it had changed in there as well.
blink on can be set in file /sys/class/misc/notification/blink
1 = on, 0 = off.
the time out value can be set in /sys/class/misc/notification/blinktimeout
The value is in ms eg. 1600 = 1600ms = 1.6s
Since I have NSTOOLS installed the one thing that I may be overlooking is that these files may be NSTOOL files which are read by some executable they have installed and runs on reboot.
If you haven't installed NSTOOLS and the above files exist then there's a fair chance that altering the values will do what you want.
The above files may not have write permsion so you ma have to change permisions to edit them... I had to for scaling_governor but not for the others
As I said at the beginning of the post I may be completely wrong, so mess with this stuff at your own risk and let us know if it worked
Edit: It just struck me. If the above is true (ie those files are system files) then Installing NSTOOLS, change the settings to what you want, check "Set on boot" in the settings tab and uninstalling NSTOOLS, it may leave tose files modified.
This method may prevent you from having to mess around with those files
---------- Post added at 03:34 AM ---------- Previous post was at 03:12 AM ----------
Just tried it and rebooting causes scaling_governor file value to revert back to "ondemand"

Related

CPU governor changes back to ondemand

HI guys,
i am on twooey 2 with glitch kernel and i am trying to change the governor to conservative.... but it change back to ondemand after few mins... after the screen locks and unlocks, its back to ondemand..
i tried to set it as boot but no luck.. i tried both pimpmy cpu and voltagecontrol.. but no luck
pls help..
thanks
You have to delete a script in /etc/init.d
I dont remember the exact name but its something like "screenstate".
I would advise you to use lippol94's cleaning script, which will reset any kernel settings. Find it here: http://forum.xda-developers.com/showthread.php?p=15609632
Choose the CM7/MIUI one, apply the zip thru CWM, and try to change the governor again and go from there.
Cheers.
go to glitch thread and read, all you need to know should be there

KuyaDROID - minfree values not sticking?

Is it just me or minfree values are not sticking on KuyaDROID?
If anyone is running this ROM, I would appreciate if you could do the next:
· Configure the minfree values to anything. To make things easier you could run the V8 SuperCharger Alpha by zeppelinrox found here: http://forum.xda-developers.com/showthread.php?t=1250276. Don't try to update the busybox version or you'll get a soft-brick.
· Restart the system and check the values in terminal with:
Code:
cat /sys/module/lowmemorykiller/parameters/minfree
· Use your phone for a while. Let it go into the lockscreen and come back into the terminal and run the code again.
· Is there a difference for you?
Here's the scenario: the values are loaded at boot, however after some use, the values are changed to something else entirely, specially after exiting the lockscreen.
I want to see if it really is just me or indeed there's a bug that can be hunted down. The strangest part of it all is that the values are not even the ones defined in init.rc.
Now I can set them again and they will stick no matter what, but it's somewhat anoying.
Fortun said:
Is it just me or minfree values are not sticking on KuyaDROID?
If anyone is running this ROM, I would appreciate if you could do the next:
· Configure the minfree values to anything. To make things easier you could run the V8 SuperCharger Alpha by zeppelinrox found here: http://forum.xda-developers.com/showthread.php?t=1250276. Don't try to update the busybox version or you'll get a soft-brick.
· Restart the system and check the values in terminal with:
Code:
cat /sys/module/lowmemorykiller/parameters/minfree
· Use your phone for a while. Let it go into the lockscreen and come back into the terminal and run the code again.
· Is there a difference for you?
Here's the scenario: the values are loaded at boot, however after some use, the values are changed to something else entirely, specially after exiting the lockscreen.
I want to see if it really is just me or indeed there's a bug that can be hunted down. The strangest part of it all is that the values are not even the ones defined in init.rc.
Now I can set them again and they will stick no matter what, but it's somewhat anoying.
Click to expand...
Click to collapse
Did you use build.prop or local.prop??
har****group said:
Did you use build.prop or local.prop??
Click to expand...
Click to collapse
If you're talking about the app_adj and app_mem values; well, the V8 SuperCharger script uses local.prop to set them up, so there. I've also tried to set them up manually using build.prop.

Android Tweaker Pro App

Nice! Worth it too. I recomend. :laugh:
https://play.google.com/store/apps/details?id=net.igio90.androidtweaker.pro&feature=search_result#?t=W251bGwsMSwxLDEsIm5ldC5pZ2lvOTAuYW5kcm9pZHR3ZWFrZXIucHJvIl0.
Tweaker pro deletes enteries in Build.prop when options unticked
Hi , I think a previous member may have eluded to this but, if you untick options, example 'Increase default Net Speed' in Network you erase the corresponding entry in Build.prop.
This can obviously be dangerous.
You should look to at least saving the current entry within a workfile, to be restored should the entry be unticked.
Also what response is the program supposed to give when Tools/Install init.d support chosen? I get the installing message but no sucess or fail message. I have init.d functiong on my sensation, but non of your functions appear to be working, ie no script appears in the Init.d directory, again if the program is having issues creating these an error message would be appreciated.

cpu clocking

hi, im an overclocking/underclocking maniac I go with root explorer and change my cpu profile ( interactive ) settings, to respond faster but to stay less time to max value. also i change the settings for the cpu to sleep sooner when the usage is low to conserve battery this way.
But after reboot , my settings are rolled back at their "original" values. I tried to set the permissions only user can write , but it happened again. Does someone know why and how can i make my changes permanent ? thank you in advanced.
forgot to mention. im not using setcpu or anything. i change the system values in the vanir rom i use.
kessaras said:
forgot to mention. im not using setcpu or anything. i change the system values in the vanir rom i use.
Click to expand...
Click to collapse
try using one of the many apps, vanir might not be saving the settings and applying at boot. Or you could write a simple init.d script to echo your frequencies much earlier in the boot process.
JoinTheRealms said:
try using one of the many apps, vanir might not be saving the settings and applying at boot. Or you could write a simple init.d script to echo your frequencies much earlier in the boot process.
Click to expand...
Click to collapse
i cant. using other apps its even harder for me to find the file to edit the profile i want to make it the way i want. i just tried
found it. only using setcpu i can edit governors the way i want them. but still im curious about finding where is the script in rom and reverts back my changes.

How to get rid of the annoying "System Update"

Hello!
I'm on a rooted Cricket Android 4.4.2 device.
ROM Version: 1.11.506.1
Software Number: 1.11.506.1
HTC Sense 6
Baseband: 1.101.1372.19
Can somebody please tell me how to get rid of the annoying software update that has been coming the last week?
Is there way to somehow either change my software number to trick the phone into thinking I'm updated or perhaps I should update? If so, how?
I appreciate the help.
Using a root file explorer and freezing the updater app manually would probably be the safest (personally I like Root Browser by JRummy hasn't been updated in awhile but if ain't broke it don't need to be, and it is a tool I know will always perform these critical tasks correctly)
By freezing the the system updater app in the following way, you will be able to easily reverse the process using the same process. While there are some mods that can hide the notification itself (eg.: Xposed FW), this method completely disables the update check process, thus freeing up system resources. Twofold if you look at it this way imo, rather than adding potentially harmful additional resources.
# Open your root fs explorer
# navigate to fs root:
/
# then to:
/system/priv-app
# locate the file:
Updater.apk
# append ".bak" to the file name. In other words rename it to:
Updater.apk.bak
# note: no need to mess with it's .odex file, it never hurt no one. Also depending on your fs explorer and personal settings, the app's icon thumbnail has likely changed to a blank white square/unkown/generic file icon and is totally normal.
# profit and celebrate the newly liberated space in your notifications and don't forget to miss that pesky "remind me later" pop up.
#should there be an update that your are feeling compelled to (try) and install simply remove ".bak" from the files name and proceed as usual. Note that the only thing you should be changing in all this is +/- ".bak" from the file name. Don't go trying to change this or other apps file name. It don't work like that. Speaking of other apps, I urge great caution against going ape$#¡+ and doing this carelessly, especially for apps anywhere under "/system".
# The Disable button on the App Info pages should be the primary resource for disabling apps for most users. Know what the app does and is used for on your system BEFORE making changes or worse yet, deleting it.
~/#: print <INSERT STANDARD DISCLAIMER, AKA CYA STATEMENT HERE>
Don't just say it, hit that thanks button if I helped you in any way!!!
Sent from my HTC Desire 510 using Tapatalk
wow thank you so much :laugh:
jackunoff said:
Using a root file explorer and freezing the updater app manually would probably be the safest (personally I like Root Browser by JRummy hasn't been updated in awhile but if ain't broke it don't need to be, and it is a tool I know will always perform these critical tasks correctly)
By freezing the the system updater app in the following way, you will be able to easily reverse the process using the same process. While there are some mods that can hide the notification itself (eg.: Xposed FW), this method completely disables the update check process, thus freeing up system resources. Twofold if you look at it this way imo, rather than adding potentially harmful additional resources.
# Open your root fs explorer
# navigate to fs root:
/
# then to:
/system/priv-app
# locate the file:
Updater.apk
# append ".bak" to the file name. In other words rename it to:
Updater.apk.bak
# note: no need to mess with it's .odex file, it never hurt no one. Also depending on your fs explorer and personal settings, the app's icon thumbnail has likely changed to a blank white square/unkown/generic file icon and is totally normal.
# profit and celebrate the newly liberated space in your notifications and don't forget to miss that pesky "remind me later" pop up.
#should there be an update that your are feeling compelled to (try) and install simply remove ".bak" from the files name and proceed as usual. Note that the only thing you should be changing in all this is +/- ".bak" from the file name. Don't go trying to change this or other apps file name. It don't work like that. Speaking of other apps, I urge great caution against going ape$#¡+ and doing this carelessly, especially for apps anywhere under "/system".
# The Disable button on the App Info pages should be the primary resource for disabling apps for most users. Know what the app does and is used for on your system BEFORE making changes or worse yet, deleting it.
~/#: print <INSERT STANDARD DISCLAIMER, AKA CYA STATEMENT HERE>
Don't just say it, hit that thanks button if I helped you in any way!!!
Sent from my HTC Desire 510 using Tapatalk
Click to expand...
Click to collapse
I'm gonna chime in here and I know you're trying to help but this really isn't helping because you didn't actually freeze the app like you said. All you did was change the apps name so now when the system actually calls upon that app it's simply going to error out and actually cause it to use more resources and not less as you said albeit it will not show up anymore but that's not the way to stop it! If I go into /system/priv-app and change Phonesky.apk to Phonesky.apk.bak the play store is going to break and then send me the error to my screen every second until I fix it and that uses more resources and the only reason you're not seeing the error on the screen for the Updater is because it's doing it behind the scene in a log. Now the real way to stop this app is to actually really freeze it or uninstall it so the system actually knows the app is no longer there and there are plenty of apps in the play store that can do that.
---------- Post added at 06:17 AM ---------- Previous post was at 06:16 AM ----------
Khiddfrost said:
wow thank you so much :laugh:
Click to expand...
Click to collapse
You should read my post above.

Categories

Resources