yashsingh1/xdaforums huggingface dataset:
[LG Optimus 2x] jrdaz:
Hi, incoming wall of text

I'm a total newbie in the Optimus 2x, just got a new one, but not in the world of roms. I had an htc hd2 before. Maybe I think I know some stuff about roms, but the methodology is new and I¡m confused. For example, I have no clue what the difference between a radio and RIL is, or how to find which one I have.

Ok, so I bought this phone, which is from vodafone from a guy who installed the stock 10b version. That worked nicely, internal memory was recogniced as sccard and sccard as external sdcard, so no problems at all.

Now however, it seems the phone is using the sdcard as internal memory and I can only access the internal memory from my computer. Also pimpmycpu says the kernel is not compatible with the app, I guess because it's not installed in the actual internal memory partition of the phone

Here are the steps I've done in case there's something wrong:

-From stock 10b I installed SuperOneClick v1.9.5 with debugging mode on and rooted the phone

-Then I installed Recovery 3.2.0.0 and copied the latest CM Rom (v49) and this kernel to the sdcard

-I wiped data, cache and davik cache

-I then installed the rom and the kernel with this exact name vorkKernel-20110616-1080-bc-lecam-silence-boost (no -internal) and the kernel afterwards

I've already read this forum for hours. Any help would be apreciated.
[LG Optimus 2x] deagleone:
there are some wrong flags in your Kernel Name..

vorkKernel-20110616-1080-bc-lecam-silence-boost

reneme the Kernel zip to vorkKernel-1080p-bc-lecam-silence-boost.zip and reflash

witch PmCPU Version do u use?

GB shows the external SD Card as Standard, if you want to use the internal Storage navigate to ..mnt/emmc with an File Manager
[LG Optimus 2x] Harsh:
Benee I have bad thing to report sorry :(

When we use your KANG with BLN kernel, there is problem in General Brightness of screen. Whenever phone wake from sleep(just press power button), brightness flash to full(100) and then is always set to min(0), looks like BLN stuff is messing around with backlight, in lights.c, there it seem something mentioned about backlight, that may be causing problem.

btw: touching to notification bar(brightness adjust) make it all ok, until next wake.
[LG Optimus 2x] khyaris:
First of all I'm coming from Modaco's rom

I got some problems, which were not presents on MCR:

I got no sound through my bluetooth headset

My sdcard is never mounted when I reboot/boot the phone

The screen-off animation worked fine, then I reboot and no more animation whatever I do

Reception problem when I'm outside tube stations, it takes like 5min to find the network ~~

Are these related to cyanogen or something went wrong? I flashed 606 baseband with the right RIL from this kernel. The flags I used were -bc-lecam-silent-boost

Thanks for your help, and sorry if these are known issues.

I'm using the latest rom/kernel posted today by Benee
[LG Optimus 2x] jrdaz:
Thanks a lot, I also realised it was silent instead of silence.

So I lose the benefits of having an internal memory like less battery consume and more speed I guess.
[LG Optimus 2x] Benee:
My kang + kernel produce this behaviour? Or with your + stock cm kernel? One kernel commit is needed to fix this. So if you want a working BLN kang + kernel you have to use my kernel or compile a stock one with the fixes from my github (kudos to faux123 for this)

A2DP isn't working right now - so no BT headset

sdcard is mounted. But not the internal one. The real sdcard you need to insert in the device is the default one.

Screen off animation - never realised a problem with it

and reception: try flashing the 218 baseband and don't flash a ril. It's the baseband arcee (the cm guy) uses. So you will have the best experience with 218.
[LG Optimus 2x] ranrick:
with base CM7 Kernel (Nightly 49) reboot works fine. After flashing your kernel with -606 and -silent tag, reboot doesn't work anymore.

Anything else works perfectly. Good Job!
[LG Optimus 2x] khyaris:
I saw on twitter the matter with A2DP, crap.. But I didn't understand what you said about sdcard:

I know my sdcard is mounted as /mnt/sdcard and internal as /mnt/emmc

I mean I have to pull off my sd everytime I boot my phone, its the only way to get it mounted and visible for android
[LG Optimus 2x] Harsh:
Benee I was using your kang with your kernel, that was behavior on that, but now work fine after changing settings in CMParts/Display/Automatic Backlight and light levels, i ticked Allow light decrease.

and android tegra2 kernel 2.36.6 been merged in kernel git

Merge remote branch 'common/android-2.6.36' into android-tegra-2.6.36

here at kernel.org.

can you look at it, and see if its possible to bring it to O2X?
[LG Optimus 2x] xgeneralex:
+1...same problem for me after all day testing...
[LG Optimus 2x] franciscofranco:
As far as I know that aint possible because of LG's proprietary drivers/code whatever. We at the p500 forum are too waiting for the 2.6.35 kernel because otherwise its pretty impossible to upgrade to those newer kernels, even though I backport a lot from .35 .36 .37 .38 and .39, just not possible to move entirely to one of those trees unless some major driver re writting.
[LG Optimus 2x] Benee:
Ok this is strange. After the bootup media scan your sdcard should be recognized. Do you still have this problem after ~2 min of doing nothing with your device (after a reboot)?

Ok strange one. Hehe I rarely use autobrightness. Hrm need to check it.

The 36 Code was on the nvidia git for ages. Even the whole Tegra3 stuff. But franco's answer is correct. Impossible to port this stuff, because of all this locked stuff. A update to .36 (.35 isn't used by nvidia) would open many gates for us (if lg is doing it right :D). Until then we can only port some improvements, but the biggest one from .36 (govenor support and dynamic govenors) isn't really possible. Everything would improve with .36 :D.
[LG Optimus 2x] robertosandros:
If you changed the window/transition animations to fast in spare parts then the screen-off animation will be obsolete because it goes too fast for you to see. Only way is to leave animation speeds to normal or slower :P
[LG Optimus 2x] khyaris:
I guess I should re-format my sd, anyway after 2/3 reboot it was properly mounted. Weird, thanks for your help Benee

Thanks a lot it worked I set fast on Spare Parts, with normal speed the screen-off animation is back

By the way I can't find the 218 baseband & RIL, I googled it and the only relevant link I found is archived on xda and I can't access to it

Edit: Ok I finally found the 218 baseband, but for the RIL have I to reflash the ROM because you said this is integrated in Cyanogen and I already flashed 606 RIL
[LG Optimus 2x] owain94:
Benee ext4 would be awesome =D
[LG Optimus 2x] b3ndech0:
For what exactly you guys need ext4? E-penisproblems?
[LG Optimus 2x] owain94:
First use your common sense then ask questions, sir!

Why have they made ext4 when there were already 3 versions?

Coz it is better and faster thats why!

And remember how more posts you got!

How bigger your e-penis is!
[LG Optimus 2x] kiljacken:
You've just been trolled xD
[LG Optimus 2x] b3ndech0:
So please sir, tell me the advantages! As far as i know ext4 supports bigger harddisks as ext3 wich is not an argument, ore do you know a smartphone with 16terra space? It isnt much faster either - so basicly its just important for benchmarks and benchmarks are important for the lenght of youre e-penis. So SIR, please tell me again why you want to have ext4 that urgent?
[LG Optimus 2x] owain94:
Didn't say i NEED it but it is nice to have

No not only the benchmarks are higher

It is really faster

But i think you are a windows guy who only use ntfs

No offense if im wrong...

But it seems you don't know anything about ext4

If it was only faster they would just name it ext3

They improved a lot of things that why they called it ext4 things like

Better timestamps

Multiblock allocator

File checks are much faster

And so on...
[LG Optimus 2x] kiljacken:
It might be faster yes, but it's only notciable when running benchmarks...

Therefore; E-Penis Enlargement is the only practical use

-- Kiljacken
[LG Optimus 2x] Benee:
and cm isn't using it official. So you need to flash a kernel after a new nightly. So if some bigger kernel update is there and we need more time for a release (yeah we have a reallife :D) than you will need to stick to a old kernel etc.

maybe I will add a flag, but don't add it to the flag thread. Like use it at your own risk, use it only when you know how to fixup the device and you will only find the flag naming if you can read the installkernel.sh script ;)
[LG Optimus 2x] b3ndech0:
Thx mr. irideunicornsandimarobot
[LG Optimus 2x] Benee:
Ok no need for my kang anymore. Tomorrow official BLN support on CM ;). Kernel is ready btw.
[LG Optimus 2x] Pxoeb6mU:
I'm not sure where the responsibility for this lies, but at a first guess it's the kernel.

Phone was on standby (not plugged in) over night, when I tried to turn it on this morning, the backlight turned on, but the screen remained black. Further presses on the power button did turn the backlight back off. Holding the power button resulted in the short vibrate that normally happens when the power menu comes up. But touching the screen at the right position for the Power down button (which I couldn't see) produced no effect.

Here is the dmesg where you can see the moment things goes wrong

http://pastebin.com/3a1X2HVM

Currently installed on that phone are:

WGSpoelstra_GBE_v4.9.0.zip

vorkKernel-20110616-1080p-606-lecam-silent-boost.zip

And I do have the 606 baseband installed.

Any idea what went wrong and what to do about it so that it doesn't happen in the future?
[LG Optimus 2x] Benee:
OK do you have a kmsg? But nothing interesting in dmsg.
[LG Optimus 2x] Pxoeb6mU:
kmsg? only logs I know of are dmesg and logcat. And the messages from the time when the system went into that funky state had unfortunately already been overwritten in the logcat ringbuffer...

Please let me know what I should do next time this happens to get as much useful logs as possible...
[LG Optimus 2x] Benee:
Copy and paste from cm

HOW TO REPORT BUGS OR PROBLEMS?

- Was it a hard reboot? Go into recovery and dump the "/proc/last_kmsg" file.
[LG Optimus 2x] Benee:
Whew wall of text ;)

I will answer in depth on it when I'm at my PC again. (Or someone else did it before ;D)

But one thing kmsg != dmsg. Kmsg is the kernel log. So the whole kernel debugging stuff is in it. Then I can track down the issue or I can differ between a kernel panic or a hardware fail (sometimes a module dies and a reboot is necessary to enable it again etc.).
[LG Optimus 2x] Pxoeb6mU:
Sorry 'bout that ;)

Thanks!

Oh. Ok. Learn something new every day then I guess. I always assumed that dmesg = /proc/kmsg.

While I'm a software developer know my way around computers pretty well normally, I usually develop under windows, so I really don't know all that much about the linux internals, I was just basing my assumptions on things I googled, like:

and

which sound pretty much like the same to me.

Also, running:

produces 2 byte for byte identical text files.

But I'll take your word for it and will endeavor to get my hands on /proc/last_kmsg after booting into recovery the next time something goes wrong. Though I'm not sure how I'll manage that given that I can't seem to get adb to work with the CWM I got.
[LG Optimus 2x] Benee:
Ok hrm confused right now. Never used dmsg.

Hehe still learning too. I'm doing this stuff to learn c and Linux. For 1 year now. This was the reason I started vorkKernel about 1 year ago for the htc desire.

Edit: @Pxoeb6mU

Just a simple idea. But I think it is related to the new BLN stuff in the kernel and your CM kang doesn't support it. So maybe there is a problem.
[LG Optimus 2x] Pxoeb6mU:
I would tend to agree, *if* I hadn't already seen the same behavior from time to time over the last few weeks, going back pretty much all the way since I started running CM7 (via WGSpoelstra's Gingerbread Edition + vorkKernel).

It's just that this time was the first time that I had a chance to directly connect USB and check if it still reacts to ADB (which it did).

EDIT: It just happened again.

kernel log is here: http://pastebin.com/nYQ2BgMj

logcat is here: http://pastebin.com/Q5pRz5Q0

In logcat, the time when things go wrong is somewhere around 09:18 +- 1min

In the kernel log, it's again the same sequence:
[LG Optimus 2x] Benee:
Ok. Just a quick look (jumped directly to 09:18 on logcat). At 09:17:12 the License check failed. The lines you quoted from kernel log (dhd_module_init: sdio_register_driver timeout) are related to the wifi module. This would fit together (without connection to teh internetz no license check).

In the logcat I saw that JuiceDefender is managing your wifi connection. Could you try to exclude wifi controle from JuiceDefender and set the wifi connection timeout to never?
[LG Optimus 2x] PYCON:
With new version, REBOOT ( Hot Reboot & power on ) now works ?! :confused:
[LG Optimus 2x] sacredsoul:
New kernal with CM7 :D

http://review.cyanogenmod.com/#change,6246
[LG Optimus 2x] Benee:
For me reboot stuff is working when I plugged in a usb cable.

I know ;) just need to resolve a small problem on a other project. Will help vorkKernel + some guys will be very happy :D.
[LG Optimus 2x] PYCON:
Ahhhh :confused: Reboot only works when plagging in a USB cable ?! :eek:
[LG Optimus 2x] bbkdhumm:
I've got this problem too. Plus sometimes failure to get an IP address from my router.

It seems it's kernel related as these problems disappear when switching to an old vorkKernel version.
[LG Optimus 2x] Benee:
No you can reboot. but not with the cm power down menu. Just power the device off, but not reboot to recovery etc.

maybe related to this commit. Problem is: it fixes many wifi related things.
[LG Optimus 2x] Benee:
ok guys. Anyone up for a first test run of the universalEXT4converter?

It converts your rom to ext4 and keeps your kernel. No need to flash a special ext4 kernel.

Only flash this zip after a new cm release and you have a running ext4 filesystem.

More options later + maybe merge with vorkKernel (as a flag)

PM me if you want this. Only PM me if you know how to fix up your device and you are sure that you want this.

I will answer them later :)

Edit: Not ready now and only experienced user

Edit2: still wip but it is getting closer to the endresult

Edit3: Ok that's it. No more deving today. Need to fix up my device in the evening : / crappy windows pc refuses to find the device in recovery (adb) :D
[LG Optimus 2x] r1si:
Cant wait for this ext4 is better !

Inviato dal mio LG-P990 usando Tapatalk
[LG Optimus 2x] klubipiff:
Hi!

I have this problem that after flashing the kernel and rebooting the phone, it gets stuck at the first black and white LG logo... nothing else helps than pulling the battery, booting to recovery and restoring the nandroid... I'm using CM nightlies and other users are telling the kernel works great for them...so what am I doing wrong? The flashing itself seems to work properly since I see all the text activity. I'm using following tags on the kernel: vorkKernel-20110616-1080p-bc-502-silent
[LG Optimus 2x] Benee:
Do you converted to ext4 sometime ago? morfics test kernel from RyanMacG's kang thread? Or coming from a mcr?
[LG Optimus 2x] klubipiff:
I have only used CM nightlies and have not converted to ext4...
[LG Optimus 2x] magicmarkus:
is your phone fixed up? and is there an testkernel ready?

What was the problem correctly? the ext4 converter?
[LG Optimus 2x] Benee:
strange shouldn't happen. Try to reflash nightly and try if it is booting up without kernel. Then add the kernel.

yep the converter. This is the reason why I wrote only for experienced tester :D It needs some more testing etc. Now I'm stuck on ext4, hehe. But I can test if the ramdisk conversion is working :)

Edit: Successfully converted my ramdisk. Filesystem is mounted as ext4 (converted it before with a other zip). So I need to look at the converting process... hrmm

Edit2: I have a idea how to fix it.. ok let's test it ;)
[LG Optimus 2x] magicmarkus:
Can i download it or the 2 zips. I think the problem is to combyn i one zip.
[LG Optimus 2x] Benee:
It's on my github. One zip will do everything.

But becareful and do a nandbackup (and test if it is working - not a currupted one ... yeah I'm a really lucky guy)

Edit: and currently not working ;)
[LG Optimus 2x] magicmarkus:
I can test it this evening. And i will look into the script too.
[LG Optimus 2x] Pxoeb6mU:
Could give some more details on this? Are you just meaning that, yes, you are including the standard Android lowmemorykiller? Or did you make any tweaks to it? If yes, what exactly did you change?
[LG Optimus 2x] Benee:
Autokiller is a app which tweaks various kernel parameters. The main one is to tweak the lowmemkiller from android so it is conserving more ram (killing apps earlier). I added own values to the ramdisk. And as always: you can have a look at things I changed at my github. We opensourced everything (except the twitterbot (we want to keep our password safe hehe)). The whole buildprocess etc too.
[LG Optimus 2x] xxdoggyxx:
Hi, is there something wrong with the brightness? on flag: -bc

when the wake up de phone, the brightness will go to the max brightness... any method to fix it? its kinda disturbing when i wake my phone at night... using cm49(0616)... thanks
[LG Optimus 2x] Benee:
haha yeah. Next update will be better ;) just testing some last things and adding some stuff. EXT4 flag isn't ready (because convert script isn't ready ;) ).
[LG Optimus 2x] xxdoggyxx:
oh, glad to hear that it will get better.haha:-) anyway, thanks for your hardwork that make me enjoy! :p
[LG Optimus 2x] Benee:
psst .. This was arcee's hardwork :D But other stuff will be there soon ;)
[LG Optimus 2x] Benee:
Update

New voltage/freq table

some tweak

sdram oc (faux123)

jrcu (thanks morfic for the tip)

latest cm commits (better bln support etc)

Look at our github ;)
[LG Optimus 2x] baliriot:
downloading... thanks for the update Benee..:D:D:D
[LG Optimus 2x] HerrKuk:
Benee: i was playing around with setCPU when i found 'time in state information' but thats not supported in my kernel. Anything you want too look in to?

Thanks for your work
[LG Optimus 2x] Benee:
yep won't work. Requires a completely working cpufreq.
[LG Optimus 2x] svceon:
Awesome e-penis enlargement, 4100+ at quadrant @ 1500MHz the same i got at stock @ 1.4GHz... beautiful, awesome job
[LG Optimus 2x] sacredsoul:
I am sure it's because of this kernal. I notice my bootup time has significantly improved. It boots up to the lockscreen within 5 secs of the CM7 bootanimation.
[LG Optimus 2x] Benee:
Could boost it even more ;). 1100 mhz for example. Only uses 1015 mhz now
[LG Optimus 2x] sacredsoul:
Nah battery-life is important. I am even UVing it. :o
[LG Optimus 2x] Benee:
you won't notice it. But be careful: I undervolted it a bit too in last update ;)
[LG Optimus 2x] sacredsoul:
I reduced at most 50mV.

1100Mhz-975mV

1015Mhz-925mV

760Mhz-775mV

503Mhz-750mV

Gonna try 1100 for now :D Stable I would say. Boots fine at least.
[LG Optimus 2x] ranrick:
everything's fine so far but reboot still doesn't work.
[LG Optimus 2x] Benee:
Not kernel related. Update to latest nightlies. Cm is introducing a new reboot library.

Edit: Oh to all ext4 guys flash this ;)
[LG Optimus 2x] ownjoouk:
Does anybody know what this logcat entry refers to?

E/OMXPlayer ( 1023): waiting to render 0x17750

I've noticed on other roms (stock, cm7 with cm kernel and Gigglebread I think) that this never happens.

However whenever I use vorkkernel I constantly get this in logcat and it has a huge drain on my battery!!

Can anyone shed any light on this? Is this kernel related or a misbehaving app?
[LG Optimus 2x] Benee:
1. This happens on every rom. It's a lg screw up. If I remember it right arcee wrote that the device is waiting to playback 4 soundfiles which aren't there.

2. Logcat is never ever related to kernel.
[LG Optimus 2x] xxdoggyxx:
Hey, Thanks benee, i can finally open my eyes at night when i wake my phone. Good job. :D
[LG Optimus 2x] ownjoouk:
Thanks for the info benee.
[LG Optimus 2x] PYCON:
I've a little question... Why in PIMP MY CPU with Vork Kernel, I see as min freq 389 MHz while in CPU Master the min freq is 216 MHz ? :confused:
[LG Optimus 2x] 75markus:
:confused: i have 216 as min. (+ 503, 760, 1015, 1100, 1216, 1408, 1504)
[LG Optimus 2x] PYCON:
I've 389, 503, 760, 1015, 1100, 1216, 1408, 1504... :confused:
[LG Optimus 2x] fajarep:
sometimes i got random reboot or even crash when using this kernel, dunno why.
[LG Optimus 2x] Inkdrop:
Same here. It just turn's off or reboot's
[LG Optimus 2x] cokeman0:
Same here, is it The uv?

Getting this with 0616 and 0622.

Will try disabling oc.
[LG Optimus 2x] kiljacken:
I'm running the kernel at stock speeds, and without UV, and for me it is VERY stable.. No random reboots for AGES..
[LG Optimus 2x] 75markus:
+1, same here, perfectly stable

did some benchmarking (Linpack, quadrant,...) @ 1,5 Ghz, no UV, also no problems

i think there is no need to undervolt more, 950mv @ 1015 Mhz is a pretty good standard setting ...
[LG Optimus 2x] MillyMoo106:
I am getting some awesome battery life off this
[LG Optimus 2x] marektupa:
I don´t really understand to this:

What are flags and how can I use them? (Only for 310511 and up)

Currently we implemented following flags: -bc, -1080p, -405, -502, -606, -lecam, -silent, -boost. (flags are case sensitiv)

-1080p is obvious - it enables 1080p recording (and disables the 64MB ramhack)

-bc (baconcooker) - it enables 1,5GHz OC + GPU OC. Stock max OC is 1,2 Ghz (only for teh benchmark lulz)

-405 - flashes the 405 RIL

-502 - flashes the 502 RIL

-606 - flashes the 606 RIL

-lecam - Add the LeJay cam mod (it sets the 1080p flag too)

-silent - disables cam sounds (video and picture)

-boost - enables headset audio boost (louder )

So if you want to have a 1080p kernel, you change the update zip name from vorkKernel-VERSION.zip to vorkKernel-VERSION-1080p.zip. If you want more flags, just change the zip name to vorkKernel-VERSION-1080p-bc-lecam.zip (or other things). Nice huh?

More flags will follow and if you have a idea feel free to post them

----------------------------------------------------------------------

I can´t just download the kenel and flash it ? I have installed the cm7 and i never installed the kernel, so i´m sorry but i have no idea what to do, please help...
[LG Optimus 2x] pyan09:
Care to share your settings? Thanks.
[LG Optimus 2x] MillyMoo106:
I haven't gone out my way to do anything, which is why i'm so impressed.

currently used 17% battery in 15 hours with decent use (wifi on all day, 10ish texts, few emails, checked facebook frequently, automatic brightness).

405 RIL and Baseband. No task killers, no ram hack.

I havent touched undervolting since the new clock tables. But usually i would expect to have used around double that at least

and marektupa you don't have to have any flags, they are just options
[LG Optimus 2x] sacredsoul:
New kernal :D

http://review.cyanogenmod.com/#q,6362,n,z
[LG Optimus 2x] kiljacken:
Just flash the kernel without any flags, and you will get the "vanilla" experience :)

Already merged, and release will be when I finish up ext4 integration into update.zip :D

EDIT: Fixed EXT4, and now I'm just waiting for Benee :D
[LG Optimus 2x] Benee:
Update.

For flags read first post ;)

CM updates.

All credits to kiljacken. I was extremely lazy hehe.

Edit: look at this sex pic!

The vorkKernel Logo. I hope cm team didn't mind the ring kang ;)
[LG Optimus 2x] fajarep:
i hope latest kernel solve/latest script solve problem with bc flag, everytime i pass this flag, it always boot loop, LG logo, black screen, LG logo, black screen, looping....
[LG Optimus 2x] 75markus:
thx benee & kiljacken, new kernel 26.06. works very fine on cm .59 !

haven´t tried out the -ext4 flag yet, but overall performance is very fine at stock speed !
[LG Optimus 2x] 75markus:
no problem with -bc flag for me , it also worked fine on last release ...

right now i use vorkKernel-20110626-1080p-bc-lecam-606-boost.zip, all went fine !