Lightning kernel profile workshop(insane battery life) - ONE General

hello i have created some profiles for my kernel to get the best out of our device there will 2 to 3 versions of profile of the same governor
bal-balanced profile which will have a mix of performance and battery life
bat-battery profile which will give good battery life with smooth ui but not for gaming
exbat-extreme battery profile which is tuned for maximum battery life with slight lags in ui good for light usage
INSTRUCTIONS TO APPLY THE PROFILES
use es,root or mix explorer
Paste the files in initd folder system/etc/initd tick all the permissions(rwx rwx rwx) then go to kamod initd section and execute the profile you want you will get a confirmation message that the profile has been applied please keep only one set of governor profiles in intit folder to avoid problems
SMARTMAX GOVERNOR QUAD PROFILES
based on @Stylo King
in these profiles all the cores will be online all the time except 1 in sleep if you have late wake up problem try increasing suspend max frequency in msm limiter and suspend_ideal_frequency in smartmax tunning you can also edit the file and make permanent changes so you dont have to change again and again
SUICORE-QUAD
by @iDorkKnight
SUI stands for Smartmax_eps, Umbrella_core and Interactive. Suicore-quad-v1 is a profile based on 3 governors behaving differently(in a very specific way) in order to preserve battery and maintain performance.
Lightning-impulse profiles
These profiles are based on advanced interactive tweaks thread by @soniCron for best frequency usage for each task like videos,scrolling and also ramps down to idle minimum frequency fast and the ui is smooth without using too much input boost
will add more asap so stay tuned

RESERVED

Let the games begin

You sir are a hero for all your work

Thankyou for your work ,I'm using the bat profile and the stats look pretty promising on NOS 7.1.1 latest
I'm running only the profile ,all background processes are running normally (No Doser )
Will try it out and let you know

Is there a chance for screenshots from KA of each profile? Thanks

plantator said:
Is there a chance for screenshots from KA of each profile? Thanks
Click to expand...
Click to collapse
You can see the values in the file as it can be edited easily cause its time consuming to upload so many ss thanks

Which ROM would you say will work smoothly with these profiles.
Sent from my A0001 using XDA-Developers Legacy app

jasi275 said:
Which ROM would you say will work smoothly with these profiles.
Click to expand...
Click to collapse
Any ROM

big thanks,

SUICORE-QUAD-v1 PROFILE
SUICORE-QUAD v1:
SUI stands for Smartmax_eps, Umbrella_core and Interactive. Suicore-quad-v1 is a profile based on 3 governors behaving differently(in a very specific way) in order to preserve battery and maintain performance.
Instructions:
1)Unzip the suicore-quad-v1 file(DO NOT FLASH).
2)Copy the unzipped suicore-quad-v1 to system/etc/initd.
2)Grant all the permissions (rwx rwx rwx) to the file.
3) Go to CPU section of Kernel Auditor Mod app > Enable the "Enable per core control" option.
4) Go to the initd section of the Kernel Auditor Mod app and execute the suicore-quad-v1 script. You will receive a confirmation message.
DOWNLOAD: Google Drive Link
Some screenshots are attached that show the battery stats obtained using suicore-quad-v1
PS: On stock, I cannot go beyond 4h30m. On suicore-quad, well, the screenshots speak for themselves.

iDorkKnight said:
SUICORE-QUAD v1:
SUI stands for Smartmax_eps, Umbrella_core and Interactive. Suicore-quad-v1 is a profile based on 3 governors behaving differently(in a very specific way) in order to preserve battery and maintain performance.
Click to expand...
Click to collapse
it works with alucard hotplug with all cores on am I right?

Glad @nikhil18 is keeping the development alive for OnePlus One. Just checked my mentions and couldn't resist to post my thoughts here. Good job guys, Keep those profiles coming.

plantator said:
it works with alucard hotplug with all cores on am I right?
Click to expand...
Click to collapse
Works with alucard but if you have sudden lags or delayed wakeups, I suggest you shift to MSM hotplug with min_cores as 4.

iDorkKnight said:
SUICORE-QUAD v1:
SUI stands for Smartmax_eps, Umbrella_core and Interactive. Suicore-quad-v1 is a profile based on 3 governors behaving differently(in a very specific way) in order to preserve battery and maintain performance.
Instructions:
1)Unzip the suicore-quad-v1 file(DO NOT FLASH).
2)Copy the unzipped suicore-quad-v1 to system/etc/initd.
2)Grant all the permissions (rwx rwx rwx) to the file.
3) Go to CPU section of Kernel Auditor Mod app > Enable the "Enable per core control" option.
4) Go to the initd section of the Kernel Auditor Mod app and execute the suicore-quad-v1 script. You will receive a confirmation message.
DOWNLOAD:Google Drive Link
Some screenshots are attached that show the battery stats obtained using suicore-quad-v1
PS: On stock, I cannot go beyond 4h30m. On suicore-quad, well, the screenshots speak for themselves.
Click to expand...
Click to collapse
What ROM are you using?

Thanhtho96 said:
What ROM are you using?
Click to expand...
Click to collapse
The screenshots were taken on Hyper Unicorns.

Lightning-impulse profiles
These profiles are based on advanced interactive tweaks thread by @soniCron for best frequency usage for each task like videos,scrolling and also ramps down to idle minimum frequency fast and the ui is smooth without using too much input boost

nikhil18 said:
Lightning-impulse profiles
These profiles are based on advanced interactive tweaks thread by @soniCron for best frequency usage for each task like videos,scrolling and also ramps down to idle minimum frequency fast and the ui is smooth without using too much input boost
Click to expand...
Click to collapse
Holy ****!! which rom is this and kernel version and what other tweaks, you have applied??

aqilsoomro said:
Holy ****!! which rom is this and kernel version and what other tweaks, you have applied??
Click to expand...
Click to collapse
That's idprophecy ROM latest version 38 lightning with no tweaks like greenify,naptime only undervolted heavily and turned of google services wakeup in privacy guard that sot was on impulse exbat profile

nikhil18 said:
That's idprophecy ROM latest version 38 lightning with no tweaks like greenify,naptime only undervolted heavily and turned of google services wakeup in privacy guard that sot was on impulse exbat profile
Click to expand...
Click to collapse
Is that undervolting part of profile? Or we have to manualy do it?

Related

[KERNEL] [AOSP] leanKernel: minimalistic kernel (v5.1.0, 11/16/11)

This is a minimalistic Thunderbolt kernel based on the official gingerbread kernel source, patched to 2.6.35.14, and then a bunch of lean mods added (look at feature list below).
DOWNLOADS:
1) lean (normal lean version), 1) 184Mhz (184Mhz can be unlocked via st - note for many people 184Mhz is unstable and cause issues, also supports outgoing call recording)
speedtweak.sh
This script will allow you to "transform" your kernel into normal, extreme, 1.92, 1.92X and battsaver versions (ie. it allows you to control speed, voltage, and slots to a certain degree). Once you run the script, everything will be self-explanatory. To run the script:
1) Open Terminal Emulator (install it from market if you don't have it).
2) Type "su" (without quotes) and hit enter.
3) Type "speedtweak.sh" (without quotes) and hit enter.
leanKernel kernel speed tweaker
------------------------------_
1) normal: undervolted, overclocked to 1.41Ghz
2) extreme: extremely undervolted, overclocked to 1.41Ghz
3) 1.92: undervolted, overclocked to 1.92Ghz
4) 1.92X: extremely undervolted, overclocked to 1.92Ghz
5) battsaver: extremely undervolted, not overclocked
6) Unlock 184Mhz
7) Lock 184Mhz
8) View current settings
Please type 1, 2, 3, 4, 5, 6, 7, or 8:
Click to expand...
Click to collapse
speedtweak.sh and SetCPU
The risk of running setcpu is that it can inadvertently override the min and the max that were set by the speedtweak script. (oh it can also override the governor setting but that's not as bad). Other than that it's pretty harmless - it can't mess with the voltage settings. So if you're going to use SetCPU, keep this in mind. One way to make this work is to use SetCPU to configure governor and min/max, and use speedtweak.sh to configure voltage settings. Or just don't use SetCPU.
FEATURES
Includes lots of goodies from kernel source (2.6.36.x & 3.x from kernel.org) newer than stock.
speedtweak.sh script to adjust clock frequencies and voltages.
SVS - manual voltage tweaking via /etc/init.d/01vdd_levels
InteractiveX and ondemandX governors! Added my own suspend code to interactive and ondemand code to make the phone lock at low clock speed when screen is off. No need for sleep setcpu profile anymore.
For 1.92Ghz builds, interactiveX and smartass governors were modified to minimize unnecessary spikes above 1.8Ghz to keep phone stable.
vm, minfree, memory, buffers readahead buffer tweaks
All unnecessary kernel components removed to make kernel lean and fast!
low # (5-10) of cpufreq slots for simple management and less governer transitions.
Undervolted for longer battery life.
SWAP and EXT4 enabled.
Filesystems mounted via EXT4, and tweaked for performance.
init.d enabled in ramdisk
TUN, CIFS, NSIO (netspector) module support
zram (from linux 3.1) module support (to enable, go into Terminal, type su, and then type "zram enable" without quotes). What is zram?
TINY_PREEMPT_RCU.
CHANGELOGS
4.2.0 (10/28/11) - last "stable" kernel based on cm7 source.
5.0.0 (10/29/11) - based on official kernel source from HTC.
5.0.3 (11/1/11) - bluetooth, video playback, scaling frequencies sysfs all fixed. audio levels tweaked. netspector(nsio) module upgraded to 2.0.
5.0.4 (11/13/11) - 5.0.3 with audio levels reverted stock for better compatibility with MIUI (no need to upgrade from 5.0.3)
5.1.0 (11/16/11) - cpufreq and cpuidle updated to linux v3.2rc1, suspend support for LTE, 184mhz version supports in-call recording now (outgoing only).
DIRECTIONS
Uh.... flash the zip in clockworkmod. You may need to wipe Dalvik cache and/or delete /data/misc/dhcp, /data/misc/wifi.
Donate to your favorite charity, or donate to me.
GOVERNORS
First, my take on the governors that are out there: http://forum.xda-developers.com/showpost.php?p=13020648&postcount=617
I offer three governors: interactiveX, ondemandX, and smartass. What are they?
interactiveX - it's the interactive governor from CM, but I added suspend/wake logic so when the phone screen is off it runs at below 400Mhz. Also, I modified its code some more to minimize unnecessary cpu spikes above 1.8Ghz if you happen to be running one of my 1.92 kernels. Most tbolts are unstable above 1.8Ghz, and it's the quick jump above 1.8Ghz that usually locks up the phone. It will hit 1.92Ghz only when it makes sense (ie. sustained high load). This is my favorite governor - perfect combination of speed and power efficiency.
ondemandX - ondemand governor code from latest linux source *plus* the suspend/wake logic described above, except it has the ability to ramp to 369Mhz while screen is off. No additional code was added for stabilizing above 1.8Ghz.
smartass - smartass code from erasmux, but I wasn't happy with its performance so I tuned it for quicker ramp up in speed. It has the same suspend/wake logic as ondemandX, and the same >1.8Ghz stabilizing mod as interactiveX.
Source code
AOSP: https://github.com/imoseyon/leanKernel-tbolt-gingerbread/tree/aosp
AOSP FAQ
Wifi is not working - 1) first make sure you flash kernel via CWR, not kernel manager or rom manager, 3) clear dalvik cache, 2) delete all files in /data/misc/wifi and /data/misc/dhcp, and reboot.
Imoseyon said:
Thread split into GB and Froyo. "
Click to expand...
Click to collapse
finally took my advice huh???? lol
good work, flashing now!
Whats the change log on 2.5.3test2 ?
Will that work on cm7?
Great work as always! Very impressed!
Sent from my ADR6400L using Tapatalk
well we need to run scripts to over clock gbtest kernel like the previous ones for froyo and cm7
psicrest said:
Whats the change log on 2.5.3test2 ?
Will that work on cm7?
Click to expand...
Click to collapse
he's working on changelog and the 2.5.3 test 2 kernel is only for the "gingersense" leak...for cm7 flash the AOSP kernel
by default the 2.5.3 kernel will run at 1408mhz in "normal" mode
Awesomeness...finally able to boot all the way up...running battsaver...and confirmed camera is working...thank you imoseyon!!!
Saweeeet!!!!
I'll check back later with my experiences running
This may have fixed the slow charge issues inadvertantly. its not in your change log but either this (test2) or 1.3 on jcases build fixed it.
Sent from my ADR6400L using XDA Premium App
arcanexvi said:
This may have fixed the slow charge issues inadvertantly. its not in your change log but either this (test2) or 1.3 on jcases build fixed it.
Sent from my ADR6400L using XDA Premium App
Click to expand...
Click to collapse
This new kernel fixed the slow charge for you or updated jcase gbread rom? I did both and my phone refuses to charge.
Sent from my ADR6400L using XDA Premium App
I don't know if this was posted before, so i apologize if it has;
Here are my questions;
How can having the 184 slot unlocked be worse? (I saw this posted with no explanation in the old thread)
I've used all governors on batt saver and all run smooth as butter, so which will give me best battery life? I understand interactiveX is for performance and efficiency, smartassx and ondemandx are both kinda similar.....
I adjusted the voltage to the lowest values that my phone could handle but my battery life was worse than before.....
Excuse my noobishness
Ok full change logs for v2.5.2test2 sense:
v2.5.3test2 (5/19/11) - fixed BT, backported usb stuff from ace kernel including otg, changed overclock/undervolt to safer values.
gonna work on wifi tethering today.
nerogold said:
This new kernel fixed the slow charge for you or updated jcase gbread rom? I did both and my phone refuses to charge.
Sent from my ADR6400L using XDA Premium App
Click to expand...
Click to collapse
That is weird, mine charges fine. I'll try to look at this today.
Derrtydozen said:
I don't know if this was posted before, so i apologize if it has;
Here are my questions;
How can having the 184 slot unlocked be worse? (I saw this posted with no explanation in the old thread)
I've used all governors on batt saver and all run smooth as butter, so which will give me best battery life? I understand interactiveX is for performance and efficiency, smartassx and ondemandx are both kinda similar.....
I adjusted the voltage to the lowest values that my phone could handle but my battery life was worse than before.....
Excuse my noobishness
Click to expand...
Click to collapse
Sometimes extreme undervolting can do more harm than good. If your phone is not getting enough juice then it can have unpredictable results. Try bumping up voltage to see if it helps.
Imoseyon said:
Ok full change logs for v2.5.2test2 sense:
v2.5.3test2 (5/19/11) - fixed BT, backported usb stuff from ace kernel including otg, changed overclock/undervolt to safer values.
gonna work on wifi tethering today.
Click to expand...
Click to collapse
I've been waiting to flash this until the camera and USB issues were sorted out.
The GingerJane thread says "PSCII.apk (chingy) - fixes usb mounting with custom kernels"
...does this mean that I need to flash that file to fix USB mounting or is it already fixed on YOUR v2.5.2test2?
Natef53 said:
I've been waiting to flash this until the camera and USB issues were sorted out.
The GingerJane thread says "PSCII.apk (chingy) - fixes usb mounting with custom kernels"
...does this mean that I need to flash that file to fix USB mounting or is it already fixed on YOUR v2.5.2test2?
Click to expand...
Click to collapse
So turns out USB mounting wasn't really broken with the kernel. There's some compatibility issues with the leak connect to pc app. You'll need the new PSCII app for usb mounting to work. Both jane and gingeritis should have the new apk now.
How many are experiencing.lockups and random reboots with his kernel? I hope I'm not alone...
I thought it was just the radio but once I switched to the stock.kernel everything was fine and dandy
Sent from my ADR6400L using XDA Premium App
Imoseyon said:
So turns out USB mounting wasn't really broken with the kernel. There's some compatibility issues with the leak connect to pc app. You'll need the new PSCII app for usb mounting to work. Both jane and gingeritis should have the new apk now.
Click to expand...
Click to collapse
Nice. So install the APK and then reboot and flash the kernal and everything should be good?
How close is the kernal to the stock one in the GB leak? I have been getting decent performance and great battery life, hoping that doesn't change with the new one.
How about the wifi tethering issues?
Will the swap enabler work properly with the GB Sense Test Kernel??
Sent from my ADR6400L using XDA App

SetVsel And Cyanogenmod 7 RC0

hello everyone
i have a quick question
is it true i shouldn't use setvsel with CM7?because i just read that in the FAQ thread for CM7 here:http://forum.xda-developers.com/showthread.php?t=1065798
and i need setvsel because i use it to undervolting and also i don't to overclock my cpu to 1Ghz since 800mhz can handle all the games i play and im getting 1900-2100 score in quadrant on stock cpu speed
and if i can't use it or shouldn't what program should i use ??since cpu settings in cm settings doesn't include undervolting
(although i've been use it on CM7 rom for 3 days now and i didn't have any trouble)
thanx in advance
appreciate your help guys
Hi there,
CM7 RC0 has the CPU clock speeds & Vsel in the bootmenu where you can overclock, undervolt, change the governor etc.
If you reboot your phone & go into the bootmenu when the blue led comes on then you can access the overclock menu.
There's more info in Quarx's thread in the dev forum
http://forum.xda-developers.com/showthread.php?p=13845272&highlight=smartass#post13845272
sp8y said:
Hi there,
CM7 RC0 has the CPU clock speeds & Vsel in the bootmenu where you can overclock, undervolt, change the governor etc.
If you reboot your phone & go into the bootmenu when the blue led comes on then you can access the overclock menu.
There's more info in Quarx's thread in the dev forum
http://forum.xda-developers.com/showthread.php?p=13845272&highlight=smartass#post13845272
Click to expand...
Click to collapse
ok but setvsel is quicker and easier...so can i use it or i shouldn't?
Evil Slayer said:
ok but setvsel is quicker and easier...so can i use it or i shouldn't?
Click to expand...
Click to collapse
From what I've read in the relevant threads about CM7 many people are saying not use it.
I used it in froyo but since flashing CM7 RC0 I only use the bootmenu for CPU settings.
sp8y said:
From what I've read in the relevant threads about CM7 many people are saying not use it.
I used it in froyo but since flashing CM7 RC0 I only use the bootmenu for CPU settings.
Click to expand...
Click to collapse
ok apart from the three clocks and their vsels and the up_trashhold do i need to change anything?
Evil Slayer said:
ok apart from the three clocks and their vsels and the up_trashhold do i need to change anything?
Click to expand...
Click to collapse
I used the same settings that peetr_ used in the post I've linked to above. It uses the smartass governor.
It appears that there's different settings depending upon which governor is selected:
eg; for the smartass governor then in the overclock settings list the settings that start with _smt are relevant,
interactive governor _int,
ondemand governor _ond, etc.
Think that's how it works
sp8y said:
I used the same settings that peetr_ used in the post I've linked to above. It uses the smartass governor.
It appears that there's different settings depending upon which governor is selected:
eg; for the smartass governor then in the overclock settings list the settings that start with _smt are relevant,
interactive governor _int,
ondemand governor _ond, etc.
Think that's how it works
Click to expand...
Click to collapse
How's Battery Life On Your Settings...And Gaming?
Evil Slayer said:
How's Battery Life On Your Settings...And Gaming?
Click to expand...
Click to collapse
Not sure yet as only changed the settings last night.
Also today I have changed the screen brightness levels so will see how it goes.
Sent from my MotoDefy.
sp8y said:
Not sure yet as only changed the settings last night.
Also today I have changed the screen brightness levels so will see how it goes.
Sent from my MotoDefy.
Click to expand...
Click to collapse
i just applied it too...although i don't need 1GHz
Would You Please Report Back To See If Your Result Match Mine?
Thanx alot for helping btw...i really appreciate it
Evil Slayer said:
i just applied it too...although i don't need 1GHz
Would You Please Report Back To See If Your Result Match Mine?
Thanx alot for helping btw...i really appreciate it
Click to expand...
Click to collapse
No problem pleased I could help
I left the bootmenu cpu frequencies as to what they were but undervolted them slightly.
300/22, 600/34, 1000/54 - I tried many settings using setvsel when running froyo so I know these work fine for me.
As for the other settings I just used those that peetr_ posted for the smartass governor & it seems to run nicely. Haven't had any issues yet
sp8y said:
No problem pleased I could help
I left the bootmenu cpu frequencies as to what they were but undervolted them slightly.
300/22, 600/34, 1000/54 - I tried many settings using setvsel when running froyo so I know these work fine for me.
As for the other settings I just used those that peetr_ posted for the smartass governor & it seems to run nicely. Haven't had any issues yet
Click to expand...
Click to collapse
btw...when i used the values in the post you gave me the phone was running without any issues but if you open setvsel and looked at the cpu it keeps changing from 300 to 1000 even if you are not doing anything but if you used the ondemand scale governor you will notice that if you are not doing anything the value stays 300mhz so im not sure that smartass is a good governor after all...or maybe its just me
anyways i think i will keep the settings like this:
[email protected]
[email protected]
[email protected]
also change the other values in menu like this(i think you must change them according to the values you gave your cpu in the 3 vsels):
smt_min:30
smt_max:80(although i suspect this one should be 100 but since the user in the thread you gave kept it 80 im keeping it 80 )
smt_awake:300000
smt_sleep_max:300000
smt_up_min:1000000
smt__wakeup:1000000
smt_ramp:300000
ond_up_threshold:75
what do you think of these values ?
and also...can you tell my your temp in normal state and in after heavy use ?i think mine stays hot
oh and btw could you provide me with a link for the youtube apk you are using i can't seem to find a one that works
Evil Slayer said:
btw...when i used the values in the post you gave me the phone was running without any issues but if you open setvsel and looked at the cpu it keeps changing from 300 to 1000 even if you are not doing anything but if you used the ondemand scale governor you will notice that if you are not doing anything the value stays 300mhz so im not sure that smartass is a good governor after all...or maybe its just me
anyways i think i will keep the settings like this:
[email protected]
[email protected]
[email protected]
also change the other values in menu like this(i think you must change them according to the values you gave your cpu in the 3 vsels):
smt_min:30
smt_max:80(although i suspect this one should be 100 but since the user in the thread you gave kept it 80 im keeping it 80 )
smt_awake:300000
smt_sleep_max:300000
smt_up_min:1000000
smt__wakeup:1000000
smt_ramp:300000
ond_up_threshold:75
what do you think of these values ?
and also...can you tell my your temp in normal state and in after heavy use ?i think mine stays hot
Click to expand...
Click to collapse
My cpu sometimes jumped from 300-1000 when I used setvsel on froyo.
Temperature wise it seems to be running similar if not slightly cooler than when on froyo. Now the hottest I have seen battery temp is 35C but it is mostly much cooler than that.
Sent from my MotoDefy.
Evil Slayer said:
oh and btw could you provide me with a link for the youtube apk you are using i can't seem to find a one that works
Click to expand...
Click to collapse
I just have the current market youtube app. Not sure if it was included in the gapps package?
Sent from my MotoDefy.
sp8y said:
My cpu sometimes jumped from 300-1000 when I used setvsel on froyo.
Temperature wise it seems to be running similar if not slightly cooler than when on froyo. Now the hottest I have seen battery temp is 35C but it is mostly much cooler than that.
Sent from my MotoDefy.
Click to expand...
Click to collapse
hmm..mine reached 39c on very heavy use...normaly its around 30c
and about the youtube app..no it wasn't included and i downloaded the app in the market but it crashes on most videos
btw im getting 2000-2500 in quadrant...how come?i think that is too good to be true
Here's what i've come up with, using google (lets correct them, if some are wrong) :
con_up_threshold: [80] # system load in % above which increases the CPU frequency?
con_down_threshold: [20] # system load in % above which drops the CPU frequency?
con_freq_step: [5] # frequency step?
con_sampling_rate: [160000] # interval (in milliseconds) between polls of the system. In fact, the intervals between changes of CPU frequency? Times in 160 seconds?
int_min_sampling_rate: [50000] # minimal interval (in milliseconds) between polls of the system. In fact, the intervals between changes of CPU frequency? Every 50 seconds?
ond_up_threshold: [86] # CPU in % above which increases the frequency of the processor.
ond_sampling_rate: [50000] # second? interval (in milliseconds) between polls of the system. In fact, the intervals between changes of CPU frequency? Every 50 seconds?
smt_min_cpu_load: [40] # CPU usage in % in achieving a reduced frequency of the processor
smt_max_cpu_load: [85] # CPU in % above which increases the CPU frequency
smt_awake_min_freq: [30000] # The minimum frequency of waking up?
smt_sleep_max_freq: [30000] # CPU frequency during sleep?
smt_up_min_freq: [1200000] # The minimal jump. so default made the cpu jump every time to max speed
smt_wakeup_freq: [1200000] # The frequency of waking up. It is important to not lose calls.
smt_ramp_up_step: [250000] # How much to increase the frequency at one time?
Click to expand...
Click to collapse
So witch is the best governor and settings for normal daily usage like some texts, calls, 3g/wifi, maybe some games ?
I'm on smartass right now with these settings
Vsel1 - 20
2 - 31
3 - 54
smt_min... - 30
smt_max... - 80
smt_awake_min... - 300000
smt_sleep_max... - 300000
smt_up_min... - 1000000
smt_wake_up_... - 1000000
smt_ramp_up_step - 400000
Click to expand...
Click to collapse
SpawNyK said:
Here's what i've come up with, using google (lets correct them, if some are wrong) :
So witch is the best governor and settings for normal daily usage like some texts, calls, 3g/wifi, maybe some games ?
I'm on smartass right now with these settings
Click to expand...
Click to collapse
i don't know...really..i can't seem to relate what are the values for with the available governors
my only problem with smartass governor that even if im not using the cpu the values keep changing between 300mhz-1000ghz but when im using on demand if im not doing anything with the phone the cpu stays at 300mhz but when i start using the phone(moving the screen up and down for example)the values changes to 1000ghz and when i stop the values goes back to 300mhz that's why im using on demand...but again it might be just my cpu
looks like it requires to dig more in the differences between each governor
anyway i read in the latest post in CM7 DEV thread that some people is actually using setvsel so i opened my boot menu,and went to overclock,selected set default,reboted,and installed setvsel and applied these values:
20/300
33/600
47/800
up_therhold:75
oh and btw...how's your battery life ?
Dudes, so please, quick answer:
Use SetVsel - no
use build in "overclock" settings in CM7 RC0 - yes?
Any one using CM7 RC0 bootmenu> Overclocking?
There are more values than in peters thread.
Please advise with all info/numbers according to present in overclocking bootmenu 0.8.6 values.
m_zet said:
Dudes, so please, quick answer:
Use SetVsel - no
use build in "overclock" settings in CM7 RC0 - yes?
Any one using CM7 RC0 bootmenu> Overclocking?
There are more values than in peters thread.
Please advise with all info/numbers according to present in overclocking bootmenu 0.8.6 values.
Click to expand...
Click to collapse
Yes I've got CM7 RC0 & using the bootmenu overclock.
There's many values in the menu as it depends upon which governor you have set it to so only those values relevant to that governor will be used.
For instance on Smartass governor - the values starting with _smt will apply

Help me: Need maximum battery time

I need maximum battery time. So what is the best kernel for this and it´s configuration? I don´t need answers like "search for it" . Go hell those stupid guys.
voidvader said:
I need maximum battery time. So what is the best kernel for this and it´s configuration? I don´t need answers like "search for it" . Go hell those stupid guys.
Click to expand...
Click to collapse
there is no such thing as perfect kernel or perfect configuration,
the factors that can determine the amount of battery usage depends heavily on the nature of the usage under the user itself,
most kernels with undervolt support and underclocking will do fine,
i'd suggest you try out tweaks and preferences yourself since no one can guarantee you an exact time frame,
but i'll give you mine,
ROM: WP8 Monochromatic 5.1
Kernel: Built-in rom (savie's)
Tweaks: Built-in rom
Scaling freq: 156min 624max
CPU Governor: ondemandx
reduced all bloatwares even gmail and maps,
Battery Time (heavy usage): 4hrs max (medium usage): 1-1.5 day max (minimal usage) 2-3days max
that's just about it,
please take the time to conduct a research on what is your best prefered battery saving method,
don't call anyone stupid,
it's bad and potato disapproves
Rom doesnt matter really if you manage the applications well.
Use kuros kernel + kuros tweaks. Thats the best battery saving combo Ive tried.
For governor, use ondemand, the most battery efficient governor and use deadline for i/o
deathnotice01 said:
there is no such thing as perfect kernel or perfect configuration,
the factors that can determine the amount of battery usage depends heavily on the nature of the usage under the user itself,
Click to expand...
Click to collapse
Not really. Change between Merruk #206 and kuros latest, you can really notice the battery drain difference. Its battery efficient than stock kernel in my tests.
Here u go:
Before all id reccomend updating the software to the latest version xD
Use the latest white kernel
Use v6 supercharger and some other tweaks
Reduce the screen brightness
Lower the system volume in the sounds options
Disable animation
Disable auto-sync
Disable backup settings
Disable roaming ^^,wifi,mobile internet,bluetooth when you dont use it(gps even if turned on allways is only actually active when theres a open app that uses gps ^^)
Disabling more sound effects will make it ugly and not cool lol,so do as u wish with thease:
Keyboard sounds
Lock screen sounds and vibration
set a boot frequency in set cpu like:
312-832,conservative,sio
Set up proper profiles in set cpu like
Screen off
312-312,powersave,noop
Charging
312-832,ondemand,sio
Battery 50 F
312-832, conservative,noop
Battery <16
312-832, conservative, noop
here just take my setcpu profiles, i made it in setcpu 3.07 just put it in the root of your sdcard and in setcpu enable profiles and click on restore profiles and click on that
http://www.mediafire.com/?ru786ho4o9i7jdp
Here are some build.prop tweaks
ro.ril.power.collapse=0
ro.ril.disable.power.collapse=0
dalvik.vm.heapstartsize=4
dalvik.vm.startheapsize=4
this one is alredy in v6 supercharger ;P
pm.sleepmode=1
remove some useless apps that u dont use but their allways running in the background(yeah remove anything u will never use)
Google maps
email(not gmail)
software update
and buying a new, better battery isnt a bad idea too ? is it (obviously xD)
I hope i Helped, this and some of my other build.prop tweaks made my battery go like lol xD it was lasting so long idk how much was it
Thank you all! Thanks so much guys!:good:
Filip98 said:
Here are some build.prop tweaks
ro.ril.power.collapse=0
ro.ril.disable.power.collapse=0
dalvik.vm.heapstartsize=4
dalvik.vm.startheapsize=4
this one is alredy in v6 supercharger ;P
pm.sleepmode=1
I hope i Helped, this and some of my other build.prop tweaks made my battery go like lol xD it was lasting so long idk how much was it
Click to expand...
Click to collapse
the correct one is "dalvik.vm.heapstartsize". dalvik.vm.startheapsize is not exist. nevertheless, this script only work for ICS. GB based rom doesnt have these prop. please be carefull with any prop for virtual memory like this one. if you clean your dalvik-cache you might ended up in bootloop.
Lots of information.
Thanks guys.
Sent from my GT-S5360 using xda premium

Phone slow after root

I rooted and am running tek s ROM. The phone has been super laggy and slow since I flashed that ROM. Any advice.
Have you switched the governor to interactive or on-demand? That's the most important piece. The below link has a bunch of tips (universal to qualcomm/US S7 and S7e) to improve performance.
http://forum.xda-developers.com/ver...-to-notes-root-install-xposed-unroot-t3411039
pitbullmommy45245 said:
I rooted and am running tek s ROM. The phone has been super laggy and slow since I flashed that ROM. Any advice.
Click to expand...
Click to collapse
Check the thread under Guides about common problems and fixes.
I did but I didn't see a fix for this. I did what another member told me to do and it worked.
pitbullmommy45245 said:
I did but I didn't see a fix for this. I did what another member told me to do and it worked.
Click to expand...
Click to collapse
Bug #1: Phone is laggy after rooting the phone/Battery is down the tank.
Fix: The phone is (partially) lagging because the ENG bootloader automatically sets the CPU governor to "Performance." While this is supposed to lock the CPU frequency at the maximum values, it does cause a lot of heat and possibly throttling. Additionally, the max core clocks are set to 1.593Ghz instead of their actual maximums. Not every CPU Tuner will allow you to set the big cores separately, so look around for one that does if you don't want to use Kernel Toolkit.
First, use Flashify to flash one of two zips provided by psouza4 on our sister Verizon Galaxy S7 (Edge) threads.
1. Kernel fixes & tweaks V15
2. Kernel fixes, tweaks, & Debloater
You need only flash one of these two zips. One additionally debloats the system, one does not. Choose whichever suits your needs.
What the zips do:
CLICK TO SHOW CONTENT
Next, install a CPU Tuner utility like Kernel Toolkit, then change the governor from "Performance" to "Interactive." Also change the max CPU frequency of the little cores to 1.593Ghz and the big cores to 2.150Ghz while you're at it. Leave the cores at their default minimum frequency. This will go a long way to improving the speed of the phone. Also make sure you that have the new settings to apply on boot. Every kernel manager should have this option somewhere.
Note: Although the max frequency in the settings screen will drop to some number, as long as you can see the CPU ramp up to the new settings in the information screen, then everything is fine. You can test the max frequency by turning the screen off and then back on.
Then, install sEFix and set entropy to "Ultra."
Lastly, install L Speed and:
Code:
-Main Tweaks: Turn on
-Battery Improvement
-OOM Killer
-Kernel Tweaks - "Light"
-CPU Tuner: Turn on
-CPU Optimizer
-LNET Optimizer: Turn on
-Google DNS
-Faster Streaming
-Faster Dormancy
-IO Tweaks: Turn on
-IO Boost
-Partition Remount
-RAM Manager
-Balanced
-Seeder
-Moderate
Literally the first bug and fix on the guide.

Governor tweaks to get good sot in pie eas(schedutil)

These tweaks or small changes can save a lot of battery on pie eas ROMs which has schedutil governor
For little cores (1.59ghz)
Set down_rate_limit_us =200
Up_rate_limit_us=2500
For big cores(2.15ghz)
Set down_rate_limit_us =200
Up_rate_limit_us=4500
Stune top app boost=5
To edit stune top app boost tunable
use fk kernel manager app
or
Use any file manager app ,grant root access to it and go to /dev/stune/top-app and open schedtune.boost and set it to 5 and save it
The sot of ur phone increases significantly...
The sot in the images is from 90%-15%=5hr 54min(75% battery drain).The ROM is viper os pie latest build(Viper-z2_plus-20190316-v6.2-OFFICIAL)
and stock kernel(kernel which came as default in the ROM)
Give a thanks if it helped you
Enjoy:good:
Thank you . I will try and let you know. SOT above is damn good. Generally we get sot of 4-5 hours only on pie ROMs.
I am on extended non treble pie and I am getting around 6 hours sot
seking said:
Thank you . I will try and let you know. SOT above is damn good. Generally we get sot of 4-5 hours only on pie ROMs.
I am on extended non treble pie and I am getting around 6 hours sot
Click to expand...
Click to collapse
Great ,try it on pie eas ROM which has schedutil governor and tell about your sot after using these tunables
arjuntsgowda said:
These tweaks or small changes can save a lot of battery on pie eas ROMs which has schedutil governor
For little cores (1.59ghz)
Set down_rate_limit_us =200
Up_rate_limit_us=2500
For big cores(2.15ghz)
Set down_rate_limit_us =200
Up_rate_limit_us=4500
Stune top app boost=5
The sot of ur phone increases significantly...
The sot in the images is from 90%-15%=5hr 54min(75% battery drain).The ROM is viper os pie latest build(Viper-z2_plus-20190316-v6.2-OFFICIAL)
and stock kernel(kernel which came as default in the ROM)
Give a thanks if it helped you
Enjoy:good:
Click to expand...
Click to collapse
Where to find "Stune top app boost=5". Unable to find it in Kernel Editor
y2knarayan said:
Where to find "Stune top app boost=5". Unable to find it in Kernel Editor
Click to expand...
Click to collapse
Which ROM are u on??
U can change the value on fk kernel manager app
or
Use a file manager and go to /dev/stune/top-app and open schedtune.boost and set it to 5 and save it
arjuntsgowda said:
Which ROM are u on??
U can change the value on fk kernel manager app
or
Use a file manager and go to /dev/stune/top-app and open schedtune.boost and set it to 5 and save it
Click to expand...
Click to collapse
Cannot open the file, even if open in editor there is nothing in it
ChetanLokhande said:
Cannot open the file, even if open in editor there is nothing in it
Click to expand...
Click to collapse
There will be something like as there in the images
If u can't open it , it's ok, the default stune top app boost for most of the pie eas ROMs of our device has the default value of 5
So, don't worry
But you must change the governor tunables mainly
U can also edit in vendor/etc/int/hw/qcom.power file without using kernel app and also to fix value permanently even after reboot.
Will this config effect performance while gaming
GaZillionAire said:
Will this config effect performance while gaming
Click to expand...
Click to collapse
It does effect a little but not big
Great tweak but is there any tweak available to lower temperature.
Edit: Kindly add screenshot of top app boost setting under which head it comes.
Palash9088 said:
Great tweak but is there any tweak available to lower temperature.
Click to expand...
Click to collapse
+1
Device has become laggy
seking said:
+1
Click to expand...
Click to collapse
Palash9088 said:
Great tweak but is there any tweak available to lower temperature.
Edit: Kindly add screenshot of top app boost setting under which head it comes.
Click to expand...
Click to collapse
Yes,its possible to reduce further temperature to lower temperature...
guyz_ahead said:
Device has become laggy
Click to expand...
Click to collapse
I am using this on viper os from very long time
Not noticed any lag like u said,infact right now I have got sot of 3hr8min for 40% drain(94%-54%) today
If u get a lot of lag just change the up_rate_limit_us of little cores to 2000 and up_rate_limit_us of big cores to 3500 and then there will be no problem
arjuntsgowda said:
Yes,its possible to reduce further temperature to lower temperature...
Click to expand...
Click to collapse
Didn't understand? How?
seking said:
Didn't understand? How?
Click to expand...
Click to collapse
As the temperature increases,the device will automatically start to underclock and decreases temperature.
If u want to set the temperature at which the under clocking starts automatically,u must edit in thermal.conf file
arjuntsgowda said:
These tweaks or small changes can save a lot of battery on pie eas ROMs which has schedutil governor
For little cores (1.59ghz)
Set down_rate_limit_us =200
Up_rate_limit_us=2500
For big cores(2.15ghz)
Set down_rate_limit_us =200
Up_rate_limit_us=4500
Stune top app boost=5
To edit stune top app boost tunable
use fk kernel manager app
or
Use any file manager app ,grant root access to it and go to /dev/stune/top-app and open schedtune.boost and set it to 5 and save it
The sot of ur phone increases significantly...
The sot in the images is from 90%-15%=5hr 54min(75% battery drain).The ROM is viper os pie latest build(Viper-z2_plus-20190316-v6.2-OFFICIAL)
and stock kernel(kernel which came as default in the ROM)
Give a thanks if it helped you
Enjoy:good:
Click to expand...
Click to collapse
Value for performance and gaming?
@arjuntsgowda
Thanks for the tips, they are great
would you explain the meaning of the tunables ( Up_rate_limit, down_rate_limit, top app boost ) and what do they stand for?
thanks in advance
thisisarjun said:
These tweaks or small changes can save a lot of battery on pie eas ROMs which has schedutil governor
For little cores (1.59ghz)
Set down_rate_limit_us =200
Up_rate_limit_us=2500
For big cores(2.15ghz)
Set down_rate_limit_us =200
Up_rate_limit_us=4500
Stune top app boost=5
To edit stune top app boost tunable
use fk kernel manager app
or
Use any file manager app ,grant root access to it and go to /dev/stune/top-app and open schedtune.boost and set it to 5 and save it
The sot of ur phone increases significantly...
The sot in the images is from 90%-15%=5hr 54min(75% battery drain).The ROM is viper os pie latest build(Viper-z2_plus-20190316-v6.2-OFFICIAL)
and stock kernel(kernel which came as default in the ROM)
Give a thanks if it helped you
Enjoy:good:
Click to expand...
Click to collapse
I want to get maximum performance out of my Nexbox A1 TV box using shedutil governor. I want to to tweak settimgs through Smart-Pack Kernel Manager. Kindly share recommendations regarding governor tweaks and i/o scheduler tweaks

Categories

Resources