yashsingh1/xdaforums huggingface dataset:
[LG Optimus 2x] ivaneris:
I change it with terminal command

Su

Echo 100 > /proc/sys/vm/swappiness

To check

Cat /proc/sys/vm/swappiness

We don't have sysctl.conf on cm11

i think you should read some stuff about zram and swap

It's not because swap slower or zram faster..but just because it has different method,,off course for some compressed ram it's look like faster...but zram value had it's 'limit' 18% by default is the best...so about ~60mb more than 18% i feel performance drop

And that's why swap will help...

You know..it's just memory boost...use it if you need multitasking

You're right...:D

for nand partition,well /system /data /cache partition was always wear out our nand partition as well so it's not a big difference if we use unused /swap partition on nand it's the same continues writing on nand partition as well

For people who was afraid about swap will roast your nand just think of it...

Using zram it's actually will wears off the cpu and the ram itself might burdened

Using swap on nand it's true will wears off nand partition because of non stop continues writing (but it's the same with if you ask "are we safe to install many app and data on data partition?" It the same continues data writing..

So wich is faster...to make p990 roast?zram?swap?data? You choose it...the safest is indeed not using zram or swap and don't use many app because it will demanding memory (wich is cornered us for using zram/swap in the end)

Maybe they think we would have new phone instead of p990 roasted because of swap first...

---------

It's become little off topic here...:cool:

Let's back to the topic...

Sent from my LG-P990
[LG Optimus 2x] antec123:
if you want to know if zram enable or not, just use zram status. if you don't enable swap partition or don't flash the swapenabler.zip, then the script will not effect.
[LG Optimus 2x] Wooby:
Can i flash this kernel to my stock GB rom?

Wysyłane z mojego LG-P990 za pomocą Tapatalk 2
[LG Optimus 2x] DeeKay773:
Nope, it's compatible with tonyp's CM 11 and latest TheROM version because of new wifi driver (needs to be implemented also in ROM).
[LG Optimus 2x] Wooby:
thanks for the info :D

Are there any kernels to the stock gb?
[LG Optimus 2x] dorwoo:
Yes but why u dont flash ics or cm10/11?
[LG Optimus 2x] sudden36:
You can use kowalski kernel M1 for GB
[LG Optimus 2x] filarod:
No you can't!
[LG Optimus 2x] rzlatic:
slimbean 4.3 also comes with 3.1 alpha.

so there's really nice choice of roms to try pengus's kernel.
[LG Optimus 2x] sudden36:
M1 is a 2.6 kernel AFAIR, so why shouldn't it work?
[LG Optimus 2x] ivaneris:
Because it has very different structure..cmiiw...

But if you curious..just try to flash it then..don't forget to backup so it's easy to rollback

Sent from my LG-P990
[LG Optimus 2x] BS86:
this kernel only runs on Android 4.X - GB has a different structure

OR: if the kernels of Android 2.3 and 4.X could be exchanged, we would not have waited for LG to bring their 4.0 update to get it on our phone on custom rom side.
[LG Optimus 2x] Wooby:
Bc 2.3 has better performance for games and now gta San Andreas will be available for our device :)

Wysyłane z mojego LG-P990 za pomocą Tapatalk 2
[LG Optimus 2x] CononCon:
no. And GTA sa won't be able to run on 2.3 it requires android 4.x.
[LG Optimus 2x] Wooby:
Ye i know i switch to the paranoidandroid 4.1.2 it has the best gaming performance i think :d

Wysyłane z mojego LG-P990 za pomocą Tapatalk 2
[LG Optimus 2x] saaavikk:
Best gaming performance has Civatos Skywalker kernel, with quite noticeable performance gain. Of course there is a tradeoff because of the battery life, which is not as good as with Kowalski....
[LG Optimus 2x] cuttysark76:
This could be cool:

http://xdaforums.com/showthread.php?t=2450697
[LG Optimus 2x] proyatzu:
There is an app like this in the store. By the way i rly suggest you to try slidelock, its awesome
[LG Optimus 2x] dorwoo:
I got heavy drain over night when i let the phone with under 50% battery.Its almost empty in the morning.It happens on both pengus rom and tonyp.
[LG Optimus 2x] proyatzu:
Check betterbatterystats
[LG Optimus 2x] dorwoo:
I always do,its android related not some app.

I froze google play services .gms and .gsf now i will see the results.Fck u google u can t control everyone.
[LG Optimus 2x] echo_21:
What do you mean with "I froze google play services .gms and .gsf". Would you like to explain in detail what .gms and .gfs is?

My P990 (CM11 20140215 by tonyp, KK 127 Alpha 31, BB V30b) suffers from massive battery drain since many days too. IT IS HORRIBLE! Drain is up to 12% per hour even with screen off.

CM11 battery stats always list one of the following entries "Android OS", "Android System", "Google Play Services", "Gmail" or "Google Search" on top. Examining the entry I find that it keeps the phone awake for hours.

Wakelock Detector shows that CPU is awake about 30% of the time even over night and at times when I don't use the P990 at all.
[LG Optimus 2x] BS86:
did you try to reboot your phone?

Do you have a bad data connection, so that the phone tries to sync or download google-related stuff but can't due to bad connection?

I have no problems with any of the google-services and i am running 3 google accounts on my P990
[LG Optimus 2x] dorwoo:
I mean i used titanium backup to freeze google services which were causing me drain in stand by by constantly waking the phone.The process com.google.android.gsf was always top of the list in bbs.The drawback is i cant use playstore now but i can unfreeze it to update the apps and after that freeze it back.It is unacceptable to leave the phone with 40% battery with all sync off and on 2g network and to wake up with almost dead battery.My advice is freeze network location also and unninstall all of google or as many as possible.
[LG Optimus 2x] echo_21:
Thx BS86,

no, data connection is excellent 3g or 2g and WiFi.

yes, and additional to rebooting I tried almost everything: Factory reset, full wipe, clean ROM flash, disabling/enabling location service, removing external SD, etc. etc. etc.

The only thing that helped for about 16hrs was to uninstall all updates of Google Play Services. But after a while updates were re-installed automatically and the massive drain started again.

See reports of others:

https://productforums.google.com/forum/#!msg/nexus/HV2TICIjX9U/eU0rjq4feeEJ

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

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

---------- Post added at 05:52 PM ---------- Previous post was at 05:45 PM ----------

Cool, I didn't know that TB can freeze stock apps. I will try it too. Please report the effect of freezing apps on drain improvement on your P990.
[LG Optimus 2x] pijas82:
Last rom 15/02 is a big ........
[LG Optimus 2x] Ryukenden:
What?
[LG Optimus 2x] pijas82:
Its nice rom ,but not for me ....
[LG Optimus 2x] rzlatic:
we were discussed this behavior here already; also came to conclusion that google play services is the main suspect among others.

however, freezing google's core services shouldn't be the solution. if i need to freeze google's services (apart from greenifying almost everything or not using location services as usual battery saving tasks), then i could use nokia 3310 also. it just doesn't have sense anymore - google needs to fix this mess.
[LG Optimus 2x] dorwoo:
Untill they do,im better without it.Btw more free ram now.

With such small battery i dont need to waste it because google wants to know where i am and what i do.

P.S. I need help with Pdroid on cm 10.1 tonyp build 5,how i patch the rom?Flashable zip doesnt work i get an error.
[LG Optimus 2x] Gainer5:
Hi Pengus,

I don't know which memory allocator is used in this kernel, but I found this: http://lwn.net/Articles/480055/

This article shows the difference between PMEM (which seems to be used in older devices) and ION, which was introduced by Google with ICS. Some developers made ION work for i9001 and it works like a charm there.

Is it possible to develop it for our device?

Thanks
[LG Optimus 2x] aigaming:
Just stop by to say to this phone and the best community big HI and BYE :)

o2x is slowly dying and it was a best time for me to get a new phone and i listened to masta pengus and got myself a sony z1 compact,great phone,totally worth going on him after our and worlds first dual core phone o2x :good:

Thank you for everything,i love penguins,love this community and love you all o2x users,best regards from me :cowboy: :victory:

ps. srry for offtopic my friends
[LG Optimus 2x] torstenconrad:
I have to disagree with you on that mate. Nothing is dying here.

Developers have done such a great job on this phone, that even if development stopped completely, o2x will still be stable and snappy enough to use until at least the end of 2014 :)

It is not dying, not at all. Some of us just get soft looking at other people getting newer phones even when we know our o2x in reality does everything a smartphone shall do in great great great style :D

Thanks to devs we can keep o2x for much longer, nothing is dead!

But enjoy your sony mate :cowboy:

Sorry for OT too, just felt like saying thanks to our beloved devs for all their work
[LG Optimus 2x] akash.mahadeshwar:
Y z1 compact? Y not g2?
[LG Optimus 2x] BS86:
Because LG is a no go after P990, and pengus also gets a z1 compact ;) and perhaps because the z1 compact is the only good phone that stays rather small

Sent from my Nexus 7 LTE with Tapatalk 4
[LG Optimus 2x] Frecciablu(2):
Sorry ot too..

I hope to buy the next nexus 6, its seems must be great. And i hope it come with android 5.x

Mayb also completly usefull runtime art?

Inviato dal mio LG P990 (con cm11 beta/17/02 di tonyp e kernel 3.1.10 #127 alpha 31 di pengus) usando tapatalk
[LG Optimus 2x] pengus77:
Guys I'm busy with work and I can't follow the thread as usual. For big bugs and crashes hit me up on gtalk. I'm trying, in the few spare time I have, to fix the sensors that screw up the camera and the boot speed that ramps to 1.5ghz.
[LG Optimus 2x] Frecciablu(2):
As first (but no first) post, in this topic, i want tell thx to your kernel pengus :)

Then, the retard of notify is in relation with kernel?

Inviato dal mio LG P990 (con cm11 beta/17/02 di tonyp e kernel 3.1.10 #127 alpha 31 di pengus) usando tapatalk
[LG Optimus 2x] rzlatic:
whoa, the possible culprit for camera issues has been located? :laugh:
[LG Optimus 2x] BS86:
its located since weeks, but its very hard to fix
[LG Optimus 2x] bentcissé:
With the apha 31when I connect the phone to the TV with the HDMI cable the phone turns off. I have to remove the battery to turn it on. there is a possibility of making an hdmi port of the code from the 2.6 kernel in order to have a HDMI partially broken? Thanks in advice?
[LG Optimus 2x] dabl8:
I tried to compile from exp with this toolchain https://launchpad.net/linaro-toolch...-linux-gnueabi-2012.03-20120326_linux.tar.bz2 and config star_p990_defconfig but after about half an hour I get arch/arm/mach-tegra/built-in.o: In function `star_setup_bluesleep':

/home/gerry/srclib/kowalski/arch/arm/mach-tegra/lge/star/board-star-bt.c:135: undefined reference to `bluesleep_setup_uart_port'

make: *** [.tmp_vmlinux1] Error 1. Could a tag be pushed to the repo when the next release comes out to generate a zip archive? It's a smaller download then the whole git repo.

Edit: Where do I find zram.ko? It's not built by the kernel after I buildt M1 from around last July
[LG Optimus 2x] dabl8:
I'm trying to write to sys/class/backlight/aat2870-backlight/device/backlight/aat2870-backlight/device/alc_table to change the screen backlight manually but every time I do so the values go funny, like every second one being set to "3". Also I'm trying to do like echo 1 > /sys/kernel/wifi_pm/max_pm via init.d/99myself, yet it don't work and I have to execute it manually.
[LG Optimus 2x] echo_21:
Installation of skype may cause extreme battery drain shown as "Android OS"

I still suffer from unbelievable Android OS battery drain once in 36 hours. I always have to reboot than. Here seem to be some news:

http://www.phonearena.com/news/Google-working-on-a-fix-for-Nexus-5-battery-drain_id53599

Do you, [MENTION=4699153]rzlatic[/MENTION] , also use skype (or have it at least installed)? I un-installed it know. I will report in some days if battery drain has gone.
[LG Optimus 2x] ivaneris:
I have very good battery life on alpha31...but sometimes got late notification on 3g after a deepsleep...

Sent from my LG-P990
[LG Optimus 2x] echo_21:
Google blames Skype app for at least triggering the extreme battery drain and heat up of Nexus 5 under Android 4.4.2 (I assume that the this is master source code for CM11 on P990). Thus, no skype, no drain.

Did you install Skype?
[LG Optimus 2x] rzlatic:
no, not using skype. not even google now (reddit).

here is also article regarding Android OS drain and apart of our struggles to minimize the chances for excessive wakelocks, this just seems to be google's fault.
[LG Optimus 2x] vanko11595:
I have Skype installed and I use it from time to time. No battery drain at all.

Tonyp's CM11, KK 3.1.10.

edit: Facebook is battery eater, also Viber. Try to log out from Facebook and "Forse stop" Viber.
[LG Optimus 2x] pijas82:
+1 , face kill battery, skype i use all day ,and bat dont drain like face, my face stay in greenify all day
[LG Optimus 2x] torstenconrad:
I have seen on XDA few custom kernels for other Tegra devices with this feature completed. Maybe possible to forwardport the coding that way?

A very interesting feature :cyclops:
[LG Optimus 2x] BS86:
you can simply greenify facebook and disable the unnecessary alerts - no drain here ;) running 2 days with no special preparations / steps

https://play.google.com/store/apps/details?id=com.oasisfeng.greenify
[LG Optimus 2x] qweewq22:
Hello everyone.

tell me why the game "candy crash saga" everything works well, but after exit the game, phone reboots.

ROM is - CM10.1 - tonyp - T-Build 05 , kernel - KK M1 (2.6.39.4) norh

performance - tuning memory - changed all the settings, does not cure a reboot after you exit the game
[LG Optimus 2x] amarprat87:
Our phone is diabetic and doesnot like candies:p

Jokes apart, it should work with NORH kernel. Post logs.
[LG Optimus 2x] qqzwc:
Firstly，try config file cyanogenmod_p990_defconfih instead of star_p990_defconfig.

Secondly,do "make mrproper".

Thirdly,you'd better put the kernel source in cm10.2 source folder and do lunch cm_p990-userdebug first.

If this error occurs again,try to comment this line (line 135)with #.

---------- Post added at 04:37 PM ---------- Previous post was at 04:30 PM ----------

Please make sure that your kernel has init.d support and then chmod 99myself 0755
[LG Optimus 2x] cuttysark76:
Can't play Candy with NORAH or regular M1...
[LG Optimus 2x] dabl8:
Thanks, the build is working now with this config, though I didn't do the lunch command. I only got the zram and bthid modules built. I have the chmodding done via updater-script, but I notice that 95kowalski is owned by root:root while the others are root:shell.

The kernel seems to be working well despite a few reboots. /sys/kernel/wifi_pm is gone yet an option for WiFi PM has just appeared in Performance Control :). Fast charge seems to be broken too. Back to M1 I go!
[LG Optimus 2x] torstenconrad:
[MENTION=3783116]pengus77[/MENTION], I can see [MENTION=5600347]hjunii[/MENTION] has been working on something, maybe relevant for us?

Take a look at his GitHub activity: https://github.com/hjunii?tab=activity
[LG Optimus 2x] Patrick Morgan:
The Best Solution to your Candy problem is to eat an apple a day, and uninstall the game. and use the time to read a book or something instead. Pengus77 will not in any way or form change anything on the kernel to help games run. it was part of his original post, when he said he was not making a Phonesole. (a Phone / Console) he wanted a stable kernel to run the phone for what a phone was for. Calling, Texting and keeping in touch with people.

If a problem with the game, take it to the game Dev's and see if they'll help you.

Candy Crush and other games for almost 2 years has harrowed Pengus and other dev's here. they do care. but not enough to fix a Fad game that will not be missed in the coming months. move on and make the smart choice. - but if you still want to play candy crush, then you should consider buying a new phone.

I'm Sure Both Pengus77, and DJNoXD are keeping a keen eye on the work Hjunii is working on. and when they have time will port or use with his permission anything they do to make our phone awesome.

They are both very busy people, and we in the O2x forum are nothing, if not experienced in waiting for the good stuff. ^.^
[LG Optimus 2x] dr4go:
Something catches my eye: https://github.com/hjunii/android_device_lge_p990/commit/5db4c349a7ec68f4d3d5547606f9df359239789e

--> Bluetooth calls <-- :)
[LG Optimus 2x] Magadaga:
Guys, I certainly apologize for the stupid question and for my English, but you can not if kernel 3.0 on the old Bute convert to a new one?:D
[LG Optimus 2x] ApriliaM3:
Guys I shouldn't need to be reminding you that this is a Development thread.

Please keep your posts Development related and quit with the whining and entitled attitudes.

If the updates aren't coming fast enough for you here, simply change to something else.
[LG Optimus 2x] pengus77:
I'm not dead, just super busy. Starting up a company, completing a few jobs in backlog and getting on with my life. Way too many things to follow now and time for the p990 is very few. The 3.x kernel is an alpha effort and when I can I work on it. If you need a stable system or you're unhappy with the 3.x branch, use the 2.6 one for now. When I have news I'll post them ;)
[LG Optimus 2x] sudden36:
I hope you start a kernel develop company ;)

Gesendet von meinem LG-P990 mit Tapatalk 2
[LG Optimus 2x] jcdid:
Employed by LG now... :D
[LG Optimus 2x] Patrick Morgan:
:good:

Thanks for the update Pengus77.

Don't mind the whiners here, they're just scared. those of us that chill out regardless know that your very busy. so don't worry. the kernels are running fine, we all wait for the magic of some bugs being dealt with but nothing is major enough to call you from your life.

Take your time. Have fun, remember to relax. starting a company is a long (and usually difficult) process.

there are a few impatient folk, and its their choice to move on. filling the forums with spam before they jump ship. - they'll be fishslapped on the way down to sea.

for the rest of your faithful followers. we'll meet ye back here when you got time to give us more penguin goodies.

That goes for you too [MENTION=3605868]tonyp[/MENTION] ^.^
[LG Optimus 2x] BlueRazor:
Good luck with your company. The 3.1 kernel works good, also with the same well known bugs, so no rush.

Wanted to ask you which scheduler you suggest to use. Tried Deadline and it works good, but what about Noop? I think I've read somewhere it should be better on flash memories, but I'm not a pro, better to ask.

I can report that after long time without frashing zips the Wifi bug happens with a very low frequency, something like once or twice at month. I wake the phone up and Wifi is not available and need to reboot. Luckly :confused: it happened again today and I can provide other logs, if they can help. Not a priority as the annoying camera bug is, but something to put on the list.
[LG Optimus 2x] gagan97:
Gud luck with your company pengus.. i wish you do well...

its just life here is getting little boring without those exciting updates for P990.. anyway life has its priorities.. thanks alot for all your hard work..
[LG Optimus 2x] 60nine:
pengus, not tony :)
[LG Optimus 2x] gagan97:
oops.. you know both are great.. so happen sometimes.. :)
[LG Optimus 2x] proyatzu:
Guys someone can mirror me m1 32mb rh kernel please? Cause official download fails to me :(
[LG Optimus 2x] marcof93:
Just uploaded for you :D

https://mega.co.nz/#!c8EmWKDT!1YvnSuAL-HhzxdfHulSzyasU_-jk_UjTeXxlhB4ECNk
[LG Optimus 2x] torstenconrad:
well this was fun

suddenly dropped like 80%, after 2 mins of standby, bumped back up like 80% :p
[LG Optimus 2x] 60nine:
reverse battery boner
[LG Optimus 2x] torstenconrad:
haha its funny actually.

Before I would get pissed off and annoyed about these things. but these minor things happen so rare now that I just laugh about it.

Gotta give a ton of credits to [MENTION=3783116]pengus77[/MENTION] for the fantastic piece of work he has done with 2.6.39.4, M1 is more than just stable.

Look up daily driver in P990 dictionary, you will see M1 the definition :D

All in all, I just wanna say thanks especially to pengus77. His development here started long ago, its been followed by a lot, and it will always be legen... wait for it.. dary! Legenday!
[LG Optimus 2x] natalya:
2.6 has been around for ages, 3.1.. not so long. If OP can use half the time on 3.1 that he spent with 2.6, I am sure 3.1.10 will be twice as good as M1 :)
[LG Optimus 2x] mrQQ:
guys, what idle battery use do you see?
[LG Optimus 2x] ChrisMitS88:
Guys just wanted to say goodbye, moved to lg g2 now. thx [MENTION=3783116]pengus77[/MENTION] for all of your work, you revived the p990!
[LG Optimus 2x] drose:
wifi bug

What about wifi not working in M1. Is it fixed?
[LG Optimus 2x] head_banger:
It does work, just not on latest kit kat ROMs, different driver

Sent from my LG-P990
[LG Optimus 2x] drose:
Strange, i tried it on tonyps theROM and wifi still doesnt work, tho its 4.3??
[LG Optimus 2x] NoDze:
TonyP's build 27 of TheROM is not compatible. Build 26, IS. To summarize, because apparently you don't read any posts: Every KitKat Rom, the New SlimBean(everything past build 20131216) and TheROM build 27 are only compatible with the 3.1 kernel. Their older builds are only fully working with M1.
[LG Optimus 2x] torstenconrad:
Today is a good day. Well, sort of. The sun is shining and I dropped my O2X, it broke to the bone. No better excuse than this to move on (finally)..

What better time to move on than now where its been this quiet here :)

But thanks to all, both devs and users, its been an interesting journey! It had to end at some point, was about time it happened and I am happy to be saying my final words to the O2X community.

Take care everyone!
[LG Optimus 2x] aftermath85:
Double tap

[MENTION=3783116]pengus77[/MENTION] i know you are still busy, will you continue to build this kernel in the future??

is it possible to include the double tap in M1(it is more stable than the alpha)? ^___^

thats the 1 thing lacking in your awesome build, hope you could build for the last time...

anyway your work still the best.. hope you could build again in the oneplus dev com..

God bless your new business & future agenda.. :D
[LG Optimus 2x] tchzhy:
Sweep2wake is good, too. Wish pengus could add either one in the new kernel. Thanks a lot.
[LG Optimus 2x] I.m.Tuga:
Well all of these features (sweep2wake- tap2wake) you guys are asking are pretty cool. But if you only knew how much it drains battery you won't be using it for to long. Believe me...

Enviado do meu Nexus 5 através de Tapatalk
[LG Optimus 2x] ilooze:
somwhere someone already said this and pengus replied that it won't drain the battery at all. Too lazy to search the post :p
[LG Optimus 2x] tchzhy:
I am using sweep2wake and dt2wake on my Xperia Z. They are really cool and I don't notice the battery drain.
[LG Optimus 2x] I.m.Tuga:
Well I'm using an Nexus 5 with same processor as lg G2, which as dt2wake from factory, every kernel with this capability as battery drainage, just saying...

Wish pengus good luck

Enviado do meu Nexus 5 através de Tapatalk
[LG Optimus 2x] ferni83:
Deep sleep

Inviato dal mio LG-P990 utilizzando Tapatalk
[LG Optimus 2x] amarprat87:
Been more than 3 months that we heard from [MENTION=3783116]pengus77[/MENTION].

How are you buddy.
[LG Optimus 2x] hadi_rena:
May be he still busy with his start up company.

Anyway it's time to say good bye to O2X community :crying: I'm already have another phone and would sell my O2X.
[LG Optimus 2x] tr@p:
I'm already a month on Xperia Z1 Compact... Really, really nice phone. :D
[LG Optimus 2x] jcdid:
Switched on a LG optimus Gpro since two months for me.. Huge :good: