yashsingh1/xdaforums huggingface dataset:
[LG Optimus G (International)] grunch21:
Wow, you could uv'ing 1512 to 1000. impressive! mine got watchdog crash under 1025 i think. CPU bin 3.

Mine:

162000: 700000
270000: 700000
378000: 700000
384000: 725000
486000: 775000
594000: 800000
702000: 825000
810000: 875000
918000: 900000
1026000: 925000
1134000: 975000
1242000: 1000000
1350000: 1025000
1458000: 1037000
1512000: 1050000

Will try to lower it down 25mV from 486 and see how it works.
[LG Optimus G (International)] Richylitschy:
Governors

Hey,

thanks for the great work faust93!

So im on cm latest nightly with the latest f93 gproj kernel. Maxed the clock at 1.24ghz and uved bei 125000.

But i cant seem to find the right governor for snappy performance and battery life :/ Asswax is way to slow when unlocking the screen, intellidemand is kind of battery killing for me somehow :confused: .

Does anyone has a good combination for scheduler and governor? Best batterylife by acceptable speed of course. Im a little bit nooby with governors and schedulers!

Thanks!
[LG Optimus G (International)] gu5t3r:
smartmax

awake_ideal_freq=810000
boost_duration=0
boost_freq=1026000
debug_mask=0
down_rate=80000
ignore_nice=1
input_boost_duration=90000
io_is_busy=1
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=594000
touch_poke_freq=702000
up_rate=40000
[LG Optimus G (International)] MitoTakatori:
[MENTION=2533313]faust93[/MENTION], mate, latest update of your CM11-Remix for geerhc has a weird sound when the make or take a call. It seems that there is an incoming call or so. On 0506 build, it's not present.
[LG Optimus G (International)] huy_gm:
Ak kernel both mdpdecision and inteli is off by default. This is strange. Should I enable one of them?

Edit: Auto rotate is not working.

Edit: It works after a reset.

Edit:nvm, its omni flaw not the kernel.
[LG Optimus G (International)] faust93:
Latest ak uses msm hotplug, sadly but not trickster nor faux control does not support this hotplug driver so it must be controlled from command line. In my ak version mpdec is still here but disabled by default. see 99kerneltweaks.
[LG Optimus G (International)] hasan4791:
Hi buddy.... Msm is bettr than mpdecision wen considering the perf, if I'm nt wrong

Sent from my LG-E975 powering Stock 4.1.2
[LG Optimus G (International)] gu5t3r:
Finally figured out rq_stats and load_stats CPUQuiet governors...

rq_stats

rq_stats compares rq_depth against nwns_threshold values

this kernel default nwns_threshold = "20 14 26 16 30 18 0 20"

this kernel default twts_threshold = "140 0 140 190 140 190 0 190"

We need to observe sequence of numbers as array 0-7.

nwns_0 is up threshold when 1 core is online

nwns_2 is up threshold when 2 cores are online

nwns_4 is up threshold when 3 cores are online

nwns_6 is up threshold when 4 cores are online

nwns_1 is down threshold when 1 core is online

nwns_3 is down threshold when 2 cores are online

nwns_5 is down threshold when 3 cores are online

nwns_7 is down threshold when 4 cores are online

nwns_6 is 0 because we can't hotplug nonexistent core 4 (cores are named 0,1,2,3) and nwns_1 setting also can be set to 0 because we can't unplug core 0

twts_? is time needed for nwns_? action

I think default settings are to aggressive and can be made battery friendly...

Bricked kernel for N4 uses "12 0 25 20 32 28 0 35"

I find that mix of two works better "20 0 26 20 32 28 0 36" than this kernel default setting... I believe that with this setting rq_stats is more battery friendly than balanced but with better performance...

load_stats

load_stats compares load against load_threshold values

it also hotplugs +1 core if

rq_depth > rq_depth_threshold && load < rq_depth_load_threshold && number_of_cpus_online < rq_depth_cpus_threshold

this kernel default load_threshold = "90 80 70 60 50 40 30 20"

this kernel default twts_threshold = "70 0 70 120 70 120 0 120"

this kernel default rq_depth_threshold = 30

this kernel default rq_depth_load_threshold = 40

this kernel default rq_depth_cpus_threshold = 4

Again, we need to observe load_thresholds & twts_threshold as integer arrays 0-7

Same rule applies as with rq_stats just instead rq_depth, load is compared to load_? thresholds.

If you understood how load_stats work you can see that it's configuration is all wrong...

In situation when all 4 cores are online, load needs to fall below 20 to turn off one core, when 3 cores are online load < 40 to turn of one core...etc...

This setting is to agressive, it hotplugs next core faster and unplugs them slower...

Bricked kernel default load_threshold = "90 80 80 70 70 60 60 50" are a way more battery friendly...

Also rq_depth_threshold = 40 and rq_depth_load_threshold = 70 make more sense in bricked kernel.

In rq_depth > 40 it will hotplug +1 core... More battery friendly than 30.

load_stats with bricked settings seems to work fine and no longer turns all 4 cores immediately...

In next 2-3 days I will test rq_stats (my mixed configuration) against load_stats (bricked configuration "90 0 80 70 70 60 0 50" & "90 0 85 80 80 75 0 70") and report back...

I think load_stats "90 0 80 70 70 60 0 50" & "90 0 85 80 80 75 0 70" could be battery friendly same as rq_stats but better for performace because load_stats takes in consideration both load and rq_depth...

Edit: also input_boost_duration has wrong 420 configuration and shoud be 210...

[MENTION=2533313]faust93[/MENTION]
[LG Optimus G (International)] roscatel:
Does ak kernel supports multirom?
[LG Optimus G (International)] gu5t3r:
All tests are done using wheatley governor whose magic is in that it will rather increase freq than hotplug next core if proper C4 state is possible.

As you can see below, balanced doesn't work very good with wheatley (because balanced decision is based on freq), but properly configured load_stats and rq_stats work better than balanced+smartass.

Digging trough many threads, most developer recommended load_stats (because it takes both load and rq_depth in consideration when deciding to hotplug next core and in theory should be best) but on all/most kernels it is not properly configured.

load_stats init.d script

#!/system/bin/sh
export CPU=/sys/devices/system/cpu;
stop mpdecision;
echo wheatley >$CPU/cpu0/cpufreq/scaling_governor;
echo load_stats >$CPU/cpuquiet/current_governor;
echo '90 0 85 80 80 75 0 70' >$CPU/cpuquiet/load_stats/load_threshold;
echo 210 >$CPU/cpuquiet/load_stats/input_boost_duration;
echo 40 >$CPU/cpuquiet/load_stats/rq_depth_threshold;
echo 70 >$CPU/cpuquiet/load_stats/rq_depth_load_threshold;

rq_stats init.d script

#!/system/bin/sh
export CPU=/sys/devices/system/cpu;
stop mpdecision;
echo wheatley >$CPU/cpu0/cpufreq/scaling_governor;
echo rq_stats >$CPU/cpuquiet/current_governor;
echo '25 0 30 25 35 30 0 35' >$CPU/cpuquiet/rq_stats/nwns_threshold;

Test how much time cores spent online during 5.5 minute music playback:

rq_stats kernel default 20 14 26 16 30 18 0 20

5572933	5606243	CPU0	33310
809613	811326	CPU1	1713	5,1426%
344313	345172	CPU2	859	2,5788%
105352	105499	CPU3	147	0,4413%

rq_stats 20 0 26 20 32 28 0 36

5204732	5238433	CPU0	33701
786326	787893	CPU1	1567	4,6497%
337564	338060	CPU2	496	1,4718%
103389	103495	CPU3	106	0,3145%

rq_stats 25 0 30 25 35 30 0 35

7500955	7534265	CPU0	33310
1013855	1015300	CPU1	1445	4,3380%
468951	469197	CPU2	246	0,7385%
156866	156887	CPU3	21	0,0630%

load_stats 90 0 85 80 80 75 0 70 (rq_depth_threshold=40, rq_depth_load_threshold=70, input_boost_duration=210)

6365529	6398839	CPU0	33310
895388	896242	CPU1	854	2,5638%
379022	379451	CPU2	429	1,2879%
122631	122841	CPU3	210	0,6304%

load_stats 90 0 80 70 70 60 0 50 (rq_depth_threshold=40, rq_depth_load_threshold=70, input_boost_duration=210)

5902210	5935520	CPU0	33310
833165	834129	CPU1	964	2,8940%
357363	358034	CPU2	671	2,0144%
113507	113836	CPU3	329	0,9877%

load stats kernel default 90 80 70 60 50 40 30 20

6559085	6592395	CPU0	33310
911241	917134	CPU1	5893	17,6914%
387409	392873	CPU2	5464	16,4035%
128813	134144	CPU3	5331	16,0042%

balanced 810000/1026000

6609855	6643165	CPU0	33310
920619	922817	CPU1	2198	6,5986%
394283	395102	CPU2	819	2,4587%
135324	135548	CPU3	224	0,6725%
[LG Optimus G (International)] alediniz:
[MENTION=2533313]faust93[/MENTION], ak-170514.zip kernel is stable for daily use?
[LG Optimus G (International)] Liindberg:
My cpu is binned at 1 = slow

Im running Omnirom with Ak-xGenesis-gee-MHL_v1.1 kernel

My table is

162000: 750000

270000: 800000

384000: 825000

486000: 850000

594000: 875000

702000: 900000

810000: 925000

918000: 925000

1026000: 950000

1134000: 950000

1242000: 1000000

1350000: 1025000

1458000: 1037000

1512000: 1050000

1620000: 1100000

1728000: 1150000

Changed MP-Decision Control to following

Startdelay: 10000

Delay: 100

Pause: 10000

min_cpus: 1

max_cpus: 4

idle_freq: 486000

boost_time: 1000

All bost frequencies: 810000

System is now so fast that i cant keep up xD

I think its nice stats for a "slow binned"

antutu aprox 21k when set to 1512Mhz

Totally stable and set on boot

Edit: sorry for posting in this thread i thought it was here... The e975 really confuses me with port kernels, gee, geeb and all the other stuff, but maybe you can use resulsts anywhays since this kernel is the ported ak-xgenesis.

What is the main Difference on Ak-xGenesis-gee-MHL and AK-F93 AOSP Kernel ?
[LG Optimus G (International)] roscatel:
[MENTION=2533313]faust93[/MENTION]

Using THIS to configure everything on ak kernel works great even chosing hotplug
[LG Optimus G (International)] alediniz:
My report: E975 with Vanir Rom

ak-exp.zip -> stable

ak-exp-290414.zip -> graphic glitches

ak-170514.zip -> graphic glitches

Any solution for problem on recent versions? And after applying the unstable kernel, not solve reapply the stable kernel, even wiping the caches. It is necessary to also reinstall the rom.
[LG Optimus G (International)] huy_gm:
Where to find those recent buildbuild
[LG Optimus G (International)] franky_z:
With ak-170514.zip and latest Omni Rom no problems. Everythings nice, very good battery.
[LG Optimus G (International)] Liindberg:
Maybe im just stupid but where can i find that build ? :) on omnirom myself and i have some troubles with spontanious restart and loosing touch. Dont know if its kernel related

Sendt fra min Optimus G med Tapatalk
[LG Optimus G (International)] alediniz:
http://xep.8800.org/e957/tmp/

Thanks. Maybe some incompatibility with the Vanir rom. But it's weird that the oldest build-ak exp.zip works smoothly.
[LG Optimus G (International)] Liindberg:
Tried to flash ak-170514.zip kernel on my e975 . After that i couldnt boot at all . no logos no everything.

Reflashed my backup and running again . Am i not supposed to use that kernel for gee/aosp roms ?

Im running Omnirom with xGenesis kernel right now.
[LG Optimus G (International)] alediniz:
Do you clean cache and dalvik cache after kernel flash?
[LG Optimus G (International)] grunch21:
[MENTION=2533313]faust93[/MENTION] I'm having a problem with multirom when using a rom larger than 600 mb. It was fine previously before i got a softbrick and had to LGNPST, unlock bootloader with freegee, reinstall twrp multirom. The installation went fine, but upon choosing the second rom with large zip file i receive the error message. I have no problem when choosing other roms. Could you please tell me how to fix it? thanks.
[LG Optimus G (International)] Kevinjoa:
[MENTION=2533313]faust93[/MENTION]

Same here, can't use any stock rom anymore as 2nd rom...

Gesendet von meinem LG-F180K mit Tapatalk
[LG Optimus G (International)] grunch21:
So i was finally able to install artmod as 2nd rom, installed using backup instead of zip. No luck with stock kitkat though. The rom booted up but reboot itself with demigod hw reset message.
[LG Optimus G (International)] crime_of_heart:
I have just used the new stock kk rom with 0.5 f93 aosp kernel and it booted fine! Some graphic glitches and camera problem. Rest seems working. So now we have a great opportunity to use the stock kk as base for multirom [MENTION=2533313]faust93[/MENTION]
[LG Optimus G (International)] huy_gm:
How to install with backup mate, can you derect me those steps. I can backup but never see restore option for multi rom section.
[LG Optimus G (International)] lachyzee:
Also can't install ArtMod as secondary. Other ROMs seem to install as secondary just fine...
[LG Optimus G (International)] grunch21:
If you already have artmod backup just go to advance, mulltirom, add rom, then choose add from backup. Otherwise:

1. boot twrp multirom

2. install artmod (language pack & update supersu as well if you need them).

3. Uncheck inject multirom option (i don't know if that made difference, but that's what i did)

4. reboot system (not necessary, but i like to see if the rom booted up just fine)

5. reboot to twrp again

6. make a nandroid backup

7. factory reset

8. install any gee rom as primary and flash multirom geehrc (if you already made a backup, just restore it then flash multirom zip)

9. go to advanced option, multirom, add rom, choose your artmod backup. done. reboot.

now if you're successful you'll find boot option. choose artmod and see if it works. sometimes you can't choose your 2nd roms, and it boots directly to internal / primary rom. don't panic. just reboot back normally and you can choose them.
[LG Optimus G (International)] huy_gm:
Your first line explanes to me all the stuff I'm missing. Thank you very much.
[LG Optimus G (International)] frans3q:
will this kernel : AK xGenesis AOSP Exp.zip works with stock ROM ??

frankly I like my stock rom and kernel, but I cant get my OTG Y cable working, someone on other thread told me that AOSP kernel will get the OTG working. So, which one should I try with stock rom? AK xGenesis or F93 v0.5?
[LG Optimus G (International)] krishnanmailbox1:
these wont work for stock roms.........u cannot try them
[LG Optimus G (International)] frans3q:
I got the impression that those kernel could work on stock ROM after I read this :

the new KK stock rom doesnt work well, so maybe older version 4.2 or 4.3 JB could works?
[LG Optimus G (International)] grifovunque:
There will be an update for gproj kernel with new source from cm?

I see in changelog of 6.6.14 that somethings change...

Thank you so much

Inviato dal mio LG-E975 utilizzando Tapatalk
[LG Optimus G (International)] roscatel:
Or maybe an update for gproj rebased on LG's official source
[LG Optimus G (International)] FcoEnrique:
Gproj kernel is for CM roms, that source will work on stock kernel, which is not developed or maintained in this thread.
[LG Optimus G (International)] BIBUBO BCJ:
[MENTION=2533313]faust93[/MENTION], what's changelog for ak 9-6 ?, will it work in 4.4.3 ?
[LG Optimus G (International)] gu5t3r:
[MENTION=2533313]faust93[/MENTION]

Hi, I have two questions about updating rom:

Can I update from Gproj Official CM10.2 to Gproj Official CM11 without wiping data partition i.e. preserving all my data?

(with reflashing gproj kernel after update of course)

Can I update from Gproj Official CM10.2 to AOSP CM11 without wiping data partition i.e. preserving all my data?

(with flashing ak kernel after update of course)

Thanks in advance...
[LG Optimus G (International)] FcoEnrique:
There's that old problem with autofocus in f93 v2.2... Maybe async with latest cm sources could fix it? There's no update since January. [MENTION=2533313]faust93[/MENTION]
[LG Optimus G (International)] huy_gm:
However he updates his gee sourse frequently ak ak-genesis kernel.
[LG Optimus G (International)] FcoEnrique:
I said "f93 v2.2" ...gproj...
[LG Optimus G (International)] huy_gm:
Yeah I know. I mean it looks like he abadon gproj in favor of gee.
[LG Optimus G (International)] FcoEnrique:
Yeah, it looks like that :(
[LG Optimus G (International)] primegrinder:
Is this working with the newest KK stock ROMs?
[LG Optimus G (International)] nlooooo:
Are you sure that you've red the OP?
[LG Optimus G (International)] primegrinder:
I think not. But this expression is not clear for me:

Official CM11, or official at all. Sorry, maybe i ask stupid questions, but i have to fast fix WiFi in my G so please understand me;)
[LG Optimus G (International)] FcoEnrique:
Official CM ROMS... NO stock!
[LG Optimus G (International)] primegrinder:
Ok thanks a lot ;)
[LG Optimus G (International)] gu5t3r:
Can Franco port be used on Gproj?
[LG Optimus G (International)] tennyleaz:
Which kernel could we us on Mokee ROM for E975?
[LG Optimus G (International)] gu5t3r:
[MENTION=2533313]faust93[/MENTION]

There is something wrong with GPU on Gproj kernel,

when charger is connected and phone is in idle with screen on gpu is set to 128 mhz

when I disconnect the charger gpu is set to 320 mhz, even with screen off

also when charger is connected and I press power button to turn off screen gpu goes to 320 mHz (this also happens with charger disconnected)?

I don't think this is normal behaviour... This is CPUQ kernel, will test MPD also later...

my phone is in idle and connected to adb over wifi and gpu is 320 with screen off (without charger)?

Same thing happens with MPD kernel (wiped dalvik-cache after flashing mpd)...
[LG Optimus G (International)] FcoEnrique:
Did it boots?
[LG Optimus G (International)] dopy25:
Has anyone found or used a kernel on stock that allows multi rom to boot a secondary?

I have Artmod as primary because it won't boot if installed as secondary. I tried everything, even using a backup restored as secondary and it won't boot. I want to keep using the rom but would also like to boot the other ones I have installed.

Basically, does anyone know of a kernel for stock that has the kexec hardboot enabled?
[LG Optimus G (International)] faust93:
Gproj kernels (stock) are not compatible with kexec-hardboot patch.
[LG Optimus G (International)] dopy25:
Any idea what makes them not compatible? Is it possible to "port" a gee kernel to a "stock" rom? The art mod rom I am using is from an E975 but I am using it on the ls970 and it can be used on the *180 as well as an e970 I think. Would that make it gee? I am not sure what makes a gee rom or kernel any different than gproj (stock) but the art mod isn't made with the older sources, it is a stock 4.4 rom.

I know that gee roms and kernels are built with mako sources (right?). and stock stuff or based stuff is built with gproj sources. But I have never really understood what exactly makes them different other than initial sources are from "different" devices.

Could a stock rom be "ported" to gee and be able to use gee kernels?
[LG Optimus G (International)] FcoEnrique:
LoL
[LG Optimus G (International)] dopy25:
I guess I don't see the humor since other roms for specific devices have been "ported" but hey, thanks for the input.
[LG Optimus G (International)] crime_of_heart:
Hey [MENTION=2533313]faust93[/MENTION]. I am successfully booting your experimental f93 aosp kernel with the stock 4.4.2 rom. Almost everything works too. For your information.

I would try to compile or transferring drivers if I had enough time.
[LG Optimus G (International)] faust93:
I think it is because of something messed up with an lge ramconsole in gproj kernel. I've no jtag so can't debug this issue. Afaik it is not possible to port gee kernel to stock due to differences in kernel drivers and their userspace counterparts - proprietary "blobs" (i mean that closed source HAL parts). So even if it did boot there will be a problems with camera and sensors for example. Gproj kernels are heavily modified by LG.
[LG Optimus G (International)] dopy25:
That makes sense, proprietary mods can always mess with things when the source is closed. well like [MENTION=1847171]crime_of_heart[/MENTION] said, the kernel boots, either the CPQ or MPD. I tried them and attempted to boot a secondary and it tries, but won't do it. One time it booted the internal anyway but froze at boot animation, the other one I tried just flashed until I held the power button.

I didn't try the camera, but the issues I noticed were sound (it stuttered during system sounds) and the volume keys were inverted.

Wifi and mobile data worked, the kernel showed different in system info as well as trickster. Without reaching too far, is it possible to patch the aosp kernel with camera or any other drivers?

Also, since the kernel booted the primary rom, and the f93 kernels have the kexec patch, is there any other reason I wouldn't be able to boot a secondary rom from the multiboot loader?
[LG Optimus G (International)] iamterence:
When you say "stock 4.4.2 ROM", are you referring to LG 's stock ROM, or an AOSP ROM like CM?
[LG Optimus G (International)] faust93:
If anybody interested - I had ported camera drivers from LGE's KK kernel into Franco kernel so overall cam performance and quality is MUCH better now!

Consider it as experemental kernel, I've not tested it much. Use with an AOSP (gee) based roms.

Dl link:

http://xep.8800.org/e957/tmp/franco-exp2808.zip
[LG Optimus G (International)] franky_z:
Thanks for the update. I tested it with your Temasek cm11 rom and now camera focus in darkness is not working any more.
[LG Optimus G (International)] hasan4791:
Yes... Stock kk camera driver has that bug... :( can't do anything fa tat...

Sent from my LG-E975 powering Stock 4.4.2 & SOLID Kernel
[LG Optimus G (International)] fjsferreira:
This is amazing. I've been waiting for that for a long time. Camera in gee based ROMs sucks. Can you share sources for other devs to port that to their gee kernels?

EDIT: Can anyone provide an rom where this kernel works? It's not booting carbon gee.

EDIT 2 - it's working on DU. WOW, camera is amazing, i missed my stock camera quality so much! :D Only issues, no 13mpx option (should be the media_profiles.xml) and inverted volume keys (which should be an easy fix).

Thank you so much faust, will be testing this a lot for sure.
[LG Optimus G (International)] nobooya:
I don't have any of your bugs on temasek cm11
[LG Optimus G (International)] fjsferreira:
Yes, the volume keys thing is a bug in Dirty unicorns, I edited the keylayout file and it's fine now.

This camera port is huge, I hope devs take a look at this, because all gee roms have awful camera...
[LG Optimus G (International)] ThatKawaiiGuy:
Hello, I'm interested in the camera port, and wish to add it to main source of my Franco port, but I'm having trouble finding the commit, can you show me it please?
[LG Optimus G (International)] faust93:
I have not uploaded sources to my git yet. So wait a little plz..
[LG Optimus G (International)] fjsferreira:
Unfortunately, I'm getting random reboots every 2 to 5mins after booting (both in dirty unicorns and latest vanir). Doesn't happen with those ROM kernels, only on the Franco with ported stock camera driver. It happens even when I'm doing nothing. Attached is the last_kmsg.txt.
[LG Optimus G (International)] faust93:
have you did some underwolting? or just use default settings? because my franco version has reduced bus voltages it is not very prone to further undervolting so for me -75 is the maximum possible value and bigger uv values give me random crashes...
[LG Optimus G (International)] fjsferreira:
Didn't touch the undervolting at all. Could raising the voltages a bit solve that?

EDIT: seems to be the voltages alright. I increased +75 on trickstermod, and so far, hasn't rebooted... /fingerscrossed/

EDIT 2: random reboot ughhh... maybe i just have to find the correct values. I swear it stays up longer by increasing the voltages, or maybe it's just placebo :(

EDIT3: after playing around with voltage values in trickstermod (tried +10, +20, +25, +50, +75 and +100), I still get random reboots always. I don't think the problem resides in that, unfortunately :(
[LG Optimus G (International)] m4dbra1n:
Could it be related to the gpu control? Because I've seen it happen much more when the Facebook app is trying to auto-load the videos on the wall...

Anyway, it's a test kernel, so things like this are going to happen :)
[LG Optimus G (International)] franky_z:
Is it possible to make camera focus with flash in darkness work? Then finaly everything on a gee rom is awesome...