compile mydroid for HTC Magic 32A (Vodafone) - myTouch 3G, Magic Android Development

Hi, please, Do anybody know, how to compile mydroid for HTC_Magic_32A?? I download mydroid from google git repository. I must create owm folder in /mydroid/vendor/htc/ for magic, but i don't know how and how then set compiling??

Related

How to get RC30 source code from git?

Hi,
In the android git repository, there are three branches/tags. The default one is master. cupcake is the most famous. The last one is release-1.0 but which is not the RC30 release (it can't be compiled at all).
I doesn't know git well, so I must miss some tags for RC30. Is there anyone can tell me how to get the RC30 source code? Big thanks!
Sunner
Try:
repo init -u git://android.git.kernel.org/platform/manifest.git -b release-1.0
jashsu said:
Try:
repo init -u git://android.git.kernel.org/platform/manifest.git -b release-1.0
Click to expand...
Click to collapse
I've tried this command before. There were some error like "nowhere" when "repo sync". And I've mentioned in the first post that the release-1.0 can't be compiled at all. So many .c files in it miss including some header files.
Can't compile? Hmm... Well I am not working with the release-1.0 branch anymore so I can't be of much help there.
As for the source code used to produce G1 Android builds RC19-RC30, those were never made public. All Android platform development prior to cupcake was divided between openly available and private internal branches. The reasons for this are manifold and infinitely debatable in merit. One reason you can not build a true RC30 from the public repo is that they can not legally distribute proprietary modules from there.

Git Files

If you pull down a source with the git program and you did the edit that you wanted to do, how do i make it so that i can run it on my phone?

AOSP guide?

Can some one please point me to a complete guide that takes you through all the steps of making a final update.zip from the AOSP code? I ran the make command at the end of the AOSP website guide, but i have no idea where to go from here. Anyone wanna lend a hand?
http://wiki.cyanogenmod.com/index.php/Compile_for_dream
http://forum.xda-developers.com/forumdisplay.php?f=613
Use search next time.
I started from scratch and did not source cyanogen's repositories. what build target should i specify? Every target from the lunch menu seems to be eclair. So what do i do to select donut?
You do
source build/envsetup.sh
lunch
Click to expand...
Click to collapse
Then select dream-open (eng or userdebug).
Don't forget when you do repo init to set the branch to donut:
repo init git://android.git.kernel.org/platform/manifest.git -b donut
Click to expand...
Click to collapse
kingkurry said:
I started from scratch and did not source cyanogen's repositories. what build target should i specify? Every target from the lunch menu seems to be eclair. So what do i do to select donut?
Click to expand...
Click to collapse
you should probably download the donut branch and not the eclair branch
Eclair is very broken for build. Currently, Master is a snapshot of 2.1r1, so you'd best build master (donut stock is very broken too).
Unfortunately, at this time, there's no way to switch branches once you've synced a repository.
Unless there's a better way to do it that I don't know about, I keep different branches downloaded on different directories. It's redundant because the whole information for all branches/commits is downloaded to .repo anyway, so I don't see why branch switching is not possible. Anyway, if you want donut, create another directory, cd to it, and repo init -u git://android.git.kernel.org/platform/manifest.git -b donut (I suggest donut-plus-aosp instead, builds a bit better than donut).
Thanks for all of the help guys . Its been a long time since i started, but im going to start building and try and learn this stuff.
Also, will the make otazip command only work when sourcing cyanogen, or will it work on AOSP?

[Q] Android add vendorsetup

Hi guys,
I've loaded Jacobs Wildfire vendor setup from GitHub. I added it to the device / htc / wildfire folder. I also created a vendor setup sh script, and now I'm trying to do a
source envsetup sh
lunch => full_wildfire
But the Terminal gives me this response:
** Don't have a product spec for: 'full_wildfire'
** Do you have the right repo manifest?
** Invalid variant: 'full_wildfire'
** Must be one of user userdebug eng
Am I missing something? What am I doing wrong?
Could you please help me? The questions is general, what I've to do, to include new vendorsetups and compile them?
Thank you all in advance!! (haven't found ressources here or in google)
What am I doing wrong with posting? Is it only because I'm a new User that no one helps me :-(

[CM 7.2 Alpha 8.3] help for get source code.

Hi all,
First of all, where I can find a good tuto for starting dev ?
I want help for porting CM 7.2 so I find this in the thread:
1. Download source codes
- Get cyanogenmod source in a directory (eg: /cm7/)
- put device config to device/samsung/apollo
- put vendor files to vendor/samsung/apollo
- put cyanogen vendor files to vendor/cyanogen
Click to expand...
Click to collapse
I understand how too get "device config", "vendor files" and "cyanogen vendor files" but not "cyanogenmod source".
I think, I will get it with this command:
repo init -u git://github.com/CyanogenMod/android.git -b gingerbread
Thanks all.
Kalite-Iruka said:
Hi all,
First of all, where I can find a good tuto for starting dev ?
I want help for porting CM 7.2 so I find this in the thread:
Click to expand...
Click to collapse
Your help is welcome... there is a lot to do.
I think, I will get it with this command:
repo init -u git://github.com/CyanogenMod/android.git -b gingerbread
Thanks all.
Click to expand...
Click to collapse
yes, then
Code:
# repo sync -j4
and you will get the cyanogenmod source (cm7).
Thanks for the help for get CM7 source code.
For cyanogen vendor files, the folder already exist. What i need to do?
1 - merge the too folder (remplace existing file with yours)
2 - delete all files in the folder and put just your files in it
Kalite-Iruka said:
Thanks for the help for get CM7 source code.
For cyanogen vendor files, the folder already exist. What i need to do?
1 - merge the too folder (remplace existing file with yours)
2 - delete all files in the folder and put just your files in it
Click to expand...
Click to collapse
I have test the two : The solution is the first.
For doing it, I make a clone of your git repository in a temp directory. After that I copy the result in vendor/cyanogen.
I don't find a git comand to do it, does it exist ?
I tried too use eclipse indigo by following android source documentation.
When I tired too create the java project, there isn't "Create project from existing source" option. So, I search on google but I find any thing for CM and android source code.
What must I do?

Categories

Resources