How to compile aosp from source with UberTC? - Nexus 5 Q&A, Help & Troubleshooting

Hi, this is the first time that i try to compile a rom from source! Now I downloaded the source from google, but if I want to compile the aosp with UbertTC, what should I do? Thanks I use Ubuntu with Virtual machine.

Related

[Q] Downloading kernel source code from custom ROMs

I want to download the source code for the kernel in my custom ROM because I want to compile something that may have dependencies with it.
So, I own a HTC Desire en lets say, I am using the following ROM:
http://forum.xda-developers.com/showthread.php?t=1863780&highlight=download+source
De binairies I can simply download and flash, no big deal.
But I cannot compile anything on my phone.
I have found a site where it is explained that I need to point the compiler to the source of the kernel, and then I can compile it on a Linux computer.
Thus, I need the source.
I've tried posting in the thread mentioned, but it giving me a message that I cannot post there because I am a new user
Btw. The thing I am trying to compile is C code.

AOSP downloading just one flavour (ICS) source code

This might be a trivial question but I dont know the answer to it. Looking for android gurus. My task is to compile android kernel and run on a pandaboard. I cannot just take the uImages there are drivers which I need to modify..
Now one way is to download every thing from AOSP by repo init... and downloading 3-4 Gb of git from day 1 of android git init. Is there a way to just get the source files for ICS. It is easy for linux just go to git.kernel.org and get the snapshot of the tag like 3.0 , is there a same git snapshot available in android ?
Any help is welcome....
manishjg said:
This might be a trivial question but I dont know the answer to it. Looking for android gurus. My task is to compile android kernel and run on a pandaboard. I cannot just take the uImages there are drivers which I need to modify..
Now one way is to download every thing from AOSP by repo init... and downloading 3-4 Gb of git from day 1 of android git init. Is there a way to just get the source files for ICS. It is easy for linux just go to git.kernel.org and get the snapshot of the tag like 3.0 , is there a same git snapshot available in android ?
Any help is welcome....
Click to expand...
Click to collapse
Are you downloading from codeaurora?
If yes, then there are separate sections for kernels and snapshot is available too.

[Q] How can I compile a single AOSP app?

I'm looking to compile the stock Calendar app. I'm not quite sure how to do this. Do I have to download the whole Android tree? Can I download only the Calendar repository & compile from there?
You can pull the source code for the single application and compile it using an IDE.

Compile an .apk from Cyanogen source

Hey I'm looking into compiling an apk from the app source provides in Cyanogen but I'getting errors in eclipse
Correct me if I'm wrong but do we need to sync the entire repo of cyanogen just to compile a single apk

Compiling AOSP in CircleCI

How do I compile AOSP with CircleCI in the cloud? I need to do this because I don't have good enough of a computer for compiling.

Categories

Resources