yashsingh1/xdaforums huggingface dataset:
[LG Optimus 2x] pidocchio:
New test version 20130111

32MB Ramhack

OC support up to 1.2Ghz

1175mV on 1.2Ghz freq (the previous version had wrong voltages table)

UV support (use Antutu CPU Master)

1175mV nominal cpu voltage

Maybe fixed WiFi on CM10.1 (need feedbacks as I didn't test it)

http://d-h.st/M5a

also updated first thread post
[LG Optimus 2x] SWTR:
WiFi doesn' t work for me on CM10.1 but with this wireless.ko and the right permisions it works good! http://www.linkfile.de/download-0ae12dc3676bc09a35fe6ed96926a6b5.php

Maybe you can put this in your Kernel. But the other things works good! Thank you! :)

Gesendet von meinem LGP990 mit CM10.
[LG Optimus 2x] malaquita:
Wifi dont work.

I copy manualy wireless.ko of temasek thread (temasek.hopto.org in lg990 misc) to system/lib/modules and reboot, then wifi work again.

Sorry for my bad english.
[LG Optimus 2x] SamReciter:
WIFI not fixed on CM10.1, rest is running normal...

Will try wireless.ko too...

---------- Post added at 01:06 AM ---------- Previous post was at 12:37 AM ----------

Fixed it. But maybe removes also any WIFI tricks/hacks ?

What's that for an WIFI module ? Is it a plain original one ?

Greets
[LG Optimus 2x] SWTR:
It is from temaseks CM10.1 thread.

Gesendet von meinem LGP990 mit CM10.
[LG Optimus 2x] orrebo:
I tried the new update. WiFi won't work even if I put the wireless.ko from temasek in /system/lib/modules
[LG Optimus 2x] Ciocas25x:
Im using the test kernel on cm10 and its very good! I will try it with cm10.1 and report!

Edit: in cm 10.1 wifi wont work and when i was closing the camera the system has imploded xD
[LG Optimus 2x] calav3ra_de:
I'm using latest test kernel and behaves very nice so far. OC at 1.2ghz works, also UV. More smooth but also saving battery more than stock. Also, sdcard is mounted lots faster than jellybam kernel which was very slow in this regard.

I just wonder: For the OC variant, why do you allow only 1.2 ghz and why is it activated by default? I mean, look, your phone is not necessarily the best in the world, so 1.5 ghz may be stable for one person. or 1.245 ghz. And why not allow 1.1 ghz, or many other speeds? And also, since 1.2ghz may crash some users, why not let them try on their own instead of setting a default? Just curious...
[LG Optimus 2x] pidocchio:
I put only 1.2Ghz because I've some segmentation faults with other frequencies, and I think they are not really necessary.

The default frequency is actually the maximum frequency, in this case 1.2Ghz. I think I've fixed the boot issues some people were reporting increasing the nominal voltage so there souldn't be problems. One can set the maximum frequency @1Ghz at any time using CM performance settings or other 3rd party apps.

____________________________________________________________________________________

New test build 20130113

32MB Ramhack

OC support up to 1.2Ghz

1175mV on 1.2Ghz freq (the previous version had wrong voltages table)

UV support (use Antutu CPU Master)

1175mV nominal cpu voltage

Finally fixed CM10.1 WiFi

Some bugfixes and optimizations

http://d-h.st/wH2
[LG Optimus 2x] calav3ra_de:
I just mean that this can already crash the device on bootup. But anyways, that's not a problem.

I want to say thanks for this great kernel! :)

It seems to be the sole kernel for JellyBam! It seems also that with this kernel, the automatic brightness is working. before it was not working i think.

PS: How do i get default settings back? Right now it get freeze after logon when antutu cpu master starts. Reflashing OC kernel doesnt work.
[LG Optimus 2x] pidocchio:
If people will report bootloops or crashes with default values I will surely try to fix those up.:good:

About your problem...

Fast way:

Reflash a ROM

Slow way:

with adb

mount /data

delete antutu cpu master configuration file

:D
[LG Optimus 2x] dangelo.davide:
Freeze on boot here
[LG Optimus 2x] JasonBourne.Qc:
Well, no crash or bootloop for me. Wifi works like a charm, 1200mhz OC with SmartassV2 is just crazy...6918 with stock kernel on Antutu benchmark and 7460 with this test kernel. Awesome. Nice work :good:
[LG Optimus 2x] orrebo:
First time I started the phone after flashing the latest version of the kernel the phone shutdown after I had entered the pin.

I started the phone again and this time it seemed to be working, but it shutdown after a couple of minutes.

After that did the phone get in to a bootloop at the LG logo.
[LG Optimus 2x] pidocchio:
Ok, it seems that 1175mV on 1.2Ghz freq are not enough.

Next build will have higher default voltages.
[LG Optimus 2x] JasonBourne.Qc:
Oops, i found a bug...after flashing the kernel, the External SD (sdcard 1) link is broken...no more permission on it, so when you open it, there's nothing inside...So i just reflash the Stock one. Maybe other people can confirm? :confused:
[LG Optimus 2x] pidocchio:
My sdcard1 is working perfectly, I suggest you to do a clean install :).
[LG Optimus 2x] DarkFantasy6:
Problems specialy with cm10.1? :P
[LG Optimus 2x] Ciocas25x:
for me it's all ok with the new test version on cm10.1!!! but i have a little problem and i dont know if it is a problem of cm10.1 or kernel, i have 3 links in system/storage, i have sdcard, sdcard0, sdcard1.... now i have the double of files because sdcard have the same files that sdcard0 have(internal) (sorry for bad english) :(
[LG Optimus 2x] orrebo:
I have a flashable file that changes the order of SD card mounts if you want? I can make another one with the original order also.

But you will still have 3 paths but after flashing the file it will be correct anyway. Two of the paths lead to the same SD card.

This is for cm10.1

Sent from my LG-P990 using Temasek's CM10.1 ROM
[LG Optimus 2x] paul_cad44:
How did u fix cm10.1 WiFi? I've just installed pengus kernel and that kills WiFi fr cm10.1 everything else is working though. Is there a change to the wifi module I can push or is it built in the kernel?
[LG Optimus 2x] pidocchio:
He heavily modified several wifi driver code, I don't know where the issue could be in pengus's kernel :(
[LG Optimus 2x] paul_cad44:
Thanks , I was hoping it'll be an easy push of the module but no go. Just tried it.
[LG Optimus 2x] Ciocas25x:
Here camera dont work :(
[LG Optimus 2x] calav3ra_de:
I fixed this by flashing the NonOC kernel, then OC kernel again. For now i won't touch voltages again :D

Antutu scores:

6500 with stock kernel from JellyBAM

7900 with your OC kernel

Thank you very much!! :)
[LG Optimus 2x] pidocchio:
I just realized that CM10.1 doesn't like ramhack at all, especially the camera.

Next test build will be splitted in ramhack and nonramahck versions, as well as OC and nonOC as I've to figure out how to properly fix this voltage problem.
[LG Optimus 2x] mrgian:
is it possible to integrate vodoo support in your kernel?
[LG Optimus 2x] 60nine:
i think that the panorama option should be removed from cm10.1...

apart from that, i'm using your latest test kernel on temasek's v3 rom and don't see any additional problems that already haven't been reported for cm10.1 globally (brightness, battery drain...)
[LG Optimus 2x] DarkFantasy6:
Everything works like a charm, but only camer is fu**ed :D
[LG Optimus 2x] derEremit:
For me a ramhack was the only chance to ever use panorama. I'm generally very low on available RAM.
[LG Optimus 2x] pidocchio:
New build:

15/01/2013

Again: Increased generic hotplug efficiency

Introduced ramhack script

Added several files to kernel zip, those are needed for the ramhack script

I've only released 2 versions, OC and nonOC, why?

Because ramhack is now changeable via "rh" script. (based on vadonka's vork, modified and ported by me. details on 1st post)

Enjoy! :D

ps: I'm trying to fix OC issues for people who have them. For now, if you are one of those, please use the nonOC version.
[LG Optimus 2x] KingMGT:
When I create one kernel for SU660, I get the following error:

Pidocchio, how to fix?
[LG Optimus 2x] mrgian:
Hello. Gonna ask again, is it possible to integrate vodoo sound in your kernel? Tnx! :)
[LG Optimus 2x] pidocchio:
You pulled from my repo just when I was editing those files.

I also had that error, and I fixed it. If you now pull from my repo again you'll be fine. :D

As far as I know that's not currently possible.

Supercurio has yet to announce how, when and if he will resume his o2x project.
[LG Optimus 2x] KingMGT:
Ok. I understand, thank you so much :). I will wait for your patch.

I hope you will support kernel for SU660, SU660 community in Vietnam will thank you so much :laugh:
[LG Optimus 2x] gerniracing:
this latest update is supported for CM10.1?

In the previous version there was a test for CM10.1, now do not see it and the new file is called only CM10
[LG Optimus 2x] orrebo:
I am using it right now on temasek's cm10.1 rom. It's working fine for me.

Sent from my LG-P990 using Temasek's CM10.1 ROM
[LG Optimus 2x] calav3ra_de:
Trying latest OC kernel right now. Installed fine and booted succesfully, like last one :)
[LG Optimus 2x] derEremit:
on cm10.1 (latest)

When i intall that kernel apps can't access the sdcard1 (external)

got all music on sdcard1

apollo can't play them

i can browse sdcard1 and see all of them but when i try to open anything nothing happens.

reinstall cm10.1 and everything back to normal.

i alway "fix permissions" in cwm after every rom or kernel .zip
[LG Optimus 2x] DarkFantasy6:
After changing to 1,2 ghz freezing screen every minute!
[LG Optimus 2x] calav3ra_de:
Might be your CPU!?
[LG Optimus 2x] pidocchio:
I can't figure out how this kernel could cause a similar problem :confused:.

Try with new kernel build and let me know if the issue persists :).

____________________________________________________________________

New build 16/01/2013

Added 1100Mhz cpu step on OC version

Again: Increased generic hotplug efficiency

Various patches to interactive governor

Patches from Google

More balanced (check it out with CPUSpy)

Marry governor boostpulse with hotplug boostpulse (when you touch the screen 2nd core comes up and freq ramps up to 1000Mhz)

Fixed voltages on OC version (hopefully last one)

Additionally, wrote a little Q&A's section in 1st post.

I need feedbacks on this latest version from people who were previously having issues with OC version:D
[LG Optimus 2x] DarkFantasy6:
Soft reboot everytime every second with 16.01.2013 :/

Oc version :P
[LG Optimus 2x] Ciocas25x:
Can i use the last kernel in cm10.1? Because i tried and System fc :( and it take a while to lock/unlock the screen!
[LG Optimus 2x] pidocchio:
Please try the nonOC version and report if you encounter the same issue.

Yes, this kernel is fully compatible with CM10 and CM10.1.

Again, if you're using the OC version, please try the nonOC one and report

I need logs since everything works fine on my device with both CM10 and CM10.1. (how to log in 1st post)

I also suggest you to do a clean install if you have problems, I don't want that some leftovers can be the source of misjudgments.
[LG Optimus 2x] derEremit:
about my sdcard mount problem.

still have it with kernel 0116

some info

your kernel

ls -la /storage
d---rwxr-x system sdcard_rw 1970-01-01 01:00 sdcard
lrwxrwxrwx root root 2013-01-17 15:39 sdcard0 -> /storage/sdcard
d--------- system system 2013-01-17 15:39 sdcard1

official cm10.1

ls -la /storage/
d---rwxr-x system sdcard_rw 1970-01-01 01:00 sdcard
lrwxrwxrwx root root 2013-01-17 15:59 sdcard0 -> /storage/sdcard
d---rwxr-x system sdcard_rw 1970-01-01 01:00 sdcard1

would post kern.log but also have following problem on either kernel

shell@android:/storage $ su
Permission denied

---------- Post added at 05:02 PM ---------- Previous post was at 04:31 PM ----------

got that su problem figured out.

could provide you with more info if needed
[LG Optimus 2x] Ciocas25x:
Tried the non oc version and is working fine :) i will post a logcat when i have some free time!
[LG Optimus 2x] ppino:
Re: [KERNEL][CM10/CM10.1/MIUIv4][GB BL]Pidozz kernel kang (16/01/2013)

Same here, but no every second...can play almost a minute or two before the phone reboots.

Oc version but without overclock.

Return to 15.01.13 and the problem is gone.
[LG Optimus 2x] pidocchio:
This is the incriminated line

d--------- system system 2013-01-17 15:39 sdcard1

The problem is that I don't know why you have that mount point without read/write permissions, I mean, this kernel doesn't touch anything regarding mount points.

My device just says:

d---rwxr-x system sdcard_rw 1970-01-01 01:00 sdcard1

and it is correct.

Can you try doing a proper clean install (full wipe data and system) and check if it persists?

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

New build 17/01/2013

Added 456Mhz and 608Mhz freq tables (more power states)

Added EPP overclock

Boosted readahead to 256kb

Fixed 1100Mhz step (before it was 1066Mhz with weird oscillations)

Fixed voltages on OC version (there was a mismatch between dvfs and regulator, even in stock this is present) (Maybe fixed OC issues!? :fingers-crossed:)

If you still have issues with OC version PM me
[LG Optimus 2x] luupocok:
Re: [KERNEL][CM10/CM10.1/MIUIv4][GB BL]Pidozz kernel kang (17/01/2013)

maybe an auto-update somehow? ;)
[LG Optimus 2x] bujcri:
Great effort! But there is no radio app in this rom, is it?
[LG Optimus 2x] swifer_lf:
this is not a rom thread lol this is a kernel thread :o
[LG Optimus 2x] calav3ra_de:
lulz, this is a kernel ;) trying 1701 now :)

pidocchio, what is EPP overclocking?

also, tried ramhack script after first boot. have chosen size 4(40mb), then got some messages. last one was: zImage and ramdisk size probably mismatch, Program will exit now. what does this mean? Did it work, did it not work? Does i have to reboot now?

Edit: i think it did not work at all... What now?

also, what is "Boosted readahead to 256kb". is it sdcard readahead? what was it before? 128kb?

Problems: With 1601 and 1701 release i have problems. It works fine for quite a few minutes, then randomly it starts to log on again at the system where you have to unlock the simcard at the first lockscreen.

It sometimes starts to do this and then does it ten times after another. System becomes also very slow.

When it stop doing it, LED light is dimmed to half brightness and every hardbutton press is taking 2-3secs to recognize. UI is also same slow.

is EPP overclocking belonging to RAM? maybe my system doesnt like it...
[LG Optimus 2x] pidocchio:
EPP stands for (video)EncoderPreProcessor, it converts pixel formats for various operations.

The ramhack problem is weird, that echo goes on when ramdisk size is lower than 180KB and zImage size is lower than 1.8MB.

Clearly there is a problem with the unpacked boot.img files.

Open up terminal emulator or connect your device to pc and open adb shell, type:

su
dd if=/dev/block/mmcblk0p5 of=/cache/boot.img
unpackbootimg -i /cache/boot.img -o /cache -p 0x800
ls -la /cache | grep boot.img-ramdisk.gz | awk 'BEGIN {-F " "} {print $4}'
ls -la /cache | grep boot.img-zImage | awk 'BEGIN {-F " "} {print $4}'

Post the entire output here please.

You found yourself what readahead means :good:

Check out the new build, I've removed avp, vde, gpu and epp support.

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

New build 18/01/2013

Enabled "Westwood" congestion avoidance algorithm

Introduced Proportional Rate Reduction for TCP

1100Mhz now at 1075mV

Enabled SHA256 and SHA512

Removed AVP, VDE, GPU and EPP overclock (caused instabilities and not really improved performance)

If you had problems on previously OC versions please try this one, this should fix the majority of BSODs and softreboots.

Added "min voltages" in 1st post, you can try lowering mV between the default and the minimum value for increased battery life.

Obviously not every phone will be stable with the same mV amount, you have to find the lowest your device can handle.
[LG Optimus 2x] DcR-Nl:
Tried CM10_kernel_20130118_pidocchio.zip on my P990 with CM10.1 20130114 (GB BL). It's a couple of days old clean install (full /system format etc.). After a couple of minutes my screen is stuck and turns black. Found some looping errors related to the audo mixer.

01-19 01:22:16.644 W/AudioSystem( 3681): AudioPolicyService server died!
01-19 01:22:16.644 I/ServiceManager( 91): service 'media.audio_flinger' died
01-19 01:22:16.644 I/ServiceManager( 91): service 'media.player' died
01-19 01:22:16.644 I/ServiceManager( 91): service 'media.camera' died
01-19 01:22:16.644 I/ServiceManager( 91): service 'media.audio_policy' died
01-19 01:22:16.644 I/ServiceManager( 3681): Waiting for service media.audio_policy...
01-19 01:22:19.854 W/AudioFlinger( 6141): findSuitableHwDev_l() loading well know audio hw modules
01-19 01:22:19.864 W/NvAudioNvAudioALSAMixer( 6141): Unable to attach mixer to device default: No such file or directory
01-19 01:22:19.864 V/NvAudioALSADevice( 6141): ALSALib Error: external/alsa-lib/src/control/control.c:902:(snd_ctl_open_noupdate) Invalid CTL default1
01-19 01:22:19.864 W/NvAudioNvAudioALSAMixer( 6141): Unable to attach mixer to device default1: No such file or directory
01-19 01:22:19.864 V/NvAudioALSADevice( 6141): ALSALib Error: external/alsa-lib/src/control/control.c:902:(snd_ctl_open_noupdate) Invalid CTL default_max98095
01-19 01:22:19.864 W/NvAudioNvAudioALSAMixer( 6141): Unable to attach mixer to device default_max98095: No such file or directory
01-19 01:22:19.864 V/NvAudioALSADevice( 6141): ALSALib Error: external/alsa-lib/src/control/control.c:902:(snd_ctl_open_noupdate) Invalid CTL default_aic326x
01-19 01:22:19.864 W/NvAudioNvAudioALSAMixer( 6141): Unable to attach mixer to device default_aic326x: No such file or directory
01-19 01:22:19.864 I/AudioFlinger( 6141): loadHwModule() init check error -19 for module primary
01-19 01:22:19.864 I/audio_a2dp_hw( 6141): adev_open: adev_open in A2dp_hw module
01-19 01:22:19.864 I/AudioFlinger( 6141): loadHwModule() Loaded a2dp audio interface from A2DP Audio HW HAL (audio) handle 1
01-19 01:22:19.864 E/AudioFlinger( 6141): int android::load_audio_interface(char const*, audio_hw_device_t**) couldn't load audio hw module audio.usb (No such file or directory)
01-19 01:22:19.864 I/AudioFlinger( 6141): loadHwModule() error -2 loading module usb
01-19 01:22:19.864 E/AudioPolicyManagerBase( 6141): Failed to initialize hardware output stream, samplingRate: 0, format 0, channels 0

For the full log take a look at my attachment. Did I do something wrong or is this a bug?

//edit: Removed log, not needed anymore, I guess..
[LG Optimus 2x] pidocchio:
Thank you very much for this log!

I saw this alsa audio lib problem with versions < 20130118, it shouldn't appear in the last version because it was due avp overclock.

Try reflashing the latest kernel version, if the problems persists PM me asap :)
[LG Optimus 2x] calav3ra_de:
Thank you very much pidocchio!

I download and try latest kernel now.

Here is first ouput from adb for bootimg/ramhack script:

C:\Users\development3>adb -d shell

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

shell@android:/ $ su

su

shell@android:/ # su

dd if=/dev/block/mmcblk0p5 of=/cache/boot.img

unpackbootimg -i /cache/boot.img -o /cache -p 0x800

ls -la /cache | grep boot.img-ramdisk.gz | awk 'BEGIN {-F " "} {print $4}'

sls -la /cache | grep boot.img-zImage | awk 'BEGIN {-F " "} {print $4}'u

dd if=/dev/block/mmcblk0p5 of=/cache/boot.img

unpackbootimg -i /cache/boot.img -o /cache -p 0x800

ls -la /cache | grep boot.img-ramdisk.gz | awk 'BEGIN {-F " "} {print $4}'

shell@android:/ # dd if=/dev/block/mmcblk0p5 of=/cache/boot.img

16384+0 records in

16384+0 records out

8388608 bytes transferred in 2.502 secs (3352760 bytes/sec)

shell@android:/ # unpackbootimg -i /cache/boot.img -o /cache -p 0x800

BOARD_KERNEL_CMDLINE

BOARD_KERNEL_BASE 10000000

BOARD_PAGE_SIZE 00000800

ramdisk.gz | awk 'BEGIN {-F " "} {print $4}' <

171067

shell@android:/ #

PS: ramhack script not working on 1801 release, same error for all sizes.

PPS: Logcat shows many errors like this:

E/Trace ( 430): error opening trace file: No such file or directory (2)

Also, there is NVALSA and AudioPolicyManager logging errors but from the content it

looks more like an informational message.

Is it rom or kernel related?

Can this be removed somehow?

Also there is PowerHAL logging two errors:

Error writing to boostpulse: no such device

Error opening boostpulse: try again.

Just wondering.
[LG Optimus 2x] proyatzu:
After flashed the last one kernel of the 18/01/2013 the phone is costantly rebooting at the min stress ( open an app )
[LG Optimus 2x] pidocchio:
You have a PM :D

I presume on OC version?

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

New build 19/01/2013

Increased hotplug efficiency

Upgrade Interactive governor to latest Google's 3.4

Bump max_cpulock_freq to 1.2Ghz for AP20
[LG Optimus 2x] proyatzu:
R: [KERNEL][CM10/CM10.1/MIUIv4][GB BL]Pidozz kernel kang (19/01/2013)

Yes the oc one. I solved flashing again the 10/01/2013 kernel but i want to update it so solve please!! :D
[LG Optimus 2x] pidocchio:
I've investigated on the ALSA lib problems, related to the "media server has died" problem.

I couldn't find an answer as it seems to be a very random issue.

The only solution I've found is to reflash the kernel. :D

Do you have problems even with the latest nonOC version?
[LG Optimus 2x] proyatzu:
R: [KERNEL][CM10/CM10.1/MIUIv4][GB BL]Pidozz kernel kang (19/01/2013)

Didnt tried but anyway i tried decrasing from 1200 to 1000 and nophing changed. I reflashed/redownloaded it 2 times but same problem. Now im running the 10/01/2013 version and no problems
[LG Optimus 2x] pidocchio:
OC version with max freq=1Ghz is not the same as nonOC version.

Please try the non OCed one :)
[LG Optimus 2x] proyatzu:
R: [KERNEL][CM10/CM10.1/MIUIv4][GB BL]Pidozz kernel kang (19/01/2013)

Okay but i want the oc ^_^ ill try nonoc just to let u know
[LG Optimus 2x] ron_gangte:
Re: [KERNEL][CM10/CM10.1/MIUIv4][GB BL]Pidozz kernel kang (19/01/2013)

I am on the latest Non-OC kernel. When I try to change the ramhack size using the commands "su" followed by "rh", and choose a size, I get an error saying "zimage and ramdisk size probably mismatch".

What do I do? :|

Thank you!
[LG Optimus 2x] pidocchio:
Next build will fix this issue ;)
[LG Optimus 2x] pidocchio:
New build 20/01/2013

Toolchain: switched to linaro 4.5.4

Added latest ROW I/O scheduler

ROW as default iosched

Increased interactive governor sample time (less strain on battery)

zRam as a module

Added Snappy zRam compression/decompression

Added init.d script (/system/etc/init.d/95pidozz)

Removed 456Mhz and 608Mhz freq tables (not really needed)

Fixed ramhack script for those who have a ramdisk size smaller than 180kb

Fixed userspace undervolt (now it works correctly)
[LG Optimus 2x] mrgian:
Re: [KERNEL][CM10/CM10.1/MIUIv4][GB BL]Pidozz kernel kang (20/01/2013)

No more OC version?
[LG Optimus 2x] calav3ra_de:
Just look in the webhost, there is OC version ;)
[LG Optimus 2x] mrgian:
Re: [KERNEL][CM10/CM10.1/MIUIv4][GB BL]Pidozz kernel kang (20/01/2013)

Just flashed the latest version. Im wondering what's the purpose of mV?
[LG Optimus 2x] proyatzu:
R: [KERNEL][CM10/CM10.1/MIUIv4][GB BL]Pidozz kernel kang (20/01/2013)

Do u think u have fixed my reboot problem? ( just asking before flash )

---------- Post added at 04:59 PM ---------- Previous post was at 04:56 PM ----------

Oh and i have not that problem on nooc but i repeat: i need to oc :)
[LG Optimus 2x] luupocok:
Re: [KERNEL][CM10/CM10.1/MIUIv4][GB BL]Pidozz kernel kang (20/01/2013)

Logcat:

http://db.tt/3Jq31XhR