Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Thread Closed

[DEV] Ubuntu Touch WIP!!!!!!

OP Zarboz

20th March 2013, 09:00 PM   |  #1  
Zarboz's Avatar
OP Known Scammer
Flag Denver
Thanks Meter: 9,264
 
3 posts
Join Date:Joined: Mar 2009
Donate to Me
More
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


For those of you intereseted here are my links to source parts:
https://github.com/zarboz/android_kernel_htc_dlx
https://github.com/zarboz/android_device_htc_dlx
https://github.com/zarboz/android_vendor_htc_dlx

Ubuntu touch parts:
https://wiki.ubuntu.com/Touch/Porting
http://phablet.ubuntu.com/gitweb


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
The Following 34 Users Say Thank You to Zarboz For This Useful Post: [ View ]
20th March 2013, 09:01 PM   |  #2  
Zarboz's Avatar
OP Known Scammer
Flag Denver
Thanks Meter: 9,264
 
3 posts
Join Date:Joined: Mar 2009
Donate to Me
More
mine
The Following 6 Users Say Thank You to Zarboz For This Useful Post: [ View ]
21st March 2013, 01:23 PM   |  #3  
jonah1234's Avatar
Senior Member
Thanks Meter: 1,090
 
1,761 posts
Join Date:Joined: May 2012
Re: [DEV] Ubuntu Touch WIP!!!!!!
Awesome work zarboz. Can't wait for 2.04 exploit :thumbup:

Sent from my HTC Droid DNA
21st March 2013, 07:10 PM   |  #4  
uppon2's Avatar
Recognized Contributor
Thanks Meter: 1,222
 
2,660 posts
Join Date:Joined: Oct 2010
More
Aren't you already busy enough Nice to see something different man!
21st March 2013, 07:22 PM   |  #5  
prerav31's Avatar
Senior Member
Thanks Meter: 24
 
125 posts
Join Date:Joined: Sep 2012
Re: [DEV] Ubuntu Touch WIP!!!!!!
Nice..... More and more development for the DNA in making me rethink about getting the HTC one. Keep up the good work

Sent from my HTC6435LVW using xda premium
21st March 2013, 07:48 PM   |  #6  
Senior Member
Thanks Meter: 252
 
1,279 posts
Join Date:Joined: Nov 2012
More
Sorry, what exactly is this? Please don't tell me this is a build of ubuntu phone edition because my face will melt. Either way awesome job!
21st March 2013, 08:00 PM   |  #7  
Argumentation's Avatar
Senior Member
Flag Washinton, DC
Thanks Meter: 151
 
385 posts
Join Date:Joined: Feb 2012
Donate to Me
More
Re: [DEV] Ubuntu Touch WIP!!!!!!
Quote:
Originally Posted by 123421342

Sorry, what exactly is this? Please don't tell me this is a build of ubuntu phone edition because my face will melt. Either way awesome job!

Yes, that's exactly what it is.

Sent from my HTC6435LVW using xda app-developers app
22nd March 2013, 12:54 AM   |  #8  
paulhoop's Avatar
Senior Member
Thanks Meter: 65
 
222 posts
Join Date:Joined: Jul 2008
More
Quote:
Originally Posted by 123421342

Sorry, what exactly is this? Please don't tell me this is a build of ubuntu phone edition because my face will melt. Either way awesome job!


http://www.ubuntu.com/devices/android - I believe.....
22nd March 2013, 02:28 AM   |  #9  
CharliesTheMan's Avatar
Recognized Contributor
Thanks Meter: 2,483
 
3,666 posts
Join Date:Joined: May 2009
Donate to Me
Quote:
Originally Posted by paulhoop

http://www.ubuntu.com/devices/android - I believe.....

Thanks for this link. Now I'm really wanting it, so Zarboz no goofing off lol
22nd March 2013, 02:48 AM   |  #10  
Zarboz's Avatar
OP Known Scammer
Flag Denver
Thanks Meter: 9,264
 
3 posts
Join Date:Joined: Mar 2009
Donate to Me
More



this is what it is

Quote:
Originally Posted by CharliesTheMan

Thanks for this link. Now I'm really wanting it, so Zarboz no goofing off lol


The Following User Says Thank You to Zarboz For This Useful Post: [ View ]
Thread Closed Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes