yashsingh1/xdaforums huggingface dataset:
[LG Optimus 2x] asrhael:
Maybe the need for "speed" (clock freq) are related to the extremely high lag of our phone, presented especially when there is no more free RAM (myself included, at first I thought it was just a problem of CPU and lack of cache compared with GSII ... but now I know that 0.5GB of RAM is very very very poor).

I know my P990h has a CPU, that overclocked to 1.2, have a close antutu benchmark value as the GSII...but the main difference is in the 1GB vs 0.5GB of avaliable RAM. Many of the "sintetic benchmark" not take account of that, and in our O2X is a real problem presented (to me) in the next forms:

* Lag when the keyboard are opened, and lag when I typing a message (whatsapp, sms..).

* Lag when I install some app and then using the phone in another 2nd task (multitask downgrade).

* Lag in taking photo's.

* Lag free when the phone are recently rebooted.

Because it is impossible to increase the physical RAM is that I decided to apply the following makeup:

Eliminate persistent RAM applications (widgetlocker for example).

Use the ZRam included in the great GuesteOC tool 2.1.3 (Swapfile is a pseudo-RAM created in the flash memory...but ZRam is a portion of our RAM used like a Swap...but compressed. Therefore the performance gain is awesome, because the RAM are better than the internal FLASH).

Change the Swappiness value to [20,30]..this value control the OS-need for using swap (or ZRam in our case). Higher values tends to use a lot of swap/zram instead of pure non compressed RAM.

Use "AutoKiller Memory Optimizer" and set it-up (for me work like a charm) HiddenApp->90MB; ContentProvider->95MB; EmptyApp->98MB

Clock to 1.3GHZ

Im using the great DjangoManouche ROM (based on stock one)..1.3b6.

Best regards to all of you folks!
[LG Optimus 2x] erups:
Any hints on this?
[LG Optimus 2x] kfallz:
Wifi didn't work until after reboot just now. Enabling/disabling flight mode didn't help either. Still on 1.7.0t2. One difference compared to the usual "problem" ( idk what it says if you have it on english, swedish is just "fel" ) that it throws out now and then, is that now it hung on "activating"
[LG Optimus 2x] mrQQ:
yes, that was the one that was stable.

1.7.0 f2 is not stable anymore - sometimes locks on wakeup, sometimes asks for pin, sometimes locks on usb disconnect.
[LG Optimus 2x] TrymHansen:
May I also recommend editing the zram-script to better fit your needs. Some may find the default values use a too large swapsize. It is very easy to change.

find the script for the virtual memory type you need in /data/gueste2/scripts. (If it's not there, enable/disable your preferred virtual memory type and it will appear.)

For zram this would be /data/gueste2/scripts/systweaks_zram.

If for example you'd like a (slightly less than) 64MB Zram-size, insert the line

mem=33554432

right below the existing "mem=" line. (Or replace the existing line of course.)

The script uses two zram devices, so will create two of 32MB each. (You can change that too of course.)

You don't need to mess with permissions or execute bits on the script, all that is taken care of by GuesteOC. Edit, save, done.

If you'd like another size, multiply the MB-size you want by (1024*1024) and divide by the number of zram-devices.

If you somehow manage to mess up the script so it does not work, simply delete it and GuesteOC will re-create the default script the next time you enable that swap-type.
[LG Optimus 2x] punyategar:
Is it wrong when its said tegra 2 is great for gaming and for everything else the exynos owns? And apparently 512 of total ram isnt enough. I play plant vs zombies, in the middle when it lags i feel like thats because of ram.

Ive exprienced lags in the homescreen, typing, camera, and i say thats because lg's made for us ****ty roms.

Anyone who have got the galaxy tab with tegra2 care to give a comparison...
[LG Optimus 2x] CaptainHook8:
@stefan: news about a final or new testing release? :D

Thanks.

Inviato dal mio LG-P990 con Tapatalk 2
[LG Optimus 2x] asrhael:
That trick works flawlessly and like a charm Mr TrymHansen...maybe you can add in your app the possibility of set the size of the zram/swap/compache like the most OS (for desktop commonly).

Thanks a lot dude!
[LG Optimus 2x] TrymHansen:
I debated back and forth with myself over that, and landed on the current solution with editable scripts because it simply is a lot more flexible. It allows rom-chefs to make pre-defined scripts with other behaviours etc.

Basically I try to follow the rules that Stefan made, using his original scripts, in a more flexible way.
[LG Optimus 2x] barril:
I tried but no end to love ... I'll take the 1.7 or 1.6.3 test2

Enviado desde mi Optimus 2X

Rom HomeroMod Opit3D v1.4.2
[LG Optimus 2x] Grimlock42G1:
What is the difference between unofficial 1.6.3 test3 and test4? Both are test1 with wifi of test2. Or am I wrong?
[LG Optimus 2x] KillerbeeNL:
Test3 is without initd tweak files from django 1.1 and test4 is with the initd files and homescreen 60 fps max

And indeed both is test1 with wifi module from test2
[LG Optimus 2x] CaptainHook8:
No improvements?

:rolleyes:

Inviato dal mio LG-P990 con Tapatalk 2
[LG Optimus 2x] mrQQ:
USB Connected message does not appear with 1.7, only reboot helps.
[LG Optimus 2x] feav:
It's ROM related problem. I don't have it on DM 1.0.
[LG Optimus 2x] mrQQ:
actually, that was PC related - no drivers
[LG Optimus 2x] TrymHansen:
If you have downloaded Myrt Torture Tester before 0.5.3, download it again, it had a bug which only affected it when running on guestekrnl. (Frequencies not set properly before testing.)

Not a fault of the kernel, but an oversight on my part.
[LG Optimus 2x] tomsi91:
I run on 1 core permanently turn off, second core max 700MHz, undervolt -50mV everything and zram on. it works very nice, i can play games which i play and do everything fast. Very good.
[LG Optimus 2x] Flix123:
With 1.6.3 test1 and test2 wireless module, I have very low quadrant scores (1800 instead of 2400).

Do you have the same problem?
[LG Optimus 2x] KillerbeeNL:
Quadrant score 2502 with latest Django 1.3 @stock speed and Gueste 1.7 (latest)

EDIT second run 2723 :)

EDIT2 THIRD run 2838

I take that with a little grain

of salt :D
[LG Optimus 2x] punyategar:
I once heard that when you run quadrant app for the second time some of the app is already cached. That's why you'll always higher score after the first benchmark.
[LG Optimus 2x] Flix123:
But I've bad results with "Test3"?! Somebody can confirm this?
[LG Optimus 2x] ehmjay:
guys my mp3's are glitching are screen off.. how i solve this,,?
[LG Optimus 2x] kfallz:
Try increasing your screen-off frequency
[LG Optimus 2x] mrQQ:
1.6.3 test 4 is also unstable, sometimes results in black screen lockup..
[LG Optimus 2x] Stefan Gündhör:
test 4? :D:D:D test 2 was last 1.6.3 kernel!

-------------------

Greetings, friends!

I've been away for some days now, but I've a small present for you:

guestekrnL v1.7_SE-Final

Download: http://www.mediafire.com/?z9h3cor5jwen2

This is finally the final fixed 1.7 Release!

Main changes are

- fixing a Bug discovered by Trym (to do with second core autolimits, thx Trym!)

- again changes in toolchain, compilation flags etc.

- maximized smoothness I've said this many times before, but this time I really think it's the best I have done yet and also the best I can do, so don't expect any further smoothness improvements, at least no big ones ;)

- stable, good battery

- first stock kernel with intelligent second core handling, so p.ex. during ScreenOff second core will be completely disabled automatically!

- various less important things

Latest guesteOC by TrymHansen is included!
[LG Optimus 2x] mrQQ:
yes, I know :) I'm referring to custom build by someone in this thread, with different wifi module, or something like that. Now trying 1.6.2 final to see if it's 100% stable, because stability is #1 priority for me. Both 1.7 and 1.6.3 had random issues :(

I'll test the new version aswell :)

---------- Post added at 09:55 AM ---------- Previous post was at 09:54 AM ----------

by the way, how do auto limits work? what are benefits over manual limits? could auto limits cause instability?

also, could a scheduler cause instability?
[LG Optimus 2x] tomsi91:
ZRAM and CompCache doesnt work. It used to work on 1.6.2. Only Swapfile works now.
[LG Optimus 2x] Stefan Gündhör:
Thx for the info. I currently can't test myself as I'm working on my CM7 ROM. However, this issue won't be fixed for now (I don't want to change final 1.7 release any more). This release still should be a very good choice, especially if you want smoothness. Use Swap if you need it until next version of guestekrnL.
[LG Optimus 2x] feav:
Zram works fine. Flashed over 1.6.2Final.
[LG Optimus 2x] tomsi91:
Ok, it works for me on clean instalation. But when i updated from 1.6.2, it didnt.
[LG Optimus 2x] Divyan:
Welcome back, boss...

Oh I will test this kernel, now :D

Thank god. I suspected you were working on something more *evil* or "sinister" - like porting windows phone 7 or Symbian or something to our phones.:eek:. One of the forum members even reassured me that our phone's architecture does not support.

But I was talking about you and can't trust any of those assurances!!!!
[LG Optimus 2x] KillerbeeNL:
Stefan...welcome back and thanks for the final version.

I am ready for testing :D
[LG Optimus 2x] Flix123:
1.7 SE is very good and fast. Smoothness is not perfect but very good!

Zram and Compcache are working fine for me, I installed it over 1.6.3 Test1.

Btw, is the kernel V10 or V20 based?

And why you added the fsync hack again? Is it better for the battery to activate or deactivate fsync?
[LG Optimus 2x] carburano:
Super Stefan is back :)

Ciamo amico!
[LG Optimus 2x] cajenna:
Hi carburano,is a lot I dont read you....:)

Thanks to the author for the new kernel,it works like a charm on my V20q stock. ;)
[LG Optimus 2x] barril:
Thanks Stefan...:)

Enviado desde mi Optimus 2X

Rom HomeroMod Opit3D v1.4.2
[LG Optimus 2x] carburano:
Hi cajenna! How are you?

Sent from DjangoManouche!
[LG Optimus 2x] Stefan Gündhör:
Thanks!

The kernel is v10-based.

Fsync hack is usable but not used by default. You need to uncheck a checkbock in guesteOC in order to use fsync hack if you want to try it or want to have higher benchmark results!

There are only two things left to do for this kernel:

- fixing compass not working in maps (by including v20 drivers)

- try using hard-float and cortex-a9 optimization instead of soft-float and cortex-a8 for last possible increase of smoothness I can think of

The two things left will be done when I have time, maybe next weekend it's only a matter of an hour, but also not really necessary now so current release won't be changed anymore.

Btw.: Trym asked me to unbundle Myrt Torture Tool for more safety, you need to install yourself and read instructions before!
[LG Optimus 2x] Divyan:
OK.. All clear..Shake hand and done..!

You two, my friends! One gave me a very best ( As in my signature, my 'holy grail' ROM - CM with Stock camera - and other with a wonderful kernel that still keep my head still spinning).

Stephen, Waiting for your "not goodbye" ROM eagerly :d. I saw you have created folders in your mediafire folder. Will check out later.

Oh, and CyanogenMod needs our help too.
[LG Optimus 2x] PG101:
How cool :) Group Hug!!
[LG Optimus 2x] Divyan:
Ah..! Moderator message :). Thought a bit of Gandhism would be in order.

Topic.

Screwed up badly when I tried to modify the zip before flashing.. :( ( trying to get rid of apps I don't use.)

Have to download again and check out.
[LG Optimus 2x] Stefan Gündhör:
The ZIP of GoodBye-ROM? Try using 7Zip for removing apks from ZIP ... or just install the ROM and remove them afterwards using ES file explorer in root mode and deleting the apks from /system/app/ ;-)
[LG Optimus 2x] Divyan:
Thank you. I figured it out,in the meanwhile :).

I prefer removing apks from the zip itself, because it is a pain in wrong place removing after the ROM is flashed. Moreover if I remove OmaDmclient.apk after the ROM is flashed, then it goes on FC dance and I will have to pull the battery.

So far so good with the ROM, very smooth scrolling as you promised. Not yet tested the battery life, but looks promising.
[LG Optimus 2x] saxon01:
Rom is gr8 congrats dude,and big TNX!!! Everything work perfect!!:)
[LG Optimus 2x] Stefan Gündhör:
Thank you very much :)

But @ all: please consider posting ROM-related stuff in the ROM thread :) Thank you (because this is the thread of the kernel only)
[LG Optimus 2x] saxon01:
My bad didnt saw this is kernel thread,enjoy mate.
[LG Optimus 2x] Scougar:
That's all I would like, stock camera app (until the mod camera app get's closer to completion).. and a FAB stable ROM and fast kernel (with working GPS and low battery drain lol).

How are some able to put the stock camera app in, is this because they base it from the stock rom?
[LG Optimus 2x] Stefan Gündhör:
Many of stock LG Apps can (and have already been) be ported to CM7.

There are 4 types of LG stock apps:

- some will run without modifications (maybe just resign them) - e.g: LG launcher changer app, lg notes app, some LG widgets

- some will need to be modified (the apk's) in order to run on CM7 - e.g. LG Mirror App, LG Launcher

- some will need to be modified (the apk's) and also framework.jar of CM7 needs to be altered - e.g. LG Camera app

- some can't be ported correctly because of some missing values in flex database of CM7 (e.g. lg email app) or because they try to access LG-specific functions in the corresponding *.so library files and replacing these files with LG's will cause bootloops (e.g. lg video player -> nearly ported it, but it's trying to access lg functions in its library file, and the non-existence of those will break the app)
[LG Optimus 2x] Scougar:
Ah I see. I hadn't realised how interconnected (read: dependencies) these apps were. I was almost thinking of them as standalone applications. I work on J2EE stuff and can see how that would be a problem. Shame.

Thanks for the explanation :-)
[LG Optimus 2x] dapezzz:
Hello,

Is there a simple way to increase min frequency (216 to higher) through some app ?

Because a listen to music a lot, and I get songs stutter while screen off. I suspect insufficient cpu because there is no problem while screen is on.

thanks
[LG Optimus 2x] Stefan Gündhör:
Maybe max frequency limited by kernel to 316 MHz causes this? But you can also increase screen off min freq to p.ex. 316 with tools like pimpmycpu or setcpu. there you can create profiles for this.

I just tested, no probs while playing music with google music using my ROM.
[LG Optimus 2x] Scougar:
BTW.. antutu 6725 at 1312Mhz :-) (Although if I keep running it, it reduces the score everytime.. weird)

Very sad you are stopping dev work :-(
[LG Optimus 2x] SuperSkill:
Or unrar, then delete unwanted apks and rar again, then install, working for me:)
[LG Optimus 2x] civato:
question, could you raise the offscreen max clock back to 512MHz.

In my opinion that is a better value for 100% stability in recieving calls.
[LG Optimus 2x] Stefan Gündhör:
I could make an additional version of the kernel.

Have you experienced instability yet?

Also I have to find out how to make vibration stronger for making a version of the kernel with strong vibration.
[LG Optimus 2x] truonglv:
Just installed this rom, it's great, tks Stefan:D
[LG Optimus 2x] Stefan Gündhör:
Thanks but could it be that you mixed up the ROM with the kernel? :D

ROM is here :) http://xdaforums.com/showthread.php?t=1504280
[LG Optimus 2x] truonglv:
oh sorry, my mistake, I installed your rom and posted to your kernel topic :o
[LG Optimus 2x] :
thanks stefan and trym, love the new option to completely disable the second core :)
[LG Optimus 2x] kkyoiori2001:
Do you open swap?

I find that closing it and solve.:o
[LG Optimus 2x] Stefan Gündhör:
This posting was about the bugged 1.7, not the fixed version :-)
[LG Optimus 2x] Stefan Gündhör:
Recommendation for lag-free gaming and best smoothness:

enable ZRam

set Swappiness to 50

SIO scheduler

(everything possible in GuesteOC tool)
[LG Optimus 2x] Stefan Gündhör:
Recommendation for lag-free gaming and best smoothness:

enable ZRam or Compcache (I think Compcache uses less energy than ZRam but I can be wrong of course)

set Swappiness to 50

use SIO scheduler

(can be set via GuesteOC tool)
[LG Optimus 2x] kkyoiori2001:
Thanks!

I try 1.7 SE final version, turn swap and wifi always on, then put it on a short time, I got black screen.(Cannot wake up, need unplug battery)

Everyone can try it!

But I think that maybe is my setting or app problem:eek:
[LG Optimus 2x] barril:
with the swapfile enabled octest tool gives me an error in the test. activated compache and testing ...

Enviado desde mi Optimus 2X

Rom HomeroMod Opit3D v1.4.2
[LG Optimus 2x] kkyoiori2001:
I got problem when enable zram or compcache, it show in use:N/A.

Only swap works for me but swap let phone got black screen.

How to solve it :confused:

I had delete files under data/guest2/scripts.

And no matter what I change kernel to1.6.2 final ,1.6.2-test1~3, or 1.7, always have same problems.
[LG Optimus 2x] TrymHansen:
Did any new scripts show up after you deleted the old ones?

Install GuesteOC 2.1.3 manually and see if that fixes it, I think it might. This may have something to do with guesteOC being installed in /system/app instead of /data/app. (Which is my fault, I asked Stefan to do it.)

I'm going away for a few days, will fix this as soon as I come back.
[LG Optimus 2x] vadonka:
Compcache (compressed cache) is the group definition of zram or ramzswap, whatever you preferred.

So this is not right:

"enable ZRam or Compcache (I think Compcache uses less energy than ZRam but I can be wrong of course)"

ramzswap using less cpu power if the zram using the traditional lzo compression. but if you used the google snappy compressor in the zram driver it will be unbeatable. ramzswap is deprecated now, so use the snappy zram instead of this.

Anyway both used the physical memory separated reserved area what is used in a compressed way. its way more faster like using a swap file.

The swap file placed on the block device caused massive IO operation, therefore degraded the system performance. so using this is a bad idea, it just slowing the whole system, not worth it.

If you using the compcache, you need to raise the swappiness at least 80-100 otherwise the compressed memory used very rarely and the system trying to allocate the physical memory most of the time. so it just eating the physical ram for nothing.

If you want a lot memory you need to set the compcache size to at least 300MB, set the swappiness to 150-200, and lowering the lowmemory killer values to the stock cm levels.

this can be drain the battery faster of course and the cpu is also working a bit more, but the usable memory size is huge :) when im on an ICS test run i also use this settings and the free memory was more than enough for everything :)
[LG Optimus 2x] kkyoiori2001:
Yes. After I delete and press Zram on Gueste OC Tool 2.1.3, scripts folder shows zram file.

But it's so weird that I had changed many different gueste kernel and Gueste OC Tool versions, problems happened again! :confused:

Now I use DM 1.3 beta 11.

Thanks :)
[LG Optimus 2x] barril:
so far everything's going ok ... Kernel flow stability .... ... 3g wifi ... with the virtual ram compache.activado

Enviado desde mi Optimus 2X

Rom HomeroMod Opit3D v1.4.2
[LG Optimus 2x] TrymHansen:
Ok. GuesteOC does what it's supposed to, so something else is up. The only thing I can think of at the moment are the permissions for the modules-directory and the module-files. (/system/lib/modules).
[LG Optimus 2x] Skyfall007:
i've had a freeze in gallery(pinch for zoom in)
[LG Optimus 2x] Flix123:
After 1 day, the 1.7 SE kernel is very good and fast, but wifi battery consumption is very very high (see attached screenshot).

Is that normal?
[LG Optimus 2x] -SONNY-:
When i deactivate the second core the performance is the same when its active... wtf?
[LG Optimus 2x] Stefan Gündhör:
Just run an Antutu to see that performance only seems to be the same, but you will get about half Antutu points compared to both cores.

Disabling one core still is a good idea, because just look at when 2nd core gets activated: After 1,5-2 seconds of full cpu use. So the truth is if you use any P990 kernel, most of the time when you are just scrolling or doing some non-intense stuff, your phone will only use one core.

This is the reason why you can't see the difference, because in everyday interaction there isn't really any. IMO.
[LG Optimus 2x] KillerbeeNL:
Try copy a large file or backup all apps with titanium backup and start browser etc.

With second core off its sloooow :D
[LG Optimus 2x] Skyfall007:
Congratulations Stefan! The kernel is damn good!
[LG Optimus 2x] stegg:
file "guestekrnL-1.7.0-SE-Final.zip"

the md5 value may be wrong: i constantly get

31dccfd2eee16e9e42a2680eacb27f7f

while the download page says

4c0cf556714b41af00038a977da54584
[LG Optimus 2x] Flix123:
Sorry for pushing, but is here someone having the same problem?
[LG Optimus 2x] Stefan Gündhör:
I think md5 calculation on DL server is bugged! I got wrong MD5 there for my ROM too, but when I downloaded and checked myself, md5 was correct!
[LG Optimus 2x] Stefan Gündhör:
Glad to hear!
[LG Optimus 2x] Flix123:
Yep, the kernel is very good. The only problem is the wifi consumption.

Stefan, can you help me with that?
[LG Optimus 2x] Stefan Gündhör:
I'd be interested to know if other users have high wifi consumption too. The only possible thing I can think of is that maybe wifi module shouldn't be optimized with build flag. Also on your screenshot phone consumption was very low for a long time, so maybe the more rapid drain was normal when using phone and wifi.

Anyway please test one or two more days and if wifi consumption doesn't get better I can compile you a wifi module without build optimization! :) (for use with existing 1.7 kernel)
[LG Optimus 2x] Flix123:
Thanks for the reply.

I didn't use the phone in this time, it was standby with wifi on. Cojo doesn't have the problem. Maybe there's an other reason for that? My general standby consumption is very good.

Could you maybe compile an other module? :)
[LG Optimus 2x] Stefan Gündhör:
Check if you have an app installed which uses WIFI if wifi is available. maybe this app causes phone not to sleep correctly when wifi is on.

Yeah sure I can compile you another module for testing, but not today/tomorrow I guess, because I currently can't access my PC& build environment (only my notebook)! If you still have the problem on Wednesday, I'll make you one or two replacement modules!
[LG Optimus 2x] Flix123:
Thanks.

I don't have any new apps using wifi, all my apps using wifi (G+, WhatsApp) I already had before.

I'll regard it a few days longer. Btw, can I use 1.6.3 Test2 module?
[LG Optimus 2x] Stefan Gündhör:
Okay, just do further monitoring tomorrow and as I said if it doesn't get better I will send you replacement modules!