yashsingh1/xdaforums huggingface dataset:
[LG Optimus 2x] coldfear00:
been using this kernel with heavy usage for 2 days now, but never saw the kernel use even 1 kb of the allocated swap, using the swap enabler provided in the 1st post.

can sum1 guide me on how to make the kernel use the swap

other than the swap problem the kernel is very nice, good perfomance & stable.

Thanks Stefan :-)
[LG Optimus 2x] feav:
Stefan Gündhör,

With 1100Mgz max cpu (default settings for your kernel) i have about 4700-5000 marks in Antutu benchmark. With 1015Mgz max cpu (setted by SetCPU) i have about 5500-5700 marks. Why?
[LG Optimus 2x] Stefan Gündhör:
Did you run benchmark 3 times? Always do this ;-)

February 16, 2012 -- introducing v1.1 test version:

hopefully more energy efficient

bfq scheduler introduced

various settings changed (eg. max screen off cpu freq. lowered to 389MHz)

no more andrev oc compatibility (installing kernel 1.1 will disable andrev oc)

test version, as feedback on stability is needed

github repository added
[LG Optimus 2x] TrymHansen:
You may want to check that again. The 1.6.1 kernel-installer has this in its installer-script:

ui_print("Applying some tweaks originally by topogigi...");
unmount("/data");
run_program("/sbin/tune2fs", "-O", "extents,uninit_bg,dir_index", "/dev/block/mmcblk0p8");
run_program("/sbin/e2fsck", "-fpDC0", "/dev/block/mmcblk0p8");
run_program("/sbin/e2fsck", "-fpDC0", "/dev/block/mmcblk0p8");
unmount("/cache");
run_program("/sbin/tune2fs", "-O", "extents,uninit_bg,dir_index", "/dev/block/mmcblk0p2");
run_program("/sbin/e2fsck", "-fpDC0", "/dev/block/mmcblk0p2");
run_program("/sbin/e2fsck", "-fpDC0", "/dev/block/mmcblk0p2");
unmount("/system");
run_program("/sbin/tune2fs", "-O", "extents,uninit_bg,dir_index", "/dev/block/mmcblk0p1");
run_program("/sbin/e2fsck", "-fpDC0", "/dev/block/mmcblk0p1");
run_program("/sbin/e2fsck", "-fpDC0", "/dev/block/mmcblk0p1");

ui_print("Done! :-)");

This line: "tune2fs", "-O", "extents,uninit_bg,dir_index" is a conversion to ext4.
[LG Optimus 2x] Stefan Gündhör:
I read once that as soon as an ext3 partition is mounted as ext4, it will be converted to ext4 on the fly. Thank you for your response. I think first I will release a normal version with an ext4-compatible boot.img and maybe someone can test flashing it on an ext3 ROM then!

Ah and Trym is right, 1.6 and 1.6.1 converted the FS to ext4 I believe, but some users reported about problems, so I don't want to do any more FS conversions.
[LG Optimus 2x] TrymHansen:
Back in the topogigi days, when people started to use the AnyKernel-installer, we had to resort to some tricks to get working init.d. One of them was to flash a boot-image made by topo, then flash the kernel we wanted after. Topos init.rc-scripts mounted ext3 partitions as ext4 without problems. Are extents even used on the android port of ext4?
[LG Optimus 2x] sugardad:
Glad we helped!

I'm willing to give It a go, just post the red pill :p

Ext3 can be mounted as Ext4 in compatibility mode..

Thanks for not proceeding to auto conversion... (I'm happy with ext3)

EDIT

I dunno if extents are used in some ROM builds or In all builds...

surely though extents is a feature of Ext4 and you can look Here and maybe here

Problem is when you Mount an Ext4 as Ext3 and have extents enabled in Ext4...
[LG Optimus 2x] TrymHansen:
Soooo.... any feedback on the GuesteOC 2.1.0 Beta?
[LG Optimus 2x] sugardad:
Awesome!

I love the freedom to control pretty much everything!

I Love It!!

I wonder If this would also work....

I'm tempted....
[LG Optimus 2x] TrymHansen:
Good, thanks. (Stafan made it possible, I'm just the GUI-guy.) No layout glitches on the CPU-page? I'm worried the spaces alloted for the Checkboxes are too tiny for some regular fonts.

I'll go ahead and finish all of the functionality, but I'm very interested in feedback on if it breaks (layout-wise) when using different themes etc., I don't have the capacity to install them one by one and test.
[LG Optimus 2x] carburano:
Really like new oc tool... I really prefer bfq... To check differences you can try restoring sms with sms backup tool... With bfq it needs few seconds, with sio almost a minute

Sent from DjangoManouche!
[LG Optimus 2x] sugardad:
I'm already using Roboto Font (System wide) and had no Problems In appearance of the GUI.

No Glitches for me...

Sure there are many Sliders and Check boxes but all Is visible and easy to read and use!

EDIT

Simple hardware need NOOP, Complex hardware require complicate and efficient schedulers for handling the multitude of tasks and I/O events.

Throughput <- NOOP <- SIO <- Deadline -> CFQ -> BFQ -> Latency.

NOOP - 2 or less

SIO - 4 or less

Deadline - 8 or less

CFQ - 16 or less

BFQ - greater than 16
[LG Optimus 2x] Stefan Gündhör:
How is smoothness for you BFQ vs SIO and also battery?

Any differences? So this means you used BFQ with Test2-kernel and it worked well? Maybe I will make it default for final! (final is already almost done)
[LG Optimus 2x] TrymHansen:
Btw, would anyone like some reboot-buttons in GuesteOC? (Reboot, reboot to recovery?) Or are you already using other tools for that?
[LG Optimus 2x] Marsou77:
So... trust me when I say something :p

I know what I said because FX file explorer says me that I am on Ext3, and after flashed Gueste Kernel, FX says that I was in Ext4 :)
[LG Optimus 2x] Bir92:
That would be great

You could add reboot to recovery bc everybody uses reboot2x to get to the recovery and it would be sweet if you could add it because every user uses your app!

@Stefan

During night I lost 1% Battery from 30 to 29 % in 8h and now I have 76% from 99% in 4h normal use ...(facebook,messages,calls xda and so on ) @ 1.1 Ghz OC and -25mV
[LG Optimus 2x] Stefan Gündhör:
Thx for feedback, is this a good consumption (the one during use) compared to what you know?

The 1% loss in 8h is of course awesome!
[LG Optimus 2x] cojo11:
can say the same

i charged at 11 to 100%,call around 10-15min,write 7sms,flash 2themes,2-3 times Wlan,look every time on the Display and lost only 4%
[LG Optimus 2x] Bir92:
you Kernel rocks !!!

Freu mich schon auf die final heute Abend vielleicht :P

Gruss
[LG Optimus 2x] louiscypherbr:
Sure? So my system is mounting my ext4 partitions as ext3, because "mount" command returns me my partitions mounted as ext3. I'm using v20q from flick and his v2 mod.

I'll make a backup and try to change my fstab.
[LG Optimus 2x] KillerbeeNL:
I would like to have those in GuesteOC
[LG Optimus 2x] Stefan Gündhör:
Final kernel is ready :)

Next hours: testing and maybe Trym will finish his new version of GuesteOC too today

Release of kernel will be in the next 6 hours I guess
[LG Optimus 2x] cojo11:
cant wait;-)
[LG Optimus 2x] Ferrum Master:
No thanks. Press reboot and start holding power vol down... ans cwm is there :)
[LG Optimus 2x] TrymHansen:
Too late, I've already made them ;-)

If you hate them I can add an option to take them away again.
[LG Optimus 2x] racesurg:
Would like that very much. (-:
[LG Optimus 2x] CaptainHook8:
Thank you!

I will really like them!!!

Nice extras!

:thumbup::thumbup::thumbup:

Inviato dal mio LG-P990 con Tapatalk 2
[LG Optimus 2x] KillerbeeNL:
One thing about undervolting:

If a processor or memory chip uses a amount of power (P) and you are undervolting (V) the ampére (I) is going to raise because its the wattage (P) the component is using

Its the electric "law" of Ohm ;

P=UxI

I=P/U

U=P/I

So undervolting any electric component in our phone COULD cause instability

IMHO overvolt could ad stability but uses more battery and undervolt results in lower voltage but a higher Ampére and is useless to accomplice lower use of battery

Correct me if I am wrong..

And to you Stefan...MARVELOUS job
[LG Optimus 2x] kkyoiori2001:
I want Zram get bigger, could it be?

Maybe 369 Mb, like this http://www.mediafire.com/?cwk864dnhce1gbc

:D
[LG Optimus 2x] TrymHansen:
You only need to edit the script you find in /data/gueste2/scripts/systweaks_zram. GuesteOC copies that script to /etc/init.d/systweaks so it runs at startup, and also runs it when activating zram. Just modify it to suit your needs. Best to edit it directly on the phone so you don't introduce encoding-problems. After editing it, turn zram off and on to activate it.

You may also want to save a copy in another place, as a new kernel install overwrites the customized script, I think. (Stefan, is this necessary? After all they're built into GuesteOC as well, for first time use.)
[LG Optimus 2x] niko1983:
Hi! I've installed the kernel on the v20q stock roms, but gps signal is weak and the compass is 180° wrong directions! is normal?

However i'm rewerting back to the backup i've done before installing the gueste kernel...
[LG Optimus 2x] Stefan Gündhör:
which version of kernel did you use?
[LG Optimus 2x] Stefan Gündhör:
Yeah if you have already built-in the most current ones, I can of course remove them!
[LG Optimus 2x] TrymHansen:
Yes, they're identical to the ones in the 1.6.2-final package. The only problem with that is that if someone has the very first versions you made installed. (Upgrading from 1.5 to 1.6.2)
[LG Optimus 2x] niko1983:
obliviusly the latest (or so i think....)

thanks for answer, your work is much apprecieted!!!
[LG Optimus 2x] Skyfall007:
so tonight will be the release?
[LG Optimus 2x] Stefan Gündhör:
The Testbuild or the release linked in first posting?

Thx :)
[LG Optimus 2x] Stefan Gündhör:
Yeah in the next hour
[LG Optimus 2x] Stefan Gündhör:
Small delay, we discovered a very small bug in GuesteOC tool Trym is trying to fix before release. But other than that the rest is ready :) And it will be smoooooooooooth :D
[LG Optimus 2x] Skyfall007:
ok. Thanks! ... waiting..
[LG Optimus 2x] TrymHansen:
3...2...1...
[LG Optimus 2x] lyndonguti:
i'm just wondering.. is it normal that after flashing the last test kernel, sytem panel app tells me that i stiil have ext3 filesystem?
[LG Optimus 2x] niko1983:
I've checked and is the version linked on the first post... GuestekrnL_v1.6.1.zip...

Another thanks to you!
[LG Optimus 2x] sugardad:
Awaiting new release!

While at It I Have a Question..

I was on Term and used the following commands

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies

Output is -> 1200000 1100000 1000000 816000 655000 503000 389000 216000

So far so good

When I tried this:

cat /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state

I couldn't get any result..

furthermore the /sys/devices/system/cpu/cpu0/cpufreq directory does not have the stats directory nor the time_in_state file...

I have already tried

find /sys -name "time_in_state"

find / -name "time_in_state"

Guesses?
[LG Optimus 2x] TrymHansen:
Nothing to guess about. They're not there, hence not exported by the kernel, hence you can't use them. Android is not linux. It is similar, but not the same.
[LG Optimus 2x] Skyfall007:
@trym is oc app ready??
[LG Optimus 2x] TrymHansen:
Yes. It has small visual glitch which we'll leave as it is, Stefan already has the version that will be released.
[LG Optimus 2x] sugardad:
What do you mean?

Of course we can use them, I can on a multitude of devices!!!!

and of course then they can be enabled!!

So In other words the flags/options are not selected when building the kernel

"CPU Frequency scaling" (CONFIG_CPU_FREQ)

"CPU frequency translation statistics" (CONFIG_CPU_FREQ_STAT)

"CPU frequency translation statistics details" (CONFIG_CPU_FREQ_STAT_DETAILS)
[LG Optimus 2x] Skyfall007:
waiting for release :x
[LG Optimus 2x] TrymHansen:
Yes. I guess. You'll have to ask the compiler of whatever kernel you're using to do so. In the future you can check if a file exists before trying to read its contents though. If it's not there, well, then it is not there. What you are requesting is that Stefan includes another kernel-feature which for most people will be unnecessary and eat unnecessary cycles.

Not saying you can't use them on other kernels. If you want to use them, install a kernel which exports them or make a request to Stefan to include them. No mystery here. A file which does not exists does not exist.
[LG Optimus 2x] sugardad:
Yes Trym

but having this particular feature ON we can see how kernel works, kernel behavior, If kernel is efficient and many other things...

It will help debug many user Input on this forum about their problems....

I really don't see It as a "feature" for the sake of having It rather as a feature aiding US!
[LG Optimus 2x] Stefan Gündhör:
Aiding debug is always eating performance and maybe battery too.

Is not enabled in guestekrnL (even in stock kernel it isn't afaik)

Your arguments are founded, but tell me: how many people do debug the kernel? How many did this for HP kernel until now? I just think of it as a production release and not a debugging release... and to see if kernel is efficient you can measure that empirically too by smoothness, responsiveness and power consumption...
[LG Optimus 2x] sugardad:
Surely you have a point and Trym and honestly I know not many people know how to debug or do debug the kernel...

but I just cannot rely on empirical thoughts or guesses when

I want to see and verify at what speeds device works

I want to verify If device (actually) spends time (enters) In deep sleep

I want to verify that lower speeds are the most commonly used over to high ones thus giving me better batt life

I want to help another fellow guestekrnl user that says his device was overrun by the kernel and ate it's juice

etc etc

I really do not care what LG Implements In their releases and surely many users In this forum, thus they have your kernel Installed ;)

(In contrast to LG, Moto has It enabled, production-wise speaking)

I'm only proposing here and It's all to your discretion If you wish to add or not support for this.

I'm fine with It, so I'm retracting my proposal.
[LG Optimus 2x] Stefan Gündhör:
@sugardad: maybe I enable it in next release or I can make a special debugging release for you too, but I don't rebuild the current final release again, because it is working so well and I don't want to risk anything :/

guestekrnL v1.6.2-Final + GuesteOC v2.1.0

(GuesteOC as always has been made by TrymHansen!!!)

Kernel changes compared to v1.6.1 (short overview):

smoothness increased drastically (aiming to be the smoothest kernel available)

drastically increased battery life in both standby and use compared to previous 1.6.x releases

fully fixed tegra second core activation scaling bug

SimpleIO Scheduler as default

newer compilation toolchain

hard-float compilation

OC up to 1.3 GHz

changed fsync-disabler (credits to jakeday), no more need to completely disable for higher benchmarks

removed all the OTF stuff which has not been controllable by GuesteOC tool (cleaning up kernel)

general kernel-cleanup, restoring many parts to stock default

possibility to completely disable second core on the fly (controllable via GuesteOC tool)

automatic deactivation of second core and auto core limits calculation during standby

new more intelligent auto second core limits calculation, with automatic adaption of activation limit frequencies on change of min and max cpu frequency

removed spica1234 second core syncing code and replaced with an alternate one by ratanakvlun

various changes in defconfig

Attention: everything between 1000 and 1100 MHz uses the voltage step of 1100MHz! Make sure you really set your cpu to 1000 MHz and not p.ex. 1020, if you want the phone to use the voltage step of 1.0 GHz. This is no bug, this is the way our tegra phone works.

Before Installation: Uninstall GuesteOC tool, so it will definitely be replaced with the included version!!

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

(direct download, there will be a mirror on mediafire soon)

Thx very much to moderator sixstringsg for free hosting!!! (and of course to TrymHansen for his revolutionary OC tool with new and enhanced functionality)

GuesteOC Tool Changes (full list here):

Reboot options (normal, recovery)

IO Scheduler control

Possibility to disable second core permanently

bug fixes

... and more!
[LG Optimus 2x] louiscypherbr:
It's like me. Strange, because if I flash open my system is shown as ext4. If the kernel really convert fs, it's not working on stock 20q

Tried change Fstab but the file don't have any entry for system mount.
[LG Optimus 2x] gumiteve:
Sorry for late answer, I was offline... It was BSoD, no response for power button, I had to take out the battery! (1.6.1(!)-Test1 vs 1.6.2-Test2... but nevermind, GoodBye is a little bit outdated)
[LG Optimus 2x] louiscypherbr:
So, as you can see, it's not only me that are having ext3 system after flashing kernel.
[LG Optimus 2x] TrymHansen:
Depends entirely on which version you installed. As Stefan said, 1.6 and 1.6.1 converted the file-system. (At least my copy of 1.6.1 has an install script which does.)

The latest one does not convert. So there's probably just been some confusion as to which exact version you installed.

I think Stefan in the future will leave the filesystem as is, which I agree with.
[LG Optimus 2x] CaptainHook8:
He had ext3 before flashing too...and after flashing he kept ext3!

Inviato dal mio LG-P990 con Tapatalk 2
[LG Optimus 2x] louiscypherbr:
I'm at 1.6.1.. :-/

By the way, I'm trying download 6.2 but link is giving me only an html.
[LG Optimus 2x] Stefan Gündhör:
Converting filesystem is NOT the job of the kernel(zip) !

I only did it once or twice in 1.6 and 1.6.1 release and it caused problems. I did it because I thought it might not boot without conversion. But as we can see now: an ext4 compatible boot.img boots very well on ext3 -- and init.d will be there on all ROMs. That's all I wanted
[LG Optimus 2x] TrymHansen:
I think I know what is going on, but before I put my foot in my mouth I'd have to research, which I'm not going to ;-)

(Hint: 1.6.1 came only with a zImage.)
[LG Optimus 2x] ehmjay:
hi trym.. i thought you included a reboot and reboot to cwm option on the gueste app.. i dont have it after installing final version..
[LG Optimus 2x] TrymHansen:
I absolutely did. If your version shows 2.1.0 it's there on the IO & reboot page. If it shows an old version, check in /data/app and delete the old one, reboot. Or download and install from here.
[LG Optimus 2x] ehmjay:
found it.. i unistalled the 2.0.4 version i have then install the one in data/app.. now i can see the reboot options
[LG Optimus 2x] TrymHansen:
Ah, yes, those who have installed "manually" will not see the included version before they uninstall and reboot, or, as you did, install from the one in /data/app
[LG Optimus 2x] ehmjay:
exactly! what's the best setting for the "swapiness" option, if i may ask..
[LG Optimus 2x] Marsou77:
Rename it .zip, it worked for me!

Sent 2X faster with my LG
[LG Optimus 2x] TrymHansen:
That, my friend, is one of life's great mysteries. You'll find as many opinions about it as people using it. For me it works very well with ZRam ON at 60. That's all I know.

Here is one definition randomly found on the internet:

"It controls the level of page reclaim distress at which we decide to start reclaiming mapped pages.

We prefer to reclaim pagecache, but we have to start swapping at *some* level of reclaim failure. swappiness sets that level, in rather vague units."

Good luck. Perhaps sugardad will chime in.
[LG Optimus 2x] Stefan Gündhör:
60 is linux default. I would leave it as it is
[LG Optimus 2x] carburano:
Hi friend.../data/gueste2/scripts is empty... is it normal?
[LG Optimus 2x] TrymHansen:
Yes. It will be filled with the required scripts after you enable a virtual memory type. AFter that you can edit the scripts to your liking. They will not be overwritten again, just created if they're not already there.
[LG Optimus 2x] sugardad:
Very Complicated

It's up to you entirely, what are your needs, program memory, speed, both etc

The default value is 60, and for most devices, setting it up to 100 may help to improve overall performance, whereas setting it lower (even 0) may improve interactivity (decreasing response latency.)

Keep In mind that values close to 100 tend to eat more power

I would advise you to set it to 50 and make your checks in speed and battery life and accordingly set It up or down at you own will

mine is always set at 20 (in my personal init.d scrips and in OCtool)
[LG Optimus 2x] carburano:
wonderful! Thanks a lot
[LG Optimus 2x] Stefan Gündhör:
Changelog has now been added!
[LG Optimus 2x] Bir92:
nice work stefan

just flashed!

will report later!

btw how low did you set max screen off? i have it at 400mhz is this to low?
[LG Optimus 2x] Stefan Gündhör:
Thx! 400 is a good choice I think. Or even 380, then it will use one voltage step lower as max step during screenoff! If wakeup is slow or music during screenoff stutters, change back to 500MHz
[LG Optimus 2x] Stefan Gündhör:
[deleted]
[LG Optimus 2x] TrymHansen:
[deleted]
[LG Optimus 2x] Stefan Gündhör:
Off topic I'd like one think to say... there have been many users sending me PMs during the last weeks and before and I did not respond to all.

I know this is quite rude and I want to apologize for this honestly.

But I can't promise that will really change, because I am already investing too much time in developing the things I am offering here, there is hardly any time left for PM conversations, as I am very busy in real life at the moment.

So don't get it wrong if it happens to you after sending me a pm :)
[LG Optimus 2x] Bir92:
@stefan

I have a high battery drain with ur 1.6 final kernel ...just unpluged the phone 2h ago and no I m on 81 % already ....I hope its just because I didnt calibrate ...

performance is quit good ...
[LG Optimus 2x] fuxmen:
Battery is worst than test1. But we will se after some time. calibrating is a myth doesnt do anything....

Im on WIFI DATA allways on, 4 bars of singal on both.
[LG Optimus 2x] mastermind88:
Just installed. For the moment all seems very smooth respectly the previous version. I will test it hard in these days, especially for the battery life. Thanks
[LG Optimus 2x] Skyfall007:
the kernel is very fluid and smooth.. i can say that i love it but the battery is not so good. after 5 hours my battery is 57%
[LG Optimus 2x] Ferrum Master:
Yeah... battery Drain is horrid... The phone doesn't sleep properly.
[LG Optimus 2x] Skyfall007:
hope that stefan will resolve this today because the kernel is amazing!
[LG Optimus 2x] my_dnl:
Comparing first hours

Config1: Django 1.3 beta1 + guestekrnL 1.6+Bugfix01

vs

Config2: Django 1.3 beta4 + guestekrnL 1.6.2final

Config1 was most impressive.

Config2 seems drain battery faster and a bit less smooth.
[LG Optimus 2x] zobodoor:
just installed Django 1.3 beta4 + guestekrnL 1.6.2final with a full wipe.

It rebooted after playing mega jump for 10 mins. Not sure is it the rom or kernel problem.
[LG Optimus 2x] Stefan Gündhör:
I haven't changed barely anything from testbuild 2 compared to final!

I will test with Django myself now... maybe it is the fsync stuff, partly enabled in background... or the slow file system conversion to ext4 on ext3 ROMs triggered somehow by the boot.img

The ppl. having battery life worse than testbuild 2: did you change your ROM since TB2 and also did you have ext3 before?
[LG Optimus 2x] sugardad:
I believe you that you may have not changed anything of big importance..

What I do understand now (common sense(?))

or better enough what I'm speculating here, is that the tiny lag he faced and the bad battery life is maybe caused by the conversion of Ext3 to Ext4..
[LG Optimus 2x] Stefan Gündhör:
that's one point: no more delivery with boot.img in future... people just have to make their init.d working themselves if it is not already.

Dammit, the feedbacks on tb2 were basically very good, this finally has to become right for everyone. I'm making another testbuild within the next hours, please report about consumption then. There finally has to be a perfect kernel for everyone.