I got the google android source code in Ubuntu, edited the 'buildspec.mk' file to fit my needs, and then ran 'make'. I am able to correctly build the source code for a generic device. Now I want to do the same for HTC Legend instead of a generic device, so that I can port the build to the device.
My main requirement is editing the 'buildspec.mk' file before 'make'. So, just customizing the vendor ROM will not work. In xda forums, I have seen instructions of how to create device-specific ROMs from source code for HTC Sapphire and some other phones, but nothing for Legend. I would like to know what vendor specific files/drivers I need for Legend and where can I get them?
Does anyone have instructions/link for creating custom ROMs from: google android source code (Eclair or later) and vendor files/drivers for HTC Legend?
Or, is there any CyanogenMOD for the HTC Legend whose buildspec.mk file (or probably cyanogen_legend.mk file) can be edited before making?
Any input is appreciated!
Thread moved to General.
Hey Guys,
I'm not allowed to post to the Xperia Arc development forum because i'm new, so i either post questions and threads for no reason (which would be spamming) in here or ask a question that relates to development....anyhoo...
...I've setup a CyanogenMod development environment for developing an Xperia Arc version but realised that the HTC Desire HD has the same processor and graphics chip combined; so has anyone tried the HTC Desire HD Cyanogen Rom on the Xperia Arc? It it more complex than that, i.e. is a HAL (or Storage driver) required for the SE hardware?
Also, can the drivers for the SE hardware (like sensors and camera) be extracted from the Stock ROM?
Cheers!
http://forum.xda-developers.com/showthread.php?t=1057555
Check this thread out... it's a combo of things.. including DHD I think!.
Please forgive my noobness to this subject.
I have set up my build environmetn (almost) and was originally going to compile CM7 from source, but this is not really what I want. I just want to compile an AOSP rom from google source for the HTC desire.
I have the latest drivers from the latest 2.3 leaked rom in a flashable zip format.
Can I just compile the AOSP rom for Nexus one (similar hardware) and flash the drivers afterwards or do they need to be compiled with the source?
I am very new to this and have been trawling the web for a few days but can't seem to find the right answer for this.
Please could someone point me in the right direction?
<Edit> I have been looking at this http://source.android.com/source/building-devices.html</edit>
I haven't posted this in the desire development forum as its not really the right place, but don't feel Desire Q&A is relevant either.
Thanks in advance
Hi guys,
Great news for N1 owners. The Desire kernal source code is released in HTC dev website. Hope now our devs will be able to integrate the 720p camera for our N1.
Here is the link from the download page in h ttp://htcdev.com/ devcenter/ downloads
h ttp://dl4.htc.com/ RomCode/ Source_and_Binaries/ bravo_2.6.35_gb-mr.tar.gz
PS: can't post the link directly, remove the spaces in between.
Hi,
I want to know how can I make my own ROM using paul's ICS sources or build it from the CM9 sources, which software I need to use and is this tut good for beginning?
www(.)theunlockr(.)com/2010/03/26/how-to-create-your-own-custom-rom-for-android-part-1-setting-up-the-kitchen/?
PS: I also want to add the reason why I don't contact with paul is that I wanted to learn & develop it only for me & mine friends
Ofc. for X8 and on nAa kernel ;3
do you know JAVA atleast?
EDIT: wait, you want only to make the build, or to work on the rom and on the source?
EDIT2: Wrong section btw, you should asked on Q&A's
Java on basic level, I do not know any of it's APIs but I can learn them ( I don't know Android API too )
C/C++ on intermediate level
First build it from source, after successful modify source and compile ROM.
MOD: Please move to Q&A if possible, thanks.
You could read my thread (look at my signature). I wrote all the stuff you need to know of ROM-compiling. There's also a thread about kernel making.
eagleeyetom said:
You could read my thread (look at my signature). I wrote all the stuff you need to know of ROM-compiling. There's also a thread about kernel making.
Click to expand...
Click to collapse
Dzięki
Thanks at all, you got the point. I'll try to compile it using yours tut and post result here And one more thing, developing CM9 for X8 build for which phone i need to base on? And where I can get hmmm... X8 Driver sources? Adreno libs and others?
Right now we don't have sources for X8. You need to port most of libs. You could also paul-xxx's drivers from his github. Good luck If you have some questions PM me, I'll help if I'll be able to.
NeveHanter said:
And one more thing, developing CM9 for X8 build for which phone i need to base on?
Click to expand...
Click to collapse
doixanh based his GingerDX ROM - based on Gingerbread - on the Hero source tree. If I recall correctly I read somewhere that a CM9 port to the HTC Hero exists; that might be your best shot as the phone is about the same specs as the X8.
And as eagleeyetom wrote: You either use paul-xxx's drivers or you reverse engineer the Eclair drivers and write them anew from scratch (if your thought was going into the direction of the kernel) - there's no CM9 port for the X8. Your best option would be to try and find devices having a matching hardware component and porting the drivers from there - but chances are pretty slim that other phones use the same hardware SEMC stuffed into the X8.
---------- Post added at 09:13 PM ---------- Previous post was at 09:03 PM ----------
Update: paul-xxx also maintains a GIT repo with a msm7227 kernel ...
paul-xxx / semc-kernel-msm7227-ics
EDIT: Along with some other interesting repos ...
- android_hardware_qcom_camera
- Xperia-TI-Wlan
- android_device_semc_msm7x27-common
These three at least seem to relate to the X8 "Shakira"
Thanks all for help, now I have some basic workaround with this
And one off topic question
ICS is running on 3.0.3 kernel, yes? So why we don't try to port it for X8 and using old 2.6.xx?
NeveHanter said:
And one off topic question
ICS is running on 3.0.3 kernel, yes? So why we don't try to port it for X8 and using old 2.6.xx?
Click to expand...
Click to collapse
It seems the genuine Google AOSP ICS is running Linux 3.0.8
Porting the Kernel might turn into a huge effort. The ABI of 2.6.29 and 3.0 are not really compatible, so the kernel drivers would need to be ported to the CM9 3.0.x series - in case a simple patching them into the kernel tree and trying to compile bombs out with tons of make errors.
Apart from that - the main problem with ICS on the X8 is that a whole lot of devices can't use a custom kernel as a change in the hardware (devices of 11W29 and newer) prevents boot loader unlock.
We could try to see if the CM9 kernel could be slapped into shape ... I got a Quad-Core Phenom II to tackle that task - if someone wants to help out in the research if some msm7227 / Shakira specific parts would need to be patched into the source tree because they aren't part of it.
EDIT: Even the official CM repo uses Linux 2.6.37.6 as their kernel, and the progress on the FXP Kernel seems to have come to a halt; at least I can't see any new stuff in the -shakira repos.
LG GT-540 has ICS on 2.6.35 kernel. Maybe we could try to port Arc's kernel. Maybe this one? Recommend me some C/C++ books to learn basic stuff
You want this book's in english or you prefer in our native? ;3
eagleeyetom said:
Recommend me some C/C++ books to learn basic stuff
Click to expand...
Click to collapse
This is a rather tricky question ...
If you do as I did simply Google up a C/C++ Reference/Tutorial (i.e. http://www.acm.uiuc.edu/webmonkeys/book/c_guide/ or http://www.cplusplus.com/doc/tutorial/) and get going ... you already got gedit to code up .c files, and gcc is also part of your Linux distro to try and compile your "hello_world.c" You could also Google for Online Classes (in the like of http://www2.its.strath.ac.uk/courses/c/) and pick whatever suits you.
However, if you want to read real books ... look through the offers of Addison Wesley and pick what you think is the best book for you. You could also hit up your closest public library and see what they have in store (may be cheaper than buying in case you don't have much money to spend) - or, in case you study, you may want to look into your University's library.
Of course you could also start off with the usual "C/C++ for Dummies" or "Teach yourself <whatever> in 7|14|21|30 days"
Polish would be awesome ;P
Best, simply writed polish C/C++ tutorial, one of the best www(.)warsztat(.)gd/tutorials.php?x=category&id=18
In adddition you can search for ( it's a big ebook ) Symfonia C++ Grębosza ( Symphony in C++ ), you can find it on chomikuj.pl but if U want I can upload it somewhere for you
And if you will have any problems with C/C++ you can write to my GG number 10037533 or PM me here