[Q] Building ROM from downloaded Source

Search This thread

chuckie987

Member
Dec 4, 2013
14
0
Hey,

I have downloaded the source code for my device - Lenovo S6000-H from the lenovo website but after reading many guides cant figure out how to compile it as all the rest use git to get the source.
I also dont think I need to change any enviromental variables as its the source for my model.

Using ubuntu 12.04.3 with JDK 6u35 and have the latest Android JDK/NDK
I have downloaded and install all needed programs and set up all my paths in ~/.bashrc

There isnt a single make file I can use to compile the whole system or does it need to be done in individual parts?
Couldnt find a lunchrc file either so unsure on how to compile it to get a flashable rom..

Any help appreciated
 

lingfude

Senior Member
Jun 22, 2011
589
568
Aveiro
dmec-reviews.blogspot.pt
Hey,

I have downloaded the source code for my device - Lenovo S6000-H from the lenovo website but after reading many guides cant figure out how to compile it as all the rest use git to get the source.
I also dont think I need to change any enviromental variables as its the source for my model.

Using ubuntu 12.04.3 with JDK 6u35 and have the latest Android JDK/NDK
I have downloaded and install all needed programs and set up all my paths in ~/.bashrc

There isnt a single make file I can use to compile the whole system or does it need to be done in individual parts?
Couldnt find a lunchrc file either so unsure on how to compile it to get a flashable rom..

Any help appreciated

See if these threads helps:
[Tutorial] How to compile a kernel
[Q] Build Kernel MT6577 - Can't boot after build
 

chuckie987

Member
Dec 4, 2013
14
0
Thanks they did help but I dont think the source code they provided is complete as getting File not found errors,

In file included from mediatek/platform/mt6589/kernel/core/mt_spm_idle.c:19:0:
../mediatek/platform/mt6589/kernel/core/include/mach/env.h:3:30: fatal error: partition_define.h: No such file or directory

mediatek/platform/mt6589/kernel/core/camera_isp.c:40:31: fatal error: ../smi/smi_common.h: No such file or directory
#include "../smi/smi_common.h"
 

lingfude

Senior Member
Jun 22, 2011
589
568
Aveiro
dmec-reviews.blogspot.pt
Thanks they did help but I dont think the source code they provided is complete as getting File not found errors,

In file included from mediatek/platform/mt6589/kernel/core/mt_spm_idle.c:19:0:
../mediatek/platform/mt6589/kernel/core/include/mach/env.h:3:30: fatal error: partition_define.h: No such file or directory

mediatek/platform/mt6589/kernel/core/camera_isp.c:40:31: fatal error: ../smi/smi_common.h: No such file or directory
#include "../smi/smi_common.h"

You must try others sources.
I have the same problem as you. I'm able to compile various MT6577 sources but none works on my device.

Good luck and happy compiling. :fingers-crossed: