yashsingh1/xdaforums huggingface dataset:
[LG Optimus 2x] Farsx:
I just checked the schematic, there IS an external temperature sensor connected to the AP20H SoC thermal diode and controlled via I2C!

It's a NCT1008 from ON Semiconductor, it should provide two temperatures: its internal and the one of the SoC.

I also checked the kernel source and I believe it is already supported, we just have to enable the configuration option...

Currently there are two (!) drivers:

a standard one from Linux (Drivers->HWMON->LM90)

a proprietary one from NVDIA (Drivers->Misc->ON Semiconductor Temperature Sensor)

The first one implements the standard Linux HWMON interface (to use with lm-sensors or with sysfs), while for the second one I suspect it's used by some kind NVDIA thermal throttling driver (arch/arm/mach-tegra/board-ventana-sensors.c) which unfortunately is not ported to P990.

Could you try to build a kernel with one of those options enabled? I would have done some tests but I'm away from my Linux box and cannot compile... :crying:
[LG Optimus 2x] pengus77:
Really interesting. Thanks for the input and the research. I'll check the source and the schematics and will try to enable it. Also, by using the soc temperature, together with the battery temperature, I can code a better throttling system ;)

Sent from my Galaxy Nexus
[LG Optimus 2x] PYCON:
Ya why not :

rom --> Tonyp's CM11 26.12.2013 4.4.2

kernel --> every KK tried ( M1, 127 A 14 and now 127 A 20 )

other things... in my updated signature :p
[LG Optimus 2x] pijas82:
hi

M1 and kk14 no WIFI with cm11 26/12/2013
[LG Optimus 2x] PYCON:
This is not the right post to speak about Tonyp's CM11... ;) But... WIFI works great for me ! But only with kernel 3.1.10 ( A 14 & A 20 ). When I tried to flash old M1 release, WIFI and BT stopped to work.
[LG Optimus 2x] sudden36:
Double press to wake is close enough ;p

Gesendet von meinem LG-P990 mit Tapatalk 2
[LG Optimus 2x] pijas82:
No I did not start talking about Cm11 but not see any problem if the Pengus77 Cm11 spoke of the rom, rom slim etc recently regards.

Sorry my english
[LG Optimus 2x] ivaneris:
Afaik cm11 has different wifi driver...it should fine with alpha15 and up

How about you do a clean install and don't update superuser?

Sent from my LG-P990
[LG Optimus 2x] qqzwc:
Solved,deleted
[LG Optimus 2x] jovienc:
I have had the same problem, but o was able to reboot in recovery flash again the rom and problem gone.

My phone was able to start but unusable (very very slow) then froze, then reboot. And again and again :)

SuperSU don't seem to be a good idea right now !

Envoyé de mon LG-P990 en utilisant Tapatalk
[LG Optimus 2x] CalculatedRisk:
Random Reboots and SOD

Hello,

I have been receiving a few random reboots and SOD's lately, with the reboots showing the LG Logo and the SOD's being solved by battery pulling. When reinserting the battery, the device boots instantly, without any interaction with the power button. To the best of my knowledge, these errors occur due to kernel error, and that's why I am posting here. I have not had any SOD's today, so I have no logs, but I just had a random reboot and was able to get the Last_Kmsg, and have attached it. If anyone can take a look, it would be greatly appreciated. I'll be sure to post a log of the SOD if I get another one. Thanks in Advance.
[LG Optimus 2x] sudden36:
As far as I can say the problem comes from your internal sdcard. Maybe you can make a backup and restore everything with nvflash.

Gesendet von meinem LG-P990 mit Tapatalk 2
[LG Optimus 2x] PYCON:
Impossible. My purpose is to use NANDROID MANAGER that doesn't support native superuser of 4.3.x / 4.4.x android roms. I've to install another app to grant it superuser login, such as SuperSU or SuperUser app from the market. Nandroid Manager is the only reason for me to install another superuser app, trust me :(
[LG Optimus 2x] ivaneris:
Strange..i'm using nandroid manager with stock superuser app...no prob for me...

Sent from my LG-P990
[LG Optimus 2x] trocopassu:
+1!

Nandroid Manager & Superuser v1.0.2.8 [ClockWorkMod...]:cool:

LG O2x[P990]@Tapatalk Pro v4.4.0
[LG Optimus 2x] aigaming:
After 5-6 days of pure usage and testing(no sods,verry smooth,stable -100mv) and now we only need more features,great work mr Pengy ;) :good:
[LG Optimus 2x] droide_volante:
Hi guys

What is the best combination governor/scheduler of cm11+3.1 kernel? And what is the stable frequencies to undervolting the CPU?

Thanks

Inviato dal mio LG-P990 utilizzando Tapatalk
[LG Optimus 2x] 4ever1lov3:
I prefer interactive/row. But it depends on the way you want your phone to behave, eg you prefer long battery life to performance or sth...

I don't get your question of "frequency for undervolt". People usually minus 50 or 100 mV for each level of cpu frequency. And you can overclock the cpu up to 1500MHz depending on your need.
[LG Optimus 2x] droide_volante:
Thanks friend!!!

I prefer a good balance battery/performance...

Which app is compatible with KitKat 4.4.2 and 3.1 kernel to undervolt the frequencies? Set to CPU? Trickster mod?

Inviato dal mio LG-P990 utilizzando Tapatalk
[LG Optimus 2x] ivaneris:
On android performance settings...no need 3rd party app...but you can choose trickster,or kernel settings (stock app from tonyp's rom)

Sent from my LG-P990
[LG Optimus 2x] droide_volante:
[MENTION=4576689]ivaneris[/MENTION]

In performance i choose only the frequencies , not the value to undervolt

Kernel setting? Where is?

Inviato dal mio LG-P990 utilizzando Tapatalk
[LG Optimus 2x] ivaneris:
I forgot where to download..but here on android development..but it stock app from tonyp's TheRom

Sorry in performance no uv option..forgot about it...

Sent from my LG-P990
[LG Optimus 2x] bliizzz:
exactly worked out for me
[LG Optimus 2x] oneearleft:
Search xda for kernel control app. It is currently in beta.
[LG Optimus 2x] flat__line:
http://xdaforums.com/showthread.php?t=2413824
[LG Optimus 2x] ivaneris:
Guys?just realize the uv settings from kernel control app doesn't works (cm11+kk exp127 alpha20) anyone can successfully uv-id with alpha20?when set uv,save,it back to normal value again :(

Sent from my LG-P990
[LG Optimus 2x] flat__line:
You can use cpu adjuster...
[LG Optimus 2x] ivaneris:
Ok..it's worked

Sent from my LG-P990
[LG Optimus 2x] FatherJony:
Usually not all values are supported by the driver, try a value of 11 or 20, they seem to work fine in my case. Also the dBm part isn't needed, you are fine with just a number.
[LG Optimus 2x] pengus77:
31 is an invalid value. Need iwlist to get the ones supported by the card. I'll see if i can compile it quickly. Anyway, 11, 13, 15, 19, 20 are supported.
[LG Optimus 2x] BS86:
unbelievable that they did this ... and it explains the extreme battery drain of many ROMs ...

Thanks pengus77! You are Awesome!
[LG Optimus 2x] kaioder:
I wrote 31 without the dBm and it was set 29, but anyway thx!
[LG Optimus 2x] pengus77:
Check on this link (http://www.cpcstech.com/dbm-to-watt-conversion-information.htm) for dBm -> W conversion ;)
[LG Optimus 2x] pengus77:
LOL ok this card is insane hahahhaa

root@android:/ # iwlist wlan0 txpower
wlan0 2 available transmit-powers :
0 dBm	(1 mW)
25 dBm	(255 mW)
Current Tx-Power:11 dBm	(12 mW)

Btw, adding iwlist to the zip in 2nd post and reuploading it. Will edit this post when the upload is done ;)

Update: Replaced zip in 2nd post with a new iwtools_29.zip flashable file. It will install both iwconfig and iwlist up-to-date with linux-wireless-tools-29 ;)
[LG Optimus 2x] FatherJony:
I really hope you can change it on the driver level, iwconfig can't be persisted without a loop script (worst idea ever :p), every time the wifi switches off and on the value is reset. I just need both my ears.
[LG Optimus 2x] pengus77:
Kowalski Manager (yeah another spoiler) will persist it on wifi-on ;)
[LG Optimus 2x] svein01:
Re: [KERNEL][CM10/CM10.1/ICS - OLD/NEW BL][010 - 2013/01/19] Kowalski Kernel

I noticed iwconfig will report 29 if you are not su, and whatever value you set txpower to if you are su. See attached.
[LG Optimus 2x] pengus77:
iwconfig works only as root afaik... i'll better change the modes to 0700 :)
[LG Optimus 2x] galpec:
sorry, no needed ;)
[LG Optimus 2x] ivaneris:
Re: [KERNEL][CM10/CM10.1/ICS - OLD/NEW BL][010 - 2013/01/19] Kowalski Kernel

Sir..i've tried method from carburano and yours (well..i don't use adb..just made that file etc,copy to init.d folder,set permission 755~that should be te same isn't?) But swap value doesn't change... still same as before 127m...or is it the right value?

Sent from my LG-P990
[LG Optimus 2x] Ximo F. Verde:
Ok, probably too late for the party but there goes:

After a quick-n-dirty test of the 3 modules, i must say that i saw very little to no difference. With all 3 of them the connection is more or less the same both in visible bars and bandwidth. In all 3 modules both connection and reconnection are done in a matter of 2-4 secs, but in the iscan/noscan modules, after reconnecting sometimes it takes a while until data actually starts to flow. In the default module, after connecting-disconnecting, it once took some time to reconnect again and i actually had to switch off and on wifi to 'wake it up'. no scan module might have been the fastest one (or snappier one better said) but this might have been a placebo, difference was minimal. Im on CM10 20130301 nightly, v28e BB, old BL, latest Kowalski.
[LG Optimus 2x] darka9:
Re: [KERNEL][CM10/CM10.1/ICS - OLD/NEW BL][010 - 2013/01/19] Kowalski Kernel

OK pengus since you are making an app for changing values on the fly why don't you add a vibration strength changer. A lot of users liked it and used it on gingerbread. Thank you for everything you do for our phone.
[LG Optimus 2x] alexander555:
+1
[LG Optimus 2x] Kyrandialegend:
R: [KERNEL][CM10/CM10.1/ICS - OLD/NEW BL][010 - 2013/01/19] Kowalski Kernel

32 dBm , are they insane?

I hope that is tue peak and not the mean TX power! Moreover related to continuos trasmission at higher data rate !

It' nearly the double value of US specs!!

Tnx pengus for having this chcked. Whas 32 dBm in GB too?

Could you check the TX power for 2g 3g antennas ?

Thank you so much
[LG Optimus 2x] antec123:
yes, in GB default TX power is 32 dBm, i used Wifi tx power to change the default value.
[LG Optimus 2x] CVonV:
i installed iwtools_29.zip in recovery and tried to use WiFi TX Power.. upon running it it says "Unknown id: wlan0".. the name of the interface is set to "wlan0".. if i click any of the dBm buttons nothing seems to happen (i recall in cm7 that using this app results in messages being displayed confirming the setting)... but if i check the in terminal by typing "iwconfig wlan0" it shows the "Tx-Power" to be set according to whatever button i pressed.. so currently i have 4dBm set
[LG Optimus 2x] pengus77:
Guys, i hardcoded a default 19dBm txpower level in the driver itself now. Of course it's changeable but on driver startup instead of 32 it will autoset 19.
[LG Optimus 2x] x_justin:
Re: [KERNEL][CM10/CM10.1/ICS - OLD/NEW BL][010 - 2013/01/19] Kowalski Kernel

Damn! And every 3dBm is doubling the power isnt it! Thats maybe one of the reasons this phone gets warm and sucked empty when browsing!

Verstuurd van mijn LG-P990 met Tapatalk
[LG Optimus 2x] droide_volante:
[MENTION=4576689]ivaneris[/MENTION]

What is your settings of governor/scheduler ?

Inviato dal mio LG-P990 utilizzando Tapatalk
[LG Optimus 2x] PYCON:
I'm using native "performance settings" in settings to set freq to 216 MHz / 1.200 Mhz. And no problem on boot phone, freq is correctly set :good:
[LG Optimus 2x] BS86:
the native performance settings of CM don't work on our phone. They only set the values for 1 core.

You have to use trickster or CPU adjuster to set it correctly.
[LG Optimus 2x] pengus77:
If you're using Tony's ROMs then the native settings will work. I gave him hints quite a while ago to mod them accordingly to the changes in the kernel :)

Sent from my Galaxy Nexus
[LG Optimus 2x] ivaneris:
Dyninteractive/row 1200max 216min but after uv -50 my hh got bsod maybe when deep sleep

can't get last log :( so back to no uv for now

Pengus you're really incredible...i guess your latest kernel really are the most stable kernel for cm10.2 and cm11 for now...we can get fully working cm11 in near..i'm sure :thumbup:

Sent from my LG-P990
[LG Optimus 2x] Peppe91:
I must say that the new wifi driver works really great... I have bad connection at home so often (with old driver) it used to disconnect and connect all day... Now, since far It never disconnected! It's more stable..

Inviato dal mio LG-P990
[LG Optimus 2x] droide_volante:
I using this parameters of UV and for now no BSOD

Inviato dal mio LG-P990 utilizzando Tapatalk
[LG Optimus 2x] ivaneris:
Strange..that -50 right?that's about the same...hmmmmmmm...maybe my chipset fault...(╥﹏╥)...

Sent from my LG-P990
[LG Optimus 2x] droide_volante:
Or the battery? :D

Inviato dal mio LG-P990 utilizzando Tapatalk
[LG Optimus 2x] tonyp:
Good thing I did have a quick look in here. This does NOT apply to my CM11 testbuilds, as I didn't yet fork frameworks/base and packages/apps/Settings.

And I think I disabled the menu in my CM10.2 ROM as well, as it didn't work reliable.

The problem has been that the kernel permissions for cpu1 got reset after it got turned off in auto hotplug, and the system user didn't have the permissions to change it back at this point. I worked around that for a while by using su, but a couple people who changed the superuser settings run into problems.

To make it short: not worth the trouble, just use one of the recommended apps.

Enviado desde mi Nexus 5 mediante Tapatalk
[LG Optimus 2x] ivaneris:
Btw using kernel setting app from cm10.2 therom..uv works flawlessly..but it's not working on cm11...altough it's same kernel...maybe the app not compatible with cm11?

Sent from my LG-P990
[LG Optimus 2x] torstenconrad:
[MENTION=3605868]tonyp[/MENTION] brother you was busy before, now you are away - Can you give us an ETA on when you'll start giving out ETAs? :)
[LG Optimus 2x] Gonox:
Hehe when it will come will come, you know the golden rule : no ETA
[LG Optimus 2x] tonyp:
Well, the problem is I'm abroad now. Yesterday I had another attempt at an CM11 build as some of you might have noticed at my github activity. Compiling does work fairly well over the net thanks to the goo buildserver in combination with screen (the xda one still isn't fixed, it's a bit annoying).

Unfortunately it still bootlooped, some major dalvik and libskia crashes, which I have no chance whatsoever to debug properly from over here in limited time.

So to give you some figure: I wouldn't expect new updates before the end of the month, unless someone else manages to fix the bootloop issues.

Unfortunately being away doesn't change the fact that I'll continue to be back extremely busy, which won't change until at least autumn.

Enviado desde mi Nexus 5 mediante Tapatalk
[LG Optimus 2x] echo_21:
Oops, we are in kk thread. Did [MENTION=3605868]tonyp[/MENTION] start to work on pengus77's kernel???
[LG Optimus 2x] CalculatedRisk:
How exactly did you go about backing up and re flashing with nvflash? I tried the fsck approach on my partitions and it fixed the errors but the corruption keeps coming back and am willing to give this a try. Thanks.
[LG Optimus 2x] ivaneris:
I think he mean nand flash ad usual or by some app like titanium backup...reflash by nvflash mean you're flashing from start again (depend what you flashed) and then restore nandroid or install preferable rom then restore apps

Sent from my LG-P990
[LG Optimus 2x] Jishnu Sur™:
Father of all ETA's :D
[LG Optimus 2x] echo_21:
Confusion by incomplete post

Sorry, but who is "you" in your question "How exactly did you go about ..."?

What's your desired purpose of "backing up and re-flashing"? We are in Kowalski Kernel thread. Up to now I don't see any use in backing up and re-flashing a kernel!? :confused:

Please provide a link to the post you refer to.
[LG Optimus 2x] LilProphet:
same for me.
[LG Optimus 2x] BS86:
I have exactly the opposit. With 2.6 - everything was stable at wifi, no dcs and no issues.

with 3.1 and bcmdhd, I have the strange issue that wifi disconnects randomly, same at work and also with a access point i fetched for testing. With my main router (Fritzbox 7360) it is worst, it happens every 10 minutes, clearly visible in router log file. I even got another P990 to check if my wifichip is faulty, but the issue also happens on the other p990.

Does anyone else experience such disconnects?

Neither pengus nor me can think of a solution to this, everything that he could do was done, and we know of nothing else to check.
[LG Optimus 2x] klappstuhl218:
I had the same problem with the new wifi driver. Now I'm back to "Look ma!" with Kernel M1 because it was unusable for me with this behaviour. Wich is sad because everything else was great.

My Router is a TP Link WDR3600. It uses a Quallcom/Atheros Chipset. But I have to say that I run OpenWRT on this device, maybe this is part of the problem.
[LG Optimus 2x] revee1:
I think it has to do with the router/modem wifi at your home and work.

I am using tonyp nr 27 and kowalski 3.1.10 and do have no problems at all. I must say this combination is rock solid for me.

At work and at home everything works perfectly, no hickups

At home "Technicolor TC7200"

At work "Cisco WAP 2000"

But also outside at the free wifi hotspots , no problems observed, and i am online a lot !

So Pengus & TonyP keep up the good work. !
[LG Optimus 2x] poruid:
Got openwrt 12.09 on tp-link wdr4300 and no problems with WiFi and kk3.1
[LG Optimus 2x] sudden36:
OpenWRT on tp-link wdr4300 + thomson tg585v7

No problems

Gesendet von meinem LG-P990 mit Tapatalk 2
[LG Optimus 2x] torstenconrad:
WIFI works normal here, better than ever on Alpha 20 actually. I have not seen any disconnects ever on 3.1 :) :good: :victory:
[LG Optimus 2x] klappstuhl218:
Well this is strange because apart from the 5GHz Chip WDR3600 and WDR4300 are the same devices. :eek: Maybe it's because I'm using Barrier Breaker r37207.
[LG Optimus 2x] poruid:
You dare!
[LG Optimus 2x] aigaming:
With new kernel no wifi disc whild phone sleep,with old- always had that problem no matter of router,tried dozens of them;)
[LG Optimus 2x] CalculatedRisk:
Hello,

Sorry for any confusion. I was asking sudden36 or bliizzz about the process they used to backup everything, reflash and restore everything using NVflash. I didn't want to backup and reflash the kernel, but backup and reflash everything in an attempt to fix the file system corruption I am facing which is resulting in Random Reboots on the kernel level. I tried running the fsck command on my /data partition but the partition just becomes corrupt again, and so I was willing to try the solution that sudden36 and bliizzz suggested.

As I mentioned previously, I am also suffering from SOD's and said I would provide a last_kmsg if it were to happen again, and one happened this morning. I am unsure whether or not it is related to the random reboots and file system corruption I have been facing so if anyone could help me again it would be greatly appreciated. Thanks in advance.
[LG Optimus 2x] kekks:
Within the AIO toolkit you have an option to backup & restore the internal card, if thats what u r asking.
[LG Optimus 2x] klappstuhl218:
Worked like a charm until now. But I think I will switch back to attitude adjustment at the weekend and give the new wifi driver another try with it.
[LG Optimus 2x] icyeye:
sry for off topic but... since i was proud owner of O2x i just want to say thanks to all your contributions and all tonyp, temasek,carburano,spica, stefan...and all who contribute to this phone

and 4 all your magic with this kernel and how u keep this phone alive.

what i can say.. i will buy this phone again just because of this community here... :)

cheers and stay good, all of u!

hehe...and this smile is specific for this thread :cyclops:
[LG Optimus 2x] louiscypherbr:
Just noted that compass locks at North on any side the phone is pointed to, eg. if I point it to East before starting gmaps, it'll keep pointing to East as North.

Enviado de meu LG-P990 usando o Tapatalk 2
[LG Optimus 2x] sudden36:
[MENTION=3212274]poruid[/MENTION] i use 12.09 maybe the problem is really the router ?

Gesendet von meinem LG-P990 mit Tapatalk 2
[LG Optimus 2x] ckbogner:
[MENTION=1270448]Pengus[/MENTION],

thanks for all your hard work on this kernel :) I'm currently experiencing connection loss with both my wireless and gsm/phone connection, something I haven't experienced for a while with your old kernels. I'm running your latest 3.1 kernel with Tony's CM11-26-12 rom, and it works like a charm - if not for the loss of connections .. I've included a log that I hope may be useful to you :good:

syslog

thanks, and keep up the good work! :)
[LG Optimus 2x] poruid:
Kk3.1 alpha20 is not compatible with tonyp's therom b26 that still contains some hacks for use with the previous kernel WiFi support.
[LG Optimus 2x] ckbogner:
I know that, that's why I use his CM11 rom ;)
[LG Optimus 2x] owais40:
Well, he said he is on Tony's CM 11 26-12 build not The ROM b26

Edit: [MENTION=5214763]ckbogner[/MENTION] you already answered that really fast ;)
[LG Optimus 2x] ivaneris:
Use build27 instead...if you want therom with new exp

Sent from my LG-P990
[LG Optimus 2x] ckbogner:
don't know how this turned into a discussion of TheROM - I'm on CM11, and would like to stay there :) :good:
[LG Optimus 2x] ivaneris:
Hehe..because everyone said about compatible rom...

Sent from my LG-P990
[LG Optimus 2x] BS86:
sony z1 compact just got announced/published ^^ with sdcard-slot and 4,3" screen, other specs like the Z1 ;)
[LG Optimus 2x] andreilica:
Until yesterday everything went very smooth and fine with my phone. I am using the latest alpha kernel and The ROM . Last night and today I got a lot of BSOD's and I don't know why. I am never able to get the last kernel log because I need to remove the battery. I got like 5 BSOD's until now. I haven't changed a thing in my settings or apps. The only thing that I did was disabling Kernel Samepage Merging because I've seen a user reporting that it helped him with some RAM issues. I don't think this would be the cause for the BSOD's but I don't know how can I help you guys without being able to get logs. Any ideas?

Edit: And everytime after the BSOD I'm left with no service. The only thing I can do is reboot.

This happened again now. And I got stuck at rebooting.. I need to remove battery . :\
[LG Optimus 2x] xperia u20i:
i also have similar problems,on every rom and kernel...everything is fine first few days but after that, phone start to lag,lost service from time to time,stuck often ,problems with unlocking,gray screen after unlock,so need to press power button several times to be able to unlock(to unlock screen be shown )...didn't post much about that,i try to find solution by my self(I did not want to risk fish slap :D ) non of that problems was mention often, most rom's has his own bugs i can live with that,but these problem are to big for normal use :rolleyes:
[LG Optimus 2x] pengus77:
Sounds to me like a huge memory leak is somewhere in kernel code and/or rom code. Does it happen on every rom with kk, or only on a specific one? Can you check the "free memory" in terminal using the free command from time to time? In this way we can monitor a bit if the available ram is unbalanced with the swap space (if using zram and/or swap). Also, in the latest cm11 nightly, the zram entry in settings->performance has disappeared. Also KSM has poofed away, so I suggest to keep both turned off if using kitkat. Maybe kitkat memory manager doesn't play nice with swap or zram and surely doesn't with KSM.
[LG Optimus 2x] aigaming:
Same thing,restart fixed it...
[LG Optimus 2x] SuperSkill:
Yes, but in a few hours. I've used stock kernel on dmx for 3 days to check and no lag at all so [MENTION=3783116]pengus77[/MENTION] are right regarding memory leak. So use terminal and enter free. Then he can sort it out :)