yashsingh1/xdaforums huggingface dataset:
[LG Optimus 2x] new2city:
the only consistent way for me to flash etana kernel nowadays is to go back to stock CM7 get everything working fine then then flash etana. Below is what normally happens for me, if I am running etana at the moment and want to flash a new etana kernel

1) Flash new kernel, CWM either hangs when going back to reboot menu or hangs at "installing new package".

2) pull battery and boot back into CWM.

3) flash stock CM7

4) Flash gapps(I don't bother to check as normally, I lose my google account after step1)

5) then flash new etana.

This normally works for me. Now I am waiting for an etana that No one complaints about(as long as I can take it, I am really itching now ;) ) and I am now on temasek's 91 and running his snappy with Voodoo kernel.

Flashing etana or 92 from this should be no issue.
[LG Optimus 2x] antec123:
btw what is KSM??

ups.. never mind then. it is from backported from CM9
[LG Optimus 2x] rexren:
usb storage is not stable

Files can be moved from phone to PC but can't move from PC to phone .

When I move a big file(like 94MB) from PC to phone, it always fail.

kernel version is 0424.
[LG Optimus 2x] buedi:
Yes, correct!
[LG Optimus 2x] Justray:
x2, same problem here, I already told the getRIL developer... you need to use getRIL BEFORE flashing kernel.... flash CM7, then getRIL/gapps then ETaNa kernel.
[LG Optimus 2x] kickokim:
Actually also screen off battery life is the same, drains about 1% an hour. :confused:
[LG Optimus 2x] Le_Zouave:
For the GerRIL error, this is the system r/w issue.

Vadonka, it should be wise that you stick it in the first post.

http://xdaforums.com/showpost.php?p=24953834&postcount=3114
[LG Optimus 2x] Najmuddin NP:
Does the DS Battery driver damage the battery...??
[LG Optimus 2x] kickokim:
No, but i don't think it's any better than without and it gives funky battery readings so I don't advise it.
[LG Optimus 2x] Le_Zouave:
I have the same problem but I didn't think that it was from this kernel.

In fact, under windows XP, the file transfer from PC to the phone SD is slow then get interrupted (the bugdroid become green, if I don't transfer anything, it stay orange).

Under Windows 7, the transfer is very slow but stay connected, around 2Mb/s but no more than 3Mb/s.

Then I reflash temasek RC93 and new temasek kernel (to keep snappy for the zram/compcache) and the copy is now at 12Mb/s.

I had this problem before the version of 24 april and I had to unmount the SD and use a microSD card reader.

For now I'll stay on stock CM7 or temasek new kernel.
[LG Optimus 2x] rexren:
My pc is windows xp and I can use USB storage with stock kernel .

With 0424 3.0y kernel, USB storage will auto turn off itself.
[LG Optimus 2x] vadonka:
kernel is updated with a lot of fixes. details in the op.

read the important notes!
[LG Optimus 2x] Keltek:
Confirming kernel 120425124x works with unofficial Temasek CM7-RC1-93 (currently installed OC_DS_OTF version).
[LG Optimus 2x] alakyr:
vadonka the profile incorporated in the kernel that you told me last time are in all the 4 versions or just only in the oc versions?
[LG Optimus 2x] tomislav177:
Stuck with second lg logo. Revert back to older version.
[LG Optimus 2x] inberno:
me too
[LG Optimus 2x] vadonka:
who stuck at the second lg logo please check out this:

the touch keys are on? if not please touch the screen then watch that the keys will be light up or not.

thx.
[LG Optimus 2x] inberno:
Yes, the touch keys are on.
[LG Optimus 2x] plakers:
Yep, for me the touch keys are lightened. I also always got my awfull "Packing Kernel Failed" and "Can't mount /system!" messages in CWM when trying to install another Kernel, and/or restore my CWM backup.

Sometimes it also gives me a "wrong ramhack size" message when installing the Kernel, if I reboot, reinstall all of CM7Kang, GApps, RIL and at last : the Kernel, it seems to work (the only way I found to recover from that situation)
[LG Optimus 2x] yarisd4dturbo:
Lights are on for me, on 18/04 kernel i can boot without any problem ;)

Inviato dal mio Optimus 2X con Tapatalk 2
[LG Optimus 2x] mikle_01:
Me too.....and now!? Couldn't restore any Backup! What to do...?
[LG Optimus 2x] tomislav177:
Lights are on fot me too when i stucked at secoung logo.
[LG Optimus 2x] vadonka:
if the touch keys are on, it mean the kernel is loaded but the phone is freeze while the init process. its the same issue like in the earlyer version and only occured with the OC version. i think the stock (non OC) version will be booted without problem.

it somehow related to the compiler, because im compiled the 18th version again with the current build enviroment and one of the users test it and the OC version stuck at the second LG logo. it was the same source like in the original 18th version and not booted. so it must be something wrong with the compiler or who knows :mad:

the problem, the current version is working for someone and not working for some others. i can boot with every version without problem. currently i cant reproduce the boot hang issue.

its hard to track down this nasty bug :confused:

so if you have boot issue use the non-OC version or stick with the original 18th version for now.
[LG Optimus 2x] morckx:
Format your system partition e.g. with this script here http://xdaforums.com/showpost.php?p=24709087&postcount=2894 before you restore your backup.

To install the kernel without fs corruptions problems you can follow these steps:

http://xdaforums.com/showpost.php?p=24953834&postcount=3114

@Vadonka: Why don't you put that in the OP? If you want, I could write an add-on to your kernel installer script that does the job if necessary.
[LG Optimus 2x] vadonka:
im a little busy now with this boot issuse :)

i will thank you if you implement the reinit to the kernel install.sh

clone my kernel-installer repository (git://github.com/vadonka/kernel-installer)

make the modifications and push to a pull request to me.

btw, this latest version handle the memory and the cpu really well, the system is very responsive even without the OC, so its not that bad if you guys using the non oc version (for now). im also use the non-oc build anyway.
[LG Optimus 2x] navlem:
I get a "Packing Kernel Failed" at the end of installation, and pressing "Go Back" in my CWM will cause my CWM to freeze, had to pull the battery, but can be booted up without problem.
[LG Optimus 2x] inberno:
All right. I can boot with the today non-oc version, but I am unable to boot the phone with the oc version.
[LG Optimus 2x] Najmuddin NP:
Can some one tell me what's the difference between HOC and LOC..?
[LG Optimus 2x] vadonka:
if you get the packing kernel failed then your old kernel not be updated!

packing kernel failed mean that the boot.img file couldn't created successfuly or the packing process exited with error.

after this happen, dont reboot, plug in the usb cable and pull out the /tmp/recovery.log file and attach to here.
[LG Optimus 2x] vadonka:
its no more HOC and LOC, it was in the old 2.6.32.y version.

LOC mean: low overclock, max speed is 1216Mhz

HOC mean: high overclock, max speed is 1408Mhz
[LG Optimus 2x] @dap:
Okay, the OC_OTF version of the 0425 kernel booted without problem!:D

---------- Post added at 02:57 PM ---------- Previous post was at 02:52 PM ----------

Will you have any time to address this issue, Vadonka? I know that you are working hard on the other kernel issues...:)
[LG Optimus 2x] vadonka:
the etana config app is not my work as you can see in the OP post :)

i have almost zero java knowledge :o

but i have the app source if someone have time to play with that :)
[LG Optimus 2x] navlem:
How do i retrieve the log if my CWM hanged right after flashing?
[LG Optimus 2x] @dap:
Should I let TrymHansen know?
[LG Optimus 2x] plakers:
wow! hehe I'll perform some debug/tasks tonight :

- CWM problems (fs corruption, /system problems) : I was praying to solve these with only some fsck solution, but format all & see if the problem occurs again... (but I'll also try to do it with bash/remount alternatives ;))

- read my recovery.log and logcat while booting (if kernel is loaded, I hope adb logcat will work when the system is "frozen" in that situation...)

- 'Kernel Packing' like problems

will feedback, with OC and Stock versions, soon (I hope!)...

anyway, this kernel is great (smooth, battery life...) : another "thank" for the job vadonka, if you need any further/detailed information/log, do not hesitate!
[LG Optimus 2x] vadonka:
adb shell :)
[LG Optimus 2x] noxxious:
sorry if this has been reported before, i'm on temasek's build 93 and with the latest etana stock. and i've noticed that i cannot mount the /system to be r/w on rootexplorer 2.19. is there any way to get thru this?. tia.

btw. the kernel is great, my phone last for almost 2 days now.. snappy too.

EDIT: encountering some hangs every now and then...
[LG Optimus 2x] norbee007:
Vadonka, what happened with the lite battery driver? I only see the stock and ds one.
[LG Optimus 2x] mat369:
The "stock" is the lite version ;)
[LG Optimus 2x] morckx:
OK, I've sent you a pull request. I haven't tested it inside your kernel installer, however. Too busy, today...
[LG Optimus 2x] Buccio:
For me the r/w bug still remain and it's very annoying :(
[LG Optimus 2x] :
mr vadonka, with temasek build 94 and oc kernel 3.0 don`t boot 2 splash, with stock kernel 3.0 works great, any idea?
[LG Optimus 2x] vadonka:
hang on, im workin on it
[LG Optimus 2x] 4lph4:
My experience is that the 1204251244-ETaNa_OC_OTF-3.0.y.zip boots and I have no issue with the R/W system mount.

I checked the file system before the install and it was clean.
[LG Optimus 2x] Sörnäinen:
The 25.04. version doesn't like me either, thought I give it a try as it is my birthday, but hangs at boot.

I am back on 18.04. - and it's still great. :)
[LG Optimus 2x] reginickneo:
Take your time ;)
[LG Optimus 2x] moludo:
the same here. I am also in the 18/04

Enviado desde mi Optimus 2X usando Tapatalk
[LG Optimus 2x] mat369:
Personally, this 25.04 version seems to work fine! I'm using the stock non OC version, and it's my birthday too ;)
[LG Optimus 2x] Schmeichel1:
OC version hangs on boot ...

No OC version works great :) no need to OC but how much difference in battery usage we get using UV with the same Stock clock ... ??
[LG Optimus 2x] morckx:
Thanks to temasek, I had a reason to test it, now :) . Seems to work well, at least on my phone.

I've seen you pulled it already. If you plan to include it, I'll add some progress information...
[LG Optimus 2x] alakyr:
+1 u.u
[LG Optimus 2x] Keltek:
For me, the version 1204251246-ETaNa_OC_DS_OTF-3.0.y.zip works great. Is there something I can debug to determine, what is different?

I install the Temasek KANG v94 (PDroid subversion) and reinstall the kernel above - it works great. I have made only one little modification to KANG installer to not use "format" command.

--- META-INF/com/google/android/updater-script	2008-02-29 10:33:46.000000000 +0100
+++ ../updater-script	2012-04-24 21:45:05.354385369 +0200
@@ -3,7 +3,14 @@
set_perm(0, 0, 0777, "/tmp/backuptool.sh");
run_program("/tmp/backuptool.sh", "backup");
show_progress(0.500000, 0);
-format("ext4", "EMMC", "/dev/block/mmcblk0p1");
+ui_print("-formatting system");
+run_program("/sbin/busybox", "umount", "/system");
+run_program("/sbin/mke2fs", "/dev/block/mmcblk0p1");
+run_program("/sbin/tune2fs", "-O", "extents,uninit_bg,dir_index,has_journal,^resize_inode", "/dev/block/mmcblk0p1");
+run_program("/sbin/e2fsck", "-pfC0", "/dev/block/mmcblk0p1");
+run_program("/sbin/tune2fs", "-o", "journal_data_writeback", "/dev/block/mmcblk0p1");
+run_program("/sbin/e2fsck", "-pfDC0", "/dev/block/mmcblk0p1");
+ui_print("-mounting system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p1", "/system");
package_extract_dir("recovery", "/system");
package_extract_dir("system", "/system");
[LG Optimus 2x] tonyp:
We're getting to it. Just 12 more "Thanks" to vadonka then he'll have more Thanks votes than posts - finally. Ready - set - gooo
[LG Optimus 2x] dhogthag:
I didn't try installing CM7 and Kernel the normal way, but I can confirm that this method works. I was able to update my RIL using GetRIL right after I booted.

Thanks a lot :)
[LG Optimus 2x] rexren:
usb storage is also not stable on 0425

Any one have the same problem? I can't copy a file (ex:94mb) form PC to phone by usb storage.
[LG Optimus 2x] indyroid:
Happy birthday!
[LG Optimus 2x] anto986:
I flashed the 120425 stock version ( the oc gives the bootlooop )

I run terminal emulator,

su

rh

3

reboot

...but I have only 356 mb of ram.:confused:

Why?

I didn't read the thread for some day, so I don't know if it's a known issue.
[LG Optimus 2x] mrgian:
try to reboot? then do the ramhack again.
[LG Optimus 2x] anto986:
I do that 2-3 times (I edited the post ;))
[LG Optimus 2x] plakers:
Yep, after many CWM erros, due to FS, corrupted functions under recovery : I also had to follow the instructions mentionned (format /system & so on...), many e2fsck tries, some adb shell, that was the only way to recover.

Now running the STOCK-DS version (had many problems with the OC one).

If someone's got some problems of that kind or even /system problems while under CWM, follow the instructions provided by MORCKX, many thanks to him, he saved my phone's life :p

The original post :

http://xdaforums.com/showpost.php?p=24953834&postcount=3114
[LG Optimus 2x] @dap:
1204251244-ETaNa_OC_OTF running very smoothly over Temasek's RC-93 since yesterday. No mount or R/W issues and battery life seems good so far!:D

Thanks, Vadonka!
[LG Optimus 2x] vadonka:
Kernel is updated, hopefuly fixed the boot issue.

KSM is now optional, you can be disable/enable in the etana config editor app (default is enabled). Adjusted the KSM related values with owain suggestion.

Integrated morckx ext4 reinit script, it will be run automatically if needed. this fix the r/w problem.

thx morckx!
[LG Optimus 2x] plakers:
Great! Another thank to you and this update, and the integration of morckx's "system" fixes. D/L the latest OC/DS version now :)

EDIT : Ouch!...

Flashing the Kernel gives me "invalid ramhack size" then "Packing Kernel Failed" and tries to re-initialize /system

(it seems to be frozen, waiting... and go back to morckx's procedure one more time)
[LG Optimus 2x] morckx:
To make the re-init now included in the kernel installer safer for situation where the fs is already corrupt, it should probably be executed before the kernel is installed. Sorry, will make another pull request.

With the current installer, however, everything should work at the second attempt – provided that it at least starts and comes to the re-init part.
[LG Optimus 2x] mind_challenge:
Just installed KANG 94 and latest OC kernel. No problems at all.
[LG Optimus 2x] plakers:
OK... I performed some steps manually :

- Wipe /cache and Dalvik : OK

- Format /system (1st zip) : OK

- Install CM7 (#93 with Pdroid) : OK

- Reinit /system (2nd zip) : OK

- Install GApps, Kernel (the 26th OC/DS) : OK (no more FS/Kernel error messages)

- Install my RIL and Toggle2G zips : OK

- Reboot my phone : Seems OK (I'm looking if all my data/apps are still here)

My 2Cents, and if it can help anyone else... ;)
[LG Optimus 2x] :
very thanks mr vadonka, same problem 1204261016-ETaNa_OC_OTF-3.0 don`t boot 1 splash lg., 1204261012-ETaNa_STOCK_OTF-3.0.y works great.
[LG Optimus 2x] vadonka:
if you see "invalid/undefined ramhack size" it mean that the /sdcard/etana.conf file is found but the ramhack size is undefined/wrong. in that case your kernel will be install with the default no ramhack option.

the Packing kernel Failed mean that the mkbootimg command exited with errors or the boot.img file is not exsist. its a safety check, if anything wrong the old kernel wont be wiped. in that case plug in the usb cable and do this from an adb shell:

adb pull /tmp/recovery.log

i really need this log file guys :)

some of you reported this kernel packing failed problem but without see the recovery log file i dont know whats wrong.
[LG Optimus 2x] plakers:
Nope, ramhack and etana.conf are OK, it seems to be related to another problem (FileRead? my /system FS problems?... dunno)

When performed the tasks (manually) with morckx's /system fixes, then the procedure works normally (etana.conf readed, Packing Kernel OK ...)

My previous post reports how I made it work - I don't even know how those problems appeared, it came only since the 23,24 and 25th Kernel versions (only with the OC/DS one)
[LG Optimus 2x] vadonka:
the kernel use the /tmp partition for the temporary files. if im not wrong this is placed in the /cache partition too. so the kernel packing failed connected to the cache partition corruption.
[LG Optimus 2x] vadonka:
probably helping if the cache partition wiped before the kernel installation.
[LG Optimus 2x] reginickneo:
Boot up issue with 26 apr version. I'll try on the latest kang with wipe cache and dalvik when I'm home.
[LG Optimus 2x] plakers:
Yep, I cannot investigate further here (I'm not local Admin on my laptop at the office, and not able to install adb/drivers for the moment - hehe)... All my CWM error messages and kernel installation messages were related to /system but some steps may have failed for toher reason (another fs point that needed cleanup?... strange, because I always perform these 2 steps when flashing a new rom/kernel)

I'll give another try soon to see if it's related to /cache, /system, or another error (eg. sdcard/etana.conf read, internal CWM problem/freeze...)
[LG Optimus 2x] upetro:
Same problem with the 26.april OC version. Stuck at second LG logo, with the touch button lights on. The non OC version works. I also noticed that when wipeing the cache under CWM it has some error saying something like: "E:unknown volume for path (/sd-ext)"

But i can still chose to wipe dalvik cache, and it says at the end cache wiped. Is this normal?
[LG Optimus 2x] vadonka:
The "E:unknown volume for path (/sd-ext)" is a known issue in the CWM, its normal. done care about it. its try to wipe something in the /sd-ext directory but we dont have that (only if you have an ext partition in the sdcard)
[LG Optimus 2x] upetro:
Thanks Vadonka for all your efforts and hard work, trying to solve the oc kernel problems, and giving us the best kernel for the O2X. You are the best!
[LG Optimus 2x] vadonka:
reuploaded the kernel with the modified install script. the system reinit is running before the kernel install
[LG Optimus 2x] zerocoolriddler:
How long does the system-Reinit take?

I´ve tried latest OC/OTF with new Script:

-checking if system partition needs re-init

-system partition needs re-init

-trying to re-initialize system partition

Then it hangs up. Waited 5 Minutes, nothing.:(
[LG Optimus 2x] upetro:
Will try it, although i doubt it will help, becouse i have been running the script manually before, and it didnt help with the OC kernel boot problem.
[LG Optimus 2x] vadonka:
just only who have boot issues with the OC version:

http://etana.donka.hu/kernel/3.0.y/test/1204261222-ETaNa_OC_OTF-3.0.y.zip

(try and report)
[LG Optimus 2x] vadonka:
what i uploaded is more than using the reinit script.

i raise the cpu voltages and disable the undervolt temprorary. maybe the cpu voltage levels is too low for some hardware
[LG Optimus 2x] FlynDual:
Hi vadonka! I have just try to flash the last kernel. Another time it stucks at lg logo with keylights on!
[LG Optimus 2x] upetro:
Tried it, i doesnt work. Same problem, 2 LG logo, button lights on. Sorry...
[LG Optimus 2x] vadonka:
then the problem its not the voltage level.
[LG Optimus 2x] morckx:
@Vadonka, sorry, with my last pull request I have introduced an error as my script unmounts /system and yours thinks it is mounted. This explains some fails...

Will make another pull request, in a minute.

Sorry

Edit: OK, I've tested it twice now and pushed the patch
[LG Optimus 2x] Medizinmann:
Hello!

1st of all thanks for the hard work!

OC-Version with DS is still Stuck at 2nd Logo, but the OC-Version boots till PIN-Input and freezes their ....:(

Greetings

Medizinmann
[LG Optimus 2x] Keltek:
And what about some mis-configuration/reading of values from tweakaio.conf? What about OTF configuration?
[LG Optimus 2x] vadonka:
merged your pull request, i hope its gonna be ok now.

reupload the fixed version.
[LG Optimus 2x] upetro:
Tried it, the OC version still doesnt work.
[LG Optimus 2x] tomislav177:
Well I am sorry to say but still stuck with secound LG logo with lights on. Revert back to older version.
[LG Optimus 2x] reginickneo:
I flashed the latest temasek's CM7 KANG, wiped cache and dalvik cache, and the stock version of the kernel booted smoothly.

Thanks.:rolleyes:
[LG Optimus 2x] alakyr:
from 25 stock to 26 oc -> stuck at boot logo

from 26 oc to 25 stock -> work

from 25 stock to 26 stock -> work

from 26 stock to 26 oc (downloaded now) -> work

black screen during the charge

rebooted -> stuck at boot logo

reinstalled 26 oc -> stuck on boot logo

installed 26 stock -> now it work

i guess there is some problems on the oc version...never had problems with stock versions
[LG Optimus 2x] MisjudgedTwat:
awesome.. finally i can test vadonkas work :P
[LG Optimus 2x] alakyr:
ehm...i edited the post xD
[LG Optimus 2x] MisjudgedTwat:
yeah... i also noticed problems now.

when i install the stock one, and flash the oc one over it -> boots, but freezes.

when i directly flash the oc one -> wont boot anyways.

i tried alot of times now... the stuck moment is different:

- sometimes it freezes while bootanimation.

- sometimes it keeps black after 2nd bootlogo. (no leds)

- and the most time it stucks on the 2nd bootlogo.

no chance to get the current oc version working for me.
[LG Optimus 2x] alakyr:
yeah i supposed the same things...maybe the uv is too strong on the oc version?
[LG Optimus 2x] morckx:
Is there anyone who cannot run the OC/UV-version of ETaNa, but can run the OC/UV-version of any other kernel?
[LG Optimus 2x] MisjudgedTwat:
absolutely... ironkrnl is still running stable as hell for me. even with aggressively low uv values.

oh and the old 2.6. oc version of etana is also working fine here.
[LG Optimus 2x] vadonka:
any other 3.0.y based kernel for cm7 :)

my problem is the OC version is working perfect for me, i cant reproduce the boot issue. in that case im blind :mad:
[LG Optimus 2x] morckx:
For me all work equally well - except that with all 3.0-OC/UV-GB kernels, I get fs corruptions, if an fs is formatted with the cwm internal format routine (selected differences below).

--- fsl.cm7	2012-04-25 15:53:49.000000000 +0200
+++ fsl.working	2012-04-25 15:53:57.000000000 +0200
[excerpt]
-Filesystem features: has_journal resize_inode filetype extent sparse_super large_file
+Filesystem features: has_journal ext_attr dir_index filetype extent sparse_super uninit_bg
-Default mount options: (none)
+Default mount options: journal_data_writeback
-Inode count: 22401
+Inode count: 89760
-Block count: 89600
+Block count: 358400
-Reserved block count: 0
+Reserved block count: 17920
-First block: 0
+First block: 1
-Block size: 4096
+Block size: 1024
-Fragment size: 4096
+Fragment size: 1024
-Reserved GDT blocks: 23
-Blocks per group: 32768
+Blocks per group: 8192
-Fragments per group: 32768
+Fragments per group: 8192
-Inodes per group: 7467
+Inodes per group: 2040
-Inode blocks per group: 467
+Inode blocks per group: 255
-Inode size:	256
+Inode size:	128
-Required extra isize: 28
-Desired extra isize: 28
-Default directory hash: tea
+Default directory hash: half_md4
[LG Optimus 2x] vadonka:
probably you have the same type what i have. i can run every kernel without problem even with very very massive undervolt. i have no problem with any 3.0.y kernel.

the problem is this phone have a many many type, one model can handle the uv the other is not. its the negative side of the "cheapness"

thats why some user have problem with the uv and who knows what else...

i try to do everything but im just a human and i dont know everything, plus have a real life too :)

one short answer: use that version what is working without problem and always have a nandroid backup(!)