yashsingh1/xdaforums huggingface dataset:
[LG Optimus 2x] Darkmind82:
AW: [KERNEL][CM10/CM10.1][100p2 - 2013/02/16] Kowalski Kernel - Now With Nightlies !

hello pengus77

i just want to thank you for an f***ing awesome kernel and I'm happy that you finally developed a OC version too.
[LG Optimus 2x] Kamui_:
+1 The same thing happens right now after using new kernel on paranoid.
[LG Optimus 2x] tr@p:
Could be PA fault. Build 6 has some glitch, may end up with corrupt data. Wait for new PA, or flash older one...
[LG Optimus 2x] pengus77:
Uhm yeah it's unrelated to power management. Before this release/exp when you went out of range from the ap with wifi on, you could notice a high drain until you turned off wifi (we're talking 10%/hour or more). That's solved now.
[LG Optimus 2x] BS86:
flashed the new kernel 2 hours ago, no problems here. PA build 06, 100p2 kernel
[LG Optimus 2x] aigaming:
Yeah m8,i reported that drain 2;)

But, only if you leave your wifi on whole time,you don't have it with wifi off-screen off :victory:
[LG Optimus 2x] otonvm:
Re: [KERNEL][CM10/CM10.1][100p2 - 2013/02/16] Kowalski Kernel - Now With Nightlies !

I'm not on paranoid, I'm using cm10 for new bl somethingsomething... Anyway, thank god for titanium backup!
[LG Optimus 2x] m1cr0man:
Re: [KERNEL][CM10/CM10.1][100p2 - 2013/02/16] Kowalski Kernel - Now With Nightlies !

I've been keeping well up to date with this kernel. 100p2 has booted so fast its worth talking about! I mean it went from off to optimised 114 apps in 25 seconds :eek: Great work! :D Can't wait to see what p3 will be like if you are adding oc again.
[LG Optimus 2x] antec123:
try flashing the nigthlies version m8, if you want oc. i think nightlies is as stable as release so far, already flashed 2 times 102 and 103, all worked great no sod, bsod. i never UV since my phone is crap with that. using stock voltage, and set 1GHZ max speed with dyninteractive cpu scheduler, and row for i/o scheduler.

thx peng for you hardwork developing this great kernel.
[LG Optimus 2x] donnelldouglas:
had a bsod this morning when I woke up, and i tried several times to connect to phone with adb but it couldn't communicate with it... so crossed my fingers and pulled and reinserted the battery as fast as I could, then got this kmsg.log. I know it may not be useful as I had to pull the battery or the cause could be solved already in the new release, but I thought it may be useful to post it... maybe it worked...:) (renamed .log to .txt to be able to attach the files here)

kernel:

2.6.39.4-Kowalski-Exp

kow @lski.kernel #4

PA version:

2.6-06-tonyp old bl
[LG Optimus 2x] 4ever1lov3:
what an excellent work! but could you please consider supporting SU660 as well? we, users, do not have ability do do it ourselve, so we can only contribute by testing. I think that the two phones are not much different! and we also have some devs that already made kernels for su660 (wkpark,...) (so you can ask them for help if you need). really apreciate your work! :good:
[LG Optimus 2x] jasjeev4:
Re: [KERNEL][CM10/CM10.1][100p2 - 2013/02/16] Kowalski Kernel - Now With Nightlies !

Done :)

I'm on p2 now
[LG Optimus 2x] Thief777:
Re: [KERNEL][CM10/CM10.1][100p2 - 2013/02/16] Kowalski Kernel - Now With Nightlies !

Wifi drain (((
[LG Optimus 2x] _kankea:
Now this is great. This one time when I'm not F5'ing this forum 24/7, new PA & new kernel arrives and the most important thing for me, WLAN AP out-of-range bugfix is here!! Gonna try these after my phone is charged. :fingers-crossed:

And on a side-note, not fully off-topic:

I found the something that seems to be the Official Fish-Slapper® prototype... :cyclops:

---------- Post added at 09:56 AM ---------- Previous post was at 09:43 AM ----------

Yeah you should try this fix here :^)

Pengus77 said it well: "No dmesg / logcat, no party"
[LG Optimus 2x] norbee007:
No problem here

Hi Pengus,

I'm one of the silent reader. :) I rarely write in the thread, and maybe my post is useless...however:

I saw some people reporting BSOD and WIFI drain, but for me there is no problem. I'm using your latest rom, with exp103 kernel with no OC an no UV, new BL and having no problem at all. I just write this because you always read problems...for me there aren't any. :) Battery is ok, the rom is fast.

Thank you for your rom and kernel! ;)
[LG Optimus 2x] Garfields 2X:
same here ;)
[LG Optimus 2x] Crazy32:
AW: [KERNEL][CM10/CM10.1][100p2 - 2013/02/16] Kowalski Kernel - Now With Nightlies !

And the same here :thumbup:

Gesendet von meinem LG-P990
[LG Optimus 2x] Pascalwb:
With 100p2 phone goes to deep sleep again. Thanks.
[LG Optimus 2x] tr@p:
I always thought that PSP stands for PlayStation Portable, and that we can play PSP games on it... :D
[LG Optimus 2x] pengus77:
Just tried, multiple times too... can't reproduce it. I need more information. What rom ?
[LG Optimus 2x] wucinac:
Tonyps P.A. rom and kowalski kernel instal separatly.

Maybe need more time, 5 min.
[LG Optimus 2x] pengus77:
I'm also using tony's rom on new bootloader and have no issues, but i'll post the kernel i'm using now that is a bit more tweaked. Need just a few more time for testing it ;)
[LG Optimus 2x] tr@p:
If I get this right... you have wifi on (connected?) and after half a minute the screen turns off (itself or you lock it with power button?) you get BSOD? I'm on PA too, will try reproduce. But I would notice this before cause I'm on wifi most of the time.
[LG Optimus 2x] lucfig:
I am using your ROM from 0106 and with the RIL that comes with CM10, did not touch that. I will try v30 baseband when at home.

Apps running: Tasker, whatsapp, Nova launcher, Swiftkey, UCCW and the dialer.

The reboots were close to each other and since I disabled ksm and zram I did not have any reboot yet.

Enviado de meu LG-P990 usando o Tapatalk 2
[LG Optimus 2x] FatherJony:
I don't know about the upstream version, the current version does work with the right values, but it has a visible impact on performance. What matters to us isn't paging, it's compression and in order to benefit from that we need a large full pagefile. So i gave a try with a zram value of 26 and a swappiness of 80 (external swap was disabled). While i did get more storage in RAM, the decompression overhead was visible, especially when scrolling lists.

An alternative would be to completely disable zram, use swap and set swappiness to something between 10-15 (the default right now is 30 which is probably too much). This way, the system performance should be optimal till the memory is close to full. At this point of course swap will start being used affording more RAM while degrading performance. It would be a good compromise if swap wasn't invisible to Android. Since Android doesn't take swap into account, at this point it will start killing background processes, affecting multitasking.

Bottom line is that our phone's usable RAM is ~370mb and users that want good performance should NOT be running more than 2-3 apps in the background, especially when one of these is a web browser. It's not the kernel's/penguses/God's fault it's just a limitation of our device.
[LG Optimus 2x] pengus77:
+1 ;)

The only little thing that the current LMK doesn't take into account is not killing kernel threads. It's just insane how they designed it in this way. So of course when the usable ram goes above the limit, the lmk will start to blindly shoot at everything that moves... including the kthreads. Go wonder why the phone reboots then...

As a matter of precaution i patched manually the current lmk to stop it from killing kthreads and so far the result is quite stable. Been browsing, opening games, playing, benchmarking and all seems stable. Also, i disabled zram completely and set in debug options a max of 4 background apps. Our phone with such a configuration can work as good as a gnex. Maybe faster too ;)
[LG Optimus 2x] FatherJony:
Yes, killing kernel threads, such a little thing :p. As for our phone being faster than the gNex, it will never happen with our memory bandwidth ;).
[LG Optimus 2x] pengus77:
Lol yeah true, was more or less a figure of speech :D
[LG Optimus 2x] FatherJony:
I personally can't complain, i don't think our phone can get much better than this and you are one of the main reasons we've come this far.

Btw, setting max bg processes to 4 in dev settings is a good idea, maybe you could try making this option persist after a reboot. Another doable tweak would be an option to disable scrolling cache, there is already a patch for CM10 floating around if i am not mistaken. This will increase RAM usage with large list though :p. If you update your CM10 rom, please remove the persistent zram setting from build.prop, many users don't know about it and just try to change it in the Android settings in vain.
[LG Optimus 2x] pengus77:
Kernel Update

Guys this is a maintenance release that will most probably stop the random reboots and bring out a bit more juice from the phone. As promised i re-enabled the conservative governor and prevented the lmk to shoot the kernel threads out of the sky. Also, added a little bump to the cpu when the usb cable is detected, before informing the charger. Hopefully this will help out with the bsods that happen when connecting the phone to charger when it's sleeping. Oh, also updated the toolchain to a way more optimized one with graphite support. Hope you like this one, while waiting for The Next Big Thing™ :D

Partial Change Log:

* Disabled tegra cpu frequency locking

* Added a small cpu boost when usb cable is inserted [ may prevent bsods ]

* Added one more wifi interface to sysfs [ wake_pm (bool) to set PM_FAST/PM_OFF when screen on ]

* Re-enabled the conservative governor

* Updated toolchain to a more optimized one

* Compiled with "graphite" flags for a bit more kick

* Fixed the LMK so it doesn't kill kernel threads
​

As usual downloads are in the dev-host folder linked in OP and the full change log is in the second post.

In the dev-host folder you'll find now two wifi modules. The "psp" one is like the old one, "Max PSP" mode when sleeping and "Fast PSP" mode when awake. There is also a new module called "std" that will leave the wifi chip out of power management when the screen is on (full power) and will put it in "Fast PSP" mode when sleeping. The default behaviour of the kernel is to always stay in "Fast PSP" mode.

In any case, my personal suggestion to stay on the safe side, is to set in debug options a maximum number of background apps to 4 or 5 :)
[LG Optimus 2x] icyeye:
can u tell me do we benefit any thing from checking in Memory management the Kernel samepage merging? ty
[LG Optimus 2x] pengus77:
Not in my opinion on android. KSM was/is designed to share memory between processes and its main power is seen during operations with lots of virtual machines running concurrently on the same host for example. On a phone it's not really useful in my opinion and i always keep it disabled. Also, i've been running a little "top" to test the cpu operations it performs and it seems that it's a bit always at work when it's active, expecially when the phone is sleeping... weird... (the % represent the cpu usage and when the phone is with the screen off connected to usb ksmd is the top process for cpu usage).

PID PR CPU% S #THR VSS RSS PCY UID Name
24 0 5% S 1 0K 0K root ksmd
6925 0 2% R 1 1116K 488K root top
6803 0 0% S 1 0K 0K root kworker/0:0
71 0 0% S 1 0K 0K root cfdynamic_inter
11 1 0% S 1 0K 0K root khelper
[LG Optimus 2x] icyeye:
i just installed new kernel and new module on 4.2.1 just to try it, and all seems to working good.

thank u for your answer and btw, w8 for the next b.t. cheers!

5% for ksm while off... seems to much :P
[LG Optimus 2x] pengus77:
O.o also wifi works ? I have had some reports that it doesn't on cm10.1...
[LG Optimus 2x] icyeye:
yes, all is working very well! :) ofc, new BL here

edit : check attachment
[LG Optimus 2x] zchuxz3x:
wich "new module" you said? o.o.. I'm on Official CM10.1m installed New Kernel by pengus and not Wifi..

EDIT: Im confused, Im on Temasek v3 (CM 10.1) and Wifi is WORKING with last kernel...!
[LG Optimus 2x] icyeye:
i installed this module kowalski-kernel-009-psp-module from his downloaded folder

and btw, u are on official and i am on unofficial new boot loader rom... so, maybe there is trick...
[LG Optimus 2x] zchuxz3x:
I'm installed "kowalski-kernel-009p1-oldbl.zip" on Temasek v3, no wipe dalvik neither cache (i forget xD) and all working normal... Wifi and Camera looks normal :victory:

EDIT: Screenshot
[LG Optimus 2x] andreilica:
I am using 103. I've made two profiles in CPU Adjuster: default profile and screen off profile( max 600mhz). When I woke up this morning I was asking my self why the phone is soooo laggy. When I had a look in CPU Adjuster the screen off profile was still active and the CPU would ramp just to 600 mhz. Any ideas why the default profile didn't activate automatically? And yes, that box from it was ticked.
[LG Optimus 2x] majoortje:
Re: [KERNEL][CM10/CM10.1][100p2 - 2013/02/16] Kowalski Kernel - Now With Nightlies !

Use performance control

Other apps cant handel tegra
[LG Optimus 2x] andreilica:
CPU Adjuster is optimized for Kowalski Kernel :) .
[LG Optimus 2x] _kankea:
Did you make the CPU Adjuster profiles before installing 103 kernel?

If that is the case, maybe you should try to wipe CP Adjuster data and re-create the profiles.
[LG Optimus 2x] andreilica:
Anyway I installed the new PA 07 build and I am using 100p2 . I had no problems since then. :) .
[LG Optimus 2x] optimusG:
Re: [KERNEL][CM10/CM10.1][100p2 - 2013/02/16] Kowalski Kernel - Now With Nightlies !

Seems like my phone doesn't want the new kernel (100p2) at all. During the night it never woke up from deep sleep twice and I had to pull out the battery. Reverted back to the tested 100p1 because these days I want a stable phone. Unfortunately I am unable to provide log because I don't have the time to reproduce the problem so I GTFO :p . Good luck with the further development. :)

Sent from LG Optimus 2X
[LG Optimus 2x] rajdoll:
OP is suggesting that Fast charge bug on old bootloader has been fixed but seems like not for me. I'm on PA 4 with Pengus77 100p1 on old bootloader. I did notice that phone getting charged a bit faster but no where comparable when I start charging in the switched-off state. Just to give a perspective, in switched-off state, almost 90-100 seconds charge 1% whereas if start charging once the phone is on then it takes about 180-200 second for every 1%. So it is still almost double the amount of time. Can anyone else confirm the same behavior?
[LG Optimus 2x] Rayman96:
Odp: [KERNEL][CM10/CM10.1][100p2 - 2013/02/16] Kowalski Kernel - Now With Nightlies !

Proper fix came in 100p2 I think.

Sent from LG 2X using Tapatalk 3 Beta
[LG Optimus 2x] CVonV:
i find that my phone doesn't enter deep sleep state if i'm connected to a charger (even though i have stay awake disabled in options).. it does however go to deep sleep using battery.. this is on 100p2 old bl and 101 (korean p990, temasek #26).

i find that the charge is also not that quick on old bl either
[LG Optimus 2x] rajdoll:
100p2 had fixes for MIC and USB freeze I guess. So much is happening in this and PA thread in last few days that difficult to track what came in what version :) . tonyP and Pengus77 had great intentions to release only the stable versions, but in the process we have learned that even if the software is same, but even minor variations in Hardware can cause issues and it is not at all reliable to trust the testing of small group of people when we are releasing for global audience. I really appreciate their idea of separating release candidates and exp. builds, which at least gives one group of people an option of stability than being on the cutting edge. But I salute your effort to keep looking for best possible way out keeping in mind the good of all groups of users.
[LG Optimus 2x] calav3ra_de:
Nooo, cheeseburglers!

Tell at least which kernel/rom/bootloader you are using... o0
[LG Optimus 2x] Kyrandialegend:
R: [KERNEL][CM10/CM10.1][100p2 - 2013/02/16] Kowalski Kernel - Now With Nightlies !

It's the same for me too.

With latest hightly i had no wake up after a call. Pengus' ROM, korean p990. No log i'm not home.
[LG Optimus 2x] gagan97:
Re: [KERNEL][CM10/CM10.1][100p2 - 2013/02/16] Kowalski Kernel - Now With Nightlies !

A thing about cpu why is it either on 1000 or 216 pr deep sleep only, seems like hardly any other state is used not good for battery I guess, plz share your views on this behavior

Sent from my LG-P990
[LG Optimus 2x] FatherJony:
You are probably using a pulse boost enabled governor (interactive, ondemand). Set your governor to dyninteractive if you don't like this behavior.
[LG Optimus 2x] gagan97:
Re: [KERNEL][CM10/CM10.1][100p2 - 2013/02/16] Kowalski Kernel - Now With Nightlies !

I have kept it to dyninteractive only :(

Sent from my LG-P990
[LG Optimus 2x] calav3ra_de:
This sounds fishy. I don't believe that it has to do with battery usage at all. But i have the same values (interactive governer). Pengus may be able to essplain this :silly:

Pengus, question: since all my cpu states up to 608 MHz can run at 750 mV, i can set my min cpu state to 608 MHz without wasting battery, right? Fascinating, this phone. :fingers-crossed:
[LG Optimus 2x] pengus77:
Re: [KERNEL][CM10/CM10.1][100p2 - 2013/02/16] Kowalski Kernel - Now With Nightlies !

Guys seriously? Asking in a developer thread why a phone doesn't enter deep sleep when on usb? I leave you with a nice image of your phone exploding because the charger code sleeps... All android phones hold a wake lock when on charger...
[LG Optimus 2x] Evil_enc:
AW: [KERNEL][CM10/CM10.1][100p2 - 2013/02/16] Kowalski Kernel - Now With Nightlies !

Kernel 100p2 works great with latest cm version (20130216 with 4.2.2). Many many thanks!
[LG Optimus 2x] imayoda81:
bms on battery still should manage to stop overcharging, but yeah the image is quite correct if last stand protection fails :D

btw, any news from the trickster guys ?

kind regards
[LG Optimus 2x] FatherJony:
I thought that the newer Kowalski versions have the cpu settings linked, so trickster should work just fine as it is.
[LG Optimus 2x] CVonV:
well i'm pretty sure that i was able to enter deep sleep on AC charger (when i was doing some testing) :confused: or maybe i am confusing myself...
[LG Optimus 2x] BS86:
my phone stays on 216MHz while charging and display off, and i never had anything else - like already mentioned, charging a battery needs adjustments in the internal charger voltage, thus preventing deep sleep
[LG Optimus 2x] pengus77:
Nope, cores are unlinked and trickster will push a new release soon that supports the user cap properly, as present on all tegra devices :)

Yep exactly, it's like that on all android devices... the muic code has a nice big bold wake lock in place when usb is connected :)

Just answer yourself this: if the phone was in deep sleep when on usb, how could you access is via adb or ums/mtp ? :D
[LG Optimus 2x] dieghen89:
During the afternoon, 2 reboots. Don't know if they are kernel or newly installed PA (keeping data from your cm10) related. The battery skipped to 0 and the phone rebooted. I know cm has this behaviour sometimes, but 2 times in a short period make me think there's something other.

Last stable kernel, New BL.

Here the last_kmsg
[LG Optimus 2x] vkk178:
Re: [KERNEL][CM10/CM10.1][100p2 - 2013/02/16] Kowalski Kernel - Now With Nightlies !

I'm on old BL. Charging speed has improved significantly since the last 100 build .Its much faster.. But looks slightly slower than on GB..It could be becoz I'm on a 700ma replacement charger .

Brain waved from my O2x using XDA app
[LG Optimus 2x] imayoda81:
if the charger is limited to that current, it's limiting current demand.. should be at least 1000mA to be fine with AC charge
[LG Optimus 2x] pengus77:
Uhm kernel log shows nothing wrong or suspect, my bet is on a rom-related issue...
[LG Optimus 2x] BS86:
could you please check this log, had 2 "hot reboots" after flashing PA build 07, and don't know yet if it was kernel related or ROM-related - or data corruption
[LG Optimus 2x] jasjeev4:
Re: [KERNEL][CM10/CM10.1][100p2 - 2013/02/16] Kowalski Kernel - Now With Nightlies !

Can somebody please tell me what is the advantage of having the CPU min set to 608Mhz(which is the default) in place of 216Mhz?

Thanks! :)
[LG Optimus 2x] LarsPT:
Hi pengus!

I understand that you must be very busy coding all the goodies you want to see in this kernel... but I must ask, have you abandoned your ROM? The last update is from the seventh, 10 days ago... are we better off flashing some of the newer and more "maintained" ROMs like tonyp's PA or mivv's CM based 4.2.2 and flashing your kernel?

Also, I had this "drainage" overnight with only normal network (not even data enabled) and 2G networks (I think this is only for data anyway). I was in a different country though... so I don't know if this is normal but it doesn't look normal... I checked the CPU states and it was mostly deep sleep! I have to look into undervolting :)

Thanks!!
[LG Optimus 2x] tavoc:
Thanks pengus,

if I understand you right, your next release will maybe allow UV.

OC and UV will stay in the nightlies?

Btw: 100p2 works great
[LG Optimus 2x] jasjeev4:
Re: [KERNEL][CM10/CM10.1][100p2 - 2013/02/16] Kowalski Kernel - Now With Nightlies !

Also, can you please say if it is beneficial to have 'Force GPU rendering' enabled?
[LG Optimus 2x] Impact7:
Well let's say you use your bike and accelerate every 10s from 5km/h to 30km/h. It takes you a lot of energy to do so. So you could also ride with 15 and accelerate to 30. It can be better for you device, because if you don't use it, it uses deep sleep instead of the lowest chosen freq.

Or if you like cars: Your car mostly needs more gas in the city than on the country roads^^
[LG Optimus 2x] jasjeev4:
Re: [KERNEL][CM10/CM10.1][100p2 - 2013/02/16] Kowalski Kernel - Now With Nightlies !

You mean if min frequency is higher, chances of entering deep sleep are higher?
[LG Optimus 2x] pengus77:
Well, if you keep your min speed a bit higher and your phone can handle it with a little uv, your phone will wake for less time when in deep sleep to perform tasks. Going a bit faster requires less wake time :)

Probably i will add UV to the next release kernel. Experimentals will always keep both OC and UV.

It's on your taste actually. GPU rendering for 2d operations requires 0 or similar cpu cycles, so it could potentially lead to a bit smoother ui experience with a bit less battery usage.
[LG Optimus 2x] Impact7:
I know it's a stupid question, but as we don't have uv right now, is it necessary to have trickster and performance control? I'm more wondering if I really need both of them. Or does the kernel use some hidden functions with those apps, that I don't know? xD
[LG Optimus 2x] pengus77:
Well, if you use the exp kernel you have both uv and oc. Both kernels also have more features (fast charge, dynamic fsync, etc) that you can activate with those apps. In the future more stuff will be implemented that will be compatible with them, and we'll keep kowalski manager in line with the specific things for our phone while going towards compatibility for the features found also on other phones with trickster, cpu adjuster, etc :)
[LG Optimus 2x] pengus77:
Spoiler Alert

No comment :p
[LG Optimus 2x] zchuxz3x:
Holly sh...!... :silly::silly::silly::silly::silly:
[LG Optimus 2x] m1cr0man:
Re: [KERNEL][CM10/CM10.1][100p2 - 2013/02/16] Kowalski Kernel - Now With Nightlies !

Hm yeah I probs will then :) I won't be using UV either so it should be fine.

Below I've attached my 011-100p1 benchmarks from ROM toolbox. As far as I've tested, NOOP scheduler seems to be the fastest. I've attached ROM toolbox benchmarks for those interested.

Then again, my phone is the first thing I've ever overclocked, so I'm pretty noob :p

PS sry for l8 reply, I check here every 24hrs.

Edit...

ERMERGHERD :D I'm going to make some college friends with tegra 4s scared of my phone tomorrow!
[LG Optimus 2x] franky_z:
if this goes on our phone can soon be used as a flux capacitor. only thing i further need is a delorean..:D

thank you, pengus!!!:good: