yashsingh1/xdaforums huggingface dataset:
[LG Optimus 2x] barril:
tested solution thanks

Edit.

I have installed the busybox 1.20.1 and nothing save the configuration no.me wl guestOC..:banghead::banghead::banghead::banghead::banghead:

Enviado desde mi Optimus 2X

Rom HomeroMod Opit3D v1.4.2
[LG Optimus 2x] SuperSkill:
I've had the internal sd issues too, I tried 2 computers and got it to recognise the card in one, then I formatted it, a shame I've forgot what caused it. But it worked that way;) and worked since ;)

Sent from latest Django Manouche with latest Spica Kernel
[LG Optimus 2x] gumiteve:
Hi all!

Flashed 1.8.1 a few days ago, and busybox 1.20 on monday... now I try wifi (or usb) tethering, and not working :(

First I revert back to 1.7SE couse I used wifi tethering with this one, but still not working... revert back busybox to 1.19... still not workig :(

Any ideas? Confused...
[LG Optimus 2x] stefc13:
I'm using the 1.8.1 with alternative wifi driver and i also have the wifi tethering issue :-(

I will upload tomorow a log. Q
[LG Optimus 2x] Ferrum Master:
The alternative driver is made from 10e sources then... they didn't have tethering working at all.
[LG Optimus 2x] civato:
Well I don't have the problems with gueste oc tool if I build it in the rom , but if I flash it on stock rom I got the same problem , settings don't stick.

With spica HP oc tool it just never works on my phone with V20r rom , if I use a older version of my roms like R4.8 is works.

I tried all kinds of busybox versions and it is not busybox , it runs fine and does all my test commands.

Strange ?
[LG Optimus 2x] gumiteve:
logcat says: wlan0 is not tetherable interface, ignoring (using normal wifi driver, not the alternate one)
[LG Optimus 2x] TrymHansen:
There's a very important script in guestekrnL which MUST run at startup for guesteOC to work properly, the "xyz" script. It not only restores the current settings, but also sets the permissions for various system-files so that guesteOC can write to them.

Double-check that all guestekrnL scripts ("00_cpufreqenabler", "00_savedefaults", "systweaks", "tweak_essentials", "xyz") have the correct permissions and that init.d is working. Please also try to run them from an adb-shell to see if there's any error output.
[LG Optimus 2x] civato:
It works on my custom personal rom , but if I do adb shell xyz I get permission denied.

This is the script that is in the Gueste 1.8.1 installation cwm.

ui_print("");
ui_print("Installing Revolutionary Kernel");
ui_print("by Stefan Guendhoer");
ui_print("+ Revolutionary OC Tool");
ui_print("by TrymHansen");
ui_print("made in 2012");
ui_print("");
run_program("/sbin/busybox", "umount", "/data");
run_program("/sbin/busybox", "unmount", "/system");
ui_print("Disabling Swap...");
run_program("/sbin/busybox", "mount", "/data");
run_program("/sbin/busybox", "swapoff", "-a");
run_program("/sbin/busybox", "rm", "-fr", "/data/swapfile");
ui_print("Cleaning Data...");
package_extract_dir("tmp", "/tmp");
run_program("/sbin/busybox", "mount", "/system");
run_program("/sbin/busybox", "mount", "/data");
run_program("/sbin/busybox", "mount", "/cache");
set_perm(0, 0, 0777, "/tmp/cleanup.sh");
run_program("/tmp/cleanup.sh");
run_program("/sbin/busybox", "mount", "/data");
delete("/data/app/com.invokd.hp2xotfkerneltweaker-1.apk");
delete("/data/app/com.myrt.andrevocadjuster-1.apk");
delete_recursive("/data/spicabootcfg");
delete_recursive("/data/gueste2/oc");
ui_print("Extracting Data Files...");
package_extract_dir("data", "/data");
ui_print("Setting Permissions...");
set_perm_recursive(0, 0, 0777, 0777, "/data/gueste2/oc");
set_perm_recursive(0, 0, 0777, 0777, "/data/gueste2");
run_program("/sbin/busybox", "umount", "/data");
ui_print("Cleaning System...");
run_program("/sbin/busybox", "mount", "/system");
delete("/system/etc/init.d/S_volt_scheduler");
delete("/system/etc/init.d/fps");
delete("/system/etc/init.d/00save_defaults");
delete("/system/etc/init.d/99enable_swap");
delete_recursive("/system/lib/modules/");
delete_recursive("/system/etc/andrev_oc");
delete("/system/etc/andrev_oc");
delete("/system/xbin/andrev_oc");
delete("/system/etc/init.d/cpufreq");
ui_print("Extracting System Files...");
package_extract_dir("system", "/system");
ui_print("Setting Permissions...");
set_perm_recursive(0, 0, 0755, 0777, "/system/lib/modules/");
set_perm_recursive(0, 0, 0755, 0777, "/system/etc/");
set_perm(0, 0, 0755, "/system/etc/vold.fstab");
set_perm(0, 0, 0755, "/system/bin/rzscontrol");
set_perm_recursive(0, 0, 0777, 0777, "/system/etc/init.d/");
set_perm_recursive(0, 0, 0755, 0644, "/system/app");
unmount("/system");
ui_print("Extracting Kernel files...");
package_extract_dir("kernel", "/tmp");
ui_print("Installing kernel...");
set_perm(0, 0, 0777, "/tmp/dump_image");
set_perm(0, 0, 0777, "/tmp/mkbootimg.sh");
set_perm(0, 0, 0777, "/tmp/mkbootimg");
set_perm(0, 0, 0777, "/tmp/unpackbootimg");
run_program("/tmp/dump_image", "/dev/block/mmcblk0p5", "/tmp/boot.img");
run_program("/tmp/unpackbootimg", "-i", "/tmp/boot.img", "-o", "/tmp/");
run_program("/tmp/mkbootimg.sh");
run_program("/sbin/busybox", "dd", "if=/tmp/newboot.img", "of=/dev/block/mmcblk0p5");
ui_print("");
ui_print("Done! :-)");
[LG Optimus 2x] TrymHansen:
This line

set_perm_recursive(0, 0, 0777, 0777, "/system/etc/init.d/")

should take care of the permissions. If you get "permission denied" to run the script it does not.

I see that some similar statements omit the final "/". I'm no cmw-script expert, but I'd try with and without the final "/" to see if it makes any difference.

You should also run the scripts as root, as that is what happens during startup, so:

adb shell
su
/etc/init.d/xyz

and check again for any error output.

I am convinced this is a startup-script issue, but since I've never experienced this on any of my own installs it's a bit hard for me to diagnose properly.

Possible problems with startup-scripts are:

1) Wrong permissions

2) Wrong encoding of the scripts and/or newlines

3) Non-working busybox (never seen this myself.)

4) Non-working init.d

In the latest versions of xyz there's a line that sets the property "guestekrnl.xyz.done" to 1. After rebooting type

adb shell "getprop | grep xyz"

. If you get any output the xyz script has indeed been run during startup, and we need to look elsewhere. If not, well, there's your problem.
[LG Optimus 2x] carburano:
Hi flix and stefan...

Congratulation for your kernel!!

In this moment i'm testing flix 1.3 experimental on DM rc2 and it's really fast and smooth...

Thanks a lot

PS: Flixx i think your kernel deserves its own thread
[LG Optimus 2x] skylinegt77:
i think his kernel deserves a ram hack XD
[LG Optimus 2x] civato:
:

adb shell
su
/etc/init.d/xyz

This gives me:

rm: can't remove '/data/gueste2/oc/*.bak': No such file or directory

adb shell "getprop | grep xyz"

.

This gives me

[guestekrnl.xyz.done]: [1]
[LG Optimus 2x] TrymHansen:
K, thanks. So the scripts have run, but still something is preventing GuesteOC from writing to the correct files. Can you please backup this non-working config so we can work on this tomorrow? I'll PM you a GuesteOC version with some extra debug-output, if that is ok? I've only seen 3-4 people with this problem, it's an elusive bug. It's late for me now, will look more into this tomorrow.
[LG Optimus 2x] Flix123:
Could you compare the smoothness to Stefans latest 1.8.1 kernel? I want to find the best toolchain combination. :)

Most of the kernel work is from Stefan, so I think that wouldn't be fair. ;)

But when Stefan has time, he'll restructure the thread. See here.
[LG Optimus 2x] carburano:
I will compare it...

Regarding thread... It's only because it become difficult to find last build and feedbacks after comments.. Only fir this :-)

Sent from DjangoManouche!
[LG Optimus 2x] stefc13:
I tried the "regular" 1.8.1 kernel and I still have the tethering issue :(

That's too bad because I'm very happy with this kernel... expect the wfi who is not working very well.

Maybe it better I go back to a previous version
[LG Optimus 2x] spica1234:
I've reached home now:)
[LG Optimus 2x] civato:
OK M8 , but remember , I'm a very busy Viking. Week is closing so can't tell if I will be having much time.

Work, work , work.

But still you can count on me.
[LG Optimus 2x] Mafs:
Getting quite poor performance with the latest kernel and the Gueste2x_V3.2 ROM.

Scrolling quickly through the menu causes the phone to freeze for a second.

Minimum frequency: 389 Mhz

Maximum frequency: 1100 Mhz

Maximum screen off frequency: 503 Mhz

Turn core 2 on above: 815Mhz with 10ms delay.

Turn core 2 off below 538 Mhz with 1400ms delay.

Any tips on how to get it smoother?

(Benchmarks are good though.)
[LG Optimus 2x] carburano:
A feedback: stefan 1.8.1 seems smoothest than 1.3 experimental...

Sent from DjangoManouche!
[LG Optimus 2x] forforce:
For me , 1.3 by flix is smoother , DM 1.3 RC1 :) for me , best option is Io-scheduler : SIO and read-ahead buffer size to 2048 in internal storage...seem to be smoother , I don`t know if it`s not only in my head but that`s what I use :)
[LG Optimus 2x] my_dnl:
forforce, could you try Django RC2 with kernel flix 1.3?

Me too I noticed that Django RC1 with Flix v1.3 result very very responsive: I can say impressive! Never seen my phone so fast!

Unfortunately it seems that battery drain is very high, but I don't know if there was a problem with gmaps app... because it was always at first place in battery use screen.

Now, after install Django RC2 with kernel Flix 1.3, I feel my phone is not as smooth as with previous config... but battery drain seems normal

To be honest, Django 1.3 RC2 + kernel flix 1.3 seems nearly perfect
[LG Optimus 2x] spica1234:
In my initial flix testing. Battery life is good. Allow one battery cycle. Its smoothest flix edition till now with no instabilities.
[LG Optimus 2x] my_dnl:
Carburano confirmed, in Django thread, that updated maps app between RC1 and RC2.
[LG Optimus 2x] Skyfall007:
I have better battery with guestekrnL-SR99R100.1PI.1337-GoodBye and better smoothness with 1.8.1 High OC!
[LG Optimus 2x] Flix123:
SR99P100 had a better battery life than the newer kernel because of deactivated cpu alignment. But it's necessary for newer toolchains which allow higher smootness and responsiveness.

But first, I'll work on new V20s for today. ;)
[LG Optimus 2x] spica1234:
Its not related with cpu alignment . Untill gcc-4.6.1 linaro Team was using inherident cpu-alignment in MMU in toolchain so we dint need to enable it in kernel headers. Now linaro has disabled herident support, so we need to enable/include in header;)

Our cpu supports HW unalignment 32 bit memory support which is faster than SW based TRAP as documented.

May be it cause performance degrade with cpu-alignment but not it affects battery life.

Try using gcc-4.5 toolchain which has herident cpu-alignment support so no need for include/enable in header.

If you'll test it with gcc-4.5 vs gcc-4.6.3/upwords you won't see difference in battery life. Test it;) I've played around already since a long time ago:p
[LG Optimus 2x] spica1234:
Yes that's our superman. We want v20S:)
[LG Optimus 2x] Skyfall007:
gueste+spica+flix=perfect kernel. Why don't you work together?
[LG Optimus 2x] Flix123:
We do. :)
[LG Optimus 2x] Stefan Gündhör:
Hi guys,

because there has been confusion about the wireless drivers:

- Thae standard and most stable driver in combination with this kernel is v10-based

- The alternate driver is v20-based and might cause higher consumption and should only be used if the v10 drivers cause problems on your phone

If both cause problems, stick to the v10 driver.

Also, there has been a build of latest guestekrnL with worse smoothness than current release, but with very good battery (an older toolchain has been used) -- anyone interested in this build?

I need to link Flix' builds this weekend anyway so I could link the veryGoodBattery edition as well!
[LG Optimus 2x] Stefan Gündhör:
Here the build of 1.8.1 kernel which has very good power consumption according to multiple testers of HandyFaq forums:

(reason: it has been built with a different toolchain)

http://www.mediafire.com/download.php?kns2y685glj5elo

guestekrnL-v1.8.1-HighOC-BestBattery.zip

It's features are identical to 1.8.1 release, only difference is, that OC is possible up to 1.5 GHz. Some phones won't be able to run 1.5 stable however, if you have such a phone, just don't OC up to 1.5

Smoothness of this build is in between SR99R100 (v1.8.0) and v1.8.1 kernel.

It has been compiled using an older GCC 4.5.x toolchain (also no cpu alignment) thus providing better power consumption and worse smoothness than the default build of 1.8.1 (GCC 4.7.0).

Edit: Also I removed the build with the alternate WIFI driver as it was made for the ppl. who had problems with wifi, and as the alternate driver didn't solve them this build is no longer necessary!

So you can find the two current 1.8.1 builds in download folder: http://www.mediafire.com/?pfby2anqqdifz , one for highest smoothness and one for best battery
[LG Optimus 2x] jacktheonlypirate:
hey 3g video calling does not work with guestekrnl-v1.8.1-high oc....when i try calling the network completely drops... anyone else facing this problem ?
[LG Optimus 2x] barril:
have if I keep testing it and will no longer el.OC 816mhz ...

Enviado desde mi Optimus 2X
[LG Optimus 2x] H84:
In the new build. Bestbattery , the min freq is at 216 but the cpu dont go under 304 ?

Skickat från min LG-P990 via Tapatalk 2
[LG Optimus 2x] barril:
I can not believe I've been all afternoon with the last kernel 1.8.1 and stefan the moment it keeps me on the frequency of micro GuestOC tool ...

Enviado desde mi Optimus 2X
[LG Optimus 2x] TrymHansen:
Unplug the device, and the min. should be what you set it at. If plugged in, min=~300Mhz.
[LG Optimus 2x] Stefan Gündhör:
I have screenshots to share with you, running the BestBattery edition:

I think those screenshots speak for themselves.

I wonder such questions still occur. There has never been a stock kernel with a freq lower than 30x MHz when plugged.

However, there should be the perfect kernel now for 95% of people, the ones take the smoothest edition, the other ones the best battery edition; both are stable (maybe bestBattery even more stable) ;; there are only the wifi problems left some ppl. had. Luckily this doesn't concern majority of users.

Also there are various FlixEditions of guestekrnL available already, (build using different toolchain and default otf values by Flix).
[LG Optimus 2x] spica1234:
Impressive battery stats. fantastic. good work:)
[LG Optimus 2x] Stefan Gündhör:
Thank you, it has been compiled using a self-built linaro-GCC 4.5.x toolchain which is the only difference to the first edition of 1.8.1 kernel which has been compiled using a self-built non-linaro-GCC 4.7.0 toolchain.

So I'd say the toolchain makes the biggest difference, not the battery driver, and as you always said: newer gcc chains have higher consumption

Hope I didn't delete the 4.5.x chain, so I could share if anybody needs for making builds with long lasting battery or improving already good battery
[LG Optimus 2x] spica1234:
Was the compilation flags for kernl was same during both? Actually my 1st ics build was compiled with 4.5 and later with 4.7, i've not used ics much but as per reported by user later builds has better battery life:/
[LG Optimus 2x] Stefan Gündhör:
Yes in both editions I used

CFLAGS_GUESTE	= -O3 -ffast-math \
-mtune=cortex-a9 -march=armv7-a \
-mfloat-abi=softfp -mfpu=vfpv3-d16 \
-fsingle-precision-constant -fgraphite-identity \
-ftree-loop-distribution -ftree-loop-linear \
-floop-interchange -floop-strip-mine -floop-block \
-fmodulo-sched -fmodulo-sched-allow-regmoves \
-fno-inline-functions
MODFLAGS	= -O2 -DMODULE

only difference is that BestBattery edition had the CFlags also as Aflags, but it shouldn't make any difference.

The toolchain for BestBattery edition has been built using the same flags (also cortex-a9, softfp) only without ffast-math otherwise it wouldn't compile.

Also I used the preselected companion libs and no newer ones and I believe I enabled thumb and thumb-interwork for the toolchain but I don't remember exactly. GCC was latest linaro GCC 4.5.x available for current crosstool-ng; no multilib-chain
[LG Optimus 2x] spica1234:
Do you know which toolchain flix has used? cause i've tried his latest tbs and as per my experience of usage it has very good battery life.
[LG Optimus 2x] Stefan Gündhör:
afaik

crosstool ng +

# same build flags as guestekrnL / mentioned above

# cortex a9 softfp

# latest linaro 4.7.1 avaiable per default in crosstool ng

# newer companion libs

# no multilib, no mthumb

But this was only for one build, FLix is experimenting with so many differnet toolchain builds, in fact his versions only differ in the toolchain he uses to build... it's same guestekrnL as mine but always different toolchain and his own default OTF values, and as we can see you can have very different kernels (according to battery and smoothness) by only changing the toolchain!

So generally much more toolchain testing and even custom toolchain development should be done! I will upload the one used for BestBattery edition now, in case someone needs.
[LG Optimus 2x] stonebear:
Thanks Stefan I am trying the "best battery" version now. :)

Can I ask, what would be good 2nd core settings for good battery consumption without losing too much performance?

I assume higher values (for 2nd core on AND off) would utilise the 2nd core less and therefore be lighter on battery?

I am using 1.1ghz cpu and trying just slightly higher than auto 2nd core values, on=800, off=500.
[LG Optimus 2x] Flix123:
Here's a new kernel from me, please test it:

http://www.mediafire.com/?4ntdiqbw6o7fqqu

http://www.mediafire.com/?ttbe717579ajdvk (newer one, a bit faster and smoother)

It's not a final release yet.

Changelog:

- battery optimized (I hope it's good now)

- GCC Linaro 4.5.4 Flix Toolchain (03-2012)

- "older" companions

- deactivated cpu alignment

- no multilib

- kernel build flags

Please report about battery and smoothness. :)
[LG Optimus 2x] Stefan Gündhör:
Hi stonebear,

thx for trying, you won't regret it :-)

Please post your power consumption results using the v1.8.1-BestBattery Edition, in a day or two :) I'm convinced it will be outstanding.

Despite from that I would recommend the default settings of guestekrnL&guesteOC for best everyday use, but you assume right, increasing both activation and deactivation freq means less use of second core! You might try however to lower activation time of second core to 1500 ms per example, so second core will be activated earlier when frequency is above your 800 MHz. Or you leave it at 2000, then second core will be activated after 2 seconds above 800 MHz cpu usage (which is quite late)

@all: I'd really appreciate some screenshots from all the users of BestBattery edition over the next week, if you have time for, showing your power consumptions using BestBattery edition!

You can easily shrink the sizes of the screenshots using http://tinypic.com and selecting Resize->Website/Email so Screenshots won't be that big and look like this:
[LG Optimus 2x] stonebear:
Thanks Stefan, I am leaving it at nearly default for now anyway (cpu 1.1ghz, 800 on, 400 off), and I think I will lower activation time to 1500ms.

So far the battery use does seem to be very good, I will report back in a day or two. :)
[LG Optimus 2x] kfallz:
Using tiny flashlight is buggy with 1.8.1 highoc & bestbattery. Using the widget, flashlight turn-on is often delayed, up to 30 seconds. Turning it off is the same. Same inside the app. With some kernels it just is like this, idk why :/
[LG Optimus 2x] stefc13:
Hello,

I tried to use holder kernels, and I still have the tethering issue! :( It looks like I have to do a complete "reset" of my phone, maybe I did to much kernel flash :o

So I think the tethering issue is not related to the kernel but to my phone. Concerning the wifi "error" status, still no change...

Anyway, I think I will try the 20S, Can I still use the guestekrnl with it ?

Thanks
[LG Optimus 2x] H84:
I dont have that problem

Skickat från min LG-P990 via Tapatalk 2
[LG Optimus 2x] inci55:
after a long time i use the stock rom, i like stock. but i have a question, i use cm7 and i have a ramhack; can i do this gueste kernel? if say yes, how can i do that?
[LG Optimus 2x] SREEPRAJAY:
if you read the thread heading....I mean the name of the thread...you can see that it is made for the STOCK based ROMs and not for the CM7 which you seem to use....

read the topic mate....you can have some diffculties if you dont read thread and content properly
[LG Optimus 2x] ecalou:
Hello :), I'd like to know if it's an ext 3 or an ext 4 kernel. Thanks
[LG Optimus 2x] Flix123:
It's compatible with both, you can choose what you want. ;)
[LG Optimus 2x] ecalou:
Amazing!
[LG Optimus 2x] inci55:
you got me wrong, i am use stock rom now, but does ramhack can be done, i dont know it.
[LG Optimus 2x] stonebear:
Not sure what ramhack is but this kernel has the ability to use "swap" memory, which I guess is the same thing? I assume it frees up ram.
[LG Optimus 2x] stonebear:
Hi Stefan, I have tried the "best battery" kernel for a while now, no screenshots though, sorry.

It does seem to have very good battery life but my phone needs calibrating and so I cannot take a shot to show it.

However, I can tell it has good battery life by how long it lasts and also looking at the mV's during use.

:)

Time to try Django 1.5 now! lol

Probably try Flix kernel or the new Spica with it.

I have been using your "goodbye" rom as my main rom since you posted it. Love it. :)
[LG Optimus 2x] skylinegt77:
nothing even close to that :D

ram hack is taking an unnecessary ammount of ram from the gpu to be able to use it generaly. +32 mb, 48, 64...
[LG Optimus 2x] stonebear:
Fair enough, lol.
[LG Optimus 2x] Skyfall007:
amazing battery with last kernel. Good job gueste!
[LG Optimus 2x] H84:
Had my first turn off,

Using the camera my phone freeze and screen went black and had to pull out battery

Using best bettery kernel

Skickat från min LG-P990 via Tapatalk 2
[LG Optimus 2x] kickokim:
I'm using the batterysave kernel and I'm getting bad screen off battery drain, anybody else?
[LG Optimus 2x] erups:
Have installed 1.8.1 a week ago, had (I think) 1.7 before? The first community build anyway.

Now this latest one doesn't shutdown my phone.ie it appears to shutdown but if you attempt to power it up it won't until you unplug the battery.

Shutting down from cwm is ok.

Swiped on my Optimus2X with Tapas
[LG Optimus 2x] spica1234:
Pull out battery from phone, put it on table, have lunch, after 15-20 mins re-insert the battery:)

Or you may wipe cache/dalvik cache evenif issue is there than i guess either its rom issue or may you need to reflash:)
[LG Optimus 2x] KillerbeeNL:
Install Spica kernel and wait 5 minutes to experience an supersonic BSOD ;) :)
[LG Optimus 2x] spica1234:
Seriously i had this issue once on.cm9. All i did was pull out battery then inserted after 15 mins and it worked.:)
[LG Optimus 2x] flat__line:
Porting guestekrnl to CM7

Any pointer/hint to how gueste kernel can be ported/recompiled for non stock ROMs such as CM7 (or even CM9)?
[LG Optimus 2x] erups:
Running Django 1.1.

I've had this bug with different kernels I changed with the same ROM.

So it may well be something in the ROM, but then why some kernels trigger it and some don't?

I had it with one of yours spica but not with others. As I'm having now with 1.8.1, but was not having with a previous version.

I'm going to try the dalvik wipe.

Swiped on my Optimus2X with Tapas