Compiling AOSP for the Sprint hero - Hero CDMA Q&A, Help & Troubleshooting

Hello all, as some of you might already know, I'm working to create a AOSP rom. I've looked all over, and cannot figure out how to compile it for the sprint hero. I know the source is on source.android.com... I know you use repo for it... I'm not a noob with that stuff (no offense). I'd like to compile it so it would work on the hero. I think there's frameworks or some makefile that I have to use. Ultimately, I'll repay you with my rom .
Thanks!
Jason(bikcmp)

From what I read you just have to direct the makefile to HEROC200. Would you mind when you figure it out posting a quick how to with GIT hub addresses and makefile references and flags? Keep in mind your audience for building Android isn't newbs, so it doesn't have to be the most indepth.

Kcarpenter said:
From what I read you just have to direct the makefile to HEROC200. Would you mind when you figure it out posting a quick how to with GIT hub addresses and makefile references and flags? Keep in mind your audience for building Android isn't newbs, so it doesn't have to be the most indepth.
Click to expand...
Click to collapse
What's actually quite funny is I'm a server administrator, so I'm experienced with linux and compiling stuff. I just can't find the dang thing to make it for the hero

Related

ROM Building Starter Guide?

Considering the state of flux we are in with the roms, I think it would be really kewl for one of the guys to cook up a quick rom building guide. The main objective would be to allow user to replicate the rom build of their own accord. Many projects have taken the "you build it" approach to avoid the pitfalls of distributing closed source.
Look at something like Microsoft Core Fonts in linux. No distribution will ship with the fonts, but they all provide a package, even gnu pure Debian, that will pull the exe files from the web and unpack/install them for you. Same thing goes for flashplayers.
If someone would make a script/guide for making saayyy Cyanogen 4.0.4, by pulling the source from google, adding a modpack, and compiling on their own machine, then Cynan and the other would be clear from any wrong doing. Leave it to the community to distribute and get the roms out. Bittorrent/newsgroups/whatever, they can't stop us all, and they dare not pull a RIAA to hunt people down.
I think its something that maybe worth considering. The stuffer methods are great, but I would personally like to be able to build the rom as it should be, with all the fixings.
One
http://www.johandekoning.nl/index.php/2009/06/07/building-android-15-build-environment/
Two
http://github.com/cyanogen/android
three
http://source.android.com/download
you can add the other junk by following guides on the forums here, or pushing your own apps etc...
Thanks for the clear and concise answers. The first site has some very detailed info. I will give it a go, the Kitchen Rom Builder cooker back from my wizard days has me spoiled, but this looks pretty straight forward I just needed some direction.
helfrez said:
Thanks for the clear and concise answers. The first site has some very detailed info. I will give it a go, the Kitchen Rom Builder cooker back from my wizard days has me spoiled, but this looks pretty straight forward I just needed some direction.
Click to expand...
Click to collapse
http://www.jukie.net/~bart/blog/20090830174551 this one helps out too, but the manifest from cyanogen's github is out of date, it's 4.1 at time of writing this.
This is posted in the wrong area
as post like this are every week
jdk5 is no longer available for download on 9.10 x64 systems. Anyone know of a way around this?
Couldnt you add one of the older repositorys and add it that way?
Its one of the reasons i dont use the x64 build, too many incombatabilitys.
You could always vmware an x86 machine
Yea, I'm just now building a virtualbox x86 machine. I'm going to strip it down to essentials and then install everything needed for android building.

Free compiler for old coder, suggestions?

Getting back into coding. Wondering if anyone has suggestions for a compiler for fortran, c++, java, vb and cobal. I really enjoy c++. Found a good resource for libraries (http://www.cplusplus.com/). There are just so many free compilers out there, wanted to know what y'all liked to use and why.
Thanks for looking at the thread and for any help if you give some.
From a phone
boborone said:
Getting back into coding. Wondering if anyone has suggestions for a compiler for fortran, c++, java,vb and cobal. I really enjoy c++. Found a good resource for libraries (http://www.cplusplus.com/). There are just so many free compilers out there, wanted to know what y'all liked to use and why.
Thanks for looking at the thread and for any help if you give some.
From a phone
Click to expand...
Click to collapse
Linux - gcc/++(for C++, there's something for fortran too, I think), javac(for java), I don't know about Cobal.
Windows - VS(for C++, and VB), whatever comes with Eclipse(probably javac still), and I don't know for fortran or cobal.
Just got done dling the vs iso. I'll check eclipse and javac out. Thanks man. Much appreciated.
From a phone

[Q] Explanation of Android Source Tree?

I have started looking at the sources of Android (the main source tree of the operating system not the Android project that opens up in Eclipse) and was able to successfully compile it for my N1. However, I was wondering if there is tutorial out there that tells provides an overview of the source tree. If someone was not involved in embedded development, how does one go about understanding the source tree?
Where it concerns the apps, the tree is pretty much straightforward. The rest is mostly understandable by names, but I don't know if there's any guide out there. I'd like to know too.
Oops.. sorry. I was not talking about application development. I have some experience with that. I am talking about the sources we checkout using git. I hardly have any experience with compiling code for embedded devices so I was looking into what each folder does. For instance, frameworks, libcore, vendors etc.
Big part of the sources in git repo are system apps - that's what I've meant.
Unfortunately, I don't have experience with system side of things.
vendors - collection of scripts with settings for each phone of each vendor (compilation settings, switches, etc).
i looked for the same thing when i first looked at the github tree, it was a bit overwhelming. no walk thru exists that i know of. i just learned to search each branch from the main page, i.e. the msm family for qualcom cpu phones, the samsung kernel, etc. wish it was a bit clearer.
Thanks! I am sure the community would be interested in such a documentation except that it will be terrible if I start writing it though I can make an initial attempt in doing so. I will see if xda has a wiki where I can put this stuff. But please do let me know if XDA provides us with such a wiki already.
EDIT: Never mind. I found the wiki here. I will try to fit it somewhere.

[Q] Kernels and related

I don't know if this is the right place to ask but I think I'll post here instead of development. I want to get into making my own slightly tweaked kernels but I really know nothing about whets where in the repository (like what file I would look in for clocks or voltages). I was just wondering if someone could point me toward some documentation so I can at least have a but of an idea. Thanks!
Developing anything is pretty complicated without some codding skills so I would advise against trying to code your own kernel although if you want to I can't stop you but in your position I would have posted in android development section you may get faster results.
I have experience in coding in c++, html, some assembly, wrote a very basic bootloader that doesn't really do much for a pc. I'm just looking to make some minor changes. (clocks or voltages)
# include <iostream>
using namespaces std;
void main()
{
cout <<"Well in that case I guess you could but like I said you'll probably get more responses in the android development section then nexus one Q&A.\n\nBTW I'm no expert in c++ just wanted to do this as a little joke all I know are the basics ";
cin.get();
}
NOTE: I know code is not supported in most forums so if a mod wants to delete this feel free it was just a joke so.
Very nice but unfortunately wouldn't compile in my compiler thanks to microsoft requiring include stdfax or whatever it is that I have to add up there with precompiled headers.... A pain but I never really learned gcc and its rules
Will post in dev section thanks for the suggestion!
Oh well I just noticed something and I'm going to guess that's why it didn't compile for you I made a typo up there it's not "namespaces" it's "namespace".
meltbox360 said:
I have experience in coding in c++, html, some assembly, wrote a very basic bootloader that doesn't really do much for a pc. I'm just looking to make some minor changes. (clocks or voltages)
Click to expand...
Click to collapse
All you have to do is browse some of the repositories here in the dev section. Click the GitHub link to pershoot or intersects repository. Then go to the kernel project/source and click "commits" at the top. Look thru each commit to get an idea of what's going and being changed in the kernel. The good stuff will be from months ago so you'll have to keep going back far thru the commits to find the significant changes.
Then setup your own build environment. Cyanogen wiki has a step by step tutorial guide that's straight forward and rather easy to get going.
When done that, just practice making some tiny code changes to the kernel, something that interests you, and try to compile it. You'll prob get an error so tweak it till it compiles with no error, then flash it to your device and see if it works.
It's fun to do and you can get setup pretty quickly with all the info available to us.

Which Toolchain for compiling kernel?

As stated in title
I'm diving a bit in kernel development I'm starting to play with compiling it first from source with succes now trying to cherry pick some stuff and I must say its a lot of fun to play with.
But now let's go to the question which toolchain could I use the best I tested "standard" gcc4.6. Linaro 4.9.2 (gave me a bad performance). Is there any know-how for our tegra3 device?
Looking forward to see some opinions
moneyvirus said:
As stated in title
I'm diving a bit in kernel development I'm starting to play with compiling it first from source with succes now trying to cherry pick some stuff and I must say its a lot of fun to play with.
But now let's go to the question which toolchain could I use the best I tested "standard" gcc4.6. Linaro 4.9.2 (gave me a bad performance). Is there any know-how for our tegra3 device?
Looking forward to see some opinions
Click to expand...
Click to collapse
You probbably shoud tag @Demetris @laufersteppenwolf @alfsamsung @Adam77Root maybe some other guys to help ypu out i think they whould be glad to stear you in the right directions since they are well know developers on this forum.
moneyvirus said:
As stated in title
I'm diving a bit in kernel development I'm starting to play with compiling it first from source with succes now trying to cherry pick some stuff and I must say its a lot of fun to play with.
But now let's go to the question which toolchain could I use the best I tested "standard" gcc4.6. Linaro 4.9.2 (gave me a bad performance). Is there any know-how for our tegra3 device?
Looking forward to see some opinions
Click to expand...
Click to collapse
Well, I have been playing around with toolchains in the past, and the one I personally liked the most was linaro 4.6, which is also the one I a, compiling all werewolf kernels with.
If you want it, I think I pushed it to my github IIRC

Categories

Resources