• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Now that we have bump...

for anyone else interested in building CM11, if you get an error in frameworks/av/media/libstagefright/****.cpp , open that cpp file and find the line
#ifdef ENABLE_AV_ENHANCEMENTS just below that should be include <QCMediaDefs.h>, now find the QCMediaDefs.h file (google or hardware_qcom_media_caf) copy that QCMediaDefs.h file and paste it into the frameworks/av/media/libstagefright/include/

now with that file ****.cpp that you have open, edit the line to read #include <include/QCMediaDefs.h>

Same goes for error with QCMetaData.h

May not be the correct way, but works for me as I am new to building roms
 
  • Like
Reactions: stkpxl
Upvote 0
for anyone else interested in building CM11, if you get an error in frameworks/av/media/libstagefright/****.cpp , open that cpp file and find the line
#ifdef ENABLE_AV_ENHANCEMENTS just below that should be include <QCMediaDefs.h>, now find the QCMediaDefs.h file (google or hardware_qcom_media_caf) copy that QCMediaDefs.h file and paste it into the frameworks/av/media/libstagefright/include/

now with that file ****.cpp that you have open, edit the line to read #include <include/QCMediaDefs.h>

Same goes for error with QCMetaData.h

May not be the correct way, but works for me as I am new to building roms

Looking forward to you uploading this once done. Can't wait to get this lg and other bloatware gone.

Will be really nice one we can get a carbon rom 4.4.4 or even a slim lollipop.
 
Upvote 0
I'd love to test it out, also and info on what is required to be able to build it as I'm interested in learning to do so.

Ive tried learning how to build our kernel from the lg source code buy have yet been able to successfully build it.

Use chevanlols source. Its got the fix for sound already in. I found its easier to build inline with a ROM, but you should be able to download the kernel source from lg and use their readme to build it too.
 
Upvote 0
Update
It seems that in the BoardConfig.mk, # QCOM BSP flags are giving me error with gralloc.h. But if I comment out those flags it builds without erroring out. Just wont boot(Security Error). Google is doing no good with this error. Any help appreciated.

Which kernel source are you using? I think your running into build errors especially with qcom bsp if your using stock zv4 kernel source since its not a caf kernel. I used quarx's msm8226 kernel source and got past a lot of things after making a defconfig for our board.

And the security error I'm pretty sure its because of the updater script and binary. Archikitchen based seems to work fine, anything else fails.
 
Upvote 0
thanks, was using the stock kernel source. that should fix it

Your probably gonna run into a lot of kernel source problems in quarx's source like I did, mainly with the lg board support files. Pm me if you need to and I can maybe help, I never quite got through them myself. I started trying to get a non caf cm11 build going with our zv4 kernel source, I just haven't had enough time to mess with things enough and ran into sound driver issues with that too.

Also do you have the caf and caf-new folders in your /hardware in the source tree? You'll need those. Check out the cm.dependencies file in the device folder for the x5 and make sure you have what it says you need in there, I'm on mobile at school right now so I can't tell you offhand what they were.

And most of all, good luck lol. We all need some luck right now.
 
  • Like
Reactions: stkpxl
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones