[LG Optimus L9 P760, P765, P768, P769] artit:
For all P760 cm 10.1.x based roms, replace /system/vendor/firmware/ducati-m3.bin with P768 ICS version make P768 camera work. Below is a flashable patches.

For P768 with NFC

http://d-h.st/Zdz

For P768 without NFC (remove all NFC related files)

http://d-h.st/T63

After flash this zip

1. you can change your phone model from p760 to p768 in /system/build.prop , I change following line

or if you can adb to your device please try following command (backup your build.prop first, I've tried on my phone without problem)

# mount -o rw,remount /system

# cd /system

# sed -e 's/p760/p768/g' build.prop > build.tmp

# sed -e 's/P760/P768/g' build.tmp > build.prop

# reboot

2. After change build.prop your sound may not working, please rename these file

3. If you flash mikegapinski's patch to fix headphone sound, you need to delete and rename step 2 files again because his patch include p760 version.

4. I've read in some thread that enable auto rotation increase touch sensitivity. So you can try to enable it.

I want to share how to make CM (with camera) work on P768. After take a look at how to build P760 CM 10.1 and I've successfully built one for P760. I found that we can replace some files to make camera and other modules work on P768. But I did try to replace camera firmware in the past but no success. Why?

Today, I find out that proprietary files in P760 CM is from ICS rom, because in my JB rom some files is missing. So I replaced P768 ICS proprietary files in P760 CM10.1 and flash it on my phone. After phone boot up my camera works!!! :highfive:

Below is list of files I replaced (in /system)

etc/cert/lge.cer

etc/firmware/fw_bcmdhd.bin

etc/firmware/fw_bcmdhd_apsta.bin

etc/firmware/fw_bcmdhd_p2p.bin

etc/firmware/fw_bcmdhd_mfgtest.bin

lib/libril.so

lib/hw/gps.omap4.so

lib/hw/sensors.omap4.so

lib/hw/camera.omap4.so

lib/libini.so

lib/lge-ril.so

lib/libhdcp.so

lib/liblgehdmi.so

vendor/firmware/ducati-m3.bin

vendor/lib/drm/libdrmwvmplugin.so

vendor/lib/libPVRScopeServices_SGX540_120.so

vendor/lib/liblvverx.so

vendor/lib/libIMGegl_SGX540_120.so

vendor/lib/libwvm.so

vendor/lib/libsrv_init_SGX540_120.so

vendor/lib/libpvrANDROID_WSEGL_SGX540_120.so

vendor/lib/libglslcompiler_SGX540_120.so

vendor/lib/hw/gralloc.omap4.so

vendor/lib/libpvr2d_SGX540_120.so

vendor/lib/liblvvetx.so

vendor/lib/libsmapi.so

vendor/lib/libsrv_um_SGX540_120.so

vendor/lib/libusc_SGX540_120.so

vendor/lib/libtf_crypto_sst.so

vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so

vendor/lib/egl/libEGL_POWERVR_SGX540_120.so

vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so

vendor/bin/pvrsrvinit_SGX540_120

vendor/bin/pvrsrvinit

bin/sensord

bin/glgps

bin/rild

## TEMPORARY - need to sync up to TI's DOMX

lib/libmm_osal.so

lib/libOMX_Core.so

lib/libion.so

lib/libtiutils.so

lib/libdomx.so

lib/libOMX.TI.DUCATI1.MISC.SAMPLE.so

lib/libOMX.TI.DUCATI1.VIDEO.CAMERA.so

lib/libOMX.TI.DUCATI1.VIDEO.DECODER.so

lib/libOMX.TI.DUCATI1.VIDEO.H264E.so

lib/libOMX.TI.DUCATI1.VIDEO.MPEG4E.so

lib/libOMX.TI.DUCATI1.VIDEO.DECODER.secure.so

For now I have problem with my Wifi and adb (I always have this problem when I flash CM10.1 for P760). May be some wifi config in CM is not compatible with my region setting. For adb, it not work on windows 7 but I can use adb in linux to connect to my phone, strange?

I also attach files from my Thailand V10E rom for those who want to test. Just replace these file in CM10.1 for P760 and flash it (Backup your phone before flash).