[Q]Compiling AOSP for specific device - basic driver question - Android Software Development

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

Related

Build 23412

Hi guys,
does anz one ported an new build 23412 ?
thanks.
Although this is a question about ROMs, it is not a development thread.
Also, please search next time. If you don't see it on that thread, it hasn't been posted so no one will know.
As far as builds go, it's a little unstable so I haven't bothered with it, yet. I'm waiting for its features to be backported to the COM3 branch (the 23053 I have is built upon that.)
You really don't want it. It's not as stable. I have problems sometimes when I try to execute a favorite webpage link from File Explorer. Its just small stuff really.

[Q] Modifying AOSP Calendar issue

Hi, so I'm a student learning Android app development and trying to modify the AOSP calendar to fit my needs so I downloaded the source code from git and made a project with 2.2 FroYo as the basis through Eclipse with ADT and all but I ran into a problem. So I run into:
android.provider.Calendar cannot be resolved into a variable
I did some research and found that the SDK apparently does not have the calendar code nor the database which is why I am running into these issues. So I learned from here jimblackler[dot]net/blog/?p=151 all that. He does have a solution except I have no idea what he is saying. He posted a bunch of code but I have no idea where that code is supposed to go in and I dont understand what he is trying to do with "content://calendar/calendars"
So I just decided to ignore the errors and obviously I couldn't compile it through eclipse so I made an unsigned apk and tried to install it unto the Emulator via ADB but as an unsigned apk it would not let me install it I tried to sign it by going through google's developer site but I am at lost again. I'm a noob to these things unfortunately..
I was wondering if anybody could help me out and point me in a good direction, I would be eternally grateful. Thanks.
P.S. Sorry if I was being vague about the google's developer site and source code site but as a newbie I can't post links properly
P.P.S. Sorry for double posting already on the app forum but after posting I thought this was the more proper forum to ask the question.

How can i Port Htc Salsa Sense to Froyo? and cook Rom For Hero?

hello I m free nowaday so want to learn some porting and cooking Roms btw I m noways developer if any one guides me would surely appreciate it!!
and is it possible to port salsa sense on froyo?
Ok, let's learn porting and cooking roms.
1. check this tutorial.
2. post in the right section.
3. look here.
4. say thanks.
or, download salsasense by JieeHD which is a mature powerful stable rom already running on the hero and make modifications from there.
since, technically, you can't actually "build" android when many parts of the OS have been removed and replaced with precompiled executable code by HTC, as is the case with that rom.
but still, if you want to modify a rom, and give credit to the original author, for sense roms it is much easier to start with someone else's hard work than to do it all from scratch yourself.
but for learning, I admire your interest. Hopefully you can become a strong dev for the hero!

[Q] State of play for X5 roms:

Hi, just after some advice about huawei roms for the X5. The x5 section on XDA is a bit all over the place with information scattered everywhere unlike the u8150 which has no section of it's own, but has a great wiki.
Seems that development is pretty solid for GB roms for this phone as there are multiple roms which are very close to being perfect and also GB is being released for this phone on the 30th in theory ;-).
Main 2.3 roms seem to be MIUI, CM7 and Oxygen and a long awaited for Huawei approved one.
Main 2.2 roms seem to be B160, FLB and Void
MIUI:
http://forum.xda-developers.com/showthread.php?t=1354680 -.32 kernel and 2 devs
http://forum.xda-developers.com/showthread.php?t=1367448 - Genokolar dev, .35 kernel
Great if you like the android/ios mashup.
Can anyone tell me if there are any problems experienced with the 18/12/2011 .32 kernel release?
Has anyone tried Geno's .35 release? Seems more like a testing release from Geno.
CM7 - Only has one DEV that I can see, Genokolar
http://forum.xda-developers.com/showthread.php?t=1068766 - .32 kernel and 11.11.28 final release
http://forum.xda-developers.com/showthread.php?t=1311565 - .35 kernel and 11.11.22 release
Not quite sure what the deal is here, .32 kernel seems stable with most everything working except usb tether. .35 kernel seems a bit all over the place and I am not sure what the deal is. Anyone able to shed some light here? Also seems Geno is dropping support so hopefully other devs step up.
Oxygen: Seems active but has some of the biggest bugs that I can see:
http://forum.xda-developers.com/showthread.php?t=1149150
http://forum.oxygen.im/
Seems to be really active but has no ability to mount internal SD card, no tethering, video seems a bit suspect. Are these problems still happening?
2.2 roms:
http://forum.xda-developers.com/showthread.php?t=1059753 - B160 customised rom 2.2.2.
http://android.modaco.com/topic/342...rom-for-the-huawei-u8800-with-online-kitchen/ - Not sure what the deal is with online kitchen, but it is 2.2.2 and seems to have a problem with headphone audio.
http://forum.xda-developers.com/showthread.php?t=1147103 - Void: eridanus, seems all working and uses franco kernel.
Guides, Modaco page seems a little outdated, but still useful:
http://android.modaco.com/topic/341011-ultimate-guide-to-the-huawei-u8800/
http://forum.xda-developers.com/wiki/Huawei_U8800_IDEOS_X5 X5 wiki which could do with some updating.
Recoveries:
http://forum.xda-developers.com/showthread.php?t=1343276 - 5.0.27 recovery
http://forum.xda-developers.com/showthread.php?t=1130524&highlight=void 4.0.05 recovery by genokolar
Which one is the recovery to use?
I know it is a personal choice, but which rom is a good start? Seems CM7 is the way to go if I don't want miui interface and need ability to wifi tether and use both sd cards in the phone.
Thanks for any input
Paul
Also, we have a wiki page here:
http://forum.xda-developers.com/wiki/Huawei_U8800_IDEOS_X5
You dont need to be a dev to edit a wiki, anyone can do it, how about if we edit it to keep as a central repository for info and sticky it at the top of the general section.
I have been helping curate the u8150 one here:
http://forum.xda-developers.com/wiki/index.php?title=Huawei_U8150_IDEOS#Unofficial_ROMs_.26_Recovery
and it is very easy to do as well as making all info easy to find.
If you have some info to contribute, why not help make the wiki complete?
Thanks
Paul
PaulMilbank said:
Also, we have a wiki page here:
http://forum.xda-developers.com/wiki/Huawei_U8800_IDEOS_X5
You dont need to be a dev to edit a wiki, anyone can do it, how about if we edit it to keep as a central repository for info and sticky it at the top of the general section.
I have been helping curate the u8150 one here:
http://forum.xda-developers.com/wiki/index.php?title=Huawei_U8150_IDEOS#Unofficial_ROMs_.26_Recovery
and it is very easy to do as well as making all info easy to find.
If you have some info to contribute, why not help make the wiki complete?
Thanks
Paul
Click to expand...
Click to collapse
Added as sticky about the wiki to the general section, thanks for the input.
Peace.

[Q] How to develop ROM?

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

Categories

Resources