[Q] Why is min frequency changing when I open Faux? - T-Mobile Samsung Galaxy S II SGH-T989

I tried searching but didn't find a question similar to mine.
I flashed slickmod 3.4, 3.6. When I go to SetCpu (or Fauxclock or etc.) it shows both the min and max frequencies at 1.782ghz then 2 seconds later the min frequency jumps down to 384mhz. Every time I open SetCpu (or any similar app) it does this. My question is:
1. Is the min frequency really at 1.782ghz and when I go to SetCpu it goes down for the first time as to trick me?
Also in other roms I experienced this (not min freq being 1.782 though) but the min freq would be on a certain amount and 2 seconds later it would jump to down to a different certain amount right after I open SetCpu or Faux or any other app like this.
Here's the scenario right after I open Fauxclock.
{
"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 here's 2 seconds later

h1a8 said:
I tried searching but didn't find a question similar to mine.
I flashed slickmod 3.4, 3.6. When I go to SetCpu (or Fauxclock or etc.) it shows both the min and max frequencies at 1.782ghz then 2 seconds later the min frequency jumps down to 384mhz. Every time I open SetCpu (or any similar app) it does this. My question is:
1. Is the min frequency really at 1.782ghz and when I go to SetCpu it goes down for the first time as to trick me?
Also in other roms I experienced this (not min freq being 1.782 though) but the min freq would be on a certain amount and 2 seconds later it would jump to down to a different certain amount right after I open SetCpu or Faux or any other app like this.
Here's the scenario right after I open Fauxclock.
And here's 2 seconds later
Click to expand...
Click to collapse
Yeah that's a bug with pretty much all CPU apps on our phone, happens with system tuner as well. Its just a graphical bug, your min frequency is still what it should be at at all times. To confirm that you can use CPU spy which will show your phone using the correct min frequency

Thanks,
Also how do I fix a governer to stick?
Sometimes I change it to another governer, but when I come back to fauxclock
it changes back to the default governer.

Set on boot, or use a script

h1a8 said:
Thanks,
Also how do I fix a governer to stick?
Sometimes I change it to another governer, but when I come back to fauxclock
it changes back to the default governer.
Click to expand...
Click to collapse
I've never had issues with a governor not sticking. I don't use faux clock though, maybe you should try system tuner. If you're not rebooting the governor change should stick but if you need it to change on boot (like if you reboot your phone a lot) you'll have to have the app set it on boot or modify your post boot script like the poster above me said.

Related

Education in SetCpu

I would appreciate a brief explanation on how to use setcpu or fauxclock or something like that. I would appreciate if someone could tell me which apparently works best wirh synergy kernel and some initial setting to put in. Ill hit your thanks button everyday for 20 years if you'd take the time. I can root, and flash but this process is something I'm completely in ghetto dark about.
big70tom said:
I would appreciate a brief explanation on how to use setcpu or fauxclock or something like that. I would appreciate if someone could tell me which apparently works best wirh synergy kernel and some initial setting to put in. Ill hit your thanks button everyday for 20 years if you'd take the time. I can root, and flash but this process is something I'm completely in ghetto dark about.
Click to expand...
Click to collapse
SetCPU is very simple. Once you install the application, all you need to do is adjust the sliders appropriately to the speeds that you want. Lagfree governor will give you the best performance, but battery life will suffer.
Fauxclock does not work with Synergy, so you can only use SetCpu.
EDIT: if you want your settings to stick when you overclock, don't forget to check "set on boot" when you are in SetCPU.
Sent from my SGH-T989 using xda premium
What about the settings in the advanced tab? Like sampling, thresh hold, etc...
GreggoryD502 said:
What about the settings in the advanced tab? Like sampling, thresh hold, etc...
Click to expand...
Click to collapse
nothing you really need just yet. Only thing I could think of would be profiles for screen off, etc.
Sent from my SGH-T989 using xda premium
Here you go ....
http://www.youtube.com/watch?v=X9Sn4Uz4pkM&feature=youtube_gdata_player
Powered by the SGSII....
skadude66 said:
SetCPU is very simple. Once you install the application, all you need to do is adjust the sliders appropriately to the speeds that you want. Lagfree governor will give you the best performance, but battery life will suffer.
Fauxclock does not work with Synergy, so you can only use SetCpu.
EDIT: if you want your settings to stick when you overclock, don't forget to check "set on boot" when you are in SetCPU.
Sent from my SGH-T989 using xda premium
Click to expand...
Click to collapse
I used SetCPU recently with Synergy and SetCPU stated it was controlling the processor speeds, is there a way to verify the speeds?
{
"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"
}
These are the setting I'm using, the screen off doesn't seem to choke up the phone like it used to do on the Vibrant.
The first one is Temp>50.0 C 810max 192min set to performance.
big70tom said:
I would appreciate a brief explanation on how to use setcpu or fauxclock or something like that. I would appreciate if someone could tell me which apparently works best wirh synergy kernel and some initial setting to put in. Ill hit your thanks button everyday for 20 years if you'd take the time. I can root, and flash but this process is something I'm completely in ghetto dark about.
Click to expand...
Click to collapse
I use setcpu and have from day one. It was the first paid app i bought. The are drawbacks. The best way to adjust cpu setting is through scripting. It not hard but if you lazy like me or just stupid and cant follow instructions setcpu is the way to go. Its pretty self explainatory.

SetCpu issue

I'm not sure if this is normal behavior or not but ill have my max and min values set and when I leave the app and come back to, the value sliders will still be set but it will display the min as 384.
{
"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"
}
I don't recall it doing this before, unless I just never noticed. But I did a restore and also reflashed the kernal and it has not solved it!
I also tried Cpu Tuner and it did the same thing! What would be causing this?
"Edit - I forgot to add I'm on juggernaut 4.1 with bullet kernel"
Tap-A-Talkin it ... Galaxy S ii
Try un-installing set cpu. Boot into recovery and wiping data cache and dalvik. Then fix permissions. Reboot and re-install set cpu.
Thanks for the reply!
I just tried the method stated above and it Is still doing the same thing! I'm stumped! I really hope its not a hardware failure!
When adjusting clock speed with setcpu does this change the frequency for both processors? I'm wondering if the second processor is causing this issue.
While looking at the info tab in setcpu it lists processor 0, and processor 1 every once in awhile processor 1 dissappears from the screen. I'm assuming that's normal behavior though since both cpus aren't being used at all times and I guess its going into standby.
Try faux clock instead of setcpu.
Alright I wiped cache and dalvik once again fixed permissions amd than installed faux clock and still the same thing.
I'm really starting to think my SGS2 has a bad cpu.
I set the values to this, exited the app, reloaded the app and minimum was back down to 384
Sent from my SGH-T989 using Tapatalk
I remember I had an issue something like this. I had to do a wipe data/factory reset in recovery to fix it. You could back up your apps and try that. I know its a pain tho.
I still have not figured out what's going on, I have tried everything I can think of. I've even odin back to stock, updated latest firmware from kies, reflashed juggs... nothing has changed this behavior.
Even using fauxclock, if I set both min and max frequencies to the same setting when I exit the app and re open the app, the max frequency is where I set it to. but the min frequency goes back to 384. Anyone elses do this?
This is my first time owning a dual core phone and I'm beginning to think its normal! Might be panicked for no reason!
Tap-a-Talkin it.... Galaxy S !!
Is there a reason you want your minimum frequency so high? 384 is normal.
Sent from my SGH-T989 using xda premium
No reason, I just found it strange and was thinking there was a problem with the hardware, but I actually did a few test on it tonight and it's working, So I can rest easy!
Tap-a-Talkin it.... Galaxy S !!

Kernel tweaks to fix stuttering and occasional crashes

I'm sharing some kernel tweaks that I found to eliminate lag, or micro-stutter to be more precise. Messing around with kernel settings can make your system unstable. It takes some experimenting to come up with a setup that runs without app crashes and reboots. Before I start let me clear a few things up:
- Many people claim that they don't experience lag on their phone. That's really great! Please be considerate of others that might be.
- I'm running CyanogenMod 10.2.0, Faux Kernel jfltetmo-aosp-faux-123-013m and I'm performing tweaks with TricksterMod v2.9.832.
I don't suppose you need to match my setup but if you understand what I'm doing you might be able to tweak your system in a similar manner.
- You might experience faster battery drain with this setup. The priority is on performance and stability.
- Phones can get really hot on a sunny day. It's winter here right now so I can't guarantee this will work well in a very hot environment. If you are experiencing crashes it's likely related to how your phone handles heat.
---------------
1) Lock the clock
I figured out by experimenting that the micro-stutter is caused by the CPU changing it's clock. I don't know why the Krait 600 is taking a time penalty when switching frequencies. This should not be happening and it's certainly not a problem with my Nexus 4 which has an older generation Krait CPU. Locking the CPU to a certain frequency made my experience fluid. I set my clock at 1.5GHz but slower frequencies certainly work well for everyday tasks. Be aware that it takes more power to run faster but the relationship isn't linear. If we take 1.5GHz as a base it would take 10% more power to run at 1.9GHz, it will take 10% less power to run at 1.1GHz and it will take 20% less power to run at 270MHz.
I set the governor to 'interactive'. I tried 'performance' but I couldn't verify that the phone was entering Deep Sleep. With 'interactive' the phone is locked at my set frequency and goes to Deep Sleep when it's not working.
The GPU governor works fine at 'performance'.
{
"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"
}
2) Increase the IO buffer
My IO buffer was set very low for some reason. 1024 or 2048 is recommended. I like the 'row' scheduler the best. 'deadline' is also recommended.
3) Shut off MP-Decisssion.
This is Qualcomm's thermal throttling. It slows down the CPU when it reaches certain temperature. This is a dangerous tweak so proceed at your own risk! What I do to protect my CPU is I shut off 2 cores instead. Most tasks nowadays can run on a single core but 2 cores really help multitasking. 4 cores aren't really needed. In the 'Specific' screen turn OFF MP-Decission and turn ON 'Intelli-Plug'. Then scroll down and press the 'Intelli-Thermal Control' button. Turn it ON, then in "Offline Cores' turn ON cores 2 and 3. The core number here is 0-based. The 'Core Offline Limit' I set at the lower value they had 50deg. I was experiencing crashes at little above 50 degrees. I'm not sure that's normal. To further protect the CPU make sure the Throttling is enabling on all cores.
Under high stress the temperatures raises to 50 degrees but stays there and the system is very stable.
Please feel free to share your results and ideas.

CPU temperature question (app&mod)

OK I'm working on the cttmod for mm and I'm having trouble getting different temperature readings from the different apps I'm using to test so I have a two part question
1 - Does anyone know of an app that accurately measure the temp ?
2- How can I tell what method or what directory mm stock and stock kernels get there temperature information and an temperature app that will allow me to point it in the same direction.
Right now I've got the mod working but the 5°c+ difference in temperature is a big difference when allowing the CPU's temp to be higher before it throttles and for how long it stays there.
Hey.
You can see all thermal zones here:
/sys/class/thermal/
If I'm not wrong, thermal_zone0 is for the cpu package(not only core0), so you can use this to see the temp.
I'm using cooltool from Google play and custom label with this for path:
/sys/class/thermal/thermal_zone0/temp
You can change refresh rate and some other things in the app. You can also watch on what mhz cpu work, so you can see when it throttle
Hope this will help you
P.s.- This is the most accurate temp reading, because you read it directly from the kernel.
Sent from my LG-D855 using Tapatalk
siankatabg said:
Hey.
You can see all thermal zones here:
/sys/class/thermal/
If I'm not wrong, thermal_zone0 is for the cpu package(not only core0), so you can use this to see the temp.
I'm using cooltool from Google play and custom label with this for path:
/sys/class/thermal/thermal_zone0/temp
You can change refresh rate and some other things in the app. You can also watch on what mhz cpu work, so you can see when it throttle
Hope this will help you
P.s.- This is the most accurate temp reading, because you read it directly from the kernel.
Sent from my LG-D855 using Tapatalk
Click to expand...
Click to collapse
Thanks I'll give it a try and see
{
"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"
}
You can see it runing in statusbar and this is the custom label configurations I'm using for cpu temp.
Sent from my LG-D855 using Tapatalk
siankatabg said:
You can see it runing in statusbar and this is the custom label configurations I'm using for cpu temp.
Sent from my LG-D855 using Tapatalk
Click to expand...
Click to collapse
Thanks and that just confirmed it. Kernel auditor is the one that's off out the five that I tried only kernel auditor was a consistent 5+ ° c lower than the other four which all stayed without 1 to 2° of each other. That's the reason my mod wasn't working the way I thought it was . Now time to start over
Again thanks I just needed some additional confirmation and that did it

Conservative CPU Governor - Performance mode

Hi Everyone,
I have little experiment about Conservative CPU Governor to get better performance and if anyone of you experienced developers can tell me which settings between these two could give better and smoother UI performance? What do you think?
{
"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"
}
Windforce0511 said:
Hi Everyone,
I have little experiment about Conservative CPU Governor to get better performance and if anyone of you experienced developers can tell me which settings between these two could give better and smoother UI performance? What do you think?
Click to expand...
Click to collapse
http://forum.xda-developers.com/general/general/ref-to-date-guide-cpu-governors-o-t3048957
Very good thread, have a look.
gsstudios said:
CPU Governor tuning guide
This post includes:
- CPU governor parameters
Recommended apps for manipulating kernel values:
1. Kernel Adiutor (Free to tune governor variables)
2. Kernel Adiutor-Mod (Free to tune governor variables)
3. Compatible kernel managers (e.g Stweaks, Synapse, UKM, etc.)
NOTE: If you don't have some of these tunables, you might have an older version of the governor/hotplug driver and/or the kernel maintainer has made modifications to it.
CPU governors
4. CONSERVATIVE
[ PARAMETERS ]
Quote:
Ondemand and conservative have some tunables in common, but with a few extras:
i) freq_step - this describes what percentage steps the cpu freq should be increased and decreased smoothly by. By default the cpu frequency will increase in 5% chunks of your maximum cpu frequency. You can change this value to anywhere between 0 and 100 where '0' will effectively lock your CPU at a speed regardless of its load whilst '100' will, in theory, make
it behave identically to the "ondemand" governor.
ii) down_threshold - same as the 'up_threshold' found for the "ondemand" governor but for the opposite direction. For example when set to its default value of '20' it means that if the CPU usage needs to be below 20% between samples to have the frequency decreased.
Click to expand...
Click to collapse
Click to expand...
Click to collapse

Categories

Resources