Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,805,022 Members 52,909 Now Online
XDA Developers Android and Mobile Development Forum

[Q] building cm11

Tip us?
 
shaqfu786
Old
#1  
shaqfu786's Avatar
Senior Member - OP
Thanks Meter 35
Posts: 110
Join Date: Sep 2012
Location: Port Elizabeth
Default [Q] building cm11

so ive tried to build cm11,downloaded source, got vendor,device tree and kernel sources.
put proprietary files in vendor folder of source,
put device tree in device folder of source,
but i dont know where the kernel source goes.
when i build, i get errors.see attached file.
any help would be appreciated.
Attached Files
File Type: zip android build.zip - [Click for QR Code] (920 Bytes, 11 views)
 
troopii
Old
(Last edited by troopii; 15th July 2014 at 01:48 PM.)
#2  
Senior Member
Thanks Meter 501
Posts: 255
Join Date: Feb 2013
Location: muc
you are missing the kernel source or its in the wrong place
/home/shaqfu/cyanogen/kernel/lge/omap4-common this is the path for the the kernel source

so if your omap4-common folder contains lge-kernel-omap4.
rename the lge-kernel-omap4 to omap4-common and copy it into kernel/lge/ and replace the omap4-common folder

or edit the path to the kernel in the boardconfig TARGET_KERNEL_SOURCE := kernel/lge/omap4-common
The Following User Says Thank You to troopii For This Useful Post: [ Click to Expand ]
 
shaqfu786
Old
#3  
shaqfu786's Avatar
Senior Member - OP
Thanks Meter 35
Posts: 110
Join Date: Sep 2012
Location: Port Elizabeth
I will try this when I get home from work,
Thanks

Sent from my LG-P920 using XDA Free mobile app
 
shaqfu786
Old
#4  
shaqfu786's Avatar
Senior Member - OP
Thanks Meter 35
Posts: 110
Join Date: Sep 2012
Location: Port Elizabeth
Thanks @troopii,
I got it building,problem was with folder names,my kernel was named kernel/lge/p920. I changed it to kernel/lge/omap4-common, like you said and that seemed to do the trick.
Thanks again for your help:thumbup:

Sent from my LG-P920 using XDA Free mobile app
The Following User Says Thank You to shaqfu786 For This Useful Post: [ Click to Expand ]
 
troopii
Old
#5  
Senior Member
Thanks Meter 501
Posts: 255
Join Date: Feb 2013
Location: muc
no problem

cherrypick also this https://github.com/NamelessRom/andro...b035da139ebc25

or you will get metadata problem while flashing
The Following User Says Thank You to troopii For This Useful Post: [ Click to Expand ]
 
shaqfu786
Old
#6  
shaqfu786's Avatar
Senior Member - OP
Thanks Meter 35
Posts: 110
Join Date: Sep 2012
Location: Port Elizabeth
Lol, like said this is a learning experience. It will be my first build. But I am eager to learn and I will learn how to cherry-pick and add it in.:thumbup:

Sent from my GT-i8190 using XDA Free mobile app
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes