yashsingh1/xdaforums huggingface dataset:
[LG Optimus 2x] pengus77:
Logcats are useless for kernel debugging... i need kmsg or, in case of a hot reboot, a last_kmsg... anyway from that logcat i only see a facebook crash.

Also, as stated a million times, i need to know what rom you're on, version, maker and boot loader.
[LG Optimus 2x] darka9:
This questions should be answered from a developer but as far as i know- logcat after restart=not helpful.
[LG Optimus 2x] invisible69:
I haven't managed to recreate the issue. But I do have USB fast charge on, so perhaps that is the culprit?

Other than this issue, I have never had any problems with this kernel.

Thanks for all the work! :)

I am running CM10.1, nightly 02/03, with the old Bootloader.

I was transferring today's nightly to the internal SD Card.
[LG Optimus 2x] pengus77:
USB fast charge is not supposed to be even usable with a usb connection. It's meant for fast charging when on car plug, for example. Don't keep it active when connected to a pc !
[LG Optimus 2x] svein01:
Re: [KERNEL][CM10/CM10.1/ICS - OLD/NEW BL][011p4 - 2013/02/03] Kowalski Kernel

Sudden hot reboot just now, phone in inside jacket pocket just doing nothing. Felt a vibration, thought "message" and pulled it out. All that I saw was the pink LG logo...

new bl, 011p4 kernel with pengus ROM from 0106. No issues till now. No logcat (sorry) as I'm on the train heading home from work :(
[LG Optimus 2x] pengus77:
Could be the mmc bug i was talking earlier. It's hitting only you and another user for now and it's related to the communication between the mmc host and the kernel. Rare bug that was in 2.6 and it's fixed in 3.0. I already backported the patches and they'll be in the next release ;)
[LG Optimus 2x] tonyp:
Re: [KERNEL][CM10/CM10.1/ICS - OLD/NEW BL][011p4 - 2013/02/03] Kowalski Kernel

A reboot is good for logs, so export the last_kmsg right away.

Open the terminal emulator and type:

cat /proc/last_kmsg > /sdcard/last_kmsg.txt

The last kmsg gets deleted if you pulled the battery, but for reboots it will be saved and valuable.

At everyone who is asking how to do a logcat: that question has been answered many times and you can easily Google it.

You want help with something, the least you can do is learn how to properly export logs.

95% of kernel bug reports without a kernel log are totally useless. Pengus can only guess what the culprit is then, but not closely investigate the issue.
[LG Optimus 2x] wawyed:
I've just realised that since p3 I can't access my sdcard from /sdcard/external_sd only from /storage/sdcard1 is this on purpose? Using pa 03
[LG Optimus 2x] BS86:
at mine, it is gone like a miracle - no reboots since i delivered you the last_kmsg with the bug inside ;) and e2fsck said: clean
[LG Optimus 2x] svein01:
Re: [KERNEL][CM10/CM10.1/ICS - OLD/NEW BL][011p4 - 2013/02/03] Kowalski Kernel

I understand that :) But excellent guide nonetheless. By the time I thought to pull the last_kmsg log, it wasn't there anymore. Hope I'm quicker to react the next time around.

Actually... hope there *isn't* a next time around :P
[LG Optimus 2x] DrummerMuppet:
I believe it'd be a good idea to add this observation to the OP and/or to the App description in post #4. I also thought that Fast Charge was meant to be used on USB as well, so...
[LG Optimus 2x] pengus77:
Done, it's in 1st post. I though you all knew what it did :)

Setting the drain to 1000mA could be dangerous for both your phone and the pc port if it's not supported. 99% of the usb ports out there don't deliver more than 500mA and so it's also quite useless to ask for more. On the other hand, powered hubs, portable adapters and friends, can deliver 900/1000mA, so it's good :)
[LG Optimus 2x] Lavina:
Re: [KERNEL][CM10/CM10.1/ICS - OLD/NEW BL][011p4 - 2013/02/03] Kowalski Kernel

Everything is good with last version. Is there anything that can speed up opening of phone and contact. In cm7 was very fast. I am on tamasek 10. 1 thanks again for this kernel
[LG Optimus 2x] petr.klos:
Me too, I used it... to my surprise quite well few times to get fast charge.
[LG Optimus 2x] BS86:
i have 2 usb-plugs on my computer, that connect the power supply they get from the motherboard.

Looks like one of those, but with wire so that it is connectable on the outside of my case:

Tested it that way: Only connected one half of the plug on the mainboard: both usb-outlets have power. Connected only the other half: both slots have power. (connected a small USB-FAN to test it)

So if i just connect one USB device there, it can supply 1000mA, fast charge working - tested.

Tested it on another usb-connector on my PC: phone keeps switching between charging and discharging in 2 seconds rhythm, stopped it after the third switch.

If you are not sure what your USB-connectors are doing: Don't use fast charge there ;)
[LG Optimus 2x] tonyp:
I'm going to crosspost my post from the PA thread here :D

What developers like:

What developers don't like:
[LG Optimus 2x] SamReciter:
On tonyps PA build 4, kowalsky kernel 11p4, old bootloader...

Did encounter the same thing. But maybe i'm also reacted to slowly as last_kmsg contains nothing - means -

"[13:02:04 01:24:51, 020] SysRq: Emergency Remount R/O

No errors detected"

Will try to be faster next time. Greets...
[LG Optimus 2x] Kyrandialegend:
Pengus, this p4 version is awesome ! Pengus rulez
[LG Optimus 2x] ensboarder:
Re: [KERNEL][CM10/CM10.1/ICS - OLD/NEW BL][011p4 - 2013/02/03] Kowalski Kernel

Pengus what did you do it to my phone? :D i went to sleep and leave phone on, it drained 5% in 9hrs... amazing! !! Thanks
[LG Optimus 2x] pengus77:
it's magic :cool:
[LG Optimus 2x] Rayman96:
Odp: [KERNEL][CM10/CM10.1/ICS - OLD/NEW BL][011p4 - 2013/02/03] Kowalski Kernel

Pengus did you received PM from me? :)

Sent from LG 2X using Tapatalk 3 Beta
[LG Optimus 2x] CarloIT:
R: [KERNEL][CM10/CM10.1/ICS - OLD/NEW BL][011p4 - 2013/02/03] Kowalski Kernel

I believe it can fly..... :D

Inviato dal mio LG-P990 con Tapatalk 2
[LG Optimus 2x] sangriaman:
Re: [KERNEL][CM10/CM10.1/ICS - OLD/NEW BL][011p4 - 2013/02/03] Kowalski Kernel

I have the call bug. As i dont see anyone with that problem anymore, i assume there is a way to solve it, i'm i right?
[LG Optimus 2x] Rayman96:
Odp: [KERNEL][CM10/CM10.1/ICS - OLD/NEW BL][011p4 - 2013/02/03] Kowalski Kernel

We don't have ANY information to help you. Help yourself telling us more details. And provide logcat from bug.

Sent from LG 2X using Tapatalk 3 Beta
[LG Optimus 2x] jaronstrypsteen:
Re: [KERNEL][CM10/CM10.1/ICS - OLD/NEW BL][011p4 - 2013/02/03] Kowalski Kernel

Cant download link down for my phone
[LG Optimus 2x] massimo69:
what link? are downloading the kernel, the modules?
[LG Optimus 2x] jaronstrypsteen:
Re: [KERNEL][CM10/CM10.1/ICS - OLD/NEW BL][011p4 - 2013/02/03] Kowalski Kernel

http://goo.gl/fzv1v

This link the XDA file server

This link is from his post
[LG Optimus 2x] massimo69:
Working for me.....
[LG Optimus 2x] jaronstrypsteen:
Re: [KERNEL][CM10/CM10.1/ICS - OLD/NEW BL][011p4 - 2013/02/03] Kowalski Kernel

On my phone not working and on my pc it does
[LG Optimus 2x] CarloIT:
R: [KERNEL][CM10/CM10.1/ICS - OLD/NEW BL][011p4 - 2013/02/03] Kowalski Kernel

You have to change security settings or transfer by pc

Inviato dal mio LG-P990 con Tapatalk 2
[LG Optimus 2x] sangriaman:
Re: [KERNEL][CM10/CM10.1/ICS - OLD/NEW BL][011p4 - 2013/02/03] Kowalski Kernel

Sorry, you're right. I Just thought could be something like a switch needed to be turned on. I wasnt posting any bug report. Anyway im testing the logcat app. I installed catlog, recorded it and now posto the file here. Is this it?

Anyway, when i found the bug i was connected to a Bluetooth stereo headset.

The calls are working perfectly without the headset. Its a Jabra Halo 2, btw.
[LG Optimus 2x] pengus77:
What rom ? And please, read at least the last 3/4 pages before posting. I said logcats are useless. I need kernel logs.
[LG Optimus 2x] robbie2k:
Hi Pengus, Thank you for your kind answer.

I'm telling this because I was remembering that in the same conditions (or more bad) the CM7.2 was draining less than a 15%, however I'm not so convinced by this drain, I'm suspecting that Wi-Fi are draining too much, for example today, using almost nothing the phone battery was drained by 40% in 5 hours, and almost all by Wi-Fi (70% only the wifi, this is really suspect because as told, the phone was almost all the time in suspended mode, and I am seeing that when I wake-up it, the wi-fi indicator appears immediately blue= already connected), and note that I'm in airplane mode, because the phone don't have a SIM card inserted (and so don't consume nothing for the cellular transmission).

The usb mass storage won't absolutely work, I was already trying disabling the debugging, and today, reading your comment for another user, I also disabled the usb fast charging, but when I connect the usb the phone only begin to charge, and the message that tells if I want to enable the mass storage don't appear, and don't appears any icon on the top bar indicating the usb symbol. (i'm getting confused with it).

With the 7.2 I was using before, I was having a similar problem, with some ROM Temasek's build (130 and 135.4) the message of usb mass storage was appearing, but after it wasn't working, with the build 135.2 it was working perfectly, and also with the usb debugging enabled!!! :)

Maybe I can try some patch more to reduce the wifi draining, and/or can try to switch between your legacy rom/kernel to see if I could solution it?

I attach the today's battery draining.

Hi Carlo, thank you for your answer too.

I have already this option activated, but I was seeing interesting parameters of your Kowalski manager, mine are so different! :

Tx Power: 19 dBm

Led Brightness: 10

Read ahead internal SD: 256

Read ahead external SD: 256

Maybe a so high Tx Power could drain so much the battery? (however I'm almost convinced that wi-fi don't sleep when the phone enter in suspended mode).

Other thing that I can't find in the option is the one that attenuate the brightness screen for some second until that the phone enter in suspension mode.

N.B. Today I was trying bluetooth A2DP functions: Ok with a BT Headphone and Ok with a Belkin A2DP bridge module connected to my a/v amplifier, can't confirm for now if is working with BT headset (it's so little that I'm still searching it :D )

@Massimo69: Right now very good the spanish traduction ;)
[LG Optimus 2x] kaioder:
I have 19 dBm and the wifi doesn't drain nothing at all. Your phone probably is not going to deep sleep.

http://img12.imageshack.us/img12/2388/screenshot2013020500024.png

http://img19.imageshack.us/img19/1543/screenshot2013020500025.png
[LG Optimus 2x] sangriaman:
Re: [KERNEL][CM10/CM10.1/ICS - OLD/NEW BL][011p4 - 2013/02/03] Kowalski Kernel

;) After some reading, extracted the kernel log. No errors found. But it was several hours ago and the Phone didnt stuck, reboot or nothing like that, so...

Btw, latest nightly from cyanogenmod, old bl, latest (p4) kowalski kernel.

But dont worry too much. I will try to reproduce the thing tomorow, in order to get the kernel log.

Best regards,

Sangriaman
[LG Optimus 2x] robbie2k:
I'm suspecting this, because when I wake up the phone I should see the wi-fi connecting (gray and after blue), but I find it already connected :rolleyes:
[LG Optimus 2x] kaioder:
Wifi can be always connected and go to sleep, that's not your problem , the problem is that you probably have an app that is awakening all time the phone or doesn't let it sleep.

There are 3 options about wifi when is in deep sleep (use always, when is charging and never).
[LG Optimus 2x] lucfig:
Re: [KERNEL][CM10/CM10.1/ICS - OLD/NEW BL][011p4 - 2013/02/03] Kowalski Kernel

You should have searched and read previous pages before posting this long post...

1) Ignore the percentages, they are useless and not precise at all.

2) You probably have an app keeping the phone awake. Try the app BetterBatteryStats and check for partial wake locks. Search for this app here at XDA.

3) You can set to never keep wifi on when screen is off on advanced wifi settings.

4) For USB mass storage. Disable fast charge, USB debugging and go to settings >Storage > Press menu key > USB connection or something like that and choose mass storage.

Enviado de meu LG-P990 usando o Tapatalk 2
[LG Optimus 2x] robbie2k:
I just installed the rom and kernel, I only installed the Sygic 12 to test the GPS, and the problem was here also with no apps installed. :(

Edit: I wasn't looking at the advanced settings of the wi-fi!! GENIUS!! :D

I really wasn't thinking that this could be set by default in "Mantener wi-fi durante la suspension" (keep connected when in suspended mode), what a noob way mine!! LOL

I also seen that there is regional settings for wi-fi... and mine was set in "europe" so I'll put in in USA (I'm in south america).

Thank you kaioder! ;)

Now I have to find a solution only for the problem of the USB mass storage, the last big problem. :)

---------- Post added at 02:21 AM ---------- Previous post was at 01:41 AM ----------

Well.. maybe I searched badly but I searched for this, however was exactly these 2 things, now usb mass storage work fine, and wi-fi effectively was using the option "keep connected when in suspended mode" (I don't know why I haven't think to this before and why I was sure that this option was set in "only when connected" by default, a mystery of human mind, or simply I'm becoming too old for this :D )

However, after just made my noob figure today, I can finally say "WOW" what a fantastic ROM/Kernel!

And really many thank you lucfig and thanks to all you guys, for your job and for being part of this fantastic forum. ;)
[LG Optimus 2x] pengus77:
Spoiler Alert

Oh, interesting, apparently the slow charge bug on the old bootloader is no more... :p
[LG Optimus 2x] LilProphet:
Re: [KERNEL][CM10/CM10.1/ICS - OLD/NEW BL][011p4 - 2013/02/03] Kowalski Kernel

this is the best kernel for ICS, my only problem is, when I'm trying to browse my private torrent site's torrent list, it force quits, no matter what browser I'm using, it worked well with stock Django. This is the only issue I've experienced, other than that it's great. thanks for your hard work.
[LG Optimus 2x] stonebear:
I love this kernel! :cowboy:

Thank you Pengus. :D
[LG Optimus 2x] Kyrandialegend:
R: [KERNEL][CM10/CM10.1/ICS - OLD/NEW BL][011p4 - 2013/02/03] Kowalski Kernel

The more I use the phone the more I see that this kernel is fu@#ing awesome.

Touch boost si great !

What's next pengus? :D Any other surprise ? :D
[LG Optimus 2x] stonebear:
Actually yes. ;)
[LG Optimus 2x] vkk178:
Re: [KERNEL][CM10/CM10.1/ICS - OLD/NEW BL][011p4 - 2013/02/03] Kowalski Kernel

Can some one confirm if USB tethering is working . It doesn't seem to work on mine ?

Brain waved from my O2x using XDA app
[LG Optimus 2x] Kyrandialegend:
here we go :)

tell me de diagnosis :D
[LG Optimus 2x] pengus77:
Read the last 10 lines of that log...

...
[13:01:14 10:23:31.150] Restarting system.

No errors detected

It's not something that happened in the kernel that caused the reboot... from the log seems like a user induced reboot...

...
[13:01:14 10:23:27.090] [BATTERY] : battery_work :
[13:01:14 10:23:27.090] [BATTERY] : star_capacity_from_voltage_via_calculate : CHARGER [CHARGER_ISET] / MACHINE [CHARGER_STATE_CHARGE]
[13:01:14 10:23:27.110] [BATTERY] : star_capacity_from_voltage_via_calculate : with Charger Batt CAP [40] / Calc CAP [12]
[13:01:14 10:23:27.120] [BATTERY] : battery_update_changes : [BATT] voltage [3878], Temperature [230], Capacity[40], Present [1], BattHealth[GOOD]
[13:01:14 10:23:27.120] [CHARGER] Type [AC]
[13:01:14 10:23:27.140] [BATTERY] : battery_update_changes : Update Power Supply.
[13:01:14 10:23:30.640] SysRq : Emergency Remount R/O
[13:01:14 10:23:30.660] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[13:01:14 10:23:30.780] EXT4-fs (mmcblk0p9): re-mounted. Opts: (null)
[13:01:14 10:23:30.810] Emergency Remount complete
...

As soon as the battery outputs its log, the system initiated a reboot... i see no oops or panics in the log. Not even an error...
[LG Optimus 2x] Kyrandialegend:
how can we explain that, it happen after 7 PM, is there a timestamp ? 13:01:14 is today :D what about 10:23:30 ?

The rock solid kernel for me was 07/01/2013. I keep waiting if this event occurs again :)
[LG Optimus 2x] pengus77:
It's the last reboot the system had that the kernel was able to register... so maybe it's a problem in the kernel for real. I'll see if i can induce a reboot. What did you have on ? wifi ? bt ? music ? what apps open ?
[LG Optimus 2x] ivaneris:
Sir..i want to report something..except from screen that always 100% brightness,i can reduce brightness with automatic brightness (i dunno why...but when i choose it..the screen grow darker and back to 100% when i uncheck it......and one thing buggy,the screen fail to sleep automatically...:confused:

Using civato flex icer rev 3.4 odexed

Sent from my LG-P990
[LG Optimus 2x] Ferrum Master:
Btw I am too lazy to look in sources, sorry. Did you leave gpu and vram clocks at default?

You know there is the myth that our gpu didn't clock at all, at least no benchmark showed any gains on GB source. Vram is out of question, it is the bottleneck for our device. Topo did increase it at default.

No problems were reported from users...
[LG Optimus 2x] pengus77:
Every voltage is exactly as it is in stock. No OV/UV in this kernel at all ;)

I suspect that the random reboots are derived from the "little bit too aggressive cflags" in conjunction with google's pre-release gcc. I'm updating the compiler to check a few things.
[LG Optimus 2x] tr@p:
Yeah, for me too is pretty laggy sometimes. Was kinda affraid to report it... I'm the one that always reports it. And no one else had it so I was thinking that I'm alone.

Anyway, latest kernel is blazing fast at first. After some time it is getting laggy. Switching beetwen apps, pressing home for launcher, adding widget on homescreen... sometimes takes a couple of seconds for those. And I've had a couple of those notorious close app/wait messages (dolphin, facebook...).

Now I'm on tony's PA build... so Ill wait and see. So far it's good.

Looks like 07 kernel is still smoothest for me... dunno why.

BTW thanks for awesome job and continuus effort pengus, you rock! Waiting for new release and goodies from you.
[LG Optimus 2x] pengus77:
Try disabling zram and test again please ;)
[LG Optimus 2x] Custom40:
Pengus, you should consider adding a date to the subject of the thread refering to the release of the last kernel update...

Hoping your life is going as well as the kernel is, keep it up ;)
[LG Optimus 2x] tr@p:
Will do, but now I'm on tonyp's PA release... it has some different LMK values (than stock ones in CM) etc, maybe it will get rid of that lag... will test and report ofc.
[LG Optimus 2x] svein01:
Brightness reverting to previous levels when unchecking auto brightness is intended behavior... Or did I misunderstand you?
[LG Optimus 2x] pengus77:
Ok thanks. Lag is usually caused by slow mmc access or ram exhaustion. Considering that the mmc on this kernel is a little speed demon, i'm a bit worried about mm that i still didn't touch almost at all. Check if a different setup for the lmk marks the difference and let me know. In the meantime i intend to backport from 3.4 the new lmk that's found on the nexus4 ;)

Also, try reverting from row to deadline as scheduler and see if it's different...
[LG Optimus 2x] stonebear:
Once or twice with this rom I had severe lag and I checked free ram and it was around 40-50mb. In my experience our phone will always lag when it gets that low.

So, I use swap and change the OOM values with autokiller and I never have lag now.

I think Tony was right to change the OOM settings as standard.
[LG Optimus 2x] ivaneris:
When it checked..it dimned...when it unchecked..it back to 100% brightness (just use display setting)

Sent from my LG-P990
[LG Optimus 2x] Kyrandialegend:
Wifi (i use conservatine) gps, no bt, just "whatsapp" , yesteray it happened with google now
[LG Optimus 2x] svein01:
Thanks for clarifying that. This is intended behavior, but only if it was 100% before you first checked "auto brightness". For automatic brightness to work, that box has to be checked. Once you uncheck it, it reverts back to whatever it was before. The general idea being that you just told your phone you don't want to use automatic brightness after all, since you unchecked the option.

There *is* a flicker bug on CM10 and official ICS that I've observed, where automatic brightness (when enabled) will constantly dim and brighten the display by a few percentage points. It's noticeable, and annoying enough that I just leave my display on around 25% brightness constantly so as not to drain my battery too quickly when using it.
[LG Optimus 2x] Ximo F. Verde:
have been using this krl for a day now, old BL, 3/1 nightly, dyninteractive. no lags here, speedy n smooth. will push it n see how it goes
[LG Optimus 2x] bree1:
Installed on stock v30b cracked bootloader and rooted. Fast as a shark... :eek: really more responsive than original LG kernel. Only one problem for me... WiFi connect but after one second he automatic disconnect by router... I don't know how reproduce a logcat pengus, but if you explain to me how I'd love to post it for you ... it really seems that my phone goes to 1000 with the kernel Kovalsky and I'd hate to go back...

Sorry for my bad English

Inviato dal mio LG-P990 con Tapatalk 2
[LG Optimus 2x] pengus77:
What router are you using ? I'll post another module i think that will disable the powersaving mode when phone is active... some routers apparently are really against standards (cam mode is even used by intel...) and don't like it. Hope this will help.
[LG Optimus 2x] CVonV:
yeah i've noticed that actually.. i think from 11p3? or maybe even before
[LG Optimus 2x] CarloIT:
R: [KERNEL][CM10/CM10.1/ICS - OLD/NEW BL][011p4 - 2013/02/03] Kowalski Kernel

Nooooo.... :D

Pengus is always in CAM mode :D

Inviato dal mio LG-P990 con Tapatalk 2
[LG Optimus 2x] x_justin:
Re: [KERNEL][CM10/CM10.1/ICS - OLD/NEW BL][011p4 - 2013/02/03] Kowalski Kernel

Wow! Just lost 0.3% per hour on 3g with fast dormancy on Django's rom with v28g RIL and pengus' latest kernel. Its amazing, with p3 kernel it was about 1.5% per hour but this is insane!!!!:D This value was a overnight discharge, phone just laid down for 7 hours app.

Btw I have everything enabled like gtalk and auto sync!

Pengus I see a difference, partial wakelocks by audio out are completely gone! Does that make the battery last that longer? Look, with p3 kernel it was this:

Verstuurd van mijn LG-P990 met Tapatalk
[LG Optimus 2x] massimo69:
That depends on which rom you are. On CM10 it was never working.
[LG Optimus 2x] smg72523889:
AW: [KERNEL][CM10/CM10.1/ICS - OLD/NEW BL][011p4 - 2013/02/03] Kowalski Kernel

hi pengus,

in startpost i read that you integrate deepsleep with bt enabled.

i use PAC and a parrot mki9100 with your kernel and i have a problem with waking up my phone when starting a call through my parrot.

is it possible to deactivate ds for testing?

i dont want to search for another kernel - i like your intention to first make existing kernel rockstable before adding features.
[LG Optimus 2x] Medizinmann:
AW: [KERNEL][CM10/CM10.1/ICS - OLD/NEW BL][011p4 - 2013/02/03] Kowalski Kernel

Hi!

I still have the the slow charge bug on old bootloader....

I am on tonpy pa built 4.

I am using a Li-ion battery which usually charges the phone even faster than the AC-charger.

Any idea what might be wrong?

I don't have location or kernel log... I am on the road.

Greetings,

Medizinmann
[LG Optimus 2x] pengus77:
Re: [KERNEL][CM10/CM10.1/ICS - OLD/NEW BL][011p4 - 2013/02/03] Kowalski Kernel

Been misunderstood I think... What I meant was that I fixed it yesterday (was a spoiler alert post anyway). Next kernel will include the patches ;)
[LG Optimus 2x] wfd:
Be more patient and wait for next release :)
[LG Optimus 2x] tavoc:
this sounds amazing.

Because of your kernel I am in no need to buy a new phone ;)