[Huawei Ideos X5 U8800] faekplastik3s:
Can anyone help me? I never worked with git or really anything related to Android development, but I am trying to get into it. I followed this guide, but unfortunately I couldn't really make it work correctly, I always run into issues at compile time. I assume I am doing something wrong at checkout or something really simple, so maybe you guys can lend me a hand?

My issue is this: whenever I try to do

abootimg -u boot.img -k arch/arm/boot/zImage

I get

reading kernel from arch/arm/boot/zImage
boot.img: updated is too big for the Boot Image (4083712 vs 3100672 bytes)

Also, I wanted to checkout and compile the v5 version of dzo's kernel, and it seems like the "master" branch refers to the previous version based on the commit date, and that "newkernel" contains the source for the v5 kernel. However, when I try to build it, after doing

git checkout newkernel

It fails to compile:

CC drivers/video/msm/vidc/common/vcd/vcd_api.o
drivers/video/msm/vidc/common/vcd/vcd_api.c:14:23: error: vidc_type.h: No such file or directory
In file included from drivers/video/msm/vidc/common/vcd/vcd_api.c:15:
drivers/video/msm/vidc/common/vcd/vcd.h:16:21: error: vcd_api.h: No such file or directory
In file included from drivers/video/msm/vidc/720p/ddl/vcd_ddl_api.h:15,
from drivers/video/msm/vidc/common/vcd/vcd.h:17,
from drivers/video/msm/vidc/common/vcd/vcd_api.c:15:
drivers/video/msm/vidc/720p/ddl/vcd_ddl_internal_property.h:45: error: expected specifier-qualifier-list before 'u32'
drivers/video/msm/vidc/720p/ddl/vcd_ddl_internal_property.h:50: error: expected specifier-qualifier-list before 'u32'
drivers/video/msm/vidc/720p/ddl/vcd_ddl_internal_property.h:54: error: expected specifier-qualifier-list before 'u32'
drivers/video/msm/vidc/720p/ddl/vcd_ddl_internal_property.h:64: error: expected specifier-qualifier-list before 'u32'
drivers/video/msm/vidc/720p/ddl/vcd_ddl_internal_property.h:68: error: expected specifier-qualifier-list before 'u32'
In file included from drivers/video/msm/vidc/common/vcd/vcd.h:17,
from drivers/video/msm/vidc/common/vcd/vcd_api.c:15:
drivers/video/msm/vidc/720p/ddl/vcd_ddl_api.h:19: error: expected specifier-qualifier-list before 'u8'
drivers/video/msm/vidc/720p/ddl/vcd_ddl_api.h:26: error: field 'vcd_frm' has incomplete type
drivers/video/msm/vidc/720p/ddl/vcd_ddl_api.h:27: error: expected specifier-qualifier-list before 'u32'
drivers/video/msm/vidc/720p/ddl/vcd_ddl_api.h:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ddl_device_init'
drivers/video/msm/vidc/720p/ddl/vcd_ddl_api.h:33: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ddl_device_release'
drivers/video/msm/vidc/720p/ddl/vcd_ddl_api.h:34: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ddl_open'
drivers/video/msm/vidc/720p/ddl/vcd_ddl_api.h:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ddl_close'
drivers/video/msm/vidc/720p/ddl/vcd_ddl_api.h:36: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ddl_encode_start'
drivers/video/msm/vidc/720p/ddl/vcd_ddl_api.h:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ddl_encode_frame'
drivers/video/msm/vidc/720p/ddl/vcd_ddl_api.h:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ddl_encode_end'
drivers/video/msm/vidc/720p/ddl/vcd_ddl_api.h:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ddl_decode_start'
drivers/video/msm/vidc/720p/ddl/vcd_ddl_api.h:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ddl_decode_frame'
drivers/video/msm/vidc/720p/ddl/vcd_ddl_api.h:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ddl_decode_end'
drivers/video/msm/vidc/720p/ddl/vcd_ddl_api.h:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ddl_set_property'
drivers/video/msm/vidc/720p/ddl/vcd_ddl_api.h:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ddl_get_property'
drivers/video/msm/vidc/720p/ddl/vcd_ddl_api.h:51: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ddl_process_core_response'
drivers/video/msm/vidc/720p/ddl/vcd_ddl_api.h:52: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ddl_reset_hw'
In file included from drivers/video/msm/vidc/common/vcd/vcd_core.h:20,
from drivers/video/msm/vidc/720p/resource_tracker/vcd_res_tracker_api.h:16,
from drivers/video/msm/vidc/common/vcd/vcd.h:18,
from drivers/video/msm/vidc/common/vcd/vcd_api.c:15:
drivers/video/msm/vidc/common/vcd/vcd_util.h:18:5: warning: "DEBUG" is not defined
error, forbidden warning: vcd_util.h:18
make[4]: *** [drivers/video/msm/vidc/common/vcd/vcd_api.o] Error 1
make[4]: *** Waiting for unfinished jobs....
drivers/video/msm/vidc/common/init/vidc_init.c:34:21: error: vcd_api.h: No such file or directory
drivers/video/msm/vidc/common/init/vidc_init.c:36:23: error: vidc_init.h: No such file or directory
In file included from drivers/video/msm/vidc/common/vcd/vcd_core.h:18,
from drivers/video/msm/vidc/720p/resource_tracker/vcd_res_tracker_api.h:16,
from drivers/video/msm/vidc/common/init/vidc_init.c:37:
drivers/video/msm/vidc/720p/ddl/vcd_ddl_api.h:26: error: field 'vcd_frm' has incomplete type
drivers/video/msm/vidc/720p/ddl/vcd_ddl_api.h:42: warning: 'struct vcd_sequence_hdr' declared inside parameter list
error, forbidden warning: vcd_ddl_api.h:42
make[4]: *** [drivers/video/msm/vidc/common/init/vidc_init.o] Error 1
make[3]: *** [drivers/video/msm/vidc] Error 2
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [drivers/video/msm] Error 2
make[1]: *** [drivers/video] Error 2
make: *** [drivers] Error 2

So, what's the issue? Do I have to merge the branches together or something? Shouldn't newkernel compile fine by itself?

Also, if I hand-replace the missing files and references I can get it to compile, and have no issue generating a boot.img, but the kernel doesn't have working telephony, USB, etc.

So, can anyone help me out? Sorry for the noobishness.