Hey all. There wont be any builds yet till i finish getting this building. I am not too good with AOSP builds but can fumble through fixing C code for stuff. I just wanted to share with the community as i feel its more fun that way :P
I am posting to have other developers / users / experienced compilers chime in and help getting a fully working build out there
and ofc you will need to follow directions for cloning into the ubuntu touch repo and placing the folders into the appropriate spots
right now github is being stupid and is capping my upload to 54kbs cuz ive done alot of pusing/pulling the past couple days
i just made the suggested edits from the ubuntu touch porting page to defconfig and to /fs/proc/array.c and the other .c file it wants edited
after placing the vendor / device / kernel folders in their respective locations
just brunch dlx
mka bacon
right now the status of the build:
03/20/2012 @ 12:01pm MST:
Code:
device/htc/msm8960-common/include/linux/ion.h:115:8: error: previous definition of 'struct ion_flag_data'
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_open(OMX_U32)':
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:205:28: warning: deprecated conversion from string constant to 'OMX_STRING {aka char*}' [-Wwrite-strings]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:209:19: warning: deprecated conversion from string constant to 'OMX_STRING {aka char*}' [-Wwrite-strings]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_get_seq_hdr(void*, unsigned int, unsigned int*)':
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:494:5: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'unsigned char*' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:494:5: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:494:5: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_set_param(void*, OMX_INDEXTYPE)':
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:629:13: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:629:13: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:985:10: warning: format '%d' expects argument of type 'int', but argument 4 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:959:3: warning: case value '2130706437' not in enumerated type 'OMX_INDEXTYPE' [-Wswitch]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:971:3: warning: case value '2130706463' not in enumerated type 'OMX_INDEXTYPE' [-Wswitch]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:991:3: warning: case value '2130706464' not in enumerated type 'OMX_INDEXTYPE' [-Wswitch]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_set_config(void*, OMX_INDEXTYPE)':
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1065:3: warning: case value '2130706439' not in enumerated type 'OMX_INDEXTYPE' [-Wswitch]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'OMX_U32 venc_dev::venc_allocate_recon_buffers()':
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1221:3: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1221:3: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'OMX_U32 venc_dev::pmem_allocate(OMX_U32, OMX_U32, OMX_U32)':
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1328:3: warning: format '%d' expects argument of type 'int', but argument 5 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1328:3: warning: format '%d' expects argument of type 'int', but argument 6 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1352:3: warning: format '%d' expects argument of type 'int', but argument 7 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'void venc_dev::venc_config_print()':
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1402:3: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1402:3: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1402:3: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1405:3: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1405:3: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1405:3: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1409:3: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1409:3: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1409:3: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1412:3: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1412:3: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1415:3: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1415:3: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1415:3: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1419:3: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1422:3: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1422:3: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1422:3: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1426:3: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1426:3: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_use_buf(void*, unsigned int, unsigned int)':
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1465:44: warning: missing initializer for member 'venc_bufferpayload::sz' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1465:44: warning: missing initializer for member 'venc_bufferpayload::fd' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1465:44: warning: missing initializer for member 'venc_bufferpayload::offset' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1465:44: warning: missing initializer for member 'venc_bufferpayload::maped_size' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1465:44: warning: missing initializer for member 'venc_bufferpayload::filled_len' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1466:57: warning: missing initializer for member 'venc_allocatorproperty::maxcount' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1466:57: warning: missing initializer for member 'venc_allocatorproperty::actualcount' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1466:57: warning: missing initializer for member 'venc_allocatorproperty::datasize' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1466:57: warning: missing initializer for member 'venc_allocatorproperty::suffixsize' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1466:57: warning: missing initializer for member 'venc_allocatorproperty::alignment' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1466:57: warning: missing initializer for member 'venc_allocatorproperty::bufpoolid' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_free_buf(void*, unsigned int)':
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1564:44: warning: missing initializer for member 'venc_bufferpayload::sz' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1564:44: warning: missing initializer for member 'venc_bufferpayload::fd' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1564:44: warning: missing initializer for member 'venc_bufferpayload::offset' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1564:44: warning: missing initializer for member 'venc_bufferpayload::maped_size' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1564:44: warning: missing initializer for member 'venc_bufferpayload::filled_len' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_set_slice_delivery_mode(OMX_BOOL)':
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1765:5: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_set_inband_video_header(OMX_BOOL)':
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1775:26: error: 'VEN_IOCTL_SET_SPS_PPS_FOR_IDR' was not declared in this scope
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_set_extradata(OMX_U32)':
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1786:3: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_set_profile_level(OMX_U32, OMX_U32)':
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:2036:7: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_set_intra_period(OMX_U32, OMX_U32)':
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:2129:3: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:2129:3: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_set_entropy_config(OMX_BOOL, OMX_U32)':
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:2160:9: warning: format '%d' expects argument of type 'int', but argument 4 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_set_intra_refresh(OMX_VIDEO_INTRAREFRESHTYPE, OMX_U32)':
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:2245:5: warning: format '%d' expects argument of type 'int', but argument 4 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_validate_profile_level(OMX_U32*, OMX_U32*)':
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:2858:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:2860:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:2862:61: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_max_allowed_bitrate_check(OMX_U32)':
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:2910:9: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:2931:9: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:2943:9: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:2953:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
make: *** [/media/70ce51f9-9d03-4113-a8a2-b61d7593749e/home/zarboz/ubuntu_touch_monarudo/out/target/product/dlx/obj/SHARED_LIBRARIES/libOmxVenc_intermediates/src/video_encoder_device.o] Error 1
Need to overcome some ion usage issues and set it up for the bigger screen i assume
HUGE Thanks to:
Drewx2 (for his device/vendor files), Ubuntu ofc, CM10 guys for stuffs.... more to come
Building a better droid is the purpose of today
Android History
G1->mytouch 3g -> Mytouch slide -> Mytouch 4g -> HD2 magldr -> Thunderbolt -> Evo 3D -> Sensation -> Evo 4g -> Evo 3D -> HTC vivid -> One X -> One S -> ( Evo LTE (thanks xda) -> Droid DNA
I stay HTC.
Android History
G1->mytouch 3g -> Mytouch slide -> Mytouch 4g -> HD2 magldr -> Thunderbolt -> Evo 3D -> Sensation -> Evo 4g -> Evo 3D -> HTC vivid -> One X -> One S -> ( Evo LTE (thanks xda) -> Droid DNA
I stay HTC.
Thanks for this link. Now I'm really wanting it, so Zarboz no goofing off lol
Building a better droid is the purpose of today
Android History
G1->mytouch 3g -> Mytouch slide -> Mytouch 4g -> HD2 magldr -> Thunderbolt -> Evo 3D -> Sensation -> Evo 4g -> Evo 3D -> HTC vivid -> One X -> One S -> ( Evo LTE (thanks xda) -> Droid DNA
I stay HTC.
Recovering iPad users may still remember the multitasking function where you can swipe left or right to … more
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?