yashsingh1/xdaforums huggingface dataset:
[LG Optimus 2x] Stefan Gündhör:
Why did I choose 1.3 GHz to be max. overclock frequency?

I'd like to answer this question which has been asked by some users already:

First you need to know: Nvidia Tegra scales the cpu voltage based on a voltage table with 8 voltages (developer can adjust this table)

So, no matter which frequency your CPU runs at, it will always use one of the 8 voltages

each voltage step is used for a frequency range of a few hundred MHz

all the frequencies in this range use the same voltage step

example (the voltage steps of guestekrnL v1.7-SE-Final):

216 MHz -> 755mV

> 216 MHz - 389 MHz -> 770mV

> 389 MHz - 503 MHz -> 800mV

> 503 MHz - 655MHz -> 850mV

> 655 MHz - 816 MHz -> 900mV

> 816 MHz - 1000 MHz -> 1000mV

> 1000MHz - 1100 MHz -> 1050mV

> 1100 MHz - 1300 Mhz -> 1150mV

The most important thing is to find the max. possible cpu freq for a voltage step, so power is used most efficiently

NVidia / Tegra has a max. safe voltage incrementation limit of 100mV, so voltage steps should only be separated by max. 100mV

And now the important part: The more OC voltage steps you have (in my example only two, 1050mV and 1150mV), the less non-OC voltage steps you can have (remember the limit of 8 voltage steps alltogether) and thus in our example this would mean if we additionally remove

and insert one more additional OC step

instead, our phone would use the 900mV step from >503 MHz - 655 MHz instead of the previous 850mV. This is one reason why OC kernels consume more power than non-OC ones. Another reason is the OC scaling bug Trym and I discovered and which is fixed in latest guestekrnL already.

So what I did in latest guestekrnL is maximizing the possible cpu frequency range for one voltage step and trying to minimize OC voltage steps for better power consumption. Almost all other kernels use more OC steps and therefore suffer from higher power consumption. If I would offer guestekrnL with OC higher than 1.3 GHz this would mean overall worse power consumption for all users, even if they do not overclock (because of the less non-OC voltage steps and therefore earlier use of higher voltages).

So in order to find the best compromise, I decided to go with 1.3 GHz and don't offer a non-OC version instead, because voltage steps have been wisely chosen in 1.7 SE Final kernel.
[LG Optimus 2x] ronalith:
after deleting and re installing gueste OC I still don't get the scripts on /data/gueste2/scripts, so no luck enabling zram
[LG Optimus 2x] Stefan Gündhör:
- re-flash whole latest guestekrnL

- chmod 777 on scripts directory

- remove guesteOC from superuser-app and let it ask for permission again
[LG Optimus 2x] ronalith:
I/ActivityManager( 1141): Displayed com.myrt.guesteoc/.GuesteOCActivity: +502ms
I/ggheart ( 1471): onStop
D/skia ( 1141): purging 192K from font cache [19 entries]
D/dalvikvm( 1141): GC_EXPLICIT freed 503K, 35% free 8287K/12615K, external 9214K/11262K, paused 112ms
E/su ( 3509): sudb - Opening database
E/su ( 3509): sudb - Database opened
E/su ( 3509): sudb - Database closed
D/su ( 3509): 10132 /system/bin/sh executing 0 /system/bin/sh using shell /system/bin/sh : sh
D/dalvikvm( 1302): GC_CONCURRENT freed 490K, 46% free 3425K/6343K, external 1625K/2137K, paused 2ms+3ms
W/Watchdog( 1141): Watchdog Big Brother Watching : com.android.server.PowerManagerService
W/Watchdog( 1141): Watchdog Big Brother Watching : com.android.server.am.ActivityManagerService
W/Watchdog( 1141): Watchdog Big Brother Watching : com.android.server.WindowManagerService
V/BatteryService( 1141): update mBatteryATComm = 0 mLastBatteryATComm = 0

same, here's what happens when I press zram.
[LG Optimus 2x] Stefan Gündhör:
Try to Chmod system/lib/modules and the contents 777

Another user had a similar problem, are you using DM 1.3 Beta 11 or another beta too?
[LG Optimus 2x] ronalith:
I'm using rooted stock V25h. Everything seems to work perfect on the kernel except this, I've applied Flix's 123 tweak pack and Spica's performance pack in the past.

I haven't tried wifi yet.

This time permissions were different but still nothing on /data/gueste2/scripts both scripts and oc are created and the files on oc are there.
[LG Optimus 2x] Stefan Gündhör:
Okay what I can tell you for sure is that the kernel itself does not cause this problem. The kernel consists of the kernel zImage and the modules and it provides 2 modules for ZRam and Compcache which both have been reported to work already.

(Otherwise it wouldn't work for all users)

The guesteOC tool could be the reason, I doubt it though but everything is possible.

Therefore I think your ROM or installed ROM-Software is the problem (faulty busybox, bugged SU app, non-working init.d, non-working bash ...). In your case init.d will work of course as you used performance pack.

But basically what I want to say is I think I can't help you here:

the kernel does not cause this problem

:(
[LG Optimus 2x] ronalith:
got it! wrong busybox version, I was using a cm9 version.
[LG Optimus 2x] Stefan Gündhör:
Omg! Everytime again it's amazing to see how this stupid busybox can bug a whole ROM!! But glad you got it solved!!
[LG Optimus 2x] cmahendra:
superb kernel

I am not actually a heavy user. Just use for business mails and Personal Assistance. No heavy media use. Few music etc.

Using 20q bb and ril with Django1.3Beta alongwith new GuesteKRNL1.7SEFinal. No freezing, pretty smooth, stable, low battery consumer and all network settings and general options work fine. Nothing negative to say in two days testing as I dont have heavy demands with O2X. Battery lasts for 30+ hours.

100% recommended and stable Kernel for Django1.3 and other stock roms.

Thanks a lot Stefan.:)
[LG Optimus 2x] Stefan Gündhör:
Thanks man, that's exactly what I want to hear :) (sry I'm out of thx again for today :/ )
[LG Optimus 2x] Stefan Gündhör:
I completely forgot to mention:

guestekrnl 1.7(Se-Final) is the first stock kernel with intelligent second core handling, so p.ex. during ScreenOff second core will be completely disabled automatically!

(regardless of second core activation frequency or screenOff frequency)
[LG Optimus 2x] Bir92:
Thank you once again stefan

Can I flash you latest Kernel over django beta12 or should I remove some old stuff ...coming from older 1.7 Kernel?
[LG Optimus 2x] Stefan Gündhör:
Hi Bir, yeah just flash it over :-)
[LG Optimus 2x] Bir92:
Just flashed and it feels super smooth ...!!!

Great work once again
[LG Optimus 2x] Stefan Gündhör:
Thx friend :)
[LG Optimus 2x] Bir92:
yes...now testing wheter to use compache or zram ...not sure yet...

btw

The phone says Kernel version: guestekrnL 1.7 SE HardWork/....nothing with final is this normal....:D
[LG Optimus 2x] Stefan Gündhör:
I use compcache myself. Zram works very well (and is a bit faster than Compcache I think due to Snappy Compression), but I dunno if it uses more energy than compcache. You can just try both and compare consumption or just take compcache to avoid any risks, because compcache is taken from stock LG kernel and ZRam has been backported from different kernel.

Yeah it's perfectly right, the SE indicates that it's the final 1.7 kernel. "HardWork" is kind of an insider, because making a kernel like this was and is no hard work at all (like users are usually told here). There are many things I associate with hard work but seriously experimenting with existing kernels, modifying them, merging stuff, cherry-picking, enhancing them a bit might take quite much time but can't be called hard work at all, it's a hobby like playing games or doing photoshop stuff or making websites. Unless you are and actual

kernel developer

and develop kernels (and here I mean programming kernels really from scratch).
[LG Optimus 2x] Bir92:
Ok thank you for detail informations here

Just set gueste oc tool like your signature here and woooow the phone is super fast without OC at all!

I hope battery drain is ok!

If this is the case I wont chanhe Kernel anymore ....!!!!

You indeed gave our phones a heart ...LG wasnt able to give!!!
[LG Optimus 2x] Stefan Gündhör:
Thanks :) Use the fsync hack with caution, some say it uses less battery, others say it drains battery. If your battery drains fast, first thing you should try is disabling fsync hack (which means enabling fsync in GuesteOC tool!)
[LG Optimus 2x] Bir92:
Ok one last question:

What about refreshing compache or zram right now it says ~2.87/~186 mb

I read that the phone becomes laggy after a while using virtual memory...and is the setting set on boot?

Thanks
[LG Optimus 2x] Stefan Gündhör:
The refreshing of current compcache use is done by GuesteOC tool automatically I think! Just check again in an hour, much more Compcache will be used then.

Who says that? Anyway, I did notice the opposite behavior, but I guess it's up to you t test yourself. Yes the setting is set on boot! Disable it in GuesteOC tool if you don't want to use it any longer.
[LG Optimus 2x] Bir92:
ok ...I'm going to test it this week and report!

Thanks once again
[LG Optimus 2x] Stefan Gündhör:
Yeah thx looking forward to your report!

Btw. my Freeze-O-Meter tells me 0 reported freezes for 1.7-SE-Final kernel.

Also feedbacks are very good in general, so I officially declare it stable, smooth and energy saving. :)
[LG Optimus 2x] Stefan Gündhör:
Ok my tests have a very clear result:

Do not disable FSync via GuesteOC permanently! It definitely drains battery.

It drained my battery very fast even during idle. Do not disable it via GuesteOC, this feature won't be in any future version of guestekrnL anymore.

Also for best battery I recommend NOOP scheduler.
[LG Optimus 2x] ronalith:
What about the IO Scheduler? Which settings have you found more reliable/battery saving?
[LG Optimus 2x] Stefan Gündhör:
I used SIO for a short time but fell back to NOOP which ist standard scheduler in 1.7-SE kernel.

NOOP scheduler is optimized for devices using flash storage (like our phone) and for maximum thoughput and minimum battery consumption. Latency is not very good though. The opposite would be bfq scheduler with best latency and worst throughput (and it is optimized for flash devices too). But I will stick to NOOP, don't have any problems and good battery as well.

Additionally enabling ZRam or Compcache uses extra power of course. But I still use it because it enables lag-free gaming and in some cases more performance. For best battery you should not use it though.
[LG Optimus 2x] ronalith:
great, I'll test and report battery life over a couple of days. So far everything seems stable and fast.
[LG Optimus 2x] domain:
Hi All,

I noticed bad music performance with the Kernel 1.7 and 1.7 SE.

All settings are standard. Rom is Jango manoche 1.3

Music playing with Google Player droped sporadically and especially when the power button is pressed to turn on/off the display. :eek:
[LG Optimus 2x] ryaneu:
Stefan I think you need to check on music playback in your latest kernel 1.7 SE final. I'm experiencing music skipping and pauses. Its been happening since 1.7
[LG Optimus 2x] domain:
Sаме as mine:rolleyes:
[LG Optimus 2x] Stefan Gündhör:
Since 1.7 kernel second core is completely disabled during ScreenOff. You can solve your issue by setting higher max. ScreenOff Frequency instead.
[LG Optimus 2x] ryaneu:
problem is , the problem does not only happen when screen turns off.

It happens when phone is idle but screen still on.
[LG Optimus 2x] Stefan Gündhör:
Try a different scheduler too just to be sure (p.ex. bfq)
[LG Optimus 2x] domain:
Another bug, the headphones icon still stay on bar after headphones are unplugged. This is present in all kernels 1.7

---------- Post added at 07:09 AM ---------- Previous post was at 07:02 AM ----------

with bfq is the same
[LG Optimus 2x] Stefan Gündhör:
Nope. Cannot confirm (does not happen using my own ROM).

So also consider the ROM you are currently using having bugs, not only the kernel ;)

(why on earth should a kernel cause the headphone icon not to disappear, it has nothing to do with it :D )

Maybe you upgraded your ROM too and this is causing the problems with audio for you, not the kernel. However hopefully you find a solution.
[LG Optimus 2x] ryaneu:
Audio problem is surely caused by the kernel and not the ROM.

Had no audio problems with version 1.6.2.
[LG Optimus 2x] domain:
The headphones icon is little problem, forget it.

The bigest one is the poor sound quality.

I confirm, the problem is with kernel greateh then 1.6.2.

No problems with older or diferent kernels.
[LG Optimus 2x] tomsi91:
Buy an IPod.
[LG Optimus 2x] Skyfall007:
i've had good battery with fsync disabled..
[LG Optimus 2x] domain:
I bought a expensive phone, and this is not an answer to buy an IPod.

We try to make Stefans kernel better.
[LG Optimus 2x] kkyoiori2001:
I don't know but I tried that use swap is smoother than zram and compcache.

I use swap with wifi on, idle for a short time, then phone got black screen(touch phone will feel a little hot).

Can someone try it?! :)

Now rom is DM1.3 beta12 with gueste 1.7 kernel.
[LG Optimus 2x] wawyed:
Stephan which ROM do you use/recommend with your kernel? I want to try your kernel but I use cm7 so don't know which stock based rom should I download
[LG Optimus 2x] ronalith:
so after some tests, I would like to ask you...

when I touch the screen cpu goes to the top (1000), if I leave the finger pressing, the cpu still keeps on top... meaning If I'm browsing "touch intensive" apps my battery can easily go down by 10% in just a few minutes. If I touch repeatedly then quickly both cores raise to 1000 non stop unless I take off my fingers for a while.

Is this behavior normal? I can check next week with a stock phone just to be sure.

EDIT: deleted my preferences, reflashed the kernel and everything seems to be OK. CPU raises to the top when touching but quickly lowers. I'll update if I notice something weird. I'll try to not touch the screen so often tho ;)
[LG Optimus 2x] CaptainHook8:
Stefan why did you choose V10 sources instead of latest V20 for your final kernel?

Thanks.
[LG Optimus 2x] Bir92:
I think battery drain is alright with latest kernel!

After 9 h still 73% left with normal use: message fb xda email 3 calls 5 text message

@stock no oc - 25mV
[LG Optimus 2x] ronalith:
which rom? 3g on or mainly 2g?
[LG Optimus 2x] Bir92:
No always wifi

With 3g the battery isnt good

Rom: django beta 12
[LG Optimus 2x] kfallz:
After installing 1.7SE I'm getting some strange battery usage, see the image. "Aktiv" = active "skärm på" = screen on, i have no background syncing going on, wifi has been off, 3G also... so idk what's up with that. Usually that's all black and no blue bars unless I'm actually using the phone. Better battery stats doesn't tell me much either.
[LG Optimus 2x] Bir92:
@ Stefan

If this helps you ... I uploaded some screenshots

http://xdaforums.com/showpost.php?p=26143481&postcount=2593
[LG Optimus 2x] Flix123:
Stefan,

why there are two download links of the 1.7 SE kernel with different file sizes?

http://androtransfer.com/?developer=gueste&folder=guestekrnL

http://www.mediafire.com/?9lvnkfthj9dbo#z9h3cor5jwen2

Is there an "old" build on mediafire?
[LG Optimus 2x] cojo11:
no,its the same size!!

i download both
[LG Optimus 2x] Flix123:
No, but one has Myrt torture tester included. So the kernels aren't different. ;)
[LG Optimus 2x] Stefan Gündhör:
Did you try unsinstalling DSP Manager and compare?

Anyway, maybe on weekend I have some leisure time so I can sort this problem out.

And even add some more smoothnes. Battery and stability are already okay referring to the feedbacks.
[LG Optimus 2x] maharu567:
Maybe you can put the vodoo sound in your kernel...
[LG Optimus 2x] Stefan Gündhör:
Has always been there... doesn't it work?
[LG Optimus 2x] Stefan Gündhör:
Thought smoothness would be better on v10. Maybe next release v20 again!
[LG Optimus 2x] maharu567:
Ohh. I didn't know. When i install the voodoo sound from market the sound is much better and louder but don't work very well ( sometimes don't work, especially when screen is off). Maybe you should upgrade the voodoo sound app...
[LG Optimus 2x] maharu567:
The post above is for Stefan :)
[LG Optimus 2x] Flix123:
Please don't do this! V10 sources are better, smoother and have no disadvantages. There's no V20 kernel available, which has such a great smoothness. ;)

I'm very satisfied with 1.7 SE kernel. Very good work! A bit optimization and the kernel is nearly perfect!
[LG Optimus 2x] ryaneu:
There is disadvantage of using V10 sources. You lose USB tethering function.

For me its quite an important function.
[LG Optimus 2x] Flix123:
As far as I know, USB tethering should work in the 1.7 SE.
[LG Optimus 2x] TrymHansen:
GuesteOC updated to 2.1.4 - Language update - Italian by "Lemaxxx"
[LG Optimus 2x] wawyed:
Hi I'm testing your kernel for the first time and I'm quite impressed though i miss the force ac charge option. Would it be posible to add it?

Thanks for your hard work
[LG Optimus 2x] mrQQ:
Hi,

1.7 SE seems to be very stable. Also, battery usage seems to be very good.

However, after 48 hours of uptime, phone is lagging badly.

It might be related to some application, but running cpu monitor does not show anything.

How to figure out what is causing lag?
[LG Optimus 2x] ronalith:
do you have compcache or zram activated? I ended up disabling them and it works way better, it's a better approach to just find memory intensive apps that you might not really use and delete them or freeze them. You can always reboot I guess...
[LG Optimus 2x] mrQQ:
no, both disabled.

reboot is always an option, but then you can't consider the phone to be stable, if you need to reboot every day.
[LG Optimus 2x] carburano:
What is your Rom?

Sent from DjangoManouche!
[LG Optimus 2x] louiscypherbr:
No disadvantages? what about compass on gmaps?
[LG Optimus 2x] ronalith:
I meant while using compcache/zram, I'm now on my third day without rebooting. I'll report if I find the same behavior.
[LG Optimus 2x] tomsi91:
i have to reboot after about 120 hours with every stock based rom and kernel. it seems work good but when i do something its laggy and sometimes it freezes. also when i turn on and off wifi frequently, wifi become report about error and i cant turn it on.
[LG Optimus 2x] mrQQ:
djm 1.2
[LG Optimus 2x] Flix123:
I don't need the compass on GMaps. And everything except this is fine in the kernel. :)
[LG Optimus 2x] carburano:
Change lmk profile in 97carbutweak file in /etc/init.d/ from opt to auto

Sent from DjangoManouche!
[LG Optimus 2x] vpaulve:
On last kernel , 1 BSOD and I had to pull battery after touch call icon. Then, I press again call icon and another BSOD but I didnt pull battery, it automatic completed process of calling. Weird...
[LG Optimus 2x] carburano:
Never had problems with 1.7...for me is rock stable

Sent from DjangoManouche!
[LG Optimus 2x] vpaulve:
Me too,first time. Then, when cellphone is screen off, sometimes it screen on automatic. Then screen off after a seconds. With other gueste kernel too.

Enviado desde mi LG-P990 usando Tapatalk 2
[LG Optimus 2x] Flix123:
I can confirm this. I've no problems with 1.7-SE. Everything works fine, even playing music with google music app.

The most problems come from roms which aren't compatible or make problems because of scripts etc.
[LG Optimus 2x] Grimlock42G1:
I can confirm that, too. I'm on DM 1.3 B15 with 20120420 BB and V20c RIL. No problems at all. I miss the GMaps compass a bit. But for me it is much more stable than the last few HP SR4 testreleases.
[LG Optimus 2x] feav:
TrymHansen,

I've translated your GuesteOC app to russian.
[LG Optimus 2x] Flix123:
I just noticed that scrolling @1.3GHz is worse than @1GHz. And quadrant @1.3GHz just gives 2600 Points.

Whats that? :eek:
[LG Optimus 2x] Kostja_V:
I'm using guestekrnL v1.7_SE-Final for 4 days now, and i'm really impressed with phone's battery life. It's working for 50 hours (under a light load) and still 38% of battery left and no bugs at all.

Now, my dream is to fix comass bug and it will be the best kernel for stock I ever used.
[LG Optimus 2x] Grimlock42G1:
+1

Gesendet von meinem LG-P990 mit Tapatalk 2
[LG Optimus 2x] feav:
I like 1.6 more than 1.7 because it dont have some bugs like compass, black screen on call and feels smoother. Battery live good for me too.
[LG Optimus 2x] ba32471:
I run 1.7 final..good kernel, good battery drain.

I Hope to find soon a kernel that runs fine after three days..just like when phone has powered-on...but maybe I'm just dreaming....
[LG Optimus 2x] McGiverGim:
+1 ;-)
[LG Optimus 2x] kennbo82:
In the past I had same problem with Stock roms, but switched to CM7 (Temasek KANG) and used ETANA Kernel. You should try it, the 3day lag problem was gone for me. Etana's Kernel (use latest beta!) is really great, unfortunately his battery drain is not as good as this stock one but he is improving it day by day.

If you want to try CM7, ensure you install 10d Baseband before, if not please never stop hoping! ;)
[LG Optimus 2x] ba32471:
Does ETANA Kernel run on stock-based rom?
[LG Optimus 2x] kennbo82:
Because it shows as "CM7/MIUI Kernel" I guess -> No.
[LG Optimus 2x] TrymHansen:
GuesteOC updated to 2.1.5. Language update: Russian and Spanish, thanks to Alex Fedoseev & McGiverGim.
[LG Optimus 2x] mrQQ:
sorry for stupid question, but how do I do that?
[LG Optimus 2x] carburano:
with es file explorer go to /system/etc/init.d and edit file 97carbutweak you will find this line LMKVAL="opt" change "opt" to "auto", save the file, set it as executable and reboot :)
[LG Optimus 2x] barril:
guestOC not because I did not save the settings and it gives me 1100MHz only 816mhz from this. Does anyone know why?

Enviado desde mi Optimus 2X

Rom HomeroMod Opit3D v1.4.2
[LG Optimus 2x] mrQQ:
thanks. the file is named 98carbutweak for me. how do I set it as executable?

edit: found
[LG Optimus 2x] wawyed:
Wich rom and configuration do you have?
[LG Optimus 2x] AngelOfMors:
After installing the kernel is not working compass in Google maps. In other programs, all right
[LG Optimus 2x] Flix123:
Today, I had my first random reboot since I use this kernel. It happened after lock/unlock screen in a few seconds.

Stefan, can we expect a new kernel soon? :)
[LG Optimus 2x] ba32471:
Yes True..hope fixed in next release.:D
[LG Optimus 2x] barril:
I also had a bug von kernel. You do not save the configuration tool guestOC. always ends in 816 Mhz

Enviado desde mi Optimus 2X

Rom HomeroMod Opit3D v1.4.2
[LG Optimus 2x] Stefan Gündhör:
Sorry guys for not offering you a dayly beta, I was a bit busy so I decided to release a stable kernel once instead.

guestekrnL SR99R100.1PI.1337-GoodBye

Changelog:

Incredible Smoothness (smoother than 1.7)

Fixed Compass not working in GMaps

(Hopefully) fixed audio bug some users had

fixed buggy proximity sensor

rock solid, stable, freeze-free

no additional build flags for wireless module for better stability and power consumption

various internal changes

Other than fixing bugs if there are any, this will be my last Stock Gingerbread kernel for now.

Reason: Just try the kernel, I don't have any idea what I could make better/improve anymore,

I believe it ist the best stock kernel available and there won't be any better in future. This is my personal opinion, feel free to make your own one ;-) Just try the kernel.

But if you have any ideas for improvements, just tell me :)

Please give Feedbacks and compare this kernel objectively with other available stock kernels.

PS.: If GuesteOC tool doesn't set settings, sth. could be messed up with the ROM, maybe too many flashes of different GuesteOC tool versions in different folders. But you can of course try to delete GuesteOC from /system/app/ dir and copy to /data/app instead.

Oh before I forget

- COMPILED WITH COOL SELFMADE TOOLCHAIN

- MEGA GRAPHITE OPTIMIZATIONS

- OTHER IMPRESSIVE STUFF :D

Download http://www.mediafire.com/?qj3cls9pwss7k
[LG Optimus 2x] louiscypherbr:
Trying it. Thank you again, man. The compass is working now! So far, so good. I'll report results in few days.
[LG Optimus 2x] barril:
Testing ...

Enviado desde mi Optimus 2X

Rom HomeroMod Opit3D v1.4.2
[LG Optimus 2x] kkyoiori2001:
Hi,

Is SIO still the best choose on new kernel?

Thanks :)