yashsingh1/xdaforums huggingface dataset:
[LG Optimus 2x] Andy HOT:
Re: [KERNEL][CM10/CM10.1/ICS - OLD/NEW BL][010 - 2013/01/19] Kowalski Kernel

The wifi drainage with std mode is very big;)
[LG Optimus 2x] orrebo:
Re: [KERNEL][CM10/CM10.1/ICS - OLD/NEW BL][010 - 2013/01/19] Kowalski Kernel

What should I flash to lower the 17dbm? Sorry for the noob question.

Sent from my LG-P990 using Temasek's CM10.1 ROM
[LG Optimus 2x] manueltts:
Made a clean install of rom+kernel a26. Problem solved. And battery info of Gsam is much better too. So I think many things have to be settled now. Maybe good to try for those with battery drain issues. As Pengus said, old clean install trick made the thing.

Of course, came here to share it and master Pengus77 have the surprise. So, another clean install to enjoy developement.

Thanks!

Manuel.
[LG Optimus 2x] FPSAUS4EVER:
So if we are having battery drain we should try a clean install? OR go back to Alpha 26?

Also how do i get that litte network monitor next the the wifi sysmbol?
[LG Optimus 2x] andreilica:
That option for me was enabled by default. Should I untick it ?
[LG Optimus 2x] massimiliano.peloso:
Hy guys, i installed alpa 28...

when i set leds to 2,

if i reboot system this value changed to 255 and the button's led disappeared...

sorry forma my english...

Inviato dal mio LG-P990 con Tapatalk 2
[LG Optimus 2x] echo_21:
Definition of and duty conditions for a full wipe

Let me take your question as an opportunity to document my best knowledge. Please don't claim that you know everything. I just want to have this post for later reference. Everybody, please correct me if I am wrong in the following.

A "clean install" AFAIK means to do a "full wipe" prior to flashing. To do a "full wipe" AFAIK means to wipe (delete and reformat) the \data partition too. All your apps are not installed anymore. All app settings are gone. Your previously customized home screen is reset to a default afterwards. Flashing a ROM of cause wipes the \system partition.

AFAIK there is no need to do a full wipe nor to wipe cache nor dalvik cache if you just flash a new kernel: see e.g. this post

BUT: if you upgrade from one ROM to another ROM (e.g. from CM10.2 to CM11) it is AFAIK mandatory to do a full wipe (delete and reformat \data\ partition. If you don't do so, it is on your own risk (e.g. getting high battery drain or any other issue that other users don't have). In this case, you are normally not allowed to report your issues!

Except otherwise specified, it is AFAIK normally not necessary do a full wipe when you upgrade from one ROM build to a successor (e.g. tonyp's CM10.2 build 20 to CM10.2 build 22). AFAIK it is not even necessary to wipe cache and dalvik cache, as this will be done by a skript in the ROM zip file.
[LG Optimus 2x] rzlatic:
not sure if we're cleared what's happening with wifi to some of us.

it's about wifi that's showed as constantly on while it's off.

so this is my yesterday's screenshot. check the wifi bar:

this is what wifi state was:

so i did a restart a leave phone for 30 minutes to see. check the wifi bar:

this is what BBS said about that:

and this is fresh screenshot after flashing alpha28. again, check the wifi bar:

logs attached.
[LG Optimus 2x] galazy.salvo:
Probably you have activated the option in SETTINGS - WIFI - ADVANCED - SCANNING ALWAYS AVAILABLE <------ switch off this! :cyclops:
[LG Optimus 2x] rzlatic:
it's off already :)

...but regarding to [MENTION=5399879]echo_21[/MENTION] post, perhaps wiping of data indeed could be the cure. perhaps the option setting isn't correctly applied? will try to wipe data, it's all fishy enough.
[LG Optimus 2x] aigaming:
Guys i think that there are different wifi modules in our phones...

Why do i think that you ask?

The thing is,with older kowalski kernel i never had wifi stable(not drain),whenever my phone went to sleep it just stop to comunicate via wiifi and when i unlock i can see wifi icon reconnecting...

I tried everything,fresh new rom's(cleared all,even system),tried erase cal data and problem always persisted;)

I know dozens of o2x users that never had that problem with kowalski and they claimed wifi was working perfectly.

Now with 3.1 things changed for "us with older kernel wifi problem" and wifi is working perfectly,no disconnect,no drain no nothing..

I can only assume that we have different hardware in our phones(confused) :confused:
[LG Optimus 2x] pengus77:
Uhm maybe a wipe could help in this case. I tried turning off wifi and leaving the phone in deep sleep for a while, and I clearly see the wifi bar showing no wireless connection. I have location off, scanning off, notification of open networks off. Apart that, the only logical explanation would be wpa supplicant, or the settings code, not reporting to the system that wifi is indeed off. From your battery graph I also don't see weird drain or spikes in consumption, so I guess it's more of a glitch than a real issue.

Sent from my Galaxy Nexus
[LG Optimus 2x] emilic:
Emmm silly question...

Does this new wifi driver supports EAP-SIM wifi connerctions or is that linked more to the ROM I choose to use?

Sent from my LG-P990
[LG Optimus 2x] pijas82:
hi

use alpha(stabel)28 is good,

was just saying that the radio worked with the Kernel that came home in CM11 Tony. I think that is the Alpha15.

but always used the 20, then 26 and now 28, gets better every update.

EDIT:

Now I noticed a problem.

I put the 2x to charge the battery, turn on the phone last 2 min.

and this percentage at 43%.

sorry for the english
[LG Optimus 2x] rzlatic:
agree. thats's why i avoided talk about drainage - from my first screenshot its visible that drain isn't so large despite wifi bar on the graph, so i also thought about wifi module actualy off but displayed as on by error. will try wiping the phone and report back.

otherwise kernel + tonyp cm11 combo work like butter. no lags whatsoever. smoother than Look Ma and more stable than tonyp's clean 10.2 except occasional camera issues.
[LG Optimus 2x] xperia u20i:
hi, i don't know how much this will be helpful but...about graph, i have two almost straight lines(first line then one drop,then second line),first one is from when i turn off mobile data and wi-fi and run memory optimizer to kill apps...and after tiny drop is when i turn on wi-fi..i think that in my case everything seems to be fine(except my poor battery)i my case when i shut down wi-fi,he stay off,not like in some cases when wi-fi stay on after turn off, if i understand good...by the wi-fi bar... just try to help :angel:
[LG Optimus 2x] pengus77:
Yep, exactly my case. Check the pics :)
[LG Optimus 2x] MHP2013:
I have an enormous drain, too. For example today morning, I had ~95%, and now, 7 hours later I have only 36%. I did nothing with my phone, only switched on the screen 3 times for checking the clock time. But no Wlan, no 3G (!), no music, no gps! I have tons of screenshots which are showing the drain, the one attached at this post is from today (but only the part after the short charging line is since today morning.)

Now another thing: BetterBatteryStats is not working for me on tony's cm11! It always shows an error message (screenshot attached to the post). So I installed WL Detector but it deosn't work as well (also attached).

I only get less than 3 hours of screen on time (see HERE, HERE and HERE for screenshots)

I did 3 full cycles to calibrate my battery after installing alpha26. And, of course, I did a fullwipe before installing cm11.

I don't know whats going on with my battery, it's not the best one anymore but this big drain is enormous.

Sorry for these many links to the screenshots but I don't wanted to spam the post (especially for Tapatalk users).
[LG Optimus 2x] BS86:
get the latest version of betterbatterystats or wakelock detector, they work on 4.4 again.

if that does not help, go to the settings of bbs, and install bbs as systemapp from within bbs. (only there if you have the latest version)
[LG Optimus 2x] owais40:
Update your BBS app to the latest version.

Edit: [MENTION=5077573]BS86[/MENTION] beat me to it :D
[LG Optimus 2x] DeeKay773:
Guys from what I have noticed... Almost all of you having this wifi bug i see mobile data ON (edge or 3g). I don't have it and I don't use mobile plan and all people showing that's fine don't use Mobile data. Correct me if there is some other case :)
[LG Optimus 2x] marcof93:
If you want working BBS on android 4.4 you have to install Xposed Framework and install "Enable BatteryStats Permission - Xposed Module".
[LG Optimus 2x] MHP2013:
Thanks! I updated and now it's working!

Gesendet von meinem Optimus 2x mit Tapatalk
[LG Optimus 2x] I.m.Tuga:
OK now that's fishy!!!

Went from CM11 with 3.1 Kk 26, changed to 10.2 M1 2.6 kernel with ramhack a day ago. Now battery is giving this usage.

Just used WiFi for 20 minutes thid morning...

Did full wipe before restoring back to 10.2
[LG Optimus 2x] wucinac:
Today, the wifi after maybe an hour of non-use phone, disconnected from the WiFi network. I turned off wifi and tried to turn on nothing happened, constantly says "wifi is turning on ...". This is my second time happened. I have CM11 and KK Alpha 28.

Syslog:

https://copy.com/C0hGXPiBqIrvZyl
[LG Optimus 2x] 60nine:
this also happens to me on Tonyp the rom v27 (it happened with alpha20 and several hours ago with alpha26 kernel) - [MENTION=3605868]tonyp[/MENTION] [MENTION=3783116]pengus77[/MENTION]

still didn't figure out why this happens (except it happens randomly)... but if i want to reconnect to wifi - i have to reboot my phone...

maybe the log helps (if i saved the correct one after booting up the phone)

btw battery life looks better now (i reinstalled both the rom and the kernel yesterday, didn't go with a full wipe though) - now it's less than 1% / hour overnight
[LG Optimus 2x] pijas82:
well feel a bug in GPS, in previous versions it did not happen. APP androitsGPS not appear to speed on what I will, sometimes shows speed, but not correct. at other times with 8 satellites fixed, says I do not have GPS, in last kernel i had 10sat fiz in 15 seconds. Sorry my food english
[LG Optimus 2x] pijas82:
Now with kernel alpha 20

sorry I'm not criticizing your work, you do a great job, this is constructive criticism. well, but I will continue with this kernel.
[LG Optimus 2x] rzlatic:
short update regarding wifi the-all-time-runner: wiping data & reflash did the job. who knows what caused it.

(for some other reasons i did a full wipe, system, data, cache and even internal sdcard format before trying CM11 after using CM10.2 before, so the initial rom flash was more than flashed on a clean environment. also i have routine of wiping cache, dalvik and fixing permissions before flashing new kernel builds (early tonyp's school), so only the master of the antarctica's underworld knows what the hell happened).

...now the post isn't so short as i wanted to be heh :D
[LG Optimus 2x] pijas82:
well going back al alpha 26, has happened to me twice now, to wake up the phone have to remove the battery.
[LG Optimus 2x] Gonox:
Guys is it a problem with cpua or with the kernel? The screen off profile doesn't activate, it stay active only on the screen on profile even when the screen is off. I just need some confirmations if somebody else is having this problem
[LG Optimus 2x] oneearleft:
I too have this suspicion just by looking at the battery dumps by people.

If you look closely at post from people with battery drain, the drain seems to be more related to screen usage than wifi on/off.

http://xdaforums.com/showpost.php?p=49419100&postcount=8032

http://xdaforums.com/showpost.php?p=49421987&postcount=8040

http://xdaforums.com/showpost.php?p=49424697&postcount=8042

http://xdaforums.com/showpost.php?p=49427578&postcount=8048

[MENTION=3783116]pengus77[/MENTION] Could it be related to code for support of new lcd?
[LG Optimus 2x] 60nine:
i just had a bsod - here is the log (taken after reboot, i hope it's ok)

the phone was laying down on the table, screen off... i tried to turn it on but no luck - i had to reinsert the battery to get it going again...
[LG Optimus 2x] Gonox:
I for instance don't have battery drain problems, I just wanted to point that cpua doesn't know when the screen is off to activate the screen off profile, I had my phone locked but cpua just used the screen on profile like it was blocked on the same profile or something
[LG Optimus 2x] flat__line:
I think that pengus mentioned something on this: I also had the feeling that profile activation by the various apps is kind of erratic...
[LG Optimus 2x] Peppe91:
From a while cpu adjuster doesn't set the profiles automatically but I just activate manually by my self just keeping on the profile.. I tried trickster mod and even last one doesn't set at boot automatically... But no matters for me.. It takes just few seconds for activate the profile manually...

Inviato dal mio LG-P990
[LG Optimus 2x] xperia u20i:
I'm 99% sure that drain could be related to screen...
[LG Optimus 2x] sev3n1985:
I can confirm an high battery drain from the display.
[LG Optimus 2x] xperia u20i:
Of 9 hours of using(unpluged from charger ) I have 1hour screen on and battery is on 9% :eek: My battery is poor but not that...cant be 100% sure that is about screen,need to do some tests but could be screen related...
[LG Optimus 2x] proyatzu:
Mhh.. Yes, i get an high battery drain with screen on with alpha26 and alpha 28.. BUT. With alpha 20, dont know why , the general drain is A LOT BETTER. Even with screen on the drain is much better. Its great. Also i dont see any kind of improvements regarding performance from alpha20 to other builds, performance still amazing like 26 and 28. But personally i choose 20 for battery life. For now i stick with alpha20 because i need to use a lot the phone during the day without charging it, and im able to do it just with alpha 20 :)
[LG Optimus 2x] manueltts:
+1 [including most of the (...)]
[LG Optimus 2x] Geordi2k9:
Will this kernel be compatible with older ROMs in future? I'm on ParanoidAndroid 2.6 right now.
[LG Optimus 2x] ivaneris:
Pengus said it...after a stable version

Sent from my LG-P990
[LG Optimus 2x] imayoda81:
alpha 28 is working good here.. camera upsidedowns seem to be gone too :)
[LG Optimus 2x] antec123:
hi m8, did you turn on dynamic fsync? on alpha 20, 26, i used to turn on dynamic fsync. it occurred 1 SOD, 1 hang when i play tapped out. both of them i need to remove the battery, and i cannot reach the last ksmg. with this alpha 28, i turn off dynamic fsync, and already 1 day still no bsod. i will report back after 2 days usage or more, if the bsod still occured when dynamic fsync off.

i'm on cm 11 tonyp btw
[LG Optimus 2x] 60nine:
yes, but i'm on tonyp the rom v27... didn't see that anyone had problem with fsync on on this (v27) rom so far...

nevertheless - i reinstalled everything from scratch (full wipe this time)
[LG Optimus 2x] antec123:
yes, it did happen on me on the rom v27, kernel alpha 20,26 too with dynamic fsync on. i just upgrade to cm 11 with kernel alpha 28 with dynamic fsync off.

i did full wipe, when installed tonyp the rom v27.
[LG Optimus 2x] kekks:
I am not sure why most of the people are not finding the kernel battery friendly with alpha 26&28. With 26 on standby it was a huge improvement, when the screen is on it drains the battery but after all our device is very old, I think thats the least pengus can do about battery drain while screen is on. Still need to do proper cycles for 28 before posting.

Edit: Build28 the automatic brightness seems to be resolved for me, the screen does not get bright while locking the device. On Tony cm11 currently.
[LG Optimus 2x] proyatzu:
I dont agree, because with alpha 20 the drain was waaay better for me. So its not just device fault, i think something went wrong after alpha20..
[LG Optimus 2x] BS86:
Guys, please read the changelog:

If you got SODs with dynfsync on 20 and 26, it might be fixed in 28, so please check.

Also, the flash at display off is fixed with 28 on purpose.

All the others, who claim that something went wrong after 20 regarding drain:

Logs and BetterBatteryStats-screens or it did not happen!

My drain is now also down to the 0,8%/hour that pengus and other testers have, without me changing anything and ALL syncs active. Just give the battery driver 3-5 complete discharges and charges in regular usage and let it be connected for 15-30 minutes even when it says it is full. DO NOT DO FORCED DISCHARGES WITH HEAVY USAGE!

Please also note that the first few charges might take longer as the driver is still learning, resulting in a felt "no change in displayed percentage" - just let it be, it will update the percent. My first charge took 3-3,5 hours without usage, now I am down to the 1,5-2 hours that I had on M1.
[LG Optimus 2x] proyatzu:
Man i really dont have time to test again alpha26/28 and post logs and screenshots. When ill have some free time ill do it. For now i just confirm what many others users confirm.
[LG Optimus 2x] torstenconrad:
Isn't that what everyone has been doing in the last 10 pages? How many more posts about battery do we need? :eek:
[LG Optimus 2x] pengus77:
Guys, between a20 and a28 the only changes are:

- a load of fixes for the wifi

- bugfixes to the suspend/resume routines of the cpu (related to the max screen off frequency setting)

- bugfixes to the frequency setting at boot when the screen is off

- bugfixes to dynfsync not being correctly set when the screen is off

- the old/new M1 battery driver

There is absolutely nothing related to the display that could cause more drain. My thought, instead, is that what you're seeing is a more realistic drain from the lcd panel compared to the ics battery driver that "fakes" the percentages and then just shuts down the phone randomly when the battery is empty (even if it shows 30/40 % available). I'm not saying this with full confidence, just my 2 cents.

About the SODs... logs or didn't happen. I'm testing on CM11 and I've had not a single problem so far. True, I don't have a sim card in the phone, but I've been stressing the suspend/resume routines so hard, the phone is continuously connected and disconnected to usb (with screen on and off), installed a load of apps (yeah, even candy crush if you ask...), have trickster and cpua both setting different values just for testing purpose. I couldn't trigger a single bug...

Anyway, about cpua profiles, don't use the screen off one. The kernel already sets a max frequency when the screen is off. What about a nice conservative governor too when the phone enters suspend ? Please vote on this :)
[LG Optimus 2x] wucinac:
Syslog

[URL ]https://copy.com/RMEcrc937rnGxPd[/URL]
[LG Optimus 2x] Kenks:
i would say ''yes'' to any governors which are all battery friendly.

I'm using alpha28 for 2 days and i have no problem. my power button doesnt work well at first i assumed that phone goes bsod but i finally succeeded to wake up the phone. maybe phone wakes up slowly. i am not sure because of power button situation. that happened to me yesterday. today phone wakes faster.
[LG Optimus 2x] Diskb0x:
I'd vote for a conservative governor if the option is there.
[LG Optimus 2x] head_banger:
Conservative sounds good while in suspend :thumbup:
[LG Optimus 2x] massimiliano.peloso:
I have dynintetactive governor option and after 6h the level battery are 64% with wifi on h3g on and all sync ... I used my phon to play game ... 1h and navigate to internet

I don't have battery drain whith alpha 28...

Inviato dal mio LG-P990 con Tapatalk 2
[LG Optimus 2x] imayoda81:
+1 conservative... but is it an option in kovalsky manager or new untouchable default ? :)
[LG Optimus 2x] pengus77:
Untouchable. Btw I keep Interactive when screen is on and off with max suspend frequency at 456MHz. Drain is almost zero and I have no issues.
[LG Optimus 2x] imayoda81:
yea, last kernel feels very good even at wakeup :)
[LG Optimus 2x] wucinac:
I noticed that when I reboot the phone screen is set to maximum light. In order to solve this problem I have to actually go into settings and on/off auto brightness. It happened a couple of times and when unlocking the phone.

SysLog

+1, if phone will wake upp fast as is with interactive or dyninteractive
[LG Optimus 2x] rzlatic:
+1

456?
[LG Optimus 2x] manueltts:
+1 I think it's set to last manual brightness adjustment after every reboot. But just disabling-enabling autobrightness solves it until next reboot. Maybe could be a trade off for avoiding screen flash when turning on and off (edit, I.e. when awakening or sleeping, I hope you understand).

EDIT: I think that after a few reboots trying to catch the problem, I've found something different. Brightness is booting as auto, but the values on Kowalki Manager are going back to stock values. There are also not sticking SD reading values, multicore sched PM selection, and LEDs brightness (maybe Wifi parameters neither, but I understand that it doesn't matter).
[LG Optimus 2x] pengus77:
Uhm I'll check this when I get back home. Thanks for the report guys.

About the max screen off frequency, you can set it in trickster or cpua. Mine is at 456MHz.

Sent from my Galaxy Nexus
[LG Optimus 2x] Peppe91:
Pengus77 I remember that your advice to set read ahead mmc was 1024kb... With Tonyp cm11 and 3.1 kernel is it still your favorite choice? Thanks

Inviato dal mio LG-P990
[LG Optimus 2x] pengus77:
Try to clean km cache and data and re check. All fine here.

Also, I've asked [MENTION=3838586]wfd[/MENTION] to make a slim version of km, leaving in only auto brightness and leds controls. All the rest is standard and can be handled in the same app you use for uv and oc (I just love trickster now that it's compatible with tegra oc) ;)

Sent from my Galaxy Nexus
[LG Optimus 2x] pengus77:
After all the tweaks to the tunables in row, I feel best with 512.

Sent from my Galaxy Nexus
[LG Optimus 2x] massimiliano.peloso:
Sorry Pengus, and for my led settings problem? You try and work?
[LG Optimus 2x] Peppe91:
I tried several times in last month switching i/o schedules between row/cfq and personally feel best with row... Cfq seems more balanced but in daily tasks row seems a bit more responsive.. My personal experience...

Inviato dal mio LG-P990
[LG Optimus 2x] aftermath85:
can you recommend it as daily driver now? how did you tweak it? thank you.. :)

i think i'm going to flash the kk127 & cm11 now.. :good::good::good:
[LG Optimus 2x] manueltts:
I have an incomplete fix report (because it was unintended so I don't know what made the trick). I'm gonna tell the story step by step.

a. First I noticed the autobrightness issue. Reported it.

a.1(plugged in the phone, because of low charge)

b. Then (for other reasons) I flashed SuperSU to replace CM11 superuser, then reboot... Just then I noticed de KM non sticking issue.

c. Reboot again because many "new" SuperSU permissions... just feel to do it. KM keep not sticking. Edited the post.

c.1 (The I thought... maybe I'm not giving time to KM... or something like that. As CpuA have delay... let's try it.)

d. Rebooted once more time. Waited 5 minutes. Everything fine. Autobrightness, KM settings, etc.

So I was thinking of three explanaitions for suposed bug:

1. Root permissions (of KM, I suppose)

2. Delay for KM and autobrightness settings to apply after boot.

3. something with battery actual charge or charging status.

And my experiments results:

1. I don't have time yet to experiment with CM11 superuser vs SuperSU; so I know that with SuperSU there's no problem.

2. There's definitely a delay in KM settings; no in autobrightness (it was the stock autobrightness what seemed "manual high britghness to me")

3. Everything fine with phone over 40% battery, plugged or not. I don't think there's anything related with it (not even with low battery); it just doesn't makes any sens to me.

Conclussions for now: 1. Could be a CM11 superuser problem, solved by superSU (maybe after a reboot). 2. We have to wait boot process to end, it continues for quite a long time after giving us access to UI.

Hope it helps!

Manuel.
[LG Optimus 2x] pengus77:
I noticed that after flashing supersu, I also get insanely long waiting time before my boot apps start. I think it's related to a possible conflict between supersu and what cm expects. I'll take a look.

Sent from my Galaxy Nexus