Thanks! I wasn't aware of those caf-new repos.
The device LG Fx0, which is based on the X5, but crossbred with the LG AKA -- is shares its 16GB storage, 1.5GB ram, 720p JDI Incell. I've got it mostly brought up, but there is specifically two problems that I have not been able to overcome:
The kernel requires a pronto_wlan module. In the stock firmware it is built from '/vendor/qcom/opensource/wlan/prima'. I've been through a number of branches for the same version it uses, even one that is supposedly the exact branch that they used, but no go, if I use a custom kernel no boots. I've also tried building the wlan module into the kernel by bringing the prima in-tree, 'drivers/staging/prima'. No go. So I'm stuck using the stock kernel with custom ramdisk.
Okay, that's not a huge big deal, I can live with that.
The bigger problem is that there is an audio_policy issue that prevents boot:
ServiceManager: Waiting for service media.audio_policy...
AudioSystem: AudioPolicyService not published, waiting...
I have spent months trying to overcome this and cannot make much headway. I think the problem may lie in the av frameworks, but I've tried every branch, every variation possible. The original audio seems to be Legacy, but CM legacy doesn't produce the libs that are too close to it. Definitely proprietary mofo running afoul.
If I dump a ton of binaries and libaries I can get boots, but its hacky and buggy.
My repos are at github.com/culots:
device_lge_madai @ cm-11.0 branch
kernel_lge_madai @ cm-11.0 branch
vendor_lge_madai @ cm-11.0 branch
Madai is the codename for this device. Also note the the kernel code is very close to the X5 (and to the G2M and AKA). The original Japanese firmware even includes a bootanimation for the X5, showing that that is where they started from.
BTW: LG Fx0 are still going for $60 on Amazon US if anyone wants a cool fully-unlocked, bootloader-unlocked device to tinker with.
Hell, if you want to invest some serious dev work into this beast, I'd be willing to help finance your own copy of the device. I appear to be the only person working on it, and I feel terrible that I've let the users down on this.
That audio_policy issues prevents not only CM builds, but also FxOS builds. And the stock firmware is old and moldy, with no chance of an update from LG or KDDI or Mozilla.