yashsingh1/xdaforums huggingface dataset:
[LG Optimus 2x] Stefan Gündhör:
I did only the kernel work, the amazing and revolutionary OC app coming with next version is completely TrymHansens work -- you are a magician, Trym! :)

You guys really should buy his latest game in store, he earns it ;-)

I'm also sorry there is no new kernel release yet, but hard work is still continuing on both kernel and app side.

I have new kernel quite ready but one thing is still bugging me. You all know how smooth SR2 kernel is/was. It might be old and with not the best power consumption or features, but smoothness still is unbeaten. Days of testing and experimenting have passed and still the same or better smoothnes without trade-offs hasn't been achieved by me. Maybe it's also due to the disabled swap functionality in SR2, I dunno. I have a bunch of ideas left to test on tuesday for improving smoothness, but if the kernel still is not at sr2 niveau afterwards, I will just accept that. In exchange we will have 3 different kinds of Swap, changable on the fly, a kick-ass kernel controlling tool by Trym, many additional OTF features (mostly merged from spica1234, credits and appreciation to him, I adapted, fixed and enhanced the OTF code for my needs along with adding additional OTF features).

Also some "revolutionary" stuff like a fixed overclocking scaling bug (though most people don't even know it exists in current overclockable kernels): Usually when phone is unplugged from power and second core gets activated, CPU frequency scales up to maximum OC frequency for a very short time. This is what TrymHansen and I have discovered because his OC tool always shows current cpu freq. When phone is plugged to power this bug does not happen.

This could be the explaination on why overclockable kernels consume more power than non-overclockable ones: Just imagine you use an overclockable stock kernel of your choice which is overclockable to max. 1.4 ghz :

- You limit CPU freq to 1 GHZ, everything is fine but as soon as second core gets activated, CPU freq moves up to 1,4 GHz for a very short time (less than a second) -- but still this is a peek and might result in higher power consumption as this happens everytime second core is activated.

Usually you don't notice that when not live monitoring cpu freq.

However I fixed this bug, took me many hours.

Wireless tethering will work again, and a self-compiled linaro toolchain will be used for kernel compilation.

Edit: ah I forgot to mention, 4 days ago I made the strong in-call and strong message vibration work.

Strong In-call and message vibration will be default for guestekrnL, strong haptic feedback and strong touch-led vibration will be OTF enable-able in GuesteOC tool.
[LG Optimus 2x] CaptainHook8:
You are great!

I don't have words for your work...just thanks hundreds of times!

Little request: can you make strong incall and message vibration an OTF too? Just for people like me that are not interested in having stronger vubration.

Thanks again!! :thumbup::p

Inviato dal mio LG-P990 usando Tapatalk
[LG Optimus 2x] Stefan Gündhör:
I already thought about 2 different OTFs, one strong haptic vib OTF and one strong call & sms vib OTF -- but I thought noone would have a problem with stronger call&sms vib but if u want I make that otf too
[LG Optimus 2x] spica1234:
otherwise it would also be better to make 2 kernels one with normal and another with strong vibration. message and heptic feedback otf is already there that should be included in strong vibrator kernel only. not in normal vibrator kernel because it doesnt need it

because 2 otf for strong vibration will create more confusions to users. my 2cents;)
[LG Optimus 2x] ryaneu:
I think it will be better if you can make 2 different version , one with normal vibration and the other with strong vibration.
[LG Optimus 2x] CaptainHook8:
I would appreciate an otf for incall and messages too!

Thank you so much!

:D

Inviato dal mio LG-P990 usando Tapatalk
[LG Optimus 2x] SuperSkill:
+ 1 :)
[LG Optimus 2x] kkyoiori2001:
thanks!!

These days I've tried version 1.2.1, 1.4.1 , 1.5, 1.5.1-test1~4.

The best response and smooth version is 1.5.

I think if 1.5 can be solved USB Tether and Call Vibrate bugs, that can be version 1.6. :D
[LG Optimus 2x] Sheppie:
Looking forward to the new version of your kernel :D:D. Personally, I like it in CM7/9?? where i can adjust my incoming call vibrations. But if you make 2 versions, one strong one and one normal, that is also good :p

Thanks again for your great work (and those who've helped you)
[LG Optimus 2x] barril:
Thanks ford the work:) excellent kernel.

Enviado desde mi LG-P990
[LG Optimus 2x] TrymHansen:
GuesteOC

This post has been moved here.
[LG Optimus 2x] louiscypherbr:
Not perfect because tether bug and battery life that could be better, despite this I have no more wishes from it.
[LG Optimus 2x] carburano:
Congratulations men!
[LG Optimus 2x] Flix123:
Is the 1.6 kernel as smooth as 1.5.1 Test1?
[LG Optimus 2x] Stefan Gündhör:
I'd say so ... you should try it!

Also I'll post the kernel on handy-faq soon! I worked with Trym so much the last time so I released it here already
[LG Optimus 2x] KillerbeeNL:
Installed, first impression BUTTERSMOOTH

lets test this impressive work/kernel

Thanks
[LG Optimus 2x] Stefan Gündhör:
Thx :) Keep feedbacking :)

And the best is I believe I've made no trade-offs for this smoothness. Didn't even decrease scheduler latency or stuff like that.
[LG Optimus 2x] gumiteve:
just flashed... app crashes (for example Titanium Backup) are gone on Goodbye rom :)

guesteoc is very impressive... great work guys :)

testing batt life etc and report back...
[LG Optimus 2x] Marsou77:
I have nothing to say... it's so incredible! The progress that we have do since one year is very impressive! Thanks, many thanks to everyone that have contribued to our lovely LG!

Sent 2X faster with my LG
[LG Optimus 2x] hakankarani:
Just installed the kernel and my first impression is waaoow what have you done man!! Tool is userfriendly indeed thank you guys. But I have a question do we need to use hp o2x tool for spica otf function?
[LG Optimus 2x] Stefan Gündhör:
Thx :)

Spica OTF tool is not compatible (due to complete OTF redesign by me) and not neccesary. As stated, all the important OTF stuff can be changed directly with GuesteOC tool, all the rest of OTF (3d gpu frequency, RAM frequency, some voltages) should not necessarily be changed, and if, then only by experienced users.

They can find the rest of the OTF stuff in

for instant change and

if the values should be kept after reboot.

Powersaving profiles are not necessary, the kernel will automatically reduce frequencies of most components on ScreenOff (and increase on ScreenOn again).

Keeping it simple is important :)
[LG Optimus 2x] Stefan Gündhör:
Yeah I finally found out my poor GoodBye ROM wasn't the source for the crashes, it was a bug in 1.5 kernel which, as you found out yourself, is gone now!
[LG Optimus 2x] hakankarani:
Thank you very much pal god bless you:)
[LG Optimus 2x] DrummerMuppet:
Hi Stefan,

Just flashed your kernel and my device seems to be stuck bootlooping in the first LG logo. Any ideas?
[LG Optimus 2x] Stefan Gündhör:
Not really! Which ROM and File System? Can you try deleting cache in CWM? Did you undervolt before flashing the kernel? If yes, this undervolting could cause the problem and needs to be removed first.
[LG Optimus 2x] SuperSkill:
I like butter but I love mayonnaise :D congratulations and thanks alt guys :D will dl and install now :D

Edit: By the way, Tryms game bought a few days ago, recommended :)
[LG Optimus 2x] Stefan Gündhör:
That would be a cool new feature name: mayonnaise-scrolling :D
[LG Optimus 2x] DrummerMuppet:
I'm using Temasek's ROM, filesystem should be EXT4 as that's what CM uses right?. Did wipe cache before flashing it and nothing else. Then rebooted and got stuck in the first LG logo.
[LG Optimus 2x] Stefan Gündhör:
:D:D:D:D:D:D:D:D:D:D:D:D:D:D

This is NO Cyanogenmod kernel ;)
[LG Optimus 2x] DrummerMuppet:
Dammit, I usually do read but this time went ahead blinded and installed this kernel without checking that this was for stock only :p

Oh well, good thing I did have a backup so no harm has been done ^^

Sorry for the inconvenience, will go and jump off a bridge now (well, not really hehe)
[LG Optimus 2x] CaptainHook8:
Thankkkkkkkk youuuuuuuu Stefan and Trymqnsen....you guys made my day!!!!!!Really congrats...really!! :D

Outstanding job...impressed,happy,grateful...i have no more words for you guys!!!! :p

Keep it up!!

You guys are the best :p

Inviato dal mio LG-P990 usando Tapatalk
[LG Optimus 2x] Eyekool:
It really seems to be ultrasmooth. ;)

So much better then v1.5 (at least in my case, for now...).

Amazing work, congrats.
[LG Optimus 2x] stevvie:
Just tried 1.6 over HP sr4 pre2, but keep getting lg logo then reboot the lg logo then reboot (you get the picture). I've tried cleaning cache and dalvik.

Any help on this problem.
[LG Optimus 2x] Stefan Gündhör:
I think battery is good too, 2h 47 min on Standby, still 100%

We will see, but everything seems promising :)
[LG Optimus 2x] SuperSkill:
Installed and impressed. Your best one till now, so if mayonnaise edition will come some day, what will be improved? :D I feel that the OTF first made by Spica have motivated all devs to continue the work for making o2x the best phone for a long time in 2012 and hopefully even longer:) I think you all deserve credits and donations. And buy Tryms game all of you :)
[LG Optimus 2x] Stefan Gündhör:
Thanks! I was sceptical about OTF first. But after taking a closer look, re-working and enhancing it, it works now exactly as all other kernel OTF features like CPU frequency, Swappiness, Touch Leds Brightness,... (which in fact are OTF too and have always been). Spica's idea of making phone-specific values editable on the fly too was a good one indeed.

Compared to original OTF my improved version now always shows correct and current values -- even if a value has been changed by the kernel itself and not by the user. Also I bugfixed/completely changed the writing process of the values (which caused problems before when a new line wasn't added and a value with a digit less than the value before submitted).

@stevvie: You might want to clean up your /etc/init.d directory... Scripts from HP kernel like 99pmwcpu (they do undervolting etc.) could be the reason for your problem.
[LG Optimus 2x] carburano:
I amazed by the wonderful couple: trym+ gueste... Tryeste... It sounds like an italian city :-)

Thanks guys for this revolutionary piece of art
[LG Optimus 2x] spica1234:
Wow. Thanks for appreciating OTF expanding OTF project like vadonka. I really like it. Now we've team working on OTF instead of one man army show:)

I will soon try it:)

Nice work:)
[LG Optimus 2x] SuperSkill:
Teamwork always great, but please continue separate releases and learn/share to/from eachother :D its on honor to get your work in our phones :D
[LG Optimus 2x] Stefan Gündhör:
Yeah I need to admit OTF really is a cool thing :)

Check out my latest commits, the way I implemented reading/writing of the OTF values could be helpful!

Examples for read/write:

int emc2_procfile_read(char *buffer, char **buffer_location, off_t offset, int buffer_length, int *eof, void *data) {
int ret;
printk(KERN_INFO "emc2_procfile_read (/proc/gueste/%s) called\n", EMC2_PROCFS_NAME);
if (offset > 0) {
ret = 0;
} else {
[B][COLOR="Green"]ret = sprintf(buffer, "%u\n", GUESTE_EMC2_FREQ);[/COLOR][/B]
}
return ret;
}

int emc2_procfile_write(struct file *file, const char *buffer, unsigned long count, void *data) {

[B][COLOR="Green"]unsigned int tmpval = 0;
unsigned int ret;
ret = sscanf(buffer, "%u", &tmpval);
if (ret != 1)
return -EINVAL;

if ( tmpval < 500000 || tmpval > 710000 )
return -EINVAL;

GUESTE_EMC2_FREQ = tmpval;

return count;[/COLOR][/B]
}

Using it this way, the output of OTF will always be current value and the input is bug-fixed. Also no more additional buffers needed. Additionally using sprintf instead of memcopy is an advantage I believe.
[LG Optimus 2x] spica1234:
Thank u. Sure I will look to your commit:)
[LG Optimus 2x] Sheppie:
Nice, smooth kernel Stefan, really great. Just tried it last night and everything worked really well.

Can't say anything of the battery life, but I'm sure you've got that one covert ;).
[LG Optimus 2x] Stefan Gündhör:
for me 4% loss in 9 hours of standby with 3g and data on

edit: also Small Bugfix: Trym has discovered a very small bug, causing one of the saved OTF frequencies not to be remembered correctly after reboot. You can solve it by flashing the Bugfix01 or the kernel with Bugfix01 included.

This is no kernel bug! Just a bug in an /etc/init.d/ script responsible for "remembering" the OTF values
[LG Optimus 2x] ryaneu:
stefan do you know whats the default turn core 2 off and on frequency for stock kernel?
[LG Optimus 2x] Stefan Gündhör:
Stock kernel will turn on 2nd core after 1500 milliseconds over 666 MHz and off when frequency is under 333 MHz (1/3 of 1000) for 1000 milliseconds.

However this setting is not optimal for power consumption I believe.

guestekrnL v1.6 defaults are turning on 2nd core after 2000 milliseconds above

(MaxKHz - (MaxKHz > MinKHz ? 1000 : 0))

(= current max frequency - 1 MHz in most cases)

and off again after 100 milliseconds below

((MaxKHz - MinKHz) / 3 + MinKHz + 1000)

(= 1/3 of range between current min and max frequency + 1 MHz)
[LG Optimus 2x] ryaneu:
But that is like sacrificing processor power for less power consumption. I also did a Antutu benchmark test and the score was noticeably lower than usual.

I want to find a value which does not compromise on too much processor power but still have decent power consumption.
[LG Optimus 2x] TrymHansen:
You can choose to not use those limits. Disable "auto second-core" limits on the tweaks page and set them to whatever you like.
[LG Optimus 2x] Stefan Gündhör:
C'mon I thought times where only benchmarks mattered are already over :D

Benchmark results also depend on the chosen IO scheduler and system swappiness (both have been selected for providing maximum smoothness and not maximum benchmark results).

Also

Trym is right of course, just disable the auto limits, set the limits of your choice and decrease activation time of second core for maximum performance. (smoothness might be even better, but battery worse)

Also try decreasing swappiness to 20 or 10. (smoothness will be worse but maybe benchmarks better)

For your needs: just leave the auto limits on and decrease activation time of second core to p.ex. 1000 or even lower (500, 100 or 10). Decrease swappiness to 20. Increase deactivation time to 1000.
[LG Optimus 2x] SREEPRAJAY:
Stefan,

Does the same ZRAM enabler which is with Django(prepared for 1.5), work with the new Kernel 1.6?

Thanks for the smooth and great work mate.
[LG Optimus 2x] Stefan Gündhör:
No no, no more additional ZRam enablers, just flash the kernel and enable ZRam with the GuesteOC tool!

If an old ZRam enabler is on your system already it will be overwritten by new kernel..
[LG Optimus 2x] Stefan Gündhör:
For those who broke their system by using wrong frequencies, too much undervolting etc.: A CWM Zip for resetting OC, UV and OTF kernel defaults
[LG Optimus 2x] hakankarani:
Sorry Stefan it gives bad zip file error, also after flashing bug fix after every reboot cpu overclock to max and zram disabled. Plus swapines is 20 is it your default setting?
[LG Optimus 2x] Stefan Gündhör:
Dammit what is wrong with this stupid forum software here ??? That's the second time today an uploaded file gets corrupted... I'll fix (also swappiness default is 60)

Edit: fixed,, I will check all the other uploaded files
[LG Optimus 2x] hakankarani:
Thanks pal for your fast reply
[LG Optimus 2x] TrymHansen:
That sounds like a permission problem for the scripts, try flashing the entire kernel+fix instead, I did that without problems.
[LG Optimus 2x] SREEPRAJAY:
I flashed this with perfect sync mate with kernel+fix...works great...testing is on
[LG Optimus 2x] hakankarani:
Did as you say and still the same.:(
[LG Optimus 2x] TrymHansen:
Ouch. You may have a corrupted file system then. If you have a backup, do a complete wipe and restore that, then flash kernel+fix again.
[LG Optimus 2x] spica1234:
Stefen bro you forgot to add changelog in hurry:p

-remerged someof sr3r changes

Hehe never mind:)
[LG Optimus 2x] Stefan Gündhör:
It seems the broken ZIP has somehow messed up the OC stuff. I'm sorry, the ZIP was alright basically, but when uploaded to the forums it broke, there was no way to foresee that.

Try completely uninstalling GuesteOC app (also click delete data and settings before), reboot to cwm, wipe cache, and install the kernel with the fix again.
[LG Optimus 2x] Stefan Gündhör:
Sure mate, I thought I did with

but I'll add the additional changelog line of course!!

Edit: done! I added

Thx for the hint!
[LG Optimus 2x] spica1234:
Welcome never mind, anyways I am using your kernel now for testing its indeed smooth.

Nice work bro:)

Btw I tried making kernel based on10e as flix firmly believed it was 10e responsible for smoother scrolling but it couldn't deliver smoothness and scrolling like sr2. So I guess 10e wasn't responsible for smoothness. May be gcc toolchain at that time I did use was too old gcc-4.3 . But I am not sure though:)

I almost tried all combination of cflags either but no luck:/
[LG Optimus 2x] montresor60:
Excellent, Stefan and TrymHansen. V20c rebuild with these settings absolutely rock my world!
[LG Optimus 2x] Stefan Gündhör:
You are right, I came to same conclusion afterall, v10e code is not responsible for increased smoothness!

The hugest increase in smoothness for me happened when I switched back to TreeRCU from JRCU-- but TreeRCU is what you already use!
[LG Optimus 2x] spica1234:
I will try this weekend with gcc-4.3(although I don't think its gcc related) which I used in the beginning. V20q sources are much good than v10e. V10e has poower D-cache and I-cache cleanup plus wifi memory leak issue as well
[LG Optimus 2x] hakankarani:
Same problem after unistalling as you say and reflashing kernel. I think have to format system and install a clean rom so have to wait mr carburano for his new rom with your kernel:)
[LG Optimus 2x] Stefan Gündhör:
I think you are right, the broken ZIP (already fixed) might have screwed up your file system :( :(

If you have any backups in CWM, restore the latest one (as recommended by TrymHansen). Or just backup your apps with titanum and set up a clean new Django of your choice
[LG Optimus 2x] hakankarani:
Thanks again friend sure I will
[LG Optimus 2x] Stefan Gündhör:
In fact I'm looking foward to the new DjangoManouche with 1.6 integrated too :-) Haven't set up my phone now for a long time, I'm still on Django 1.1 as I had to keep the system konsistent for the kernel tests!
[LG Optimus 2x] spica1234:
It's may be related with DISABLE_SYNC features i will also #undef it in next version. It disable sync not only in ext4 but all file sync related fucntions like DB sync also.
[LG Optimus 2x] SREEPRAJAY:
it is extremely smooth for sure with DJ ROM but looks like the battery sucker...drained with a little use...voice calls, wifi and mobile data and I have gone from 100%(i charged it after I flashed the 1.6with bug fix)and then 4hrs later I stay with only 76%.Cant believe it.

Whats happening? Am I doing anything wrong?
[LG Optimus 2x] KillerbeeNL:
I think you must recharge the battery a couple of times and set the OTF settings to your need for speed and battery consumption
[LG Optimus 2x] Stefan Gündhör:
How is your consumption?

What I know is that consumption during standBy is very good. Maybe the one during active use isn't - could be related to my second core scaling bug fix (or maybe the BLX Battery Life Extender just sucks?)

Please keep reporting about consumption especially during use, thx
[LG Optimus 2x] hei1125:
Hi stefan, I have read a post somewhere else in o2x forum that BLX is useless on our device.
[LG Optimus 2x] SREEPRAJAY:
I am using the Juice Defender Ultimate already....maybe this and the Battery Life Extender are conflicting and this is the issue....never had this with your 1.5...so whats the new one added? maybe that will give you an answer Stefan.

Thanks
[LG Optimus 2x] KillerbeeNL:
Still testing but i have been using Drawmesomething alot so i am using the phone extreme.

Have you enabled the 800 mhz with working second core ? That can be enough when playing/surfing etc.

EDIT its enabled for lower speeds :D
[LG Optimus 2x] Stefan Gündhör:
I'll be busy over the weekend, so until then please all others keep testing and "feedbacking".

If the others get poor battery during use too, I'll revert some changed I made in the kernel (second core scaling fix) and disable the BLX as it is not really necessary. So if necessary there will be an 1.6.1 release soon.

I'll release the new version of my ROM with the kernel included in an hour or two, we will see how that works.
[LG Optimus 2x] SuperSkill:
Hi Stefan :)

After a day use I'm still impressed of 1.6,i've never used you're kernels on daily basis before, but this release is damn good(no offence Spica), after 6 hours of much use still 74% battery(even a cheap one from dealextreme, the battery in fact are good, even after 50 charges) :D

Cheers :)
[LG Optimus 2x] spica1234:
Yes you are right infact its very smooth:)
[LG Optimus 2x] Stefan Gündhör:
Thanks for the feedback! So you have good consumption when heavy using? Hummm... let's see how it behaves for other users
[LG Optimus 2x] SuperSkill:
Yes, but I experience a few lags(not much and don't know why, will reboot) after a few hours ;)

Edit fine after rebooted....
[LG Optimus 2x] SuperSkill:
I did when fully charged, did loads of calls and browsing, but now just browsing and it's using nearly same amount of power as earlier today with much more use :)
[LG Optimus 2x] gumiteve:
57% here after 15h30m... average usage for me (wifi/3G on, a few calls, internet browsing & stock market in traffic jam :) ) I think its ok under heavy usage too...
[LG Optimus 2x] KillerbeeNL:
Very smooth with this settings , i have not used UV settings.

Thanks ;)

Django 1.1
[LG Optimus 2x] montresor60:
Yes but battery drain is high, perhaps due to V20c rebuild ROM. Will try DM beta when it's ready.

But it's sure fast and smooth!

@all: please specify ROM when reporting battery use.

Edit: battery seems much better now with default GuesteOC settings, Django 1.2.1 (stock) BB v20l / RIL v20l (Italy)
[LG Optimus 2x] gumiteve:
GoodBye 1.1 all settings are default
[LG Optimus 2x] Stefan Gündhör:
Thank you very much for your detailed feedbacks guys!

Hang on, I will work on v1.6.1 and release it Tuesday I guess.

I will remove every tweak probably causing higher consumption during use for some of you.

Also OC will maybe finally be limited to 1,2 GHz. You know I mentioned the "second core scaling bug" where everytime second core gets activated both cores run at Max Overclock frequency for a very short time even when user runs his phone at 1 GHz. I thought I fixed it for 1.6 kernel (it looks like that) BUT maybe my workaround also caused some side effects and even higher consumption. So solution would be reverting the workaround and lowering maximum OC to 1,2 GHz to keep the peaks on second core activation lower.

I'm sure we will get everything right for everyone and also the x.x.1 versions are always the best :D

@gumiteve: Do you have random reboots with GoodBye ROM? Working on a new ROM version and came accross the issue.
[LG Optimus 2x] carburano:
[joking mode on] yes spica i know my rom are unstable with any kernel... If you want you can write it... ;) btw i try to do my best to release something good [joking mode off]

I have to say: i really love you both spica and gueste :-)

Inviato con il P990 DjangoManouche!