yashsingh1/xdaforums huggingface dataset:
[LG Optimus 2x] proyatzu:
Not that ecceptional since you didnt use the phone, without data and without wifi
[LG Optimus 2x] Schabadaba:
Yes.. thats my standby drain
[LG Optimus 2x] revee1:
Ok, but what is your drain during normal operation?
[LG Optimus 2x] rzlatic:
forums, not just xda, are flooded lately with drains involving "android os" awaken for a solid few hours, causing really extreme drain. my phone was plagued a few times with nothing especially suspicious in BBS and cured with no particular greenifying, app freezing, sync killing or similar workarounds (but the workarounds out there really are diverse: for example killing all stored wifi connections helped me in one occasion although i wouldn't list that as a general help).

it's app related for sure; there are doubts related to google play services and it seems it plagues devices running kitkat roms, especially latest android builds :rolleyes:
[LG Optimus 2x] pengus77:
Thanks for the search and clarification. I took a look in the PM code of the kernel and really couldn't find anything suspicious.

I must admit that yesterday I've had the same "no-deep-sleep" problem with the PowerManagementService keeping the phone awake all the time. Hope that Google fixes this asap, seems to be a pretty huge bug in their CLOSED SOURCE codebase...

Just for a test, I'll remove all the gapps I have in the phone and see if the problem comes back.
[LG Optimus 2x] Hejkompas:
Used to have no problem doing a day on a battery with wifi on and about 2 hours of usage. Glad I´m not the only one with the huge drain the last couple of days..
[LG Optimus 2x] azharshaikh7866:
O2x hits gsmarena news today....

http://www.gsmarena.com/headline_stuff_week_6_stroll_down_memory_lane-news-7764.php
[LG Optimus 2x] CalculatedRisk:
Thank you very much! For anyone looking for Alsa mixer, the app AlsaMixer on playstore is perfect. Thanks again.
[LG Optimus 2x] @ltaf:
Even few days I posted couple of screenshots from BBS, but no one really replied saying they are having same problem so I thought I was alone ..by the way is those screenshots I posted is of any help?
[LG Optimus 2x] BlueRazor:
This morning got another WIFI crash. Needed to reboot. Hope these logs are helpful to solve this problem.
[LG Optimus 2x] rzlatic:
ok sorry for misthreading (is that right word for missing appropriate thread? :D) but i know the matter here will be seen by pengus and perhaps by tonyp, apart from all fellow bug/catlog/wakelock busters ;)

after some time of solid behaviour the phone did not sleep today, again. at least for past seven hours thanks to "android os" which was awake all the time. happens totally random. did two calls and that's about that for today, even screen usage is none comparing to my usual usage. however, drain was pretty huge - attaching logs. (i'm not expecting the solution this is more for consideration, but... sync manager/SYNC_ALARM (4th screenshot)?).
[LG Optimus 2x] BS86:
edit: stupid me overread the low count in front of the widget

when you look into settings --> accounts - do you see any sync errors for google or other services?
[LG Optimus 2x] rzlatic:
not. syncs same as always.

gmail is highest among the partial wakelocks with 5min of its time, all other are way lower than that.

last drain of this type was at least ten days ago with same settings all the time. silly :)
[LG Optimus 2x] kaspar737:
What do the No, Mid and Max Load Balance PM mean in Kowalski manager?
[LG Optimus 2x] pengus77:
0 - No power saving load balance (default value)

1 - Fill one thread/core/package first for long running threads

2 - Also bias task wakeups to semi-idle cpu package for power savings
[LG Optimus 2x] Jishnu Sur™:
Sorry for the OT, but Happy Birthday pengus77 :D
[LG Optimus 2x] pijas82:
+1 master Pengus77 :beer:
[LG Optimus 2x] bentcissé:
Happy Birthday master Pengus77! :beer: :D
[LG Optimus 2x] ensboarder:
HB penguin!
[LG Optimus 2x] Gonox:
There seems to be a problem with settings sound in Kowalski manager, the sound in headphones doesn't stick no matter what I set so I can't increase or decrease the sound. I'm using Kitkat, maybe it isn't compatible with Kitkat, can anybody confirm this ? bug?

Sent from P990 CM 11 with Kowalski kernel 3.1 Alpha 28 - using tapatalk
[LG Optimus 2x] ilooze:
I had it always with kk. But here is how I did it. Put your phone on silent and then increase the volume from kk manager and press home and there you go :D
[LG Optimus 2x] dr4go:
Happy birthday and thanks for the great work! Greetings fly out to the republic of Antarctica! ;)
[LG Optimus 2x] Gonox:
Tnx for sharing this workaround? before I also noticed that it worked for half a second but after the notification sound played it restored to default, I didn't know how to stop playing the notification sound so the silence mode did the trick. Well done!!!

Sent from P990 CM 11 with Kowalski kernel 3.1 Alpha 28 - using tapatalk
[LG Optimus 2x] dr4go:
[MENTION=3783116]pengus77[/MENTION]: This post could be interesting for you: http://xdaforums.com/showpost.php?p=50398868&postcount=223
[LG Optimus 2x] pengus77:
Already merged this a week ago. I'm trying to fix the wifi crashes and camera flipping. Once one of those bugs is gone, I'll push a new kernel.
[LG Optimus 2x] DJNoXD:
As always: Great work. :good:
[LG Optimus 2x] luckino69:
I don't know if this bug has already been reported or is not the fault of the kernel, in case I apologize, but if I put the airplane mode to restore the network I have to restart the phone.

I'm with the CM11 and the kernel of tonyp alpha 30.
[LG Optimus 2x] amarprat87:
Known CM bug. Not related to Kernel.

Press '2G/3G' button twice. Or like you are doing it, restart your phone.
[LG Optimus 2x] luckino69:
Thank you!
[LG Optimus 2x] marcof93:
You can also quickly turn on-off mobile data.
[LG Optimus 2x] da_anton:
audio interruptions

Hi Pengus,

first thanks for that great kernel! Really impressive what can be done! :good:

I use my phone a lot for internet radio and I experience a small bug while listening to that. Since the update to kenel 3.1.x I have interruptions while the music plays. Just a very short stop in the music stream. I already tried to switch of all power management tweaks in kowalski manager but that didn't really help. It never happened before 3.1.x. Any ideas or suggestions maybe?

By the way: the app I use mainly is sky.fm

Thanks!
[LG Optimus 2x] proyatzu:
If your running cm11 by tonyp, please be sure to be on the latest update, there was a bug of this kind on older builds
[LG Optimus 2x] dorwoo:
It happens sometimes.Is android's fault?
[LG Optimus 2x] mrQQ:
how do I collect logs?
[LG Optimus 2x] MarimoMusicHead:
http://xdaforums.com/showthread.php?t=2185929
[LG Optimus 2x] flat__line:
(most probably) stupid remark on camera ...

As it seems that some camera apps are more resilient to the bug and the bug 'disappears' after some usage of the camera, would not it be possible to perform some 'extended' initialization from within the driver (e.g. capturing a snapshot, etc ...)?
[LG Optimus 2x] mrjeff:
Would it be possible to compile for the old bootloader some time in the near future?

I know this is an old platform but some of us has malfunctioning USB and alas cant convert to the new bootloader. Would be great to be able to testdrive the new kernel with all the new bells and whistles.

Thanks so much for all the great work you do

mrjeff
[LG Optimus 2x] PekingDuck:
WiFi doesn't works

Hey guys, after installing the kowalski-kernel-M1-oldbl.zip on latest CM10.1 (cm-10.1-20140216-NIGHTLY-p990.zip) the wifi doesn't works.:(

In wifi settings are MAC adress and IP adress not available.

What can i do? Please help me.

An other question. Is the 3.1.10-kernel only for Kitkat?
[LG Optimus 2x] ivaneris:
Is the rom oldbl?afaik the rom usually contain the latest kernel stable..

Sent from my LG-P990
[LG Optimus 2x] x_justin:
Re: [KERNEL][CM10/CM10.1/ICS - OLD/NEW BL][010 - 2013/01/19] Kowalski Kernel

Drops at the speed of gravity! Just bought better battery stats but for now: android reported wifi usage was about 70% of battery when checking the settings (32dBm and your latest power safe wifi kernel) and since I changed it to 19dBm it dropped already to 49% of wifi using the battery in stead of 70%, but its still declining! For me 11dBm seems ok so far so I will report later about that value!

Btw someone was right here above, when sitting quite close to the router, browsing is really really fast with a lower dBm. Apparently it's better to match the txpower with the device it connects to then just use a ton of txpower. Unbeleivable! Hopefully no placebo.

Verstuurd van mijn LG-P990 met Tapatalk
[LG Optimus 2x] pengus77:
I think i can implement something like dynamic tx power... just a thought that popped in my mind now. Let me explain a bit and let's see if it's cool or not: You're roaming around and you're not connected to an ap, so you don't really need tx power and i can lower it to, say, 11dBm. Then you turn the screen on and you want to check if there's a network available, so i push it up to 19/20 dBm. Then you connect to an AP and i start checking the RSSI. If it's very high i start lowering the dBm until i start losing a bit of signal, so i push it one step up and stop there and keep monitoring it. So i can push it up/down to keep your signal steady when connected to an AP (of course remaining in safe power zones under 20dBm). What do you guys think ?
[LG Optimus 2x] maharu567:
Re: [KERNEL][CM10/CM10.1/ICS - OLD/NEW BL][010 - 2013/01/19] Kowalski Kernel

Finally, from to long i wait for such of a trick... thanks
[LG Optimus 2x] kingvortex:
Re: [KERNEL][CM10/CM10.1/ICS - OLD/NEW BL][010 - 2013/01/19] Kowalski Kernel

If this can be done, it sounds like a good, user friendly solution. I would like to be able to select dynamic or enter a value of my choosing if possible, though ;)
[LG Optimus 2x] pengus77:
Deal
[LG Optimus 2x] DrummerMuppet:
Re: [KERNEL][CM10/CM10.1/ICS - OLD/NEW BL][010 - 2013/01/19] Kowalski Kernel

I agree with kingvortex. Would be nice to be able to choose between "auto" mode or "manual" mode. I do like a lot your idea, though \o/
[LG Optimus 2x] BS86:
please set the lowest dBm in auto-mode to the lowest possible value ;) maximum saving ;)

and don't overdo the balancing. We don't want that finding the right balance costs more battery than the WiFi itself ;)

But the idea itself rocks hard!
[LG Optimus 2x] aigaming:
Definetelly wifi drain was lost with lowering it's dbm;)\

I dont see ANY drain in cm10 now on wifi;) Great job Pengus

20 is more then enough for most of the people

For led notifications i use https://play.google.com/store/apps/details?id=com.martinborjesson.o2xtouchlednotifications&hl=sr on cm10 and it works great!
[LG Optimus 2x] lucfig:
Re: [KERNEL][CM10/CM10.1/ICS - OLD/NEW BL][010 - 2013/01/19] Kowalski Kernel

As long as this monitoring uses less battery than leaving the dBm at a fixed value like 17.

But it seems to be a good idea.

Enviado de meu LG-P990 usando o Tapatalk 2
[LG Optimus 2x] pengus77:
Well monitoring means only setting a dBm value and checking for the RSSI, so it's what ? 2/3 cycles top. It won't drain anything at all :)
[LG Optimus 2x] tr@p:
We think we have some genius penguin at work... :good:

Sounds like a great idea. :fingers-crossed:
[LG Optimus 2x] ocr66:
Does it work for apps like FB, Whatsapp, G+ etc?, or just calls sms and so?

If it works for apps, how did you managed to make it work?

greetings
[LG Optimus 2x] buedi:
Yes it's possible. You can define for each app sep. a notification style. Try it yourself, the you'll how it works - it's easy. Keep in mind that this app is draining the battery a lot when you use leds fadin in an out etc.- i used it a long time for controlling my leds.
[LG Optimus 2x] swifer_lf:
you are really awesome, guy. nice developer, nice support.....fantastic job!
[LG Optimus 2x] tavoc:
Hi pengus,

I am really looking forward to your next iteration of your kernel with all the new Wifi thinks included. Awesome. After nearly 2 Years I am really happy with my phone, thanks to you ;)

Btw: which beer do you like ;)
[LG Optimus 2x] natalya:
Sv: [KERNEL][CM10/CM10.1/ICS - OLD/NEW BL][010 - 2013/01/19] Kowalski Kernel

A bit annoying it gets reset to 32 when turning wifi off.. Any idea to solve that in the near future? :)
[LG Optimus 2x] pengus77:
Re: [KERNEL][CM10/CM10.1/ICS - OLD/NEW BL][010 - 2013/01/19] Kowalski Kernel

I give up... Not even reading the last 3 pages anymore...
[LG Optimus 2x] tavoc:
If you would read the last few sites, then you will notice, that a restart delete this option. You have to set it every time or wait for a new kernel/driver...
[LG Optimus 2x] x_justin:
Re: [KERNEL][CM10/CM10.1/ICS - OLD/NEW BL][010 - 2013/01/19] Kowalski Kernel

No offence natalya but this is developers thread and this powertx issue is just mentioned yesterday! Do you think Pengus is doing nothing with it? Then you probably don't understand his dev qualities!

Verstuurd van mijn LG-P990 met Tapatalk
[LG Optimus 2x] sobaquete:
In my opinion, you should think about this very carefully, because this may not work as expected. Let's assume you begin with a low Tx power (e.g. 11 dBm) and no wifi connection. Then the phone performs a scan and finds an open or a known network, and tries to attach to it. You measure the received RSSI signal strength and select a value for the new Tx power (a value depending on the received strength? a fixed 19 dBm value?). The link is stablished and after a while, you decide to try a different Tx power value... but when do you do this? After a periodic lapse of time? After a new RSSI strength measurement? After a measurement of the received throughput? And when you try a new Tx power, what will you measure to check if the new value is better than the previous one?

What I try to state is that if the only information you have about the link quality is the received RSSI strength, then your idea is flawed. The received RSSI strength only depends on the router Tx power and on the radio propagation features (distance, obstacles, interference), but NOT on your device's own Tx power. So, you may be lowering your Tx power below good-quality threshold and not noticing a reduction in the RSSI strength.

I'm not saying that dynamic/adaptive Tx power is a bad idea (in fact, your device does it when 2G or 3G connected), but to implement it, you need some feedback from the router about the quality it preceives from your device (and AFAIK, wifi doesn't support this kind of feedback).

Just my two cents ;)
[LG Optimus 2x] PekingDuck:
Yes, it is oldBL. The CM kernel cause a high wifi drain. That is the reason why change the kernel.
[LG Optimus 2x] sudden36:
hi pengus,

I got two kernel reboots in a row and was able to get the last_kmsg of the second one. On the first reboot the phone was just laying around and I wasn't in the room. I then wanted to wake it up but nothing happened, so I pressed the power button a few times and the bootloader came on. It then started normally and i wanted to get the last_kmsg via lumberjack and got the second reboot :(. This time after booting everything was fine again.

I'm on tonyp's latest cm11 rom, but I don't know the version of your kernel I'm using, because you never changed the version number, or I'm to dumb to look at the right place.

The log says something about undefined instruction, pretty strange, I never saw something like this before :eek:
[LG Optimus 2x] BS86:
if you did not flash a kernel like tonyp told in his release posts, then you have an very old 3.1 kernel, update it to the newest one and check if it is still rebooting.

Hint: there is a build-date in the kernel info, so you do not really need a build number to identify the kernel. I think tony still packed an old alpha into the ROM, something around 15-20 which were build somewhen late december, early january - now we have 31 - There were a lot of fixes since then

EDIT: I took a look into your log: Mon Dec 30 18:12:13 CET 2013 - so please do like tony told:
[LG Optimus 2x] ivaneris:
Did you convert from newbl?i haven't test that rom but afaik dev just build newbl rom in cm based recently...and the recent rom made to support new kernel that has different wifi driver

Sent from my LG-P990
[LG Optimus 2x] BlueRazor:
WiFi crash

I've got 2 wifi crashes in last 2 days. Here are my latest logs, if this can help.

I'm in latest tonyp's CM11 and Kowalski kernel alpha 31
[LG Optimus 2x] sudden36:
Oh, crap you're right, I forgot that a rom update overwrites the kernel *facepalm*
[LG Optimus 2x] xperia u20i:
does alpha 31 kernel support for example swap expander apk?
[LG Optimus 2x] ivaneris:
Just use lg swap...well swap expander should be works flawlessly...

i'm using 256mb lg swap anyway...(zram off)

Sent from my LG-P990
[LG Optimus 2x] xperia u20i:
how do you mean lg swap?how you set this?sorry for my ignorance :(
[LG Optimus 2x] ivaneris:
There's flashable zip to activate lg swap on cm...but i forgot the link...see pengus cm thread :)

Actually there's about ~450mb unused partition on newbootloader system,,,by default (ics stock) use it for swap (128mb) so no need to make swap partition/swap file on sdcard (wich is known to shortened sdcard lifespan) and it should faster too than external sdcard..

Sent from my LG-P990
[LG Optimus 2x] awais_2:
This is the link to the lg swap flash able zip:

http://xdaforums.com/attachment.php?attachmentid=1598225&d=1356707869
[LG Optimus 2x] vanko11595:
Is it possible to use this method:

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

instead of lg swap flash file? I think it is also using new bootloader partition to store swap file.
[LG Optimus 2x] ivaneris:
I guess it should works..the main idea is the same after all...no harm trying...:thumbup:

Sent from my LG-P990
[LG Optimus 2x] vanko11595:
With flashable zip from pengus77:

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

I have swappiness=60. Is this value better than 0? And where is the swap file location. Is it in the internal memory/sd or in external sd card?

Other method by Raum1807:

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

set swappiness to 0 and swap file location is /dev/block/mmcblk0p4.

After I flashed SwapEnabler.zip I checked swap file size and it was about 4 mb. Then checked location /dev/block/mmcblk0p4 and this file is always 0 bytes. So where is the swap file location with pengus77's SwapEnabler.zip?

edit: i opened /system/etc/init.d/80swap file and target partition is /dev/block/mmcblk0p4, but i still can't figure out why swappiness=0 doesn't stick for me after reboot.
[LG Optimus 2x] ivaneris:
4mb?really?strange...i have 256mb because before i have custom rom ics based,and set the partition to 256mb...so with cm after activate swap it has 256mb

Sent from my LG-P990
[LG Optimus 2x] BS86:
with the swap-enabler file from pengus i have 370MB swap-partition (not file!) (You sure you calculate the size correct from the kbytes that the terminal command "free" displays?)

swapiness 60 does not give me problems - read the text in the link you posted here - swapiness 0 just fills the RAM first and then uses the swap partition or file

swapiness 60 uses it earlier - which makes a little bit more sense in my eyes.

Edit: Regarding the swap partition size, another possible solution: Did you partition your phone with a custom partition layout, making the swap partition smaller?
[LG Optimus 2x] vanko11595:
You misunderstood me. I have total of 370mb swap, but used amount is about 4-5 mb.

Also I know what value of swappiness mean. I just try to figure out which value is better and how to change it on boot. :good:

And finally where is the location of swap partition - Internal memory/sd or external sd card?
[LG Optimus 2x] ivaneris:
Ohh..that's normal then...swappiness is percentage how to use swap...0 for as possible don't use swap except out of memory 100 use swap agressively..

I'm using 100 in cm11 because with 60 got lot of lag..

But of course swap not as fast as ram

Sent from my LG-P990
[LG Optimus 2x] vanko11595:
but if you use more swap (value 100) is it possible to harm you internal/external memory card?

edit: How do u change swappiness value? And if swap is on internal memory is it possible to harm it?
[LG Optimus 2x] rajdoll:
Just FYI, I had to bump up my voltages by 50mv compared to 2.6 M1 to avoid freezing, may be because it is still alpha

Sent from P990 XDA App
[LG Optimus 2x] antec123:
if you see the script, it use TARGET_PARTITION=/dev/block/mmcblk0p4 (new bootloader)

so it doesn't use either internal/external sdcard. what bootloader do you use? old or new?
[LG Optimus 2x] vanko11595:
I am with new bootloader and swap should be on any physical drive (internal memory, internal sd, external sd). May be you mean that it is on internal memory? But why mmcblk0p4 is 0 bytes?
[LG Optimus 2x] antec123:
you still don't get it. it use the partition /dev/block/mmcblk0p4. it use that partition instead your internal/external sd. not like in old bootloader. you should see details partition of new bootloader in here. please read.

http://xdaforums.com/showthread.php?t=2020737
[LG Optimus 2x] vanko11595:
I don't get it. Partition is a part from physical drive. So it must be part of internal or external memory.
[LG Optimus 2x] xperia u20i:
How to set to value to 60?:confused:
[LG Optimus 2x] antec123:
oh i know your meaning now. it's used the internal storage. we have 8GB partition right, and it's divided by /system /data /cache /recovery and /swap.

just change that line

sysctl -w vm.swappiness=60

me personal just use 0, i don't really like swap it's slow compared to zram.
[LG Optimus 2x] vanko11595:
Is it possible swap to harm internal memory?

I tried this command in terminal and it did change swappiness to 0 but after reboot it comes back to 60.

I use pengus77's script:

#!/system/bin/sh

TARGET_PARTITION=/dev/block/mmcblk0p4

swapon $TARGET_PARTITION

if [ "$?" -ne "0" ];

then

mkswap $TARGET_PARTITION

swapon $TARGET_PARTITION

fi;
[LG Optimus 2x] imayoda81:
It WILL harm your internal memory
[LG Optimus 2x] louiscypherbr:
Absolutely right, but the main question should be: will it harm the internal memory before the phone being completely obsolete? I don't think so. I'm almost sure my phone will not last until December. :-/

Enviado de meu LG-P990 usando o Tapatalk 2
[LG Optimus 2x] Peppe91:
A noob question: as default we have enabled zram or swapiness? I'm trying to understand because from build.prop zram=18 and swapping is set to 60.. If we don't enable swap partition, does the line swapiness=60 works or doesn't have any impact/effect?

Sorry but I wish to understand because I'm a little confused... I Googled but there are so many interpretation that makes learning a bit confused..

Inviato dal mio LG-P990
[LG Optimus 2x] cricetus:
If I am using dualboot can i do the swap?
[LG Optimus 2x] vanko11595:
Swap will harm only swap partition, which is not used except for swap. The phone itself will stay intact.

Anybody knows for how long swap could harm the internal memory?
[LG Optimus 2x] imayoda81:
memory flash controller is the same for all partitions, when one wears out, entire nand will go read only.. it happens in all ssds, it happened to me.

plus you'll deplete all spare blocks available to substitute the defective ones..

what for?? a 10MB/sec swap is completelly useless, and make your phone lag like hell. Zram (aka compcache) was the only way to go for android developers. LG did the swap partition trick because of programmed obsolescence and bad phone original engineering plans (pathological lack of ram).
[LG Optimus 2x] vanko11595:
The strange thing is that LG uses swap partition. Why they would implement something, which could harm internal memory of the phone?
[LG Optimus 2x] imayoda81:
http://en.wikipedia.org/wiki/Planned_obsolescence

smart guys, aren't they? :D