yashsingh1/xdaforums huggingface dataset:
[LG Optimus 2x] pengus77:
The pings/packets when the screen is off are heavily delayed by design. This happens because the driver queries the router for the maximum amount of time it can stop checking the beacons to avoid disconnection. At the moment it defaults to 600ms if it doesn't get any response from the ap. Not all routers support this message, so apparently the default is too high. I'll drop it a bit in the next kernel and we'll see if this fixes the disconnections. Of course this will bring a slightly higher wifi drain in standby, compared to who owns a compatible ap.

Sent from my Galaxy Nexus
[LG Optimus 2x] marcof93:
Not immediatly, after some seconds (probably when the lockscreen is activated, I have 5 seconds of delay time)

Unfortunately I don't have some experiences with dmesg, if there is a guide for what I have to do I can use it.
[LG Optimus 2x] BS86:
just install the app "syslog", and after some of the problematic behaviours, take logs with that app and post them here (the zip-file that you have in /sdcard/syslog/folder with date of the log)
[LG Optimus 2x] marcof93:
I can tell you for sure that it goes off..here in Italy I use "Fastweb" for home internet (useless maybe for you) and it take some seconds to receive an IP address from the router..so when I wake up my phone I can see that there is no wifi icon in the status bar and it tries to reconnect..of course I tried also with other devices (Galaxy S3, Huawei Y300 and LG P710) and I don't have this problem.

---------- Post added at 03:13 PM ---------- Previous post was at 02:58 PM ----------

Ok perfect, it's easy, of course now my phone is not giving the problem -.-". I'll keep you updated!
[LG Optimus 2x] droide_volante:
The lags disappear totally? :D

Inviato dal mio LG-P990 utilizzando Tapatalk
[LG Optimus 2x] imayoda81:
experiment with those two first values... it's somewhat subjective depending on your apps and usage.. i feel better with them :)
[LG Optimus 2x] echo_21:
Is this a new feature of the new wifi driver with respect to that in KK 2.6 M1? Otherwise I would say: "make all settings (e.g. that 600ms time value) in KK 3.1 as identical to that in KK2.6 M1 as possible".
[LG Optimus 2x] mrQQ:
is this a known issue? any workaround?
[LG Optimus 2x] pengus77:
Yes, the dynamic dtim skipping is a new feature introduced in the nexus 5 that I cherry picked and adapted to our kernel. N5 uses a 3.4 kernel which has a different driver. I'll do something better though: I'll add a sysfs interface to override the auto value and experiment with the dtim skip ;)

Sent from my Galaxy Nexus
[LG Optimus 2x] tavoc:
Hi pengus,

maybe we could add a list of compatible routers.

e.g. I own a FritzBox7490 and everything works as expected.

Great Batterytime with your KK127 alpha28 and the latest CM from tonyp and not problems at all with this combination (I have in since 3 or 4 days).
[LG Optimus 2x] stv0309:
Hi pengus,

Originially I was thinking msgs delay on latest build was caused by greenify experimental features (donation version of greenify) but yesterday after I uninstalled and tested last night it was still the same; msgs delay and seems that in deepsleep the phone uses data modem instead of Wifi (even Wifi setting in advanced was set to always on).

Question that 600ms is that beacon interval or DTIM interval? I am trying to adjust my router with dd-wrt firmware beacon interval to 600ms (default was 100ms) and I read from http://en.wikipedia.org/wiki/Delivery_traffic_indication_message that DTIM median (for throughput and battery saving device) best to set at 4. Thanks.
[LG Optimus 2x] klappstuhl218:
[MENTION=5077573]BS86[/MENTION]

You mentioned in this thread that you were affected by the wifi problems, too. Have you found a solution?

I was not able to find a version of OpenWRT that works with my phone, even if all other devices work without an issue. While other users in this thread reported that 12.09 is working good for them, for me it gives the same problems.

I can't ping the phone as soon as the screen goes off. Sometimes wifi loses connection and reconnects only after the screen goes on, sometimes it crashes completely and I have to reboot. Push messages are heavily delayed and every 10 minutes I see "OpenWrt daemon.info hostapd: wlan0: STA phones:mac:adress IEEE 802.11: deauthenticated due to local deauth request" in the routers system log. I believe this has to do with WPA handshake every 10 minutes because for all other devices it reads "group key handshake completed", but I'm a total noob when it comes to questions like this.

I wasn't able to investigate further because I need a phone with working wifi at the moment an so I'm back to "Look Ma". But if logs are needed, I can deliver them at the weekend.
[LG Optimus 2x] BS86:
i was not able to solve it, i bought a cheap access-point, that lets me dissable the GroupKeyre-keying request (or "group key handshake") - but avm support confirmed that it is that request that the phone does not answer.

pengus knows about that, avm support is also trying to find a solution - it is not only an issue on my 7360, but also on a 7320 (one generation older then the 7360)

that the phone does not seem to respond to ping requests is a deep sleep - feature to save power, once the phone wakes up the requests are finished - but most ping-requests are timed out until that is the case - notifications just are delayed until then, they do not time out
[LG Optimus 2x] klappstuhl218:
Okay, sadly this is no option for me at the moment because I need some of the OpenWRT features. I even tried an old Buffalo router but it showed the same problems. :(

I see! So this is what pengus described in post #8207. Good to know. Maybe the wpa handshake process is affected by this, too? Just an idea. :D
[LG Optimus 2x] pengus77:
Huge ooooopsss

Guys I found out why for some of you the wifi connection drops... and it's my derp. Hit me with a stick if you want :D

I set PM_MAX as default power saving mode and totally forgot about it. Well, at least now I know that my AP supports it. Anyway, next kernel will have this fixed for good. I added a switch for Trickster to change between PM_MAX and PM_FAST in sleep mode. This time I made it compatible with other apps, instead of locking it for kowalski manager only. Sit tight and wait a bit, alpha 30 will be in the wild soon ;)
[LG Optimus 2x] Ryukenden:
that [MENTION=3783116]pengus77[/MENTION] guy :)
[LG Optimus 2x] 60nine:
:stickhit: :D
[LG Optimus 2x] massimiliano.peloso:
I know it has nothing to do ... but since you are all prepared technically ... someone can give me a solution if possible to this question? thank you very much http://xdaforums.com/showthread.php?p=49590410
[LG Optimus 2x] Ryukenden:
why would u ask that question here? you got your answer in your thread already...

so rude...
[LG Optimus 2x] Bafun:
The kernel configuration come back to stock when reboot (brightness led, wifi power, fast charge, etc) . Some guys had the same problem. Do you know Any solutions?

Thanks in advance

Enviado desde mi LG-P990 mediante Tapatalk
[LG Optimus 2x] DrummerMuppet:
Check the first 3 posts, you'll find it there.
[LG Optimus 2x] Ximo F. Verde:
Strangest bug appeared, probably not kernel related but here goes in case someone has encountered it: All animations/transitions have strangely disappeared! Im talking about portrait2landscape, opening an app (that transition comes from the side the icon was), closing an app etc. Have pulled battery, deleted cache/dalvik, nothing.. Any ideas??

EDIT: Got it. It was the window/animation transition and animator duration in developer options. For some reason they were off. Those things that change themselves in android...
[LG Optimus 2x] pengus77:
That's because the "std" disables all power saving for wifi and is intended only for users with bad/old/crappy routers that don't play well with recent standards. The default mode in the kernel is, imho, the right balance of power saving and speed/reception.

Anyway, soon i'll push a new set of modules with the lowered txpower and a little higher scan time, so they will hopefully fix the raised wifi drain introduced with the unification of the wireless driver for 10, 10.1 and ics.
[LG Optimus 2x] zchuxz3x:
Re: [KERNEL][CM10/CM10.1/ICS - OLD/NEW BL][010 - 2013/01/19] Kowalski Kernel

so, i need flash kernel without modules to get "normal" battery usage?

and thank you pengus! your kernel is really good, i Hope some day temasek and you work together in CM10.1 :) Have a nice day
[LG Optimus 2x] pengus77:
You actually get less battery usage with the default module shipped with the kernel than with the std module that, again, is intended only for people with incompatible routers. Please read op, it's all written there...

@alezardstar: yes read previous page lol soon i'll push a new module that contains both the 19dBm hardcoded txpower and the reduced scan time.
[LG Optimus 2x] tonyp:
Re: [KERNEL][CM10/CM10.1/ICS - OLD/NEW BL][010 - 2013/01/19] Kowalski Kernel

It will be pre-configured to 19 by default, yes. The upcoming Kowalski Manager will have a maximum value of 20.

19 does reduce the mV by 21% and should still be enough for 99,9% of the situations.

20dBm : 100mV

19dBm : 79mV
[LG Optimus 2x] zchuxz3x:
Flashed kernel without any "extra" modules and set TxPower on 19dBm.. waiting for the Kowalski Manager \o/
[LG Optimus 2x] silverkin:
Odp: [KERNEL][CM10/CM10.1/ICS - OLD/NEW BL][010 - 2013/01/19] Kowalski Kernel

When I changed kernel to older version I made it in this way :

Wiped cache and dalvik, then installed older kernel.

But I had installed a WiFi fix to newest kernel before.

I made it in right way? I'm asking, because I have now some problems with Internet WiFi speed.

tapatalked with LG P990
[LG Optimus 2x] Mike404:
Thanks I look forward for that evolution :)
[LG Optimus 2x] Baron1971:
Hello,

is it possible with this Kernel, to integrate the notification lights into Standard CM 10.1?
[LG Optimus 2x] pengus77:
The kernel includes of course my patches for the notification lights, it's 10.1 that doesn't include the support for them correctly. Sorry.

Temasek should be implementing them in his rom i think anyway from my github, so his 10.1 will support them.
[LG Optimus 2x] Baron1971:
Ah, ok. Thanks for your answer!
[LG Optimus 2x] rktdi:
Sv: [KERNEL][CM10/CM10.1/ICS - OLD/NEW BL][010 - 2013/01/19] Kowalski Kernel

Is it possible to have notification led, I am using latest cm10 from 0107, and your Kowalski kernel?
[LG Optimus 2x] pengus77:
What goes for official 10.1 goes also for official 10.
[LG Optimus 2x] x_justin:
Re: [KERNEL][CM10/CM10.1/ICS - OLD/NEW BL][010 - 2013/01/19] Kowalski Kernel

Hiihaaa even with 11dBm fair wifi performance! Tested only in my home, but I have about 25 routers near by, living in an aparment. I am about 12 meters and 3 concrete walls away from a cheap linksys wireless N router and we share it with 8 people. Just had 12mbits down, 18ms ping, just luck I guess. Now Ive got 5mbit down and 20ms ping all the time @11dBm. @32dBm getting the same ping but 6 to 10mbits down. Quiet faster but when I enter the living room, there is hardly any difference!

Verstuurd van mijn LG-P990 met Tapatalk
[LG Optimus 2x] zerocoolriddler:
Re: [KERNEL][CM10/CM10.1/ICS - OLD/NEW BL][010 - 2013/01/19] Kowalski Kernel

I am down to 5dBm and still got superb Reception everywhere at Home.
[LG Optimus 2x] pengus77:
Hehehehe and your phone drains less i guess, am i right ? :)
[LG Optimus 2x] pengus77:
Need Info

How's 5% charge in less than 10 minutes on usb ? Fast enough ? :silly:

(wifi on, screen on most of the time)
[LG Optimus 2x] andreilica:
For me it's awesome! :D . I think it's enough( for me) . Thank you for everything Pengus! :D
[LG Optimus 2x] kaioder:
I am testing 19dBm and works fine. Less harmful, and less battery consumption? All is good!
[LG Optimus 2x] massimiliano.peloso:
I apologize
[LG Optimus 2x] BS86:
just wait ;) it takes a bit (30sec - 2 minute, depending on your apps) for the boot to complete, then they are set to your value ;)
[LG Optimus 2x] sudden36:
[MENTION=3783116]pengus77[/MENTION]

What about setting the led brightness to some low value in the kowalski init script to reduce (or even avoid) the blinding flash when the phone starts.

Then when kowalski manager starts it could set the leds to the user configured value.

Gesendet von meinem LG-P990 mit Tapatalk 2
[LG Optimus 2x] torstenconrad:
Pengus, quick but important question. Is there an app/way to keep certain apps partially awake during sleep? Im thinking of alarm app because my alarm never hits when phone is in deep sleep with your kernel, not even on ICS.
[LG Optimus 2x] andreilica:
Use Timely . It works like a charm on my side. : )
[LG Optimus 2x] antec123:
wifi cannot turn on after i woke up this morning, this is the log cat of the wifi problem. is this issue will be fixed on upcoming alpha kernel?
[LG Optimus 2x] pengus77:
I'm aware of the bug and I'm trying to understand if it's the firmware we're using, or the driver itself. In any case I need some time to dig into it. These days I'll be pretty busy with work and life, so don't expect a fix this week.

Sent from my Galaxy Nexus
[LG Optimus 2x] torstenconrad:
Thats a nice app but I tried it already and like 2 other app. The phone just sleeps too much like a baby and prevents alarm to go off :(

Trying to find a way to keep alarm app awake, any help is much appreciated
[LG Optimus 2x] oneearleft:
This is a shot in the dark.

On other ROM/kernel I have had problems with push notifications not arriving during sleep. Back then push notification fixer helped me. Maybe, a side effect of this app waking your device from deep sleep, is that other processes will run as expected and your alarm is triggered? You could try it https://play.google.com/store/apps/details?id=com.andqlimax.pushfixer
[LG Optimus 2x] :
I've had this "bug" on my nexus 4 for a long time (also using SuperSU) do tell me if you find a fix for it. :)
[LG Optimus 2x] echo_21:
Edit: oh, I missed that we are in KKernel thread. I tested the procedure as described below under CM11 2013/12/26.

The following convenient method worked fine for me (please don't complain that it could go much easier; of cause it can, but I like this workflow too):

1. Start Play Store and search for SuperSU app. Install it.

2. It'll find out that the superuser binary of your system has to be updated. SuperSU app will ask you, if you want to do this with CWR or TWRP recovery.

3. answer yes

4. System will conveniently reboot into recovery, update the su binary and reboot into CM11 automatically

5. Finally uninstall SuperSU app. Yes, uninstall it! (otherwise there seem to be conflicts between the 2 su's)

Your SU configuration will still be available under Settings| # Superuser. No need for SuperSU app.
[LG Optimus 2x] rzlatic:
two questions.

back in exp days before the M1 release, there were general recommendation from pengus not to charge while the phone is off. is that recommendation still valid?

after every new kernel flash, is it necessary to again re-run a few complete-charge/discharge cycles in order for battery driver to learn whatever it have to learn?
[LG Optimus 2x] natalya:
Nice going with 3.1 just came by after long inactivity, this looks very good, very good job everyone! pengus, hjunni, tonyp and everyone!

Keep going strong :)
[LG Optimus 2x] pengus77:
Yes to "please avoid charging when powered off if possible". No to "need to recalibrate at each flash" ;)
[LG Optimus 2x] torstenconrad:
Installed the app, but how will this help with alarm?

I found out when phone is plugged in charger, alarm works fine, but when charger is not plugged, alarm wont work.*

Its like I said, phone just wont wake to let the alarm go off. So I am looking for some way to keep alarm app awake during sleep.... Anyone?
[LG Optimus 2x] xperia u20i:
I want to my phone wakes when press volume rocker, i installed xposed and gravity box and in gravity box settings under navigation keys action select volume rocker wake enabled, but i can't wake phone with volume keys? did i miss some major things or what? sorry if that was already asked and answered but i could not find nothing to help me...is unsupported or is something else?

alpha 28

cm11 build 12/26
[LG Optimus 2x] DrummerMuppet:
I believe this feature still may require kernel support. None the less, you should ask about this on the Gravity Box thread to be sure.
[LG Optimus 2x] sudden36:
This needs kernel support, because not every key is configured to create a wakeup interrupt. So when the phone is not in deepsleep it may work, but when it is in deepsleep it will definitely not work.

You can try it when the phone is on the charger, it will probably work then, but this isn't very usefull then ;)

Gesendet von meinem LG-P990 mit Tapatalk 2
[LG Optimus 2x] MHP2013:
It's exactly the same like in PA... There it is baked into the system as a native cm feature. But it's not working, though, so I assume, KK doesn't support it?
[LG Optimus 2x] xperia u20i:
does not work,never...thanks for replay guys...bye
[LG Optimus 2x] Gonox:
I think a clean install of the rom and kernel might help since I dont have this problem

Sent from P990 CM 11 with Kowalski kernel 3.1 Alpha 28 - using tapatalk
[LG Optimus 2x] doctoralex:
I think also that xposed needs AOSP rom. CM is not 100% AOSP.
[LG Optimus 2x] marcof93:
As already said, the problem is the kernel (not problem with ROM installation or CM incompatibility)..it needs to be supported by the kernel, I need that feature too, my power button is dying :'(
[LG Optimus 2x] sev3n1985:
in Cm 10.2 and other devices with CM11 it's working, see the official post

http://xdaforums.com/showthread.php?t=1574401

Isn't compatible only with ART
[LG Optimus 2x] Miwer:
Hi I just want to contribute with a "me too" with some hopefully useful info:

Using app: Alarm Clock Xtreme Free

I also cannot trust my alarm to wake the phone and trigger, when it's unplugged from charger. No problem when it's plugged, so I suspect it to be a "wake from deep sleep" issue.

When unplugged, and the time has passed alarm time, I turn on the screen and I notice on the lock screen that the time has not updated at all. Momentarily it shows the time, that I turned off the screen. Half a second later (or so) it updates the time to the current time, and the alarm triggers immediately (before I even unlock it).

Update: Well, I just learned, that the "time skip" in the lock screen also happens when it's plugged in so there's probably no relation to the real issue.

I have not upgraded in a long time, so versions in my signature is still valid.
[LG Optimus 2x] doctoralex:
Yes, my mistake... gravity box is not for CM roms
[LG Optimus 2x] sev3n1985:
I can confirm, Gravity Box doesn't work with CM, only AOSP

http://xdaforums.com/showthread.php?t=2554049
[LG Optimus 2x] gerniracing:
Hi,

I had installed the Alpha 28 for several days but I had to go back to 26.

With the 28 I have had a lot lag, automatic brightness was not going well.

It's been back to 26 and all very well, someone else has had problems?

ROM: theROM Build 27

Thanks
[LG Optimus 2x] torstenconrad:
Thanks for the reply, what you just explained is the exact same issue I have had for sooo long now.

Please please please, if anyone has any solution to getting a proper alarm on our phone, please share. Any apps you use, even paid ones, please share their name :)
[LG Optimus 2x] BS86:
i use timely since tonyp recommended it months ago, and never had a failing alarm with it ...
[LG Optimus 2x] torstenconrad:
Yea but I would like to hear from guys who had issues with alarm and got it fixed :)

Tried Timely few times already, same issue..
[LG Optimus 2x] mind_challenge:
Tried some of it's functions (transparent notification bar, rambar in recents screen, and couple of others).

It worked just fine.
[LG Optimus 2x] BlueRazor:
Can't say about auto brightness cause I never use it, but in TheROM 27 I've experienced lot of lags and some BSOD since Alpha 20. I can't say if alpha 26 was faster than 28 cause lags were in both. Looks like the missing of ramhack in these alfa makes TheROM 27 not very usable. After trying Alpha 28 I gave up and upgraded to tonyp's CM11, that handles RAM way better than TheROM with 3.1 kernel.
[LG Optimus 2x] calatemaze:
I use gravity box with CM11. It does work. I just try not to mess with features that exist on the CM11 ROM.
[LG Optimus 2x] oneearleft:
I don't know, but what I guess is that pnf using heartbeat time wakes up your phone from time to time and that if this time coincides with alarm wake up time, the alarm might ring - similar to here where changing heartbeat time influenced ping result: http://xdaforums.com/showpost.php?p=49660571&postcount=8236 You could experiment with that, but I do not know if it will work. If you try it and report back more people could benefit from it, but if possible it is a (kind of ugly) workaround...
[LG Optimus 2x] torstenconrad:
OMG

This is so lame!

[MENTION=223660]Miwer[/MENTION] you had same issue as me. I bet if you enter the CM alarm app that you will see the profile in the app selected is "None".

Change it to the one called "Default".

After like a year without using this phone as alarm, that was all it took! I just tested it by setting alarm to hit after 16 mins and it worked! First time!! Its like a new phone now :D

Just clear data of alarm app and then set the profile, all works now for me!! Finally can use alarm now! So happy!!!! :cool: :victory: :good:
[LG Optimus 2x] imayoda81:
don't confirm, it works just good

almost everything works good, just some transparency goodies are behaving bad :)

quote +1 :)
[LG Optimus 2x] MisjudgedTwat:
hey pengus, i am currently trying to get wifi tethering to work, but then i saw that CONFIG_HOSTAP is currently disabled in kowalski due to the bcmdhd upgrade...

is it correct that tethering depends on this, and so i cant get it to work currently?
[LG Optimus 2x] torstenconrad:
I have a question too :)

I looked over a new logcat of mine and I found this:

01-24 13:44:05.190 100 100 W dalvikvm: PR_SET_NO_NEW_PRIVS failed. Is your kernel compiled correctly?: Invalid argument

01-24 13:44:05.740 100 100 I SamplingProfilerIntegration: Profiling disabled.

I flashed your M1 with RH after flashing the ROM (see signature for details).

Any idea what that means?

Edit: Might have something to do with this: https://git.kernel.org/cgit/linux/k.../?id=7102b0e278af50d27b5d61d1be5faaba1b0a091e

Edit2: Pengus reached a new milestone, 22222 thanks haha :D
[LG Optimus 2x] PinoDG:
xdafileserver closed

hi Pengus77

xdafileserver was closed forever.

You can move your great work on the other server?

especially old kernel 2.6.39.4

thanks
[LG Optimus 2x] rzlatic:
some more logs taken right after auto-brightness bug appeared.

using last alphas of both kernel and cm11 rom, trickster set to interactive, deadline, max screen off 608, dfsync on...
[LG Optimus 2x] pengus77:
KK M1 (all variants) have been moved to dev-host.
[LG Optimus 2x] torstenconrad:
:good:

Could be an idea to edit your download link in your signature since thats broken ;)
[LG Optimus 2x] pengus77:
Fixed ;)
[LG Optimus 2x] antec123:
hiya peng, finally i can get the last kmsg log. i got sod again today. i hope this log can satisfy.

my configuration:

cm 11 (20131226)

kk alpha 28

1000mhz screen on, 456mhz screen off, dynamic fsync off

dyninteractive, and deadline i/o scheduler

zram 18%
[LG Optimus 2x] sudden36:
[MENTION=4149535]antec123[/MENTION]

Your problem looks like the tegra video driver crashed badly, maybe this is caused by incompatibities of the tegra blobs with kitkat. I doubt this error is easily fixable :(
[LG Optimus 2x] MisjudgedTwat:
no answer huh? so i guess my question was too stupid.. fine.
[LG Optimus 2x] torstenconrad:
I think he just waits with answering until he has looked into it and is sure what is causing trouble with wifi tethering. He already said hes very busy this week ;)
[LG Optimus 2x] xperia u20i:
Just right now i was unable to unlock device just black screen, last apk that i run was tinyflashligt from market. I take kernel log after quick remove and insert battery...when i make last kmsg log it said that no such log or similar, so i take kernel log maybe could be useful...if not, sorry :rolleyes: