[TWEAKS]Battery saving tweaks - AT&T LG Optimus G

After many many attempts of making my own scripts (and failing horribly), I found a decent base and created multiple scripts that use the conservative governor for better battery life and a mixture of performance and battery life. I'll be posting a couple variants for different kernels.
You'll need SManager or ROM Toolbox to run these scripts.
These will create MUCH BETTER CPU scaling. You might notice slight, but quick, lag when the screen transitions under the performance and balanced scripts. The battery saving one will definitely have lag in it.
I personally prefer the balanced tweaks.
NEW SCRIPTS TO WORK WITH ALL KERNELS THAT SUPPORT THE CONSERVATIVE GOVERNOR!
Download here: https://www.box.com/s/sbmmj2nwxtt4ftrk7jhd
Credit: Yannis100 over in the HTC One V section. Be sure to thank him over here http://forum.xda-developers.com/showthread.php?t=2089149&nocache=1
Thanks to:
houstonn
MysteryEmotionz
synergy
Freegee
g33k3r
SnowLeopardJB
And anyone else that is apart of the AT&T LGOG community for their continued support for this device!

reserved (more tweaks to come)

reserved (for even more tweaks)

Hi, I'm on Stock JB and ME Kernel V4.1,
can I use these scripts without kind of problem??
Thanks.

Oscar9018 said:
Hi, I'm on Stock JB and ME Kernel V4.1,
can I use these scripts without kind of problem??
Thanks.
Click to expand...
Click to collapse
The ones from Box. Not the ones directly uploaded to XDA. Once I get to a computer, I'll upload some better scripts I've got going and one that works extremely well for houstonn's 162MHz kernel.
Sent from my RootBox LG-E970

FIOPS, Deadline, and CFQ are all way better than BFQ.

Yeah I know. I use FIOPS, now. Got a few different scripts that I'll upload shortly which will make wheatley, ondemand, interactive and intellidemand better on battery.
Sent from my RootBox LG-E970

Neroga said:
Yeah I know. I use FIOPS, now. Got a few different scripts that I'll upload shortly which will make wheatley, ondemand, interactive and intellidemand better on battery.
Sent from my RootBox LG-E970
Click to expand...
Click to collapse
Good stuff!

do you have some screen on time comparisons and stability reviews
last time i used one of these beta settings. i had to oden.....

Hi,I don't know if i am doing something wrong...but I run your script with toolbox on stock JB and ME kernel and charged full the battery yesterday before i go to sleep (11pm) and when I woke up the battery its 85% (8am). What is happening?? (I used the scripts on BOX)
Sent from my LG-E970 using xda app-developers app

Oscar9018 said:
Hi,I don't know if i am doing something wrong...but I run your script with toolbox on stock JB and ME kernel and charged full the battery yesterday before i go to sleep (11pm) and when I woke up the battery its 85% (8am). What is happening?? (I used the scripts on BOX)
Sent from my LG-E970 using xda app-developers app
Click to expand...
Click to collapse
You need to search on how to disable fast dormancy.

Ok, I disabled Fast Dormancy, I hope that solves the problem, thanks.

Related

Which governor & i/o?

Currently using SuperICS 1.0.3 nightly on my S2G. With so many governors and i/o to choose I'm confused which is better. Would you guys tell me which governor and i/o are the best for saving battery as I'm always switching between data and wifi. Used to use hotplug with noop but it isn't available in SuperICS. Am using smartassV2 and noop.
Thanks in advance.
Sent from my GT-I9100G using Tapatalk 2
Mate if u can u can try pegasus + sio for battery if u have available but best thing wot you can do if u look in general section and find thread abut that in that thread you will find out everything wot you need
Sent from my GT-I9100 using xda premium
you can get kernels which come with applications, for example Siyah kernel comes with an application, ExTweaks. you'll need ExTweaks pro to switch profiles in-app but otherwise you can change in recovery, there is a battery optimized profile which I found rather good, a performances optimized and the default profile. I personally use Dorimanx kernel, its based on Siyah kernel but has tweaks already made, it gives me great battery life and great performance aswell. The best thing you can do is experiment

Can't find governors in i.e. SetCPU

Hi everyone,
I'm really really sorry for asking a seemingly stupid question like this, but I browsed the forum and asked google to no avail:
How do I activate/enable the smartAssV2 governor (or any others for that matter)? SetCPU or CPU Master show only 4 governors, I think those are the default ones. But if I'm not mistaken, the other govenors (looking for smartassv2 myself) should be included in CM9, right? I have a rooted SGS2 and the CM9 "final" installed. Didn't find the govenors on my SGS+ either, but didn't think too much about it.
I also tried downloading the governor and installing it in CWM, but that just gave me an error...
hope somebody can help....
Different kernels have different governors. Try looking through some kernel threads to see which ones have the governors you need. Siyah has SmartassV2, amongst many others.
Sent from my GT-I9100 using xda app-developers app
stupid question?? Wasn't this should be in Q & A section??
Prashanthme said:
stupid question?? Wasn't this should be in Q & A section??
Click to expand...
Click to collapse
Welcome to XDA
Sent from my GT-I9100 using xda app-developers app
okmijnlp said:
Welcome to XDA
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
LOL I was asking OP
Well, at first I was using the stock CM9 kernel (which should have the smartassv2 governor I think), now I'm using the Fluxi kernel (which also has the governor, according to the description) - but with neither of these kernels I can select anything else than "interactive", "conservative", "ondemand" and "performance"...
Oh, and btw, I already looked in lib/modules, and there is no module for smartassV2 - but then again, maybe it is compiled into the kernel? how can I check this?
I think this is something really simple that I missed, but all the tutorials also just say "install CM9, select smartassV2 as governor..." so I'm assuming it should just be there?
Installed the Dorimax kernel, now I have other governors...which is OK, but I'm still confused as to why no other governors showed for the CM9 kernel. I can live with this "solution" though.
I too face a similar problem. I flashed siyah kernel in my sgs2 and couldn't find smartassv2 governor. I tried setcpu, no frills cpu and even stweaks. I have all other governors like lulzactive and hotplug but no smartassv2. Is there a way to find it? This is driving me crazy for days.
Sorry if i posted in wrong section but this thread was related.
Thanks in advance.

[Q] Governors in Dorimanx kernel

Hey, I've noticed DorimanX brings the 'Hyper' governor enabled as default, and I was wondering what is the difference between this one and 'ondemand' (which was on default in CM10 original kernel)
Moxxxi said:
Hey, I've noticed DorimanX brings the 'Hyper' governor enabled as default, and I was wondering what is the difference between this one and 'ondemand' (which was on default in CM10 original kernel)
Click to expand...
Click to collapse
Hyper is a performance and battery governor but mostly performance
Ondemand is different from cm10s because it's battery tweaked so it's better for battery than normal and than HYPER
Sent from my GT-I9100 using Tapatalk 2
So would you suggest dormancy on demand over other governors?
Moxxxi said:
So would you suggest dormancy on demand over other governors?
Click to expand...
Click to collapse
Yes I would suggest ondemand if it's battery saving with some performance you want. If you only want battery saving I would recommend conservative
Sent from my GT-I9100 using Tapatalk 2
Hello,
I noticed that Dorimanx keep Hyper as geovernor (and relative cpu freqs), even if you try and change them via SetCPU and similars.
Is there a way to force different governos with different freqs?
THX

[Kernel][JB][YP-G70] Mercurius v5

From me:
Hello, this it thread of the Mercurius kernel dedicated for Player wifi 5.0, for jellybean roms.
I took name from greek god of speed
The aim is to provide a daily kernel which also will be a speed demon whenever you would like to(for gaming etc.).
Please do not ask any questions that are aswered here, also keep that topic clean. Please report feedback. But you can write anything his as soon as your post is connected to kernel
Click to expand...
Click to collapse
FEATURES:
401 ram available
lowered minimum brightness
03 optimization
L0 step is 1520mhz cpu with 250mhz gpu&bus
L1 step is 1320mhz cpu with 220mhz gpu&bus
L2 step is 1096mhz cpu with 219,2mhz gpu&bus
100mhz frequency removed (was useless)
battery pooling - 60sec
touchscreen responsivness tweaked
SIO and smartassv2 as default
Screen and cpu UV
Instead of killing the largest available task, kill the task closest in size to the amount of memory we actually need to free to satisfy the minfree threshold
Improve the performance of memcpy and memmove
ALSO CHECK CHANGELOG TO SEE MORE FEATURES​
HUGE thanks to mevordel, for everything, setting up ssh server and letting me use it, his knowledge and base. I only added some features. He is the guy. Also to other developers.
Press thanks button if you use, I am curious of how many ppl use it.
Odp: [Kernel][JB][YP-G70] Mercurius v1
FAQ
Q: How to install it?
A:Simply apply via CWM
Q: What does not work?
A:Everything what deos not work on cm10
Q: What is O3 optimization?
A:
Mevordel said:
O3 is a compiler flag telling it to optimize for speed. Other options include O2 and O1, which do less optimization, and Osize, which tries to generate the smallest output. In stock, the graphics drivers were compiled with Osize. He changed it to O3.
Click to expand...
Click to collapse
-Well said. Generally it improves opengl es2.0 performance significantly for me
Q: Why my phone freezes/reboots/is unstable at overclocked frequencies?
A:Overclocking is not a obligatory feature. If you find any of frequencies unstable, then please install voltage control from market and mess up with voltages. Also wirte in the topic to hel me make kernel that will work for as many users as possible.
Odp: [Kernel][JB][YP-G70] Mercurius v1
CHANGELOG
22.01.2013 - Mercurius v2
*1,32ghz overclock changed to 1,52ghz with 250mhz gpu&bus
*smartassv2 values changed - less jumpy, more battery life
25.01.2013 - Mercurius v3
*screen UV -0,4V
*100mhz frequency fixed
*cpu UV
*smartassv2 again
*other quite important fixes (ext4, moire, etc)
25.01.2013 - Mercurius v4
*100mhz frequency removed
*1320mhz frequency added
25.01.2013 - Mercurius v5
*using multiple windows for video rendering as overlay. They are used in calculation of FIMD reserved memory
*Transition latency 10000
*prevent mem corruption after i2c timeout
*WiFi adjustments
*Instead of killing the largest available task, kill the task closest in size to the amount of memory we actually need to free to satisfy the minfree threshold.
*Improve the performance of memcpy and memmove
*401mb of RAM available
*Disabled kernel debugs
*updated SIO
*Changed value of dirty_writeback_interval
*fsync disabled
I can probably make some graphics for the OP sometime this week if you like.
Odp: [Kernel][JB][YP-G70] Mercurius v1
well for sure, you have higher skill than me as I saw maybe somthing with mercury's shoes?
I would be grateful
Send from sg wifi5.0 with mine kernel
How is this different from Mevordel's one in CM10? I thought you were working on that.
alanwyl said:
How is this different from Mevordel's one in CM10? I thought you were working on that.
Click to expand...
Click to collapse
look at the features
more ram, o3 optimization and lowered minimum brightness. Only those for now.
Yup, I am still doing it but I have just created separated topic to make it clearer.
KOala888 said:
look at the features
more ram, o3 optimization and lowered minimum brightness. Only those for now.
Yup, I am still doing it but I have just created separated topic to make it clearer.
Click to expand...
Click to collapse
I see.
Any plan for 3.0?
alanwyl said:
I see.
Any plan for 3.0?
Click to expand...
Click to collapse
Don't count on me I am more like copy&paste modder, not developer. I am just learning.
I can only improve existing kernel.
Re: [Kernel][JB][YP-G70] Mercurius v1
This maybe a stupid question and i know you stated it in yiur 1st post but I just install this kernel through cwm?
sent from my Samsung Galaxy Player 5.0 U.S. running CM10 using xda app-developers app
nightfire37 said:
This maybe a stupid question and i know you stated it in yiur 1st post but I just install this kernel through cwm?
sent from my Samsung Galaxy Player 5.0 U.S. running CM10 using xda app-developers app
Click to expand...
Click to collapse
Yup, that is all
any chance of the 1520MHz overclock (from one of the JB nightlies) in the future?
Skeledr0id said:
any chance of the 1520MHz overclock (from one of the JB nightlies) in the future?
Click to expand...
Click to collapse
yup, maybe it is possible in future. Like today evening I will try
But as for now 1320 is even faster than previous 1,5 :>
Re: [Kernel][JB][YP-G70] Mercurius v1
KOala888 said:
yup, maybe it is possible in future. Like today evening I will try
But as for now 1320 is even faster than previous 1,5 :>
Click to expand...
Click to collapse
That is not posibile off course..on 1.5 score is 5200
Sent from my Nexus 7 using xda app-developers app
Re: [Kernel][JB][YP-G70] Mercurius v1
Great job. Works great so far. Also I have to ask, are you polish? I'm horrible with other languages.
Sent from my YP-G70 using xda app-developers app
KOala888 said:
yup, maybe it is possible in future. Like today evening I will try
But as for now 1320 is even faster than previous 1,5 :>
Click to expand...
Click to collapse
I think is not stable enought, this is because you get worst results.
I found less freeze (almost none) for my overclocks over 1.2GHz but much more launcher redraws, app crash, slow and laggy UI .Don't ask me why this happen :laugh:.
Under 1.2GHz if I mess with voltages (even a bit) I got 100% a freeze.
Odp: [Kernel][JB][YP-G70] Mercurius v1
DZonikg said:
That is not posibile off course..on 1.5 score is 5200
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
well that is only benchmark. I find opengl es2.0 really smoother when enabled O3 For me nfsmw runs smoother here on 1,3ghz.
damnyouwaffles said:
Great job. Works great so far. Also I have to ask, are you polish? I'm horrible with other languages.
Sent from my YP-G70 using xda app-developers app
Click to expand...
Click to collapse
Yup, 3city.
zardak said:
I think is not stable enought, this is because you get worst results.
I found less freeze (almost none) for my overclocks over 1.2GHz but much more launcher redraws, app crash, slow and laggy UI .Don't ask me why this happen :laugh:.
Under 1.2GHz if I mess with voltages (even a bit) I got 100% a freeze.
Click to expand...
Click to collapse
Sorry but it is pretty hard to understand what do you mean
Overclock is not obligatory. Not every device can handle it. But of you will precisely write about your problem it can help me to make oc work on more devices including yours.
Send from sg wifi5.0 with mine kernel
Re: [Kernel][JB][YP-G70] Mercurius v1
KOala888 said:
well that is only benchmark. I find opengl es2.0 really smoother when enabled O3 For me nfsmw runs smoother here on 1,3ghz.
Click to expand...
Click to collapse
What is O3 ,run antutu 3d rating benchmark and tell me the score..its es2.0 test
Sent from my Nexus 7 using xda app-developers app
i asked because i've literally been using the 1520MHz capable nightly since the day it was released with absolutely no problems ever. none. my galaxy player is phenomenal now aside from having to use speakerphone for calls now.
DZonikg said:
What is O3 ,run antutu 3d rating benchmark and tell me the score..its es2.0 test
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
O3 is a compiler flag telling it to optimize for speed. Other options include O2 and O1, which do less optimization, and Osize, which tries to generate the smallest output. In stock, the graphics drivers were compiled with Osize. He changed it to O3.
And he attached a screenshot of a 3D benchmark.

[Q] Governor and I/O scheduler on JB

Which Governor and I/O scheduler do you buddy recommend for saving battery and for speedy device with JB platform ? I am using now interactive and sio but I am not sure it is the optimal position...
xperia_88 said:
Which Governor and I/O scheduler do you buddy recommend for saving battery and for speedy device with JB platform ? I am using now interactive and sio but I am not sure it is the optimal position...
Click to expand...
Click to collapse
Pegasusq-Sio 200-800 works good for me.. Decent battery life nd no lags
Using XU with ported JB rom
Press thanks if I helped :thumbup:
dotafan said:
Pegasusq-Sio 200-800 works good for me.. Decent battery life nd no lags
Using XU with ported JB rom
Press thanks if I helped :thumbup:
Click to expand...
Click to collapse
Thank you. I'll try it. Any other ideas ?
xperia_88 said:
Thank you. I'll try it. Any other ideas ?
Click to expand...
Click to collapse
I tried Lulzactiveq with PowerJB 1.4, but it was really slow. I read somewhere that Jelly Bean is made for interactive only.
I've been using ondemand-noop since ICS and I find it works just as fine on JB.
JB.400 xGO Rooted, Unlocked, Debloated, Greenified
androidmeda said:
I've been using ondemand-noop since ICS and I find it works just as fine on JB.
JB.400 xGO Rooted, Unlocked, Debloated, Greenified
Click to expand...
Click to collapse
will try. Thanks!
Thank you all. I checked your opinions and found ondemand-noop 200-1150 is most compatible for me.
I am using cfq & ondemand good preformance
For multicore processor, Sio will give good performance by splitting jobs, hotplug governor turns off other cores and runs only one core at light usage, saves battery.
pegasusq & hotplug is always good for battery and performance in multicore processors and also the sio and noop scheduler
Sent from my LT22i using XDA Premium 4 mobile app
Pegasusq and sio on FlyingThor v2.0 is awesome, great battery and performance.

Categories

Resources