[LG Optimus 2x] tonyp:
​

CM11 for the LG Optimus 2x (P990)

This is the final CM11 built for our beloved LG 2x.

I'm providing two builds, a bcmdhd and a bcm4329 one. The former works with the 3.1 kowalski or Firtecy alpha kernel, the latter with the 2.6.39 M1 kk (by the legendary [MENTION=3783116]pengus77[/MENTION]).

This ROM received a final update at the 3rd of July 2015 which is based on the final CM11 snapshot XNG3C

The purpose of this ROM was to provide a kitkat reference ROM close to CM11 and there are currently no plans for any additional builts.

Myself and others managed to track down various bugs in the past. I spent tons of hours on hunting bugs and can't keep this up anymore, so please do not expect any of the current bugs (HDMI, BT calls etc.) to be fixed unless someone else decides to work on it.

All of my work is completely open-sourced at Github to encourage others to continue working with the sources or use them as a reference.

You can find ready-to-build manifests here: https://github.com/p990-dev/android_manifest.
​

As Cyanogenmod dropped our device quite some time ago (the last thing we had was an extremely unstable CM10.1 build) I had to add various tweaks, customizations and hacks over the year to ensure compatibility with our old (ICS) binaries and maximum performance within our low ram environment.

My modifications to stock CM11:

Implemented an automatic time fix for the new P990 and SU660 Basebands

Implemented an option to "Enforce statusbar transparency" at Settings - Performance (afaik this is a unique feature for this ROM!)

Various device specific fixes (wifi tethering, GPS, seach key, automatic brightness, bluetooth etc.)

Implemented additional hardwarekeys options

Screen off

Open power menu

Toggle last app

Toggle torch

Take screenshot

ROM adjusted for two different kernel builds:

3.1 kernel version which includes the kernel by [MENTION=5124291]Firtecy[/MENTION] (based on the 3.1 kernel by [MENTION=3783116]pengus77[/MENTION]) with dcmdhd wifi drivers

legacy 2.6 ("m1") kernel version by the great [MENTION=3783116]pengus77[/MENTION] with bmc4329 wifi drivers

Comes with my selfcreated non-neon mini gapps package

SELinux disabled

Included BarcodeScanner and feav's signedCameraApp3_ nosound _CM101 camera

Vibration strength lowered

And of course last but not least the fixes for tegra2 (non-neon) compatibility thanks to the great [MENTION=5600347]hjunii[/MENTION]

As the P990 is quite outdated by now hardware-wise we need to tweak the build to gain a satisfactory performance, especially for our extremely low amount of free RAM.

Over the time I introduced various improvements to the ROM, most notably:

Performance improvements:

ARM modules compiled with Os (gives us a bit more free RAM)

Adjusted dalvik properties for low RAM environments

OOM (out-of-memory) and LMK (low memory killer) optimizations

Memory ADJs optimized

KSM (m1 kernel) / PKSM (3.1 kernel) tweaked and enabled by default

ROM compiled with GCC4.8

ZRAM increased

/data and /cache mountoptions optimizations

TARGET_ARCH_LOWMEM flag

Dalvik bytecode verification turned off

JIT disabled

Please note that all the information in post 3 is outdated by now, it contains some former changelogs but doesn't contain information for the final builds.

As always, donations to me are never expected or required but always appreciated.​