[Q] set default cpu frequency question - HTC EVO 3D

how to set default cpu frequency without any app.anyone kown it

I don't think the stock kernel can be. For non stock ones like Mac, they are usually adjusted in boot scripts or with apps like set CPU.
Read, Search, Read again, ... Then Ask with Tapatalk 2

Related

[Q] New to all of this

Sorry if this is in the wrong place but I am very new to the rooting and the benefits of rooting. I have recently rooted my evo 4g and while it does work i was wondering if someone could point me in the right direction of what the next step should be. I am currently adding apps that I can install but I am wanting to increase the battery life and in general get more out of my phone. If there are basic tutorials that I could get pointed to that would be awesome or just general advise thanks again - Juse
What do you mean by getting more out of your phone? For now I'll judge you mean performance wise. Let's start with cpu. Download setcpu (my preference) from the market: https://market.android.com/details?id=com.mhuang.overclocking&feature=search_result . This will allow changing cpu frequencies of your device BUT you MUST have a custom kernel installed. This can be done by getting kernel manager (Market link: https://market.android.com/details?id=com.teamwin.kernelmanager.free&feature=search_result ) or simply by flashing a custom rom. The good thing in setcpu is that you can set profiles. I would recommend setting the frequency to the lowest possible with scaling set to conservative when screen is off. For the "getting more out of your phone part", (guessing you mean performance), set the frequency to how high you want (depending on your how extreme and experimental you are) and set scaling to performance. If you want to be on the safe side, check for the recommended cpu frequencies for whichever kernel you get.

[Q] limit max frequency by script or hardcoded in kernel?

Hi.
Are the minimum and maximum frequencies given by the kernel or given by scripts somewhere on an Android device?
Is it possible to lock the maximum frequency useable by SetCPU to a lower setting than possible by the kernel via a script?
For example an overclocking kernel is used, but a specific device cannot handle overclocked frequencies.
I might be wrong, but I believe hardcoced in kernal
lordofazeroth said:
Hi.
Are the minimum and maximum frequencies given by the kernel or given by scripts somewhere on an Android device?
Is it possible to lock the maximum frequency useable by SetCPU to a lower setting than possible by the kernel via a script?
For example an overclocking kernel is used, but a specific device cannot handle overclocked frequencies.
Click to expand...
Click to collapse
I've completely moved away from apps of any sort to manage voltage, min and max freq, as well as governor behavior and memory optimization. Assuming your kernel supports sysfs, and most custom kernels do, a simply written script will do the job with none of the overhead an app requires. Many kernels already have a script for setting these values and can be edited fairly easily. If you know a little about ADB, creating a whole new one with something like Vim is pretty easy. Then you just push it to /system/etc/init.d and sh it. If you want to edit it on the device, Script Manager works well for that. I have an OC guide in my Q&A thread, second post, that explains some of this in more detail. The link is in my sig.

[Q] Unable to scale CPU frequency on my Phone

I have a ROOTED chinese brand phone with the MTk6575 CPU (1 GHZ) with android 2.3.6 installed on it, and am trying to improve the phone's battery life by scaling down the CPU frequency. But out of all the apps I have tried (SetCPU, No-Frills, Android Overclock) none of them is able to read the CPU Governor or current CPU frequency. My question is could we change this frequency directly by editing any of the files inside the /system folder or is there any other security setting that prevents these apps from reading or changing the CPU frequencies?
CPU frequency scaling, governor changing, I/O scheduler changing and under/over-volting all require kernel support. In all probability your stock kernel does not have that support, and you can't change kernel unless someone develops one for your phone.
Sent from my Desire HD using xda premium

[Q] Galaxy S3 UI Lag with Siyah

Hi All..
First lemme give my phone details:
Galaxy S3 International (i9300)
Kernel : Siyah 1.8.9
ROMs (Dual Boot)
: WanamLite v5.5 (based on ZSEMA1)
CM10.1 Nightly
MODS : JKAY framework
My problem is that there is noticeable UI lags when in the homescreen or the app drawer.
I have not overclocked/underclocked the CPU. Have no undervoltage setting as well. In STweaks, the max CPU freq is set to the stock 1400Mhz and the min CPU freq is set to the recommended 200Mhz. And I have kept the "touch boost level" to 1200Mhz.
When I see the UI lags, I used CPU spy to monitor the CPU speeds. What I could see was that the speeds were at the lower end (200 - 800 Mhz) !!! Since the touch boost level is set to 1200, shouldn't the CPU jump to 1200 Mhz when I unlock/touch the screen ? I agree that the CPU speed needn't stay at 1200Mhz after the speed boost, but shouldn't it stay at a freq to ensure that there is no UI lag ?
If the operating freq is at 1400Mhz, the UI is perfect !!! It goes to this state automatically usually (takes a while ), or manually I can make this happen by setting the min CPU freq to say 1300 MHz from STweaks. Once this state is hit, the UI wrks with no lag until say I lock the screen, or maybe the device goes to sleep for a while.
Any ideas as to why the CPU freq stays at lower values and doesn't come up enough to give a lag free UI ?
stanzlavos said:
Hi All..
First lemme give my phone details:
Galaxy S3 International (i9300)
Kernel : Siyah 1.8.9
ROMs (Dual Boot)
: WanamLite v5.5 (based on ZSEMA1)
CM10.1 Nightly
MODS : JKAY framework
My problem is that there is noticeable UI lags when in the homescreen or the app drawer.
I have not overclocked/underclocked the CPU. Have no undervoltage setting as well. In STweaks, the max CPU freq is set to the stock 1400Mhz and the min CPU freq is set to the recommended 200Mhz. And I have kept the "touch boost level" to 1200Mhz.
When I see the UI lags, I used CPU spy to monitor the CPU speeds. What I could see was that the speeds were at the lower end (200 - 800 Mhz) !!! Since the touch boost level is set to 1200, shouldn't the CPU jump to 1200 Mhz when I unlock/touch the screen ? I agree that the CPU speed needn't stay at 1200Mhz after the speed boost, but shouldn't it stay at a freq to ensure that there is no UI lag ?
If the operating freq is at 1400Mhz, the UI is perfect !!! It goes to this state automatically usually (takes a while ), or manually I can make this happen by setting the min CPU freq to say 1300 MHz from STweaks. Once this state is hit, the UI wrks with no lag until say I lock the screen, or maybe the device goes to sleep for a while.
Any ideas as to why the CPU freq stays at lower values and doesn't come up enough to give a lag free UI ?
Click to expand...
Click to collapse
ANNNNNNNNNNNND what rom are you talking about!?! CM10.1 or Samsung? if you want a LAGG FREE phone do the following.
1: OverClock the CPU to 1.6ghz, then set min to 500mhz, use a -25mV or a -50mV
2: Set Governor to LULZACTIVEQ
3: Set MIN GPU freq to 266mhz
4: Set MAX GPU freq to 640mhz
5: Disable "gentle fair sleepers" on the CPU tab
6: Set the SCHEDULER to CFQ
7: Go to settings and enable GPU rendering
and FINALLY if non of the above work, FLASH Null_22.1 for a Samsung ROM. and Revolt, cm10.1, jellybam for a AOSP rom.
IF NON OF THAT WORK'S download super wipe and flash a new phone.
Can I just say, 1200mhz?!?! Default is 800 and I'm using 700 on my device. It's a bit extreme.
Perhaps your governor is affecting smoothness. Try using pegasusq. Or it may be the app your using to change CPU frequency doesn't even have ROOT access
International S III 16GB / CM10.1 / Gokhan's SK
paintball23456 said:
ANNNNNNNNNNNND what rom are you talking about!?! CM10.1 or Samsung? if you want a LAGG FREE phone do the following.
1: OverClock the CPU to 1.6ghz, then set min to 500mhz, use a -25mV or a -50mV
2: Set Governor to LULZACTIVEQ
3: Set MIN GPU freq to 266mhz
4: Set MAX GPU freq to 640mhz
5: Disable "gentle fair sleepers" on the CPU tab
6: Set the SCHEDULER to CFQ
7: Go to settings and enable GPU rendering and disable hardware overlays (resets on boot)
and FINALLY if non of the above work, FLASH Null_22.1 for a Samsung ROM. and Revolt, cm10.1, jellybam for a AOSP rom.
IF NON OF THAT WORK'S download super wipe and flash a new phone.
Click to expand...
Click to collapse
No. Do not disable hardware overlays. That will, if anything, cause your device to lag more.
Theshawty said:
No. Do not disable hardware overlays. That will, if anything, cause your device to lag more.
Click to expand...
Click to collapse
O_O not in my case..
paintball23456 said:
O_O not in my case..
Click to expand...
Click to collapse
This is a quote from a guy over at rootzwiki
Without a hardware overlay every application that is displaying things on the screen will share video memory and will have to constantly check for collision and clipping to render a proper image, this can cost a lot of processing power. With a hardware overlay each application gets its own portion of video memory, getting rid of the need to check for collision and clipping.
Basically, using hardware overlays can reduce CPU usage by quite a bit, so I would leave it enabled.
Click to expand...
Click to collapse
Theshawty said:
This is a quote from a guy over at rootzwiki
Click to expand...
Click to collapse
Right.. then why dafudge is my s3 SMOOTHER with it enabled?
paintball23456 said:
Right.. then why dafudge is my s3 SMOOTHER with it enabled?
Click to expand...
Click to collapse
Maybe you're just lucky, I dunno. It's better to let a real dev share his/her input on this. I'm merely a noob who knows how to Google...
Theshawty said:
Maybe you're just lucky, I dunno. It's better to let a real dev share his/her input on this. I'm merely a noob who knows how to Google...
Click to expand...
Click to collapse
L.O.L but not that big of a noob... thanks for the info - and also reminding me for the 100,000,000,000,000 time to sign up to rootwiki
paintball23456 said:
L.O.L but not that big of a noob... thanks for the info - and also reminding me for the 100,000,000,000,000 time to sign up to rootwiki
Click to expand...
Click to collapse
Heh, maybe not.
Uhm, you're welcome, I guess? :good:
It's probably smoother due to the fact that the CPU will be working at a higher frequency more often. Those that have disabled hardware overlays are causing their CPU to ramp up every time an application has to render an image
paintball23456 said:
ANNNNNNNNNNNND what rom are you talking about!?! CM10.1 or Samsung? if you want a LAGG FREE phone do the following.
1: OverClock the CPU to 1.6ghz, then set min to 500mhz, use a -25mV or a -50mV
2: Set Governor to LULZACTIVEQ
3: Set MIN GPU freq to 266mhz
4: Set MAX GPU freq to 640mhz
5: Disable "gentle fair sleepers" on the CPU tab
6: Set the SCHEDULER to CFQ
7: Go to settings and enable GPU rendering
and FINALLY if non of the above work, FLASH Null_22.1 for a Samsung ROM. and Revolt, cm10.1, jellybam for a AOSP rom.
IF NON OF THAT WORK'S download super wipe and flash a new phone.
Click to expand...
Click to collapse
The lag is more obvious in the Touchwiz based Wanamlite ROM.
1) As i said, when running at 1.4Ghz (with stock voltage settings) itsef the UI is smooth. So I don't actually want to overclock. . The problem is that the CPU speed doesn't rise up and stays between 200-800 causing the lag.
2) Will try changing the governor (first let me read how it is different from pegasusq ).
3,4) Again, with stock settings itself the UI is smooth. The problem is what i have said under point 1.
5) Already done.
6) WIll try setting scheduler to CFQ (again, lemme read bout it first )
7) GPU rendering is already ticketd. Hardware overlays are not disabled (thought this would increase the lag).
Is NULL_22.1 a Touchwiz based ROM ? And Jelybam is an AOKP ROM I supose ?
Wouldn't want to do the last option.
Also, I saw that you have mentioned three ROMs in your signature. Siyah lets you dual boot right, how come 3 ? Or were you just talking about your preference ?
And, does siyah 1.8.9 for the S3 let us boot with NULL_22.1 and jellybam in dual boot? Are all these combos possible ?
Sammy + CM10.1 (this works, I knw )
Sammy + AOKP
AOKP + CM10.1
raminica seemed
23Six said:
Can I just say, 1200mhz?!?! Default is 800 and I'm using 700 on my device. It's a bit extreme.
Perhaps your governor is affecting smoothness. Try using pegasusq. Or it may be the app your using to change CPU frequency doesn't even have ROOT access
International S III 16GB / CM10.1 / Gokhan's SK
Click to expand...
Click to collapse
From what I understood, it just boosts upto 1200Mhz on touch and needn't stay there. Right ? The only downside there is battery life I suppose ?
Am already using pegasusq and yes, sTweaks does have root access.

gov-tuner project VS L speed !!doubts about freq and difference of these 2 mods

hello to all, i noticed that my redmi note 3 pro KATE ( i am on globerom 8.1.1.0 stable) has the minimum clock for big cluster, setted at 883mhz , and little cluster 691mhz BUT i can select on kernel adiutor the min freq of 400/ 400 mhz.
QUESTION 1 about freq​Now i am with L speed app , and applied battery profile, but i don't understand why it does not automatically set the value to the MINIMUM POSSIBLE. Is there a reason?
Is there any CON to set the minimum cloto to cpu at 400mhz? i don't understand why xiaomi.eu and globerom modders did not set this freq to lowest possible, is it maube harmfull for the device?
should i have to set it by myself in kernel adiutor app? please help me to use this app, i just suppose i must apply 400mh setting, THEN choose to apply to boot ( there is a toggle).
What if i set at 400 and NOT toggle it?
QUESTION 2 about differences L speed and gov tuner flashable zip.​I am sorry to admit that i'm not such skilled into android development and i have difficulties to understand terms like init.d or script meanings.....
For what i know i found pre installedon globerom the gov-tuner project zip file, then i discovered that that optimizations to the GOVERNOR, are also incorporated in another app called L speed. so i uninstalled gov tuner in this way:
1) entered into console, and entered the letter to disable gov tuner. ok,
2)then rebooted into recovery and flashed the zip for uninstaller.
DELETED! and i can say with that mod my battery life was really good almost perfect.
then i installed L speed, but still being a nice app with lots of features and explanatiions for EACH of them, i just setted overall provile to BATTERY, and cheched some other tweaks....EXCLUDING THE ONES that are described as battery wasting.
Then i asked to officiial thread if i have to reboot to apply, they said no... but it's PREFERABLE. OK I REBOOT.
by now i have worse battery life ( much worse) and i can't understand why.
I tested with console if gov tuner is still present, but NO. so there shoudn't be any conflict at all
sorry....if this 2nd question is THE BIGGEST ONE, but i really need to read someone suggestion and a simple explanation to understand if it's better l speed or gov tuner to me.
L speed seems very much powerful and can mod much more things... but is it safe? maybe there are so much options and i choosed 1 or 2 too much, and now i see bad battery life. but it's nearly impossible what is the option that causes me this.
And last important thing.... is it the same thing to implement these script or optimizations at the boot (i think gov tuner do it so) or after the boot like do L speed? ( i noticed into app a setting to choose 10 seconds after boot to apply scripts, in fact i see after each boot a notification about these applied scritps)
Hello,
sorry I can only answer question 1 since I dont use Lspeed.
Set it to 400MhZ Dude!
Doesnt harm your device, its still not laggy or anything.
Set apply on boot option and you`ll be golden.
RN3 has awesome battery life just stock. If you want more, install skynet. (was on xda, moved to google+)
There is even a guide somewhere out there for setting it to 400Mhz.
Cheers mate

Categories

Resources