yashsingh1/xdaforums huggingface dataset:
[LG Optimus 2x] pengus77:
Ok i really need a tester on the old bl. Must know how to make logs, use gtalk, have dropbox installed. Possibly someone with a bit of kernel logic knowledge... i need him NOW :D
[LG Optimus 2x] luupocok:
old bl 121.1 and 121.2 stucked at single LG logo too. revert to 120 :(
[LG Optimus 2x] Luk_Optimus:
It seems that the upload isn't allready finished

Edit: Try again now..
[LG Optimus 2x] pengus77:
Just reuploaded a third version "kk-exp-20130505-121v3-oldbl.zip" to my folder. This one has to work :)
[LG Optimus 2x] KiRAdot47:
instead of a program or in parallel can't u link it to cyanogen autobrightnes tuning?

or is it already linked to that?
[LG Optimus 2x] tonyp:
No, that won't work without rom support.

I could adapt the interface to read and write from the sysfs, but every dev would have to hack that into (and there are lots of different implementations between the roms).

Additionally it would never work with ics, so I'd say it's better to have it in the kowalskimanager, that makes it easier for the rom devs and would be universal.

In my new cm10.1 rom I already removed the option to change the auto brightness values (as it doesn't work in it's current state anyways).
[LG Optimus 2x] Luk_Optimus:
121v3 oldBl is working fine :highfive:

the first autobrightness test was also succcessful
[LG Optimus 2x] orgler:
I'd be ready to do some testing....
[LG Optimus 2x] bugadani:
121.3 works nice, but cm 10.1 has issues setting up autobrightness (only 3 levels and the 5-inf is indivisable) so I'm not gonna say anything about that. Anyways, nice :)
[LG Optimus 2x] KiRAdot47:
long press one option from there and u will have a menu

afaik setting the levels from there won't work, for fine tuning the brightness levels, an option will be included in the manager (few posts ahead it was told)

guess you're too busy or too ignorant to read and after comment
[LG Optimus 2x] bugadani:
I can only edit/divide the 2 lowest levels that are: 0-1 lux and 1-5 lux. I can only remove the 5lux-infinite row. So this is practically useless. These values are set in one of the overlay xml files in I think the star-common repo in cm, with a comment that the actual values are contained in kernel and should be read from there.

By the way I think I am human enough to miss one and a half line in a single comment that is irrelevant to the default brightness setting screen in cm 10.1
[LG Optimus 2x] luupocok:
v3 works, auto-brightness a bit dark for me
[LG Optimus 2x] bobseven:
Why do I get superuser notification for Kowalski Manager every time I end call?
[LG Optimus 2x] kingvortex:
Because it needs to restore the settings from the audio tab in the manager as a call resets them.
[LG Optimus 2x] jessgade:
yep - auto brightness is wee bit to dark :)
[LG Optimus 2x] tonyp:
which brings me to an idea. [MENTION=3838586]wfd[/MENTION]: could you change that behavior for the next version? su calls are expensive, you could first check if the values have been changed in the broadcast receiver and discard it if they haven't.

Or maybe add an on off switch to the volume change tab which controls the behavior.
[LG Optimus 2x] JUMPhil:
This sounds good to me!

That's like the ringing profiles in system settings.
[LG Optimus 2x] Dru79:
While phone is charging then volume keys wake up phone but when phone has disconnected charger then volume keys don't wake up phone. Why? (100p5)
[LG Optimus 2x] Luk_Optimus:
I have a very little bug report:

with kk119 the torch would stay on, even with screen off. Somehow on 121 (oldBl) + 01-TonyP it turns off again.

Thanks!
[LG Optimus 2x] aigaming:
Couse our phone "sleeps 2 much"(on charger doesn't sleep),it's been like that since gingerbread ;)
[LG Optimus 2x] pengus77:
Useful Fix

Hey, so here's a fixed lights.star.so file that i compiled for all CM10 based roms (that includes PA of course). That is, 10, not 10.1... don't flash this if you're on 10.1... you've been warned...

This one fixes the "OMG my phone screen doesn't turn on !!!" bug, so flash it in cwm, no need for any wipe, reboot and have fun. It's in my XDA FileServer folder in the Addons dir. Obviously the file to download is lights.zip ;)

Have fun !
[LG Optimus 2x] disti84:
hi, I have just one problem with this kernel: WiFi is unstable, it disconnect and connect from ap . it is normal?
[LG Optimus 2x] tonyp:
This file should only be needed on my PA ROM for people who have the "screen stays black after unlocking on autobrightness" bug.

Other ROMs don't have the brightness path fixes by pengus included (yet), so they won't suffer from the bug.
[LG Optimus 2x] sgspluss:
Needed in your CM10 too or only in this CM10 which allready include the semi-fix for auto brightness?
[LG Optimus 2x] aigaming:
Great work Pengus ;)

The only thing i have noticed so far is the time for wake-up with auto brightness and manual brightness(i'am using tony's cm 10.1)

With auto(couse of some routines i suppose) it takes 1 more sec to wake up device with button(not snappy like with manual) but i can easy live with it or set it to manual ;)
[LG Optimus 2x] pengus77:
Yeah that happens because it has to read the light sensor before applying the brightness. Nothing major though for me.

Anyway the new auto brightness code is ok ? Screen brightness is more variable right ? Pretty dark -> pretty bright...
[LG Optimus 2x] aigaming:
Switched to new kernel and right away noticed pretty dark auto brightness(for my taste) (i'am in not soo light room,think lowest value could be raised tiny)

From 120(in tony's rom) to 121
[LG Optimus 2x] DrummerMuppet:
Yes, it does seem to adjust properly to light intensity changes. Great work mate!
[LG Optimus 2x] pengus77:
You can overwrite the default ALC table via sysfs to adjust it to your taste. It's all written in the release post a couple pages back ;)

After you find the values that you like, you can slap them in an init.d script and have them re-applied at boot...
[LG Optimus 2x] aigaming:
Oh didn't notice that in file,tnx,great stuff(it should def. be in kowa manager in future releases) ;)
[LG Optimus 2x] wfd:
I tried to get volume values without su via command

/system/xbin/alsa_amixer sget "Speaker"

but its impossible, alsa_mixer gives an error:

amixer: Mixer attach default error: No such file or directory

Or i missed something?
[LG Optimus 2x] flat__line:
Current Lux value

Is it possible to read the current lux value delivered by the sensor?

Thankx,
[LG Optimus 2x] MinoochX:
I compiled the kernel and it doesnt boot after i flash. stuck at lg logo. i used cm p990 defconfig. did i do anything wrong? used 4.6.2
[LG Optimus 2x] pengus77:
To enable the sensor so that it writes in sysfs:

echo 1 > /sys/class/backlight/aat2870–backlight/device/lsensor_onoff

This will work unfortunately only if auto brightness is enabled.

You can then read the sensor values from /sys/class/backlight/aat2870–backlight/device/alc_value ;)
[LG Optimus 2x] Joe4899:
Really awesome work thank you! :thumbup::thumbup::thumbup:

There is just one little thing... When auto brightness is enabled and you press the power button to turn off the screen it gets very bright for ~1s before it turns off :D
[LG Optimus 2x] flat__line:
Thanks a lot: do you know if the forthcoming UI will provide the user with the reading? I think it could be useful to tune the table ...
[LG Optimus 2x] JP12:
I have this very same problem. Not always, but especially when the battery is below 50%. Which logs are useful for this?
[LG Optimus 2x] smg72523889:
same here @90%

but is it really a prob 4 you? its only 1/4 sec or so.
[LG Optimus 2x] jigar2speed5095:
I also confirm the problem is there, the LCD would get really bright before it shuts down.

But the battery life is getting awesome each day. I am stuck at 85% since 7 hours. :D
[LG Optimus 2x] pengus77:
Hey hey,

the problem with the lcd that gets brighter when you turn off the screen is a bit hard to track down. I don't understand if it's rom or kernel related... i use the crt off animation and my fixed liblights and i don't get it anymore. Can you try flashing the "lights.zip" in my folder if you're on a CM10 based rom ?

About the small timeout when waking up, i already explained why it happens. The hardware has to wake up the light sensor too, so it takes < 1 second... come on, is it really a problem ? :)
[LG Optimus 2x] smg72523889:
donation 4 your great work on the way

4 me I love that "slowly-screen-turn-on". its like my car's radio which raises the volume slightly to last state when turning on -> a lot of people would request an app to get that "feature".

4 turn-off-brightness i'll try your lights.zip, but 1st i'll try tonys new big bang ...

hmm, out of thanks today .......
[LG Optimus 2x] imayoda81:
omg omg omg, i've been away 48 hours or so and here's exploded the penguins thing again :D

thanks guys, amazing things done here
[LG Optimus 2x] massimo69:
That is why the xda app is a must :D

You will never miss a thing again.
[LG Optimus 2x] imayoda81:
yes, that could save many people from sudden heart attacks :D :D
[LG Optimus 2x] JP12:
Looks like the lights.zip fixes it for me for now. Will report back when it happens again.

Can I assume that lights.zip will be integrated into PA13?
[LG Optimus 2x] pengus77:
Yeah it will :)
[LG Optimus 2x] andreilica:
And there can't be a lights.zip for CM10.1? :P Just sayin' ... :laugh:
[LG Optimus 2x] DrummerMuppet:
Do you actually know what lights.zip is for?

Tonyp's CM10.1 already includes this fix, I believe.
[LG Optimus 2x] andreilica:
Pengus stated earlier that who is on CM10 flash lights.zip to fix the "LCD getting brighter before closing". And I am experiencing this issue with Tony's CM10.1 so I believe it doesn't include it. :)
[LG Optimus 2x] pengus77:
The fix is already present in Tonyp's 10.1. As i said earlier, we're not sure what causes it. It's totally random....
[LG Optimus 2x] andreilica:
I understand. Thanks for the clarification! :)
[LG Optimus 2x] KiRAdot47:
[MENTION=3783116]pengus77[/MENTION]

sorry to bother, this is just a tip (and thank you again for the auto brightness)

but, could you add some sensor filtering, or a sensor average, read 2 times > report the brightness, because sometimes it's really jumpy, i mean the light level gets +1, -1,+1,+1,-1 really "fast"

like it was on cm (window length, number of reads)

thank you :victory:
[LG Optimus 2x] UserMe1:
120 exp

when on charge the phone is geting really hot! is this a know issue ?
[LG Optimus 2x] rlees85:
I can only thanks very much for this pengus. You and tonyp really have given the P990 a second lease of life and you have saved me from wasting money by upgrading my phone by making this one perfectly functional instead. Allowing me to wait for the nexus 5 instead :p

I just have one suggestion about this kernel. I find the wifi performance is pants (dropping in and out) whereas on CM7 it is solid. I think its because my room (at my house) and my gfs room (at her house) are both on the edge of the wifi routers range.

You mentioned somewhere that LG/Broadcom got the TX power stupidly high in their stock kernels. I am wondering if this is why I am getting trouble with CM10.1/KK but not on CM7.

If my comments make sense, could it be worth extending the TX power slider to allow up to the LG/Broadcom limit (with an associated warning of course)? (or even the sysfs command would be great so I can add it to init.d)

If this isn't the reason the new wifi drivers aren't up to much then please ignore this suggestion :good:
[LG Optimus 2x] calav3ra_de:
The automatic brightness is working perfectly, i just think the batterylife isnt as good as on ~exp114 where the min-voltage was 650mv, not 700mv.

anyways, the kowalskimanager resets the USBfastcharge to false whenever i reboot, which is not so great for me.

edit: of course thanks a lot to pengus :o
[LG Optimus 2x] teddy_kkk:
my kernel is 2.6.39.4, is that old or new kernel? for the Kowalski kernel, old or new?
[LG Optimus 2x] pengus77:
2.6.39.4 is the linux kernel version. Latest experimental is 121 and latest stable is 100p5. You should see the version next to the kernel version.

If in doubt, just re-flash :D
[LG Optimus 2x] wucinac:
Deleted
[LG Optimus 2x] derEremit:
Gettting BSOD at least twice a day since v120, skipped v119, was stable on 118.

what should i do to get all debug messages.

last BSOD was half an hour ago. Can i still get the required information?

adb set up and running btw...
[LG Optimus 2x] body150165:
Hello,

quite happy with the Kernel. Just wondered: It is said in the OP that I can oc to 1.2Ghz and the entries of 1.1 and 1.2 appear in SetCPU very well.

If I scale down to 912 or 860, no problem: still stable and fine. But if I scale up to 1.1 or 1.2, it remains at a max of 1000. SetCPU shows 1.2 max but it obviously never uses these speeds.

Tried Antutu CPU master, showing same result. So, I guess it is Kernel related

Some hidden setting to enable OC?

I am on stock ICS 4.0.4 new bl

Thanks in advance
[LG Optimus 2x] BS86:
thats because only Cpu Adjuster and Performance Control work correct with the kernel, or the CM-settings in tonyp's CM10.1 - T-build
[LG Optimus 2x] teddy_kkk:
can show me a link on how to install the latest version? thanks in advance!
[LG Optimus 2x] kingvortex:
Search the thread and you will see that it's been stated probably over 20 times that neither of those tools will overclock correctly with this kernel.

I'm not currently using this device and will not search for you, but the recommended OC app was CPU Adjuster.
[LG Optimus 2x] KoRRo89:
Yesterday I flashed tonyp cm 10.1 and kk121... It's awesome, fast as hell, absolutely no lags and battery life is awesome! There's only one last big battery drain (12%/h today) due to poor signal but it's not such a big deal even if I spend most of my day inside a building with almost no signal because I keep the phone plugged to my pc...

Auto brightness is awesome even if a bit too fast for my taste but again, it's not a big deal...

Thank you so much pengus and tonyp, you are awesome!
[LG Optimus 2x] clashman90:
Read the first post.

And find the downloads section (XDAFileServer).

The most recent are the experimental kernel (KK121) (Folder Nightlies).

Download according to your boot loader
[LG Optimus 2x] teddy_kkk:
erm, noob here, how do i know what is my bootloader?
[LG Optimus 2x] clashman90:
baseband version?.
[LG Optimus 2x] massimo69:
Well did you ever flash a custom rom? if yes what rom are you on now?
[LG Optimus 2x] KoRRo89:
What rom are you using?
[LG Optimus 2x] Kinimod01:
First oft all thanks a lot for all the work you put into this kernel ! I really appreciate your work, it certainly has increased this phone...:thumbup:

Just one general question: Often I am in an area with very bad or none mobile signal. This drains my battery very much. Is there any way that this drain can be decreased by the kernel?

Please do not see this question as a demand. I am rather curious if this drain may be able to get fixed or if I have to get a long with it. :)
[LG Optimus 2x] x_justin:
Common, this is not for in the developers section! This kind of posts make this thread off topic. Just search and read, don't be lazy to ask everything. Sorry but there are perfect guides to help you underestanding everything.

Start here...

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

Then read the first posts from Pengus!

edit, to help you a little further, turn off your phone and turn it on. Look at the first logo:

pink LG logo is new bootloader, grey LG logo is old bootloader. My advise, upgrade to the new one, how? You can read it in the link I sent you.
[LG Optimus 2x] svein01:
This is a common problem with this phone in general. It is most commonly referred to as 3g battery drain. I found that disabling 3g and data altogether helps, or even keeping just 2g and not go to 3g. There are some issues switching back and forth between 2g and 3g, mainly that sometimes you will lose data connectivity altogether until you reboot. That's also a known issue. Both topics have been thoroughly discussed in this and other threads before.
[LG Optimus 2x] clashman90:
The Silence of: teddy_kkk, is disturbing XD.

jejeje.
[LG Optimus 2x] derEremit:
sorry to quote myself but are my posts invisible ??? ;)
[LG Optimus 2x] sgspluss:
try to use kk exp 121 and btw:

;)
[LG Optimus 2x] mrjeff:
KK121 Battery dodgy behavior

Today after charging the battery fully with the phone powered off I unplugged, booted up and the following occured:

Just after the GUI appeared the battery % showed up as 999 and then 99. After a spilt second it suddenly read 75%?!

Then over the next half hour it crept up from 75% to 100% in intervals, like 78%, 80%, 91% etc.

The same values showed up in the hidden menu (if that has any relevance).

Yesterday (but with another battery) I also charged fully with the phone powered off and when the GUI kicked in it also showed as 75%.

It the proceeded to drain quickly, down to about 50% in less than an hour. This was with auto brightness on. Today I have auto brightness off and

it seems to discharge normally. Any thoughts? Could it be my batteries somehow?

best

Jeff
[LG Optimus 2x] massimo69:
No with the phone off the battery info did not get deleted. Next time take the battery off the phone and wait 15-20 seconds then plug it again.

Same goes when switching batteries, wait @ least 15 second before you put the other battery in..
[LG Optimus 2x] mrjeff:
KK 121 Apollo..

is for some reason not running on this kernel. At least not for me.

best

Jeff

---------- Post added at 01:08 PM ---------- Previous post was at 01:04 PM ----------

Aha, make sense. So always take out the battery between charges.. And what about battery stats? No need to set those anymore?
[LG Optimus 2x] derEremit:
I've read every Post in this Tread and seen this and similar images...

I'm on 121, have random shutdowns since 120.

my question was if logcat is enough and if logcat is usefull if the reboot is (now 5h) old.

I know some time pengus said logcat is not enough and he'd like something else. I just like to know best practices for me or my case:

Phone suddenly shuts down, what should I do.

Or generally if there's some static page / wiki for:

"Hey i've got a kernel problem these are the steps to help the kernel dev."

googleing didn't help me much. Tried that.
[LG Optimus 2x] DrummerMuppet:
-> Hint <-
[LG Optimus 2x] massimo69:
But reading this will help you in getting useful logs.... http://xdaforums.com/showthread.php?t=2185929

And secondly which rom are you running? because if you are running CM10 and or PA12 you should flash a zip posted a few pages back that solves that issue....
[LG Optimus 2x] Escobarretje:
There is a wiki topic tonyp made: http://xdaforums.com/showthread.php?t=2185929

EDIT: damn 2 times too late :P
[LG Optimus 2x] derEremit:
Thanks. Thats what i wanted ;).

Will see what i can provide when next shutdown happens.

I'm currently on tonyp 10.1 had shutdowns with it and before with official 10.1.
[LG Optimus 2x] sudden36:
Hi pengus

I just noted a strange behavior of your batterydriver.

I drained the battery completly until the phone went dark. Then put it on ac charger for 1min and booted it. I pulled the charger and watched the voltage of the battery via sysfs. Also watched battery temp which was 15° which is impossible, cause room temp ~22°. But the really strange thing was the battery percentage suddenly jumped to 95%. A few seconds later phone went off again.

So maybe you have an under/overflow in your batterydriver which also causes the phone to not shut down normally.

Because i the phone went completly dark (needed half a minute to load the charger animation) i the log is of no use

I don't want to complain about anything, your kernel and tonys rom are awesome ;), i just thought it may help you track this bug down :)
[LG Optimus 2x] mas2112:
I'm getting BSOD too, since kk 120, but not as often as you are. I thought I was the only one. I'm on Temasek CM10.1, kk 121, bb v30a. When I have time, I'm going to wipe and install tonyp's Rom, see if that fixes it. Also, I'm seeing high battery drain, but I think that might be a bb problem. If I still see high battery drain on tonyp's Rom, I will try to revert back to bb v20q, see if that helps.
[LG Optimus 2x] massimo69:
Not to quote the above 2 posts.....

I have been using tonyp cm10.1 and kk121 both of them in a pre release mode. Me and a lot of other testers didnt have any issues...

This is a developers thread and for the sake of "insanity" please start to post logs...

otherwise tr@p is gonna be working overtime......
[LG Optimus 2x] BS86:
pengus77, you told us some time ago that the battery is somehow not fully charged when charged over a normal USB connection, although it says 100%. Is this behaviour fixed with your battery driver?
[LG Optimus 2x] pengus77:
It "should" be fixed :p

As a matter of fact now the real voltage is read more often, so do this for a test: plug usb, open something heavy (game ?, chrome ?) and start using it. You should see the battery level stuck, because the power it gets from usb - the power consumed by the device < enough to charge. This i call realistic :)
[LG Optimus 2x] MinoochX:
Extreme usage.
[LG Optimus 2x] DrummerMuppet:
... and a VERY poor signal. No wonder why your battery didn't last :P
[LG Optimus 2x] 60nine:
yesterday i was playing 8 ball pool (wi-fi on, screen on) for 2 hours plugged into a wall charger and the battery was stuck on 100% - so i can confirm that i guess :)

before that - i had a slow discharge when playing a game connected to wi-fi... (i can also try this with more consuming game like Real Racing 3)...
[LG Optimus 2x] MinoochX:
its dying here XD later im gonna show one last SS when i arrive home

arrived.
[LG Optimus 2x] pengus77:
Oh this seems like a new interesting app guys: http://xdaforums.com/showthread.php?t=2221600

Anyone wants to test it ? :)
[LG Optimus 2x] sudden36:
Downloading...
[LG Optimus 2x] dr.lube:
Hello Mr. Pengus, I have got a bsod.. (found my phone with black screen, I had to pull out the battery)

My battery level was 99%

http://db.tt/KUszBaId

EDIT:

it happened again! i've connected my phone (with black screen -> deep spleep) at the charger and my phone died. (the previus bsod happened with the same conditions -> charging while in deep spleep)

Here is the log! hope it helps :)

https://www.dropbox.com/s/f17179iic7hrjd0/2013-05-08_20.35.zip

cheers ing pengus
[LG Optimus 2x] sudden36:
First test complete :)

ROM: CM10.1 by tonyp

Kernel: kk-newbl-exp121

200-1200Mhz dyninteractive and row

Slightly undervolted ~30mV, all steps

Wlan on 19dBm

Brightness to max to not take the test forever

Ask for more information if you need :)

Video test 720p: 1:28h :)
[LG Optimus 2x] BTW lover:
I've just squeezed 36 hours of continous use out of my phone. Pengus you are THE man!!!

But what I wanted to ask: My battery health is shown as OK in hidden LG menu, ipdoes anyone know if there is a better health state than OK? Ok sound like well your battery isn't doing too well...
[LG Optimus 2x] ron_gangte:
Mine shows "good". It's been always like that. Don't know what that suggests though. My battery is healthier than yours? :P
[LG Optimus 2x] flat__line:
More than two days with 2g on (albeit with not much activity) using a 1800mAh aftermarket battery :)
[LG Optimus 2x] teddy_kkk:
like i said, i am a noob. and it's not as if i asking for an a to z explanation. and just to let u know, i saw the logo difference in a post elsewhere. but googling it is not as easy as LG O2X is not super famous phone! no need to massacre for just a simple question!

fyi, i m not someone who read every post in xda. so my silence is nothing disturbing, ur comment was though... ^_^

---------- Post added at 06:30 AM ---------- Previous post was at 06:27 AM ----------

sorry for the late reply, i found the answer, thanks anyway! cheers....
[LG Optimus 2x] owais40:
[MENTION=3838586]wfd[/MENTION] .... Kindly consider adding "AIF1 Boost" option from Alsa Mixer in next version of KM.... It gives a huge sound boost....

Thanks ...