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

Hey peng do i still need to have a ram manager app?..i saw u put something about low ram there but i don't kno for sure:-?
[LG Optimus 2x] pengus77:
As you prefer, but the new LMK will adjust the OOM values automagically... i'd say test without a ram manager and if you feel that it's not snappy as you like, reinstall it :)
[LG Optimus 2x] Mynix:
Awsome work Pengus.. thank for your work

Will flash PA rom and your kernel tomorrow and give feedback !
[LG Optimus 2x] nocio:
Hi mate, kernel is working great except one thing.

When i set brightness manualy to 80 or 90% and any x%,and then i lock and unlock phone and brightnes on phone is like on 5 or 10%

And when brightness is on automatic, its working ok
[LG Optimus 2x] bree1:
R: [KERNEL][CM10/ICS - OLD/NEW BL][010 - 2013/01/19] Kowalski Kernel

Trickster Mod don't reapply my choice on reboot :( I have to do manually even if I have been set it

Inviato dal mio LG-P990 con Tapatalk 2
[LG Optimus 2x] lucfig:
Re: [KERNEL][CM10/ICS - OLD/NEW BL][010 - 2013/01/19] Kowalski Kernel

Really? That sounds nice. How does it works? I mean, the automatically set of OOM values.

Enviado de meu LG-P990 usando o Tapatalk 2
[LG Optimus 2x] pengus77:
Spoiler Alert

found time to give some love to the 3g now that i'm using the phone full time...
[LG Optimus 2x] gracoba:
I have a problem when trying to install the kernel. I get an error message saying:

E:Can't open /external_sd/kowalski-kernel-100p5-newbl.zip

(bad)

Installation aborted.

What is the problem?
[LG Optimus 2x] 60nine:
looks to me like your zip file is corrupted/damaged due to faulty download.. try downloading it again...
[LG Optimus 2x] packyman:
Wake by volume button would be very nice.

I know its in your wishlist. Can you say, is it a difficult programmer job or is it possible that you can do it in next future?
[LG Optimus 2x] gracoba:
tried, its the same
[LG Optimus 2x] helly100:
maybe corruption of the external sd card? have you tried copying the file to the internal sd card and flashing it from there?
[LG Optimus 2x] 60nine:
did you try other kernel versions? plus what helly said above...
[LG Optimus 2x] gracoba:
yes, i did, same error

i have installed 100p3 version and wanted to install new (100p5) version and got this error
[LG Optimus 2x] nicola07:
i'm experiencing the suddenly shutdown.

I've done a fresh install of the PA11 that comes with kk116 and i've upgraded to the 118.

All the day the rom was ok,no battery drain at all,fast and stable (exept the google voice apk that crashed at the first boot).

i've got the first reboot with battery at 15%, suddenly turn to 0% and when i rebooted the phone it shows up again with 14%.
[LG Optimus 2x] helly100:
first of all, i suggest you to use the nightly 116 or 118.

and for the flashing problem, check if your file was downloaded correctly. for example check their md5 checksum in root explorer or something on your phone or copy the file to your computer and open it there to check if the archive is corrupt.

The MD5 of kowalski-kernel-100p5-newbl.zip is: 56320dc603d5fb707c57c6e0b189abeb

The MD5 of kk-exp-20130418-118-newbl.zip is: c1195e0c2183108aa27a6997a8c477d8 (in case you wanna try that one)
[LG Optimus 2x] gracoba:
okay, i noticed the md5 was different on pc than on phone, now installed nightly 118

thanks :D
[LG Optimus 2x] mrgian:
Just wanted to share that I just noticed my phone reflected a 98% battery! It's been hiding since I used PA Rom!
[LG Optimus 2x] helly100:
just a litte off-topic question:

is anyone successfully using a call blocker with CM10 (new bootloader if that matters) and kk?

I tried ROOT Call Blocker but it does not work, blocks sms messages but not a single call.

Some people reported to have no problem with that app in CM10, so I'm curious, is that ROM related, kernel related or even bootloader related?

Just need to block incoming calls or messages without having the phone to ring even once.

Any suggestions?
[LG Optimus 2x] LarsPT:
Hi pengus!

If you want a catlog of an O2X sh*tting its pants (aka lagging like hell), you'll find it below. All I was doing was some facebook surfing... when it started becoming so unresponsive it eventually shut down!

I hope it's helpful in anyway, cheers!
[LG Optimus 2x] x_justin:
G

Verstuurd van mijn LG-P990 met Tapatalk

---------- Post added at 09:48 AM ---------- Previous post was at 09:42 AM ----------

Hi Pengus, lovely you put effort in the 3g driver, will it be more energy efficiënt when in use? I am currently testing fast dormancy on ICS with your kernel, I have to say... results speak for themselfs. Its purely for idling, I left sync on! Sorry its a bit off topic because Fast Dormancy is rom related I think ? I love every release of your kernel, tried many ones but this one is such a beast!

Verstuurd van mijn LG-P990 met Tapatalk
[LG Optimus 2x] bliizzz:
Ok guys with the shutdown bug here's what you need untill penguss comes with a fix, i tried almost all roms from the begining(2.2) and finally Stefans goodbye2.0 seems to work, it shows that the battery is 0% and phone is shutting down but just press ok and its back to normal & it doesn't shutdown.

By the time there's a fix you might try and report if it works for you'll too :)

http://xdaforums.com/showthread.php?t=1504280 :)
[LG Optimus 2x] dr.lube:
I'm pretty sure that our battery is bugged..

My phone lags more when I'm overclocking it than when I'm on "stocks" values.

I think it can't give the right amount of mA

Tony 11 (CM10) - KK118 - NewBootloader
[LG Optimus 2x] machoman1337:
Hey pengus, I've been trying to reproduce this issue while running a logcat but no dice... so I'll have to describe it with no logcat :(

At one point when using the phone, I got a notification from Whatsapp. I set whatsapp to both beep and vibrate when the sound profile is active. When the notification came in, the phone simply would not stop vibrating even after I finished reading the message and I had to pull the battery.

Anyone else have this issue?

edit: I'm using the stable 100p5 and the CM10 for the new BL
[LG Optimus 2x] pengus77:
Awesome man ! Yeah next kernel will drain even less on 3g compared to the actual one ;) Managed to keep the phone up for 24 hours and still have 45% juice to go. Anyway, if you're on ICS, can you please send me a radio log with and without FD enabled ? I'd love to check the RIL commands that are sent :)
[LG Optimus 2x] pengus77:
Spoiler Alert

... next release will fix the manual brightness on ICS :p
[LG Optimus 2x] massimo69:
You stole my spoiler....... cheeky.....:crying:
[LG Optimus 2x] pengus77:
Whooops :p
[LG Optimus 2x] tonyp:
You forgot to mention that this is only a side effect of the efforts to fix the low brightness after unlocking bug on cm10.1. :)

I'm currently testing a cm10.1 build where the issue is fixed completely :D

It will need rom support (as it's a mix of rom + kernel fix), but it's an easy fix and I'm sure it will be adapted by all devs soon, I'll update the p990-dev repos once pengus pushes 119.

After bluetooth and wifiap this has been the most annoying bug on cm10.1 - I think we're pretty close to a public release, I just need to debug a little more, will post a new testbuild this evening.
[LG Optimus 2x] der.einstein:
Are there any news about working/enabling FM radio in CM10/10.1? I read the howto in generals section, but its rather complicated...
[LG Optimus 2x] BTW lover:
Your spoilers make me check this thread like four times a day...:silly:
[LG Optimus 2x] maharu567:
Today i have a sudden reboot after i recive a notification from whatzapp. I have 118 version of kernel and no OC.
[LG Optimus 2x] oneearleft:
[MENTION=3783116]pengus77[/MENTION]

I know it is not a popular topic, but any related news?

Has this bug only been reported for PA2.6 or also for CM10.1? If not for the second, I will start using it straight away.
[LG Optimus 2x] massimo69:
CM 10.1 have the bug too... ( i have it and also I have 2 batteries which are the same as pengus77. Both are affected.) The bug is much rarer in CM 10.1. Had it once since I started testing tony CM10.1 which is just over 1 week
[LG Optimus 2x] pengus77:
Guys i decided that the only way to debug properly LG code in the battery driver (a weird mix of GB code, NVIDIA code and LG crap) is actually to delete it and write a good one from scratch. So i'm doing just that. The next kernel (119) will have the ICS stock battery driver instead of the one i modded for 117/118 that seems to actually cause more shutdowns than before. So we'll stick with the stock (stick/stock lol) driver until i'm done with my own ;)
[LG Optimus 2x] bliizzz:
After being affected by this bug its present in cm10.1,cm10,ics(stock/aosp),cm7,gb stock,froyo :p
[LG Optimus 2x] BS86:
just wanted to say that i had a battery-shutdown yesterday, on 118, while i never had one since i switched to PA in january ;)

i saw the 98% on discharge today, but it was displayed way shorter then the 99% and 97% although i did nothing different for the time from 100% to 95%

but with that information i think its useless to post the specific battery data ;)
[LG Optimus 2x] sgspluss:
So its time for next stable kernel for cm10 and ics (hopefully the brightness bug are really solved) :) you do a very good job my friend :thumbup:

Send from my CyanGalOp Phone
[LG Optimus 2x] :
holy.. that is a sh!tload to do bro, i wish you luck on that and thank you in advance!
[LG Optimus 2x] LarsPT:
That's great, it's highly antecipated :) Thank you!!

PS: I hope I helped a little towards the fixing of the brightness bug... I still get them in PA11 when getting calls, I posted a logcat of that and I can post more if needed! Thanks!
[LG Optimus 2x] pengus77:
The brightness problem is due to a combination of bad commits from CM in the kernel and wrong paths used in the roms for reading/writing the brightness values. Basically the CM base code blindly used some stuff forward ported from GB without even taking a look if it was ok-ish. In particular the path used to write the brightness to the kernel accepts values between 0 and 255 but converts them internally to a shorter range of 0-22. The rom then goes reading back the value from the same path and gets a 0-22 range. It writes it back and the whole thing goes kaboom. That's because that sysfs entry is not the right one !!! I digged around a bit and found the right one that accepts and displays the right 0-255 range. This requires a change in all the CM-based roms around and a few fixes in the kernel (which are actually a couple of CM commits reverted). The next 119 will support the right way of handling brightness so, if rom-makers follow the instructions, the brightness bug will go bye bye soon everywhere. Full instructions will follow as soon as we're certain all is correct ;)
[LG Optimus 2x] Custom40:
This is the code Pengus live by when coding:

Thanks to his dancing with LG and CM, even we learn new things every day <3
[LG Optimus 2x] sgspluss:
VERY VERY good my friend :good:

If the brightness bug are really will gone i will build my both roms with this kernel (CM10 with you Kernel are still best experience in all aspects) ICS will get this too :highfive:
[LG Optimus 2x] bliizzz:
This might be helpful penguss no shutdown bug in exp112 reporting after second full charge:thumbup::thumbup::):)
[LG Optimus 2x] pengus77:
... 112 ?
[LG Optimus 2x] bliizzz:
Ya i just went through the changelogs in the download folder and selected 112 as the bug seemed to appear 113 onwards fixes appeared from 114,:p and ive been using 112 heavily since today morning

Temasek unofficial v56, kk exp112:)
[LG Optimus 2x] SWTR:
I have noticed when I have W-Lan and mobile data switched off, there is no shutdown bug. Maybe it has something to do with your new network driver... just thinking.

Gesendet von meinem LGP990 mit CM10.
[LG Optimus 2x] massimo69:
I dont really get it sometimes.... do people even bother to read (and I am not referring to you in particular even if I am quoting you) the posts above them if not at least one page back.

It does make me feel sad, I can only imagine how our developers feel.......... :crying:

EDIT: where the hell our official fish slapper has gone......... TRAP.......... we need you..... dont start fishing around, you wanted the job, you got it and where are you when you are needed??????
[LG Optimus 2x] pengus77:
I'm getting more and more convinced that the bug has something to do with the RIL. It polls the battery stats every now and then via sysfs and it's kinda wrong that it does so. I'm actually investigating this way studying the radio logs. Sometimes you'll see appear messages related to the battery in there. Would be interesting to grab a radio log when the shutdown bug appears...

About this: can anyone having the battery shutdown bug try to use the V30A RIL for a couple of days and see if it still happens ?
[LG Optimus 2x] tr@p:
Always picking the right fish for the job... it's not easy...
[LG Optimus 2x] massimo69:
I am using it and I have the bug (note I am using the ril from the dropbox folder since you pushed it), not as often since I started to use cm10.1 but I still do...... ( it happens when the battery is low. eg. below 10% on cm10.1 and always when doing something. Eg. call, sms or using an app.) It probably happens when the phone is in deep sleep too but since the phone is not in my hands I didnt notice.
[LG Optimus 2x] zchuxz3x:
4 days with 30A and I not have shutdown.... (PA11, KK118)

need more information?
[LG Optimus 2x] petervanooyen:
Yea didnt have shutdown as well pa11&118 v30a europe
[LG Optimus 2x] darkrulerz:
I'm using V30A and experienced the bug at 27%. It happens about once every week.

I'll try to get a radio log for you next time it occurs.

EDIT:

Last shutdown was on 117, also had it while using 116. Currently on 118 ofc...
[LG Optimus 2x] massimo69:
ATTENTION

I believe that pengus77 is asking about testing with a V30a RIL note

RIL not BB

If you dont know how to change ril in CM10/CM10.1 ask or dont touch it.....

Thank you
[LG Optimus 2x] rafabad:
+1 without changing RIL
[LG Optimus 2x] Kinimod01:
awesome kernel!, never had any shutdown etc. issues (v30a / PA 10 / kernel exp118)

just a quick question: Is this set up still recommended?
[LG Optimus 2x] flopower1996:
No problems so far.

Exp. 118 newest pa and new BL.

Gesendet von meinem LG-P990 mit Tapatalk 2
[LG Optimus 2x] darkrulerz:
I know this wasn't directly meant as a response on my post

But still, I want you to know that I know what I'm doing ;)
[LG Optimus 2x] tr@p:
Kimi? :laugh:
[LG Optimus 2x] Anurag pandey:
I never got that shutdown bug since i switched to new bl.i got that a couple of times when i was on the old bl.my baseband is v20i and i use the default ril
[LG Optimus 2x] PYCON:
Why with latest 2 or 3 upgrades of trickster mod is no more possible to set voltage ??? :crying:

Ver 115 / 116 / 117 / 118, every trickster mod version of this last 30 / 40 days...
[LG Optimus 2x] punyategar:
Use cpu adjuster. Its been established all this time.
[LG Optimus 2x] PYCON:
With it, there's no way to adjust the voltage in + / - 5 mV step by step... :(
[LG Optimus 2x] massimo69:
And if you read the thread you would know that the nvidia/lg code supports only 10mv steps.....
[LG Optimus 2x] imayoda81:
Hi there [MENTION=3783116]pengus77[/MENTION]

i've been for a while on 116 and 2 days ago it started to shutdown with battery crazy indications, same heavy usage as ever, just reporting it started after weeks of peace and good behaviour.

thanks :)

right: i'm on v30b couple A3 sku and original battery (fresh one)
[LG Optimus 2x] haula:
hey penguss was on pa 11 new bl , v30a ril,bb ,kk118.

got some radio,dmesg,kmsg logs just after the auto shutdown
[LG Optimus 2x] derEremit:
On 30a for months. As i can remember only have had shutdowns with the original lg battery. Cant remember to have had a shutdown since i only use one of my cheap 3rd party batteries
[LG Optimus 2x] rxjx:
Im also having problems with battery..phone shuts down..lets say i have 25% battery then suddenly it shuts down saying 0% battery.
[LG Optimus 2x] Custom40:
I wonder how many replies I could find in this thread alone saying the same: "Phone shut down suddenly". I don't even think it is possible to quote so many posts at once in one reply.

Pengus said he was on it already. What more do you want? A payment for the "inconvenience", perhaps? Head back to GB if you don't like what you see.
[LG Optimus 2x] revee1:
Maybe I am one lucky guy so far, i never have had a shutdown.

I am on CM10.1 - S3 Look & Feel v2 and i am using 118.

Battery lasts for almost 1,5 days.
[LG Optimus 2x] rxjx:
We are just sharing experiences on using the kernel..and I believe there is nothing wrong with it..Peace!
[LG Optimus 2x] haula:
I think you're not suffering from this bug because reverting back to gb/froyo/ics through nvflash/smartflash isn't working(bug is carried over there too) , and yes I agree with you it's useless to post about the bug without a radio/dmesg/kmsg/log (Sir penguss himself suggested us to post logs).

And we know he is working on it which may take time and all are ready to wait for any desired time.:)
[LG Optimus 2x] Vankata_91:
Me too. I am on PA and 118, 30a and I have never had such problems with shutdowns.
[LG Optimus 2x] mas2112:
I've been on V30A for a long time, and I've never experienced this shutdown bug.

Edit: I'm currently using Temasek CM10.1 V54, kk 117.

The only problem I have is my phone sometimes isn't able to reconnect to the cell network at all after I come out of my office, where I have no cell reception. I'm guessing something in the BB crashes and gives up. The only way I can recover is a reboot. When I turn on airplane mode, I cannot turn it off until I reboot. Is there a way to reset the BB without a reboot?
[LG Optimus 2x] Luk_Optimus:
Please guys, Pengus asked the people who are affected by the shutdown bug to test the V30A RIL!

So, if you did that, then post your experiences.. If not, don't mention the shutdown bug. It is known and the master is working on it! (Thanks Pengus in advance)

If you have any other bug, please post a logcat! Keep in mind that this is a dev thread :silly:
[LG Optimus 2x] oneearleft:
Edit: deleted
[LG Optimus 2x] tonyp:
Yes, very good idea. pengus and I will start paying 5€ for every bug someone finds.

Please report especially bugs that are already known, as we need a couple reminders each day or we might forget what issues there are.

I mean, we are working for free, the least we expect are constant complaints. :D
[LG Optimus 2x] dr.lube:
i got the "seriously reply" -> i was wrong!
[LG Optimus 2x] oneearleft:
I am under the impression this is normal for non-GB (ICS at least), and

installing a new RIL is simply putting a new lge-ril.so there.

But this is unconfirmed... (It is hard to find info on this).
[LG Optimus 2x] massimo69:
That is because its called liblgeril.so as I said if you dont know what you are doing dont mess with it.
[LG Optimus 2x] rockyy:
Can i also install kowalski kernel for STOCK? or is that no good idea?
[LG Optimus 2x] jura55:
Hm, I can confirm I had no lge-ril.so in /system/lib
[LG Optimus 2x] pengus77:
Seriously guys ? ...
[LG Optimus 2x] clashman90:
is a trick question?. XD

If you can install it, but the exp118 and 100p5 have brightness bug yet.

I would expect the exp119, which is already solved (Thanks to Almighty pengus.).

Greetings.
[LG Optimus 2x] dr.lube:
Getril says that I haven't RIL installed, that's why I followed the other guy instructions to change it.

May I ask how to check the ril version in the right way? As you can see I'm kinda noob :)

I just want to help..

Tony 11 (CM10) - KK118 - NewBootloader
[LG Optimus 2x] massimo69:
You cant. RC modified it.

Cm10+ based roms have by default a V28 ril which works. Again if you do not know what you are doing dont mess with it.
[LG Optimus 2x] bree1:
I just had a freeze last 10.1 tonyp and of course last kk exp (maybe 119?) kernel. I removed the battery and put it back in the shortest possible time and then after a reboot I got the logs. I hope it will be useful and I hope I was faster with the re-insert the battery.

https://www.box.com/s/7y6l9oer84sfaut95mit

Inviato dal mio LG-P990
[LG Optimus 2x] svein01:
True. RC modified the name of the RIL in CM so that people wouldn't mess with it. The idea was that this library was considered stable, and that people messing with it caused the same people to report bugs that didn't exist in official CM releases. This time around, there's a real possibility that the default RIL may be causing issues. If I remember correctly, the default RIL is v28-based from a leaked LG pre-release ICS ROM and I can't help but think there's a reason that the official LG was eventually changed to v30 could be that LG found bugs in the pre-release version (heavens, No!! LG found a bug all by themselves???)

Anyway, massimo69's point is absolutely clear and to the point: don't attempt this if you haven't done your own homework and thus don't know what you're doing!!
[LG Optimus 2x] massimo69:
And the code in CM10+ rom to read that RIL....Which to date has not been reverted either by the CM team or by the devs around here.
[LG Optimus 2x] tonyp:
Reverting the RIL to it's old name is rather easy, but I don't see a real reason to do so.

Don't forget I did some tests on PA (~build 03 iirc) where we tested 30a, it resulted in slightly more RIL crashes without any apparent improvements.

The battery shutdown bug happens on both RILs, we got plenty confirmations in here, so let's not start to create another hoax here, there are already way too many myths around BBs and RILs floating around here (no, changing your BB wont magically fix all your problems..).
[LG Optimus 2x] massimo69:
That is the reason why I didnt give instructions on how to do it... pushing a V30a ril caused me being without a phone.... every third phone call it would crash....

It settled eventually but it took more the a few weeks.
[LG Optimus 2x] pengus77:
On a bright note, I just finished decompiling the whole ics private telephony framework, which includes the java implementation of the ril commands... and handed over the results to Tonyp ;)
[LG Optimus 2x] massimo69:
Oh.... I forgot the daily spoiler......

You are never going to be in the dark again if the screen goes dark :D

as the Queen would sing "another bug bites the dust"
[LG Optimus 2x] DrummerMuppet:
If this means what I think it means... that's good news! ^^ (although it doesn't really bother me, but still :victory:)
[LG Optimus 2x] zchuxz3x:
c'mon Nelson hhaha xD

thanks pengus, you really LOVE the Optimus 2x xD
[LG Optimus 2x] alexander555:
Great picture. Good community here and I hope the kernal team work further so good together and have fun to get the optimum from "old" hardware. It's the same body of thgougth like the my C64 history ;)
[LG Optimus 2x] pengus77:
... then you find out that probably the battery is bugged because there is this code in the update routine...

...
if( 3400 >= batt_info->voltage )
batt_info->voltage = batt_info->voltage;
...

Testing the 4th pre-release of 119 and seems all good so far. Will upload as soon as i get some feedback from the testers ;)
[LG Optimus 2x] LarsPT:
Hahaha... that's great... but how could that possibly do anything to anything? It does nothing at all!
[LG Optimus 2x] pengus77:
Oh, it wasn't only that line... that borked assignment is repeated at least three times in the same function. Instead of storing the previous voltage as it should be (prev_voltage = voltage) they copy/pasted badly from the GB driver and left an identity. Gotta love LG :D
[LG Optimus 2x] darkrulerz:
You should write a small application to test for this:

SOMETHING = SOMETHING;

if both SOMETHING's match, it should tell you the file and line on which it occurs.

I bet LG wrote more of this kind of useless statements :p
[LG Optimus 2x] alexander555:
May it would help if the LG developer read the book of Robert C. Martin -> Clean Code
[LG Optimus 2x] LoeWn:
..or just went back to school
[LG Optimus 2x] Kyrandialegend:
I bet they are stagists at 500€/month with a turnover of 6 months