Governor tweaks to get good sot in pie eas(schedutil) - Lenovo ZUK Z2 (Plus) Guides, News, & Discussion

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

Related

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

[GUIDE] 4+ hours screen on time

Since there are no threads on how to improve battery life I figured I would make one for all the lazy people out there
Let me start by saying don't be me! Use elemental x kernel and just freaking pay 3.99 for ex kernel manger its so worth it!!! It is an amazing app and kernel combo:good:. On stock rooted I was barely pulling out 2 hours screen on time with battery tweaks and low signal all day (no signal at my school) and 2.5 - 3 hours where i had a good signal. With the tweaks i am going show you I am getting 4 hours consistently and 5 hours on a good day.
THINGS YOU WILL NEED
i think this goes without saying but root access...
Build.prop editor or knowledge of how to edit it
Ex kernel installed on your current rom
Ex kernel manager (3.99 on google play... just pay for it... no free version exists help the developer out)
Usb cable and computer or a file manager
Greenify
1). add these lines to the build.prop
ro.mot.eri.losalert.delay=1000
ro.config.hw_fast_dormancy=1
persist.cust.tel.eons=1
ro.ril.set.mtu1472 =1
wifi.supplicant_scan_interval=497
pm.sleep_mode=1
power.saving.mode=1
ro.ril.disable.power.collapse=0
ro.vold.umsdirtyratio=20
2). Install ex kernel and wipe cache
3). Verify that you have it installed by going to settings/about phone and look for kernel version it will say elemental x somewhere in it if you installed it
4). Buy ex kernel manger for 3.99 on the play store (believe me it works)
5). Open the app and click the 3 lines on the top left and click cpu.
6). Scroll down to "Governor options..."
7). Now click save and make a name for your stock profile. (yes it is a needed step!!! it makes a folder you add files too):good:
8). Download ghost pepper or butterfly. (or any other one but those two are recommended for better battery life) You can pick which one gives you best battery life. The process is the same for all of them and its very easy to switch between them.
https://docs.google.com/spreadsheets/d/1P1LXnJnUdz9cC_qpcwMpfParUBlaPbIhyLZHOWjknUE/edit#gid=0
9). If you did step 7 right you will see a folder on the root of your internal storage called ElementalX inside that folder is a folder called gov_profiles. If it is not there read step 7 again. Copy the profile you picked here and remove the file extension. (IMPORTANT!) example instead of ghostpepper.txt you would rename it ghostpepper
10). Go back to the ex kernel app and click load. you should see the profile you just put in that folder and check it. If you want your settings to stick click apply on boot
11). Go back to the 3 lines and click miscellaneous this time.
12). Set your i/o scheduler to noop and click the power button on the right. That makes it apply noop on boot
13). Click fsync and disable it then click the power button again.
14). Download greenify from the play store its free
15). Open the app (grant it root) and click the plus button in the top right
16). Add apps that are keeping the phone awake. Snapchat and Instagram are two GREAT apps to put on this list because they eat your battery alive even with the screen off.
17). When your done click the check in the bottom right.
18). Click the 3 dots make sure it says "disable auto-hibernation". if it says "enable auto-hibernation" enable it.
19). Click the 3 dots again and click settings. make sure your working mode is root and check shallow hibernation and aggressive doze
YOUR DONE! If you have anything to add or disagree with me please don't be shy and comment. We can only improve this phones battery life by communicating
I get 5-6 hours stock rooted with no added build prop lines or governed tweaks. I didn't like the performance loss with ghost pepper and butterfly, and the battery improvement wasn't even noticeable. But everyone's results vary I guess
Sent from my Nexus 5X using Tapatalk
I followed your guide, except for greenify, see what happens.
Sent from my Nexus 5X using XDA-Developers mobile app
Casey Walt said:
Since there are no threads on how to improve battery life I figured I would make one for all the lazy people out there
Let me start by saying don't be me! Use elemental x kernel and just freaking pay 3.99 for ex kernel manger its so worth it!!! It is an amazing app and kernel combo:good:. On stock rooted I was barely pulling out 2 hours screen on time with battery tweaks and low signal all day (no signal at my school) and 2.5 - 3 hours where i had a good signal. With the tweaks i am going show you I am getting 4 hours consistently and 5 hours on a good day.
THINGS YOU WILL NEED
i think this goes without saying but root access...
Build.prop editor or knowledge of how to edit it
Ex kernel installed on your current rom
Ex kernel manager (3.99 on google play... just pay for it... no free version exists help the developer out)
Usb cable and computer or a file manager
Greenify
1). add these lines to the build.prop
ro.mot.eri.losalert.delay=1000
ro.config.hw_fast_dormancy=1
persist.cust.tel.eons=1
ro.ril.set.mtu1472 =1
wifi.supplicant_scan_interval=497
pm.sleep_mode=1
power.saving.mode=1
ro.ril.disable.power.collapse=0
ro.vold.umsdirtyratio=20
2). Install ex kernel and wipe cache
3). Verify that you have it installed by going to settings/about phone and look for kernel version it will say elemental x somewhere in it if you installed it
4). Buy ex kernel manger for 3.99 on the play store (believe me it works)
5). Open the app and click the 3 lines on the top left and click cpu.
6). Scroll down to "Governor options..."
7). Now click save and make a name for your stock profile. (yes it is a needed step!!! it makes a folder you add files too):good:
8). Download ghost pepper or butterfly. (or any other one but those two are recommended for better battery life) You can pick which one gives you best battery life. The process is the same for all of them and its very easy to switch between them.
https://docs.google.com/spreadsheets/d/1P1LXnJnUdz9cC_qpcwMpfParUBlaPbIhyLZHOWjknUE/edit#gid=0
9). If you did step 7 right you will see a folder on the root of your internal storage called ElementalX inside that folder is a folder called gov_profiles. If it is not there read step 7 again. Copy the profile you picked here and remove the file extension. (IMPORTANT!) example instead of ghostpepper.txt you would rename it ghostpepper
10). Go back to the ex kernel app and click load. you should see the profile you just put in that folder and check it. If you want your settings to stick click apply on boot
11). Go back to the 3 lines and click miscellaneous this time.
12). Set your i/o scheduler to noop and click the power button on the right. That makes it apply noop on boot
13). Click fsync and disable it then click the power button again.
14). Download greenify from the play store its free
15). Open the app (grant it root) and click the plus button in the top right
16). Add apps that are keeping the phone awake. Snapchat and Instagram are two GREAT apps to put on this list because they eat your battery alive even with the screen off.
17). When your done click the check in the bottom right.
18). Click the 3 dots make sure it says "disable auto-hibernation". if it says "enable auto-hibernation" enable it.
19). Click the 3 dots again and click settings. make sure your working mode is root and check shallow hibernation and aggressive doze
YOUR DONE! If you have anything to add or disagree with me please don't be shy and comment. We can only improve this phones battery life by communicating
Click to expand...
Click to collapse
Maybe giving your app usage / connectivity usage will help too.
Are you using Bluetooth / NFC / ... ?
Facebook ? Messenger ? Whatsapp ? ...
Anyway, I will try your method and give result after the weekend !
ex kernel manager has already all profiles added and built inside about governors... he added all of them somedays ago, so, no need to download each file and put them into the relatives directory as stated
timmylamoule said:
Maybe giving your app usage / connectivity usage will help too.
Are you using Bluetooth / NFC / ... ?
Facebook ? Messenger ? Whatsapp ? ...
Anyway, I will try your method and give result after the weekend !
Click to expand...
Click to collapse
I do not use Facebook app or messanger. I use chrome notifications and Facebook.com. it works great like that. Don't use what's app and I just kinda of assumed people would know how to turn all that off and screen brightness down a bit
m4ssnet said:
ex kernel manager has already all profiles added and built inside about governors... he added all of them somedays ago, so, no need to download each file and put them into the relatives directory as stated
Click to expand...
Click to collapse
I did all of this a while ago and didn't update the app. So I did and sure enough there they are lol
pbailey212 said:
I get 5-6 hours stock rooted with no added build prop lines or governed tweaks. I didn't like the performance loss with ghost pepper and butterfly, and the battery improvement wasn't even noticeable. But everyone's results vary I guess
Sent from my Nexus 5X using Tapatalk
Click to expand...
Click to collapse
For sure you don't have any social media apps like messenger, snapchat etc?! I get 5hrs the days I don't use any social media apps, only browser, wifi and low brightness..
is elemental kernel necessary to add those build.prop lines? Or can i add them and still get the benefit without the kernel?
What exactly are those build.prop lines for?
joakimbo said:
For sure you don't have any social media apps like messenger, snapchat etc?! I get 5hrs the days I don't use any social media apps, only browser, wifi and low brightness..
Click to expand...
Click to collapse
I use fb messenger, but not fb app. Screens 33%, wifi and LTE all-day long. The only other way I get similar battery with DU. But I always seem to have best results with stock.
Sent from my Nexus 5X using Tapatalk
Here's where I'm at currantly
pbailey212 said:
I use fb messenger, but not fb app. Screens 33%, wifi and LTE all-day long. The only other way I get similar battery with DU. But I always seem to have best results with stock.
Sent from my Nexus 5X using Tapatalk
Here's where I'm at currantly
Click to expand...
Click to collapse
Not surprised du always gave me good battery. Report back with some of these tweaks I ran that rom a while ago
tlxxxsracer said:
is elemental kernel necessary to add those build.prop lines? Or can i add them and still get the benefit without the kernel?
Click to expand...
Click to collapse
You just need to be rooted
jdubya42 said:
What exactly are those build.prop lines for?
Click to expand...
Click to collapse
You can look them up individually but most are for battery improvement under low signal.
Thanks for the guide. I already had this set up except for the lines and greenify
What are the side effects of the lines in build prop? (will it work in pure nexus or maybe it already has something similar..?)
Sent from my Nexus 5X using Tapatalk
I don't know, maybe it's just a placebo effect, but before adding those lines, I had some serious drain on mobile data. Today I was quite shocked, because it drain much much less! I'll give some feedback after a while. Maybe my 5x just had a good day today haha.
is anyone using glassfish 1.2?
eLeKTroDo7 said:
is anyone using glassfish 1.2?
Click to expand...
Click to collapse
My experience was excellent battery life with glassfish 1.2 but worse performance than HawkTail 1.2. Sticking with HawkTail 1.2 since battery life is still very good.
Sent from my Nexus 5X using Tapatalk
Can this work on N yet?
Sent from my Nexus 5X using Tapatalk

Lightning kernel profile workshop(insane battery life)

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?

[Magisk] Mod Optimal For Mi9 By NTH

Hi!
After a period of use, I will recommend to everyone the optimal Mod version for Mi 9.
Support for Pie and Q
List of changes:
Version 4.0.2: (Fix)
- Add governors: conservative, ondemand
- Governors:
+ conservative ( support kernel stock )
+ ondemand ( support kernel stock )
+ schedutil ( support kernel stock and kernel evira )
+ schedutil_pixel ( support kernel evira )
+ smurfutil ( support kernel evira )
- Delete edit profile
- Updated GPU Optimizer
- Updated CPU Optimization
- Updated I/O Optiomization
- Updated RAM Optiomization
Note: We recommend using the ondemand governor to save battery power for kernel stock and kernel MOD.Q
Version 3.7:
- Improve CPU performance at the lowest level to optimize battery and performance. The mod works fine on the kernel evira
Version 3.4.1:
Support Magisk 20.2
Version 3.3:
- Improve stability
- Updated two versions: battery saving mode, performance mode
Version 3.2:
- Improve stability
Version 3.1:
- Improve stability
Version 3:
- Temperature control
- Improved multitasking
- Turned off Ramdump
- ZRAM 1G
- Double your bandwith
- Increase the speed of reading and writing of the system
- Battery saving mode optimized for Cpu by @mslezak (XDA)
Version 2:
- The charging current limit is modified to 6000mA
- Temperature control
- Forced to charge full blood fast (removed)
- Turned off Ramdump
- ZRAM 1G
- Turned off LMK adaptive mode
- Double your bandwith
- Improve touch and slide fluency
- Increase the speed of reading and writing of the system
- Optimized for Cpu by @mslezak (XDA)
Version 1:
Optimized power in standby mode
Forced to charge full blood fast
Turned off Ramdump
Add ZRAM 1G
LMK adaptive mode
Double your bandwith
Thermal S855 balanced-42℃ Performance-46℃ Gaming-55℃
Optimized for Cpu by @mslezak
All mod edits by NTH for Mi9
https://t.me/Mi9Mod
https://t.me/ModByNTH
Thanks for giving a contribution!!!
Awesome this is what I hoped people would go out and do - make their own modules to use with the kernel. I will post in TG and reference you.
NTH94 said:
Hi!
After a period of use, I will recommend to everyone the optimal Mod version for Mi 9.
List of changes:
Optimized power in standby mode
Forced to charge full blood fast
Turned off Ramdump
Add ZRAM 1G
LMK adaptive mode
Double your bandwith
Thermal S855 balanced-42℃ Performance-46℃ Gaming-55℃
Optimized for Cpu and Ram by @mslezak
All mod edits by NTH for Mi9
https://t.me/ModByNTH
Click to expand...
Click to collapse
Is this for android 9 only?
mslezak said:
Awesome this is what I hoped people would go out and do - make their own modules to use with the kernel. I will post in TG and reference you.
Click to expand...
Click to collapse
Yes
sepsep 21 said:
Is this for android 9 only?
Click to expand...
Click to collapse
Tested on Android 9 and Android 10 both work on a Miui 10 and 11 basis
Thank you for your awesome mod. One question is it possible to do a mod for change of switch off animation, for example CTR (old tv) ect. It was on exposed but now no one do it till now.
Best Regards.
zoltan78 said:
Thank you for your awesome mod. One question is it possible to do a mod for change of switch off animation, for example CTR (old tv) ect. It was on exposed but now no one do it till now.
Best Regards.
Click to expand...
Click to collapse
You can go to developer options to turn it off
NTH94 said:
You can go to developer options to turn it off
Click to expand...
Click to collapse
I am thinking about animation when you turn off screen. In exposed module called "switch off animation" you can choose stile of this animation. In developer option there is not.
zoltan78 said:
I am thinking about animation when you turn off screen. In exposed module called "switch off animation" you can choose stile of this animation. In developer option there is not.
Click to expand...
Click to collapse
I understand your problem, can you tell me more about it and Mod about it
It is not this. Something like this
https://youtu.be/CnjxkpZDsgw
zoltan78 said:
It is not this. Something like this
https://youtu.be/CnjxkpZDsgw
Click to expand...
Click to collapse
It needs Xposed to work, I can't help you
Thanks for answer. I thought that it is possible to do something similar like this for magisk. BTW thanks for all your hard work. [emoji106]
is this work miui11 android10 ?
sefai77 said:
is this work miui11 android10 ?
Click to expand...
Click to collapse
Yes
Does it realy extend battery life in stnadby? Is there option to switch off fast charging?
Khotu said:
Does it realy extend battery life in stnadby? Is there option to switch off fast charging?
Click to expand...
Click to collapse
If you are afraid of their battery life, I recommend you not to use it
where can i check that it works ? Can I share the module in another forum ?
sefai77 said:
where can i check that it works ? Can I share the module in another forum ?
Click to expand...
Click to collapse
That's just your experience, not verifiable, you can share whoever you want
Do all other modules from magisk have to be deactivated before it's installation, or I can install on top of it?
catalindobre said:
Do all other modules from magisk have to be deactivated before it's installation, or I can install on top of it?
Click to expand...
Click to collapse
If you want the best experience, you should delete the optimal module on the device

Categories

Resources