Post Reply

[Q] building cm11

OP shaqfu786

13th July 2014, 04:58 PM   |  #1  
shaqfu786's Avatar
OP Senior Member
Flag Port Elizabeth
Thanks Meter: 35
 
113 posts
Join Date:Joined: Sep 2012
More
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)
15th July 2014, 01:41 PM   |  #2  
Senior Member
Flag muc
Thanks Meter: 509
 
270 posts
Join Date:Joined: Feb 2013
More
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
Last edited by troopii; 15th July 2014 at 01:48 PM.
The Following User Says Thank You to troopii For This Useful Post: [ View ]
15th July 2014, 01:48 PM   |  #3  
shaqfu786's Avatar
OP Senior Member
Flag Port Elizabeth
Thanks Meter: 35
 
113 posts
Join Date:Joined: Sep 2012
More
I will try this when I get home from work,
Thanks

Sent from my LG-P920 using XDA Free mobile app
15th July 2014, 03:50 PM   |  #4  
shaqfu786's Avatar
OP Senior Member
Flag Port Elizabeth
Thanks Meter: 35
 
113 posts
Join Date:Joined: Sep 2012
More
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: [ View ]
15th July 2014, 04:35 PM   |  #5  
Senior Member
Flag muc
Thanks Meter: 509
 
270 posts
Join Date:Joined: Feb 2013
More
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: [ View ]
15th July 2014, 06:05 PM   |  #6  
shaqfu786's Avatar
OP Senior Member
Flag Port Elizabeth
Thanks Meter: 35
 
113 posts
Join Date:Joined: Sep 2012
More
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
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes