yashsingh1/xdaforums huggingface dataset:
[LG Optimus G (International)] x_justin:
BTW [MENTION=2533313]faust93[/MENTION], I think the volume buttons in your CM11 build are reverted and that there is not that difference in roms. I switched between different Geehrc builds and flashed your kernel every time but your CM11 is the only one in which the buttons are not reverted.

Are you going to plan a new thread for your build or do you want to keep it quiet? It's a very nice one and it's the fastest build I ever tried.

//OT

I donated a few beers 54C92505FJ680242R, just a little thanks for your great work
[LG Optimus G (International)] hasan4791:
See op... There s soln fa volume button revert...

Sent from my LG-E975 powering Carbon 4.4.2 & f93_mpd kernel
[LG Optimus G (International)] hpesojames:
after thinkering the settings via trickster...settings go back to default after a reboot.

im on cm11 0217 & tried both mpd & cpuq.
[LG Optimus G (International)] x_justin:
I know but Faust said he was confused about the buttons!
[LG Optimus G (International)] hasan4791:
Have yu enabled set on boot option from the right pane...??

Sent from my LG-E975 powering Carbon 4.4.2 & f93_mpd kernel
[LG Optimus G (International)] nch26:
Someone knows where is the gpu governor file ?

I dont find anything of gpu o sys/devices/cpu

Also why i dont have intellidemand governor ?

CM 10.2 F93 kernel gproj 2.2
[LG Optimus G (International)] hpesojames:
yes ofcourse
[LG Optimus G (International)] killed:
Hi, anyone tell me what the differen between (at Download link):

F93 AOSP CPUQ v0.5.zip

F93 AOSP MPD v0.5.zip
[LG Optimus G (International)] ThatKawaiiGuy:
CPUQ = Cpuquiet

MPD = MP Decision

Sent from my Bangin' G on Mahdi 4.4.2
[LG Optimus G (International)] killed:
Thank you Sir/Madam,

But I don't really clearly them, could you please explain them for me?

Thank so much!
[LG Optimus G (International)] faust93:
Do you mean that my kernel with the rom other than this local CM11 build vol buttons are ok?

No, think no need for new thread. Just plain cm, why complicate things? ;)

PS: Spasibo (thanks ;) to you and madphone for donations, yesterday I've got two pints of excellent dark ale ;)
[LG Optimus G (International)] faust93:
Hmm.. Do you need technical details or what explantation?

Just try both and stay with one best suits for you in terms of perf and battery life..
[LG Optimus G (International)] killed:
Dear Sir,

My means about performance, smooth, temperature also good support 2-way record in call
[LG Optimus G (International)] faust93:
Don't know what to answer in this case.. if you interested in my subjective oppinion - i'like CPUQuiet hotplug driver.

Also have no idea about 2-way record, sry. :(
[LG Optimus G (International)] killed:
Thank you, Sir. I flashed all of both with Carbon but my phone can not boot, I restored!. I don't know why but really really thank for your free time to reply for me.
[LG Optimus G (International)] Kevinjoa:
You use my carbonrom? Then you need to install 2.2mpd or cpq version. :)

Gesendet von meinem LG-E975 mit Tapatalk
[LG Optimus G (International)] killed:
Wunderbar, thank you Sir. I will try now, so good to hear from your instruct

Vielen dank!

Edit: however after tried 2 kernel, I can see all of theme not work for call record 2-way. I hope in the future our kernel will support this function soon. Thank you very much!

https://play.google.com/store/apps/details?id=com.skvalex.callrecorder&hl=vi
[LG Optimus G (International)] thejase:
can someone please tell me how to enable s2w dt2w s2s in this kernel? i'm using the gproj kernel on the newest cm 11 but i'd like to be able to knock to wake. if is is in the modules, what's the name of the module? I have the kocontrol app but i'm not sure of what all these modules do. Does someone have an explanation or link to one for the modules in this kernel?
[LG Optimus G (International)] patalao:
You have to use trickster or other similar app.

Enviado do meu LG-E975 através de Tapatalk
[LG Optimus G (International)] thejase:
i do, now what?

---------- Post added at 01:20 PM ---------- Previous post was at 01:14 PM ----------

answered my own question. for those that don't know. in the app trickstermod, swipe over to specific category then scroll down and tap "screen wake control" button. That should do it!
[LG Optimus G (International)] patalao:
Anyone having problems with multirom!?

I can't boot from secondary rom.

I am using unofficial Geehrc with 0.5 kernel but when I choose second rom it boots the primary rom.

Also I've chosen not to share the kernel

Any ideas?

Enviado do meu LG-E975 através de Tapatalk
[LG Optimus G (International)] ka_putt:
CPU guvernors

is there possible you readd the old governors? like intellidemant,because the new ones are horrible... music stop playing during change signal, battery drains like a hell, (not going to deep sleep, because of message or something like that and if i don't look at my phone for few hours battery lost about 20% and more)...=(

or only me have this problems...^^
[LG Optimus G (International)] franky_z:
No problems for me and battery is very good with mpd version on commotio vanir...
[LG Optimus G (International)] navik:
the aosp kernel is not working in Slim-geeb-4.4.2.build.3-OFFICIAL-3096 no display.can you fix it？
[LG Optimus G (International)] jxcorex28:
Will these kernels work for the e970 at&t version ?
[LG Optimus G (International)] gu5t3r:
Sorry if I'm asking already answered questions, but really, explanation between CPUQ and MPD should be in the OP.

Can someone tell me which one of CPUQ and MPD is better for performance and which one for battery?

I tried to find something about it in Google but only thing I found is that CPUQ is nVidia's and MPDecision is Qualcomm's.

I found no explanations and tests, only on some kernel for HTC One X that users tested MPD to be better for battery but with no tests and information to back that up.

Also, will this kernel work on Official CM10.2 (Android 4.3)?

(All questions regarding Gproj kernel)
[LG Optimus G (International)] x_justin:
I have bluetooth stutter issues with this kernel. I tried to raise the min cpu frequency but it didn't help. It's horrible when WiFi is enabled and I listen to bluetooth audio. It's better when WiFi is off but not perfect too. Sometimes the audio stutters very very bad. Also calling with bluetooth gives a muted call after the screen goes off after some seconds. It's very annoying. Is there a wakelock missing or something. I had this issue with your CM11 and now with Houstons PA beta 6 in AT&T Optimus G section, so it's probably mako rom related or kernel related.

Using your latest AOSP kernel and tried both MPD and CPUq.
[LG Optimus G (International)] gu5t3r:
Gproj Kernel 2.2 (2014-01-31) is working on Official CM10.2 (Android 4.3). Testing the kernel gives me more questions.

Intelliplug Hotplug is supposed to be better but it keeps cores online much much longer than MPDecision.

I made simple Screen Unlock test by printing online cores.

This is Intelliplug:

0
0
0-3
0-3
0-3
0-3
0-3
0-3
0-3
0-3
0-3
0-3
0-3
0-3
0-3
0-3
0-3
0-3
0-3
0-3
0-3
0-3
0-3
0-3
0-3
0-3
0-3
0-3
0-3
0-3
0-3
0-3
0-3
0-3
0-3
0-3
0-3
0-3
0-3
0-1
0-1
0
0
0
0
0
0

Each line is 1 second, and as you can see when you unlock screen and phone wakes up, intelliplug needs 40 seconds to turn off cores 1-3.

This is MPDecision:

0
0
0-1
0-1
0
0
0
0

As you can see, MPDecision doesn't even turns on cores 2-3, only core 1 for 2 secs for unlock animation and keeps running only core 0 after unlock in idle when doing nothing on phone.

There are many situations when working on phone in which Intelliplug keeps cores online unnecessary much much longer than MPDecision.

Dunno if this is the way Intelliplug works, or there is something wrong with it's implementation in this kernel but MPDecision will save much more battery because it wakes (and most of the time in idle works) only on 1 core not all 4 like Intelliplug.

Conclusion (for battery): MPDecision > Intelliplug

Didn't test CPUQuiet yet, but if Official CM has MPD, it can't be much better?

Also tested governors...

OnDemand is default governor, IntelliDemand saves battery when gpu is not loaded, otherwise it acts like OnDemand (would recommend it for gamers), and SmartMax is SmartAssV2 optimized for battery...

On my test of scrolling notificaton bar, OnDemand kept 2 cores on 1.5GHz all the time, IntelliDemand about 1GHz and SmartMax even lower...

Coclusion (for battery): SmartMax > IntelliDemand > OnDemand

UPDATE 2014-03-08:

Tested the CPUQuiet version of Gproj kernel and it seems to work better than MPD version...

On the same test MPDecision and Intelliplug kept 2 cores online all the time, while CPUQuiet keeps only 1 core online and occasionally turns on 2nd one. Thus, CPUQ probably saves more battery than MPD and Intelliplug.

I came to conclusion that really none of the two kernels is MPD version, first is Intelliplug and second CPUQuiet.

MPD just doesn't work good when kernel has second built-in hotplug governor so it's required to turn it off.

In MPD version Intelliplug just doesn't work good, and probably messes up MPDecision as it seems that MPD kernel drains much more battery even in Deep Sleep. So, Intelliplug should be fixed or removed from MPD version of kernel.

In CPUQuiet kernel is mandatory to turn off MPDecision. If you leave MPD on, then occasionally cores 0 and 2 will halt and never go offline thus draining more battery.

I repeat, on CPUQ kernel is required to turn off MPD.

CPUQ kernel works very good with MPD off...

Conclusion: CPUQuiet > MPDecision > Intelliplug

smartmax > wheatley > ondemand

Update 2014-03-08: Seems that on MPD kernel GPU freq never goes below 320 when idle while in faux app while on CPUQ kernels is on 128 when idle in faux app. Maybe that is the reason of increased battery drain?
[LG Optimus G (International)] mathprav:
looking ahead for the cm11 geehrc rom update, so far this rom is rock stable with good signal reception( all other roms tried have low signal reception) wonder what magic faust has done while building the ROM, greatly appreciate the unofficial build from faust, looking ahead for the updates....
[LG Optimus G (International)] fjsferreira:
Is there a way to force internal microphone in calls when standard headphones (with no mic) are plugged in? Soundabout, the app I used to use on my old phone doesn't work on this one. This is essential feature for people who connect their phones to their cars with an aux cable...

EDIT: Nevermind, fixed it already, yay. Just had to change two build.prop lines:

persist.audio.handset.mic.type - changed it to analog

persist.audio.fluence.voicecall=true - changed to false

No ill effects so far, and i can make calls using any headphones now and my car's aux cable.
[LG Optimus G (International)] c0urier:
Mirror

I've added a mirror of the Geehrc versions, hope that is okay.

Drop me a line faust93 if u want ftp access to it.

http://www.c0urier.net/faust93
[LG Optimus G (International)] gu5t3r:
What governor do you recommend for CPUQuiet? balanced, runnable, rq_stats, load_stats?

Is there a link with explanation how each works and which one is better for battery and which one for performance?

On some Nexus 7 kernel thread is load_stats recommended, on some other thread I saw rq_stats is recommended....???

Also, I find these smartmax settings to work better than your stock ones:

Freq: 270 - 1512 (on 162 phone sometimes halts)

awake_ideal_freq 810000
boost_freq 1026000
down_rate 80000
ignore_nice 1
input_boost_duration 100000 (you have some crazy big value here, default everywhere is 90000)
max_cpu_load 80
min_cpu_load 50
ramp_down_step 200000 (is 2x up_step as down_rate is 2x larger than up_rate)
ramp_up_during_boost 1
ramp_up_step 100000 (no need for up_step to be higher than down_step as up_rate is 2x lower than down_rate)
sampling_rate 40000
suspend_ideal_freq 378000 (no need for it to be 594000)
touch_poke_freq 810000
up_rate 40000

UPDATE:

CPUQuick load_stats is not battery frendly, it turns all cores on same scrolling test (maybe isn't configured correctly?)

rq_stats turns only one core like default balanced governor...will test it further...

Also, what is location for gpu settings in /sys ? Can't find it?
[LG Optimus G (International)] x_justin:
Great testing, please keep us up to date with your experiences:good: I did find that bluetooth audio streaming is horrible on the most governors and amost acceptable on ondemand (but still lots of audio hickups when being in a WiFi rich area).

Is there a bug with MPdecision? I tried to use it with the AOSP kernel 0.5 but everytime I use it the minimum frequency sets itself to 1GHz. Intelliplug seems okay too but your core activity logging has convinced me to try MPD.

I did some research.

Hotplug info:

http://elinux.org/images/1/1d/Comparing_Power_Saving_Techniques_For_Multicore_ARM_Platforms.pdf

Smartmax and CPUQ settings (worthy to try)

http://www.android-hilfe.de/6603823-post37.html

The reason for you that CPUQ load_stats is not batteryfriendly is that by default load balancing is set to the most aggressive setting (you can choose 0, 1 or 2 and I changed it from 2 to 0). Now the single tasks are not spread anymore over more cores which is a pro for hotplugging cores which are not used. Just trying now.
[LG Optimus G (International)] gu5t3r:
I can't find load balancing option in /sys/devices/system/cpu/cpuquiet

Did you used an app to change that option?
[LG Optimus G (International)] x_justin:
Yeah trickster mod, I am using the donate version but maybe the free version is sufficient.

Verstuurd vanaf mijn LG Optimus G met Tapatalk
[LG Optimus G (International)] gu5t3r:
If you mean about multi core power saving, that is not part of cpuquiet.

You can change it here /sys/devices/system/cpu/sched_mc_power_savings

Stock CM kernel also has that option...

But that still does not prevent load_stats going crazy on cores...

Seems that for battery, default balanced cpuq governor is the best, although rq_stats seems also good...

Balanced vs rq_stats needs more testing...

UPDATE:

Most threads recommend rq_stats (and say that load_stats is not working good). I couldn't measure any difference between balanced and rq_stats but for me balanced settings is easier to understand.

In /sys/devices/system/cpu/cpuquiet/balanced/ you can change it's settings.

Default values for idle_bottom_freq/idle_top_freq are 594000/702000

I changed that to 810000/1026000 to match my smartmax settings. With changed settings, I will save even more battery as CPUQ will put core offline when freq under 810000 (instead 594000), and will put core online when freq above 1026000 (instead 702000).
[LG Optimus G (International)] Cameron581:
do you plan on pushing to git i wanna start putting this into my roms it is really nice :) i am planning on releasing lego for ls970 and probably will make it for your e975 after im done
[LG Optimus G (International)] franky_z:
I tried Multirom and installed everything as it is writen in the op.

I use OMNI-Rom (matrx1 kernel) and Multirom was booting normal but I can´t do backups. After some seconds I get a crash and phone reboots.

Then I tried F93 Kernel for AOSP and the same happens, can´t make a backup.

Does anybody have an idea?
[LG Optimus G (International)] x_justin:
Thanks I am going to try those settings. But does the multi core powersaving do anything then? And it's by default on the most aggresive. I don't think that's preferrable if you want to close as much cores down every time?
[LG Optimus G (International)] gu5t3r:
It's 0 by default on stock CM...

sched_mc_power_savings

The mc in the name of the sched_mc_power_savings parameter represents multi-core. This scheduler power saving feature corresponds to the /sys/devices/system/cpu/sched_mc_power_savings file. The default value of this parameter is 0, which does nothing. When it is set to 1, the scheduler tries to schedule processes on the least possible number of processors. In other words, the process load is distributed such that all the cores in a processor are busy before the load is distributed to the core of another processor. This saves energy by reducing the number of active processors and allowing the idle processors to go into a deeper C-state.

The power savings and performance of the given workload in an under

utilised system can be controlled by setting values of 0, 1 or 2 to

/sys/devices/system/cpu/sched_mc_power_savings with 0 being highest

performance and least power savings and level 2 indicating maximum

power savings even at the cost of slight performance degradation.

sched_mc_power_savings values of 0 and 1 are implemented and available

in the default kernel. The new level of 2 support task wakeup biasing

that helps in consolidating very short running bursty jobs in an

almost idle system. This level of task consolidation packs most

workloads to one cpu package and extends the tickless idle time for

unused cpu packages.

In short, setting it to 1 moves already running (long) tasks to least cores online, and can actually degrade performance by making the jobs

jump cpus. Setting it to 2 (new method), it consolidates tasks (even short) on run/execution to least cores online and that way tasks jump cpu's less...

So, it's recommended to either don't use it, or use setting 2 as android is full of those short tasks...

UPDATE1:

Dunno why CM doesn't have that option in settings for easy switch, as I remember that Stock LG had option eco mode in settings.

Also, when using CPUQuiet Balanced with my setting 810000/1026000 I limited max freq under 1026000 and cores 1-3 never went online (because freq never went above 1026000).

Thus, when using CPUQuiet Balanced I don't know if it even helps because for me CPUQ won't turn on new core if previous one is not loaded and above 1026000 freq.

UPDATE2: Tried to test sched_mc_power_savings 0, 1 & 2 with Antutu, but no luck. Just as I think I have some results, when I repeat the test Antutu goes crazy.

I will leave it to 0 as it's default CM setting and because I think maybe it helps for MPDecision, but for my setting with CPUQ I don't think I does have much effect.

UPDATE3: Antutu results were varying because thermald was limiting max freq to 1GHz on consecutive tests. Switched to intellithermal. I have done 5 tests with sched_mc_power_savings set to 0 and 5 with set to 2 and results were the same, there was no difference in performace so I will leave it set to 2, maybe it will save some battery juice.
[LG Optimus G (International)] gu5t3r:
[MENTION=2533313]faust93[/MENTION]

Does FM radio work on e975 on your kernels and how?
[LG Optimus G (International)] Kevinjoa:
Official cm11 has FM radio integrated now. On aosp kernel you can use it loading radio-iris module (you can get with kocontrol also by Faust) and sprit FM free somewhere here on xda.

Gesendet von meinem Optimus G mit Tapatalk
[LG Optimus G (International)] huy_gm:
Normal backup behavior for me. I can backup rom from rom-list in advance-multi rom. But here comes one major thing : I can't find restore option.
[LG Optimus G (International)] gu5t3r:
I'm on Official CM10.2 at the moment... Tried using Spirit but kernel halts...

Update:

I loaded radio module and FM Radio works but signal reception is very low and audio is very quiet.
[LG Optimus G (International)] x_justin:
Wow really thanks for trying. I am on an AOSP based rom (great one, PA from houstonn in the AT&T Optimus G section). So my frequencies are slightly different because they are based on Mako sources. It seems that balanced CPUq works very well, but I am going to do some measurements.

I really thought my battery drain was completely gone because my phone stayed on 36% for minutes and minutes, but after that, it drained to 4% very fast. So probably more calibration cycles needed.
[LG Optimus G (International)] gu5t3r:
What are benefits with AOSP rom and mako kernel over CM rom and kernel?
[LG Optimus G (International)] nch26:
Devs say that Gproj source from LG are very old, so are they use MAKO source because are more optimised.

So, before all the test you did, what options are better for battery life ?

You make me crazy :D
[LG Optimus G (International)] x_justin:
Yeah, in terms of speed and stability I don't notice the difference. Some say the mako roms are more smooth etc, but that are just some settings and choices I think.

For me, the PA rom from Houstonn is rocksolid but not totally bugfree. Combining with this kernel, I don't have a fully working NFC (drains battery all the time) and no notification leds working. Other than that, the rom is bugfree as far as I can test. The bluetooth issue is btw solved in this rom, and it's NOT kernel related (kitkat bug).
[LG Optimus G (International)] MikeEx:
Quicker, smoother.

But for one app in particular.

FPSe - PlayStation emulator works far better on mako base.

The HD software rendering performs incredibly well compared with gproj base.
[LG Optimus G (International)] gu5t3r:
CPU 278 384MHz @ 750mV - 1.5GHz @ 1000mV

Hotplug governor: CPUQuiet Balanced, idle_bottom_freq/idle_top_freq = 801000/1026000

CPU governor: smartmax

SmartMax settings:

awake_ideal_freq 810000

boost_freq 1026000

down_rate 80000

ignore_nice 1

input_boost_duration 100000

max_cpu_load 80

min_cpu_load 50

ramp_down_step 200000

ramp_up_during_boost 1

ramp_up_step 100000

sampling_rate 40000

suspend_ideal_freq 378000

touch_poke_freq 810000

up_rate 40000

GPU Governor: ondemand

/sys/devices/system/cpu/sched_mc_power_savings = 2

rq_stats CPUQ governor is also good and I keeps cores off same as balanced, but balanced settings is easier to configure and understand.

lots of people recommend rq_stats as it is newer than balanced

tested gpu governor simple and with default settings it makes gpu go on higher freqs than ondemand, didn't bother to play with settings

wheatley is better version of ondemand optimized for power saving, if you have problems with smartmax use wheatley instead ondemand...
[LG Optimus G (International)] leouzcategui:
You can take the camera app from nexus and works perfectly well... You can make photospheres, and I think is more stable and smooth...

And you can have both of cm and aosp with faust CM in the OP

Enviado desde mi Optimus G mediante Tapatalk
[LG Optimus G (International)] lachyzee:
Using Trickster mod, some of these settings e.g. Awake_ideal_freq can't be set to the values you have. Only set values that can't be altered. What are you using to change them?
[LG Optimus G (International)] gu5t3r:
Check what freqs you have, maybe you don't have same freqs as me on Gproj kernel...

Trickster can't change idle_top_freq/idle_bottom_freq of CPUQ Balanced. I created init.d script for that.

This are my pro battery tweaks outside trickster and faux:

#!/system/bin/sh
stop mpdecision
echo balanced >/sys/devices/system/cpu/cpuquiet/current_governor
echo 1026000 >/sys/devices/system/cpu/cpuquiet/balanced/idle_top_freq
echo 810000 >/sys/devices/system/cpu/cpuquiet/balanced/idle_bottom_freq
echo 2 >/sys/devices/system/cpu/sched_mc_power_savings
setprop wifi.supplicant_scan_interval 180
sysctl -w kernel.random.read_wakeup_threshold=1024
sysctl -w kernel.random.write_wakeup_threshold=2048
sysctl -w vm.dirty_expire_centisecs=1000
sysctl -w vm.dirty_writeback_centisecs=2000
[LG Optimus G (International)] hash.86:
hey all... i am using LG Optimus G F180s successfully converted to E975.. my current ROM is CM 10.2.0.. i have issues with battery ... can i use this kernel with CM 10.2.0???
[LG Optimus G (International)] x_justin:
You should read more stuff! Do your research, if you read the first post you have your answer!

Verstuurd vanaf mijn LG Optimus G met Tapatalk
[LG Optimus G (International)] lachyzee:
Thanks, appreciate it.

Actually I am using F93. E975K. Latest unofficial CM linked in first post.

But I still can't select the exact frequencies you have through Trickster, hmm.