[LG Optimus 2x] tonyp:
CM10.2 for the LG Optimus 2x

If you appreciate my work on the LG Optimus 2x you can support me by donating!

I am doing this for free in my leisure time because I like working on Android stuff and helping others out.

You're not required to donate, but I highly appreciate a couple free beers or pizzas as a gratidue for my work.

To quote one of the most famous xda developers:

I am nowhere near his usercount, but just imagine if every happy (and only those) user of one of my ROMs has donated 5€+.

​

After some sleepless nights I am happy to present CM10.2 for the LG P990 :highfive:

The first post contains information for developers, the second one a download and changelog of my personal testbuilds.

My time is rather limited these days. I will maintain the p990 device tree for others to use and post my development test builds.

But I do not plan to support a clean CM10.2 build, as soon as I upgrade to my own fork of CM someone else will have to take over!

Core changelog:

2131109:
- buildflag optimizations (-Os for arm modules, slightly increases RAM)
- codebase updated to the CM-10.2-M1 snapshot (Android 4.3.1)

20130930:
- fixed camera getting stuck after taking a picture
(this isn't about camera FCs - try the norh kernel for them!)

20130930:
- fixed notifications causing media playback interruption

20130829:
- Hack: Disable Wifi suspend options by default
(this is a bcmdhd option not compatible to our bcm4329 drivers)
- Additional custom hardwarekeys button actions
- Add gesture based lockscreen security

20130824.2:
- option to use the external SD as primary
- using the T2 camera wrapper (which improves ISO, contrast and saturation)

20130824:
- removed all selinux/auditd etc. modules
- enabled timer coalescence/slack kernel functions by default
- fixed CPU speed options at the performance menu (tegra2 incompatibilities)

20130821:
- dalvik/vm: Dalvik startup with a low memory footprint (gives more free ram)
- built from the new consolidated device tree at [url=https://github.com/p990-dev/android_device_lge_p990/commits/cm-10.2]https://github.com/p990-dev/[/url]

20130820:
- Camera fixed
- hardware OMX fix (mp4 videos in the stock player etc.)
- Google TTS non-neon incompatibility fixed

20130812:
- SoftAP (wifi hotspot) fixed (see details below)

20130809:
- initial CM10.2 build
- device tree updated for Android 4.3 including:
fstab updates, RIL updates, CM10.2 source build incompatibilities fixed etc

Information for developers:

I have created a clean and consolidated device tree for cm-10.2 at p990-dev:

https://github.com/p990-dev/android_device_lge_p990/commits/cm-10.2

We do not need the split into p990 and star-common anymore (that has been done initially to support the p999), thus I decided to combine them.

I git merged them together to retain the 2.5 year old commit history (I really hate those "initial commit bringups, which destroy them completely).

It is only for the new bootloader, as we got a converter to support both.

But if someone wants to maintain a dedicated oldbl branch just send me a PM and I'll give you push access.

In order to build CM10.2 for the p990 we need to track frameworks/av to fix compiling and for the OMX stuff which fixes the camera.

I've set up a build manifest which you can use: https://github.com/p990-dev/android

If you want to fix the SoftAP (wifi hotspot) you need to track my modified system/netd package and apply the patch attached to this post to frameworks/base.

The fix isn't included by default because I'd have to maintain the frameworks/base package - and it would require almost daily updates or it gets out of sync with other packages relying on it causing the build to fail.
​

Compile your own CM10.2 ROM

For those of you who want to build your own ROM (which I can highly recommend) I've copied the excellent build setup instructions by [MENTION=4732829]Raum1807[/MENTION] here, they should still work for CM10.2: