Building Android AOSP from Source

Speaker: Nanik Tolaram

Learn how to build the Android Open Source Project - AOSP from source.

Bring your laptop and join the codelab after the talk.

Not a talk for the feint-hearted but fascinating if you love hacking on Android.

Join or login to comment.

  • Nanik T.

    The summary for the building the source are as follows

    1. source build/envsetup.sh

    after running the above command you will see a bunch of files being printed out.

    2. lunch this command will allow you to pick which device/configuration you want to build the AOSP for. For emulator choose no 1 normally it says full_eng

    3. make this is to start off the building process. If you have multi-core processor you can include -j flag with a number for example:

    make -j4

    June 14, 2012

  • Julian H.

    I really liked this introduction. Good examples of what to do and expect when compiling AOSP for a target. Obviously the session could have been a lot longer as there's so much to the AOSP, but it seemed to touch on a lot of things from start to finish.

    June 14, 2012

  • John S.

    We didnt record the talk but I asked Nanik if he would summarise the important commands to know when building and running the source.

    My favourite part of the talk was actually learning about the emulator alternatives : Buildroid ; I have them running in Virtual Box and they are lightning fast to start and run. http://keyable.blogspot.com.au/2012/05/buildroid-updated-android-404-for.html

    June 14, 2012

  • Jono L.

    Very informative and good discussion amongst group

    June 14, 2012

  • Ali M.

    Informative. I do feel the subject matter was a bit ambitious for a meetup though. Perhaps going forward concentrate on hacking to add or remove android features rather than compiling the whole source which can take several hours to do.

    June 14, 2012

  • Kit K.

    Sorry I didn't think to record! Went well though, learnt something :D

    June 13, 2012

  • Matthew D.

    I couldn't make it this evening, how did it go? Btw did anyone record it?

    June 13, 2012

  • BILL

    Ah.. somebody locked the front door. Anyway. I am sorry I have to go due to another schedule...

    June 13, 2012

  • Julian H.

    Thanks for that, John and Nanik! I followed the steps, and it all seems very smooth. though had to stop the actual AOSP repo step, because I'm on limited bandwidth right now. Really looking forward to the event!

    June 11, 2012

  • John S.

    Prepare for the Code Lab :

    If you want to prepare your own Ubuntu VM and download the AOSP source ahead of time then use the instructions at the link below.

    - or - you can get a copy ready to go on the night (MAKE SURE you meet the System Requirements in the doc)

    http://goo.gl/ndyLy

    PS. Nanik wrote the instructions and took the plunge and built my own which was quite rewarding ;)

    1 · June 7, 2012

  • John S.

    Everyone, we are hoping to have a linux VM prepared for you to do the code-lab so that you dont have to configure anything (except the VM host which will likely be the free Oracle Virtual Box). So sit tight and we will advise soon.

    June 2, 2012

  • Julian H.

    Aras: Pretty sure you need 64 bit linux or mac osx. compiling android source is more involved than writing android apps. I'm trying vmware player on my similar specced win 7 64bit laptop. You may want more ram. Google for the aosp site, and look at the basic setup instructions.

    June 2, 2012

  • A former member
    A former member

    I have Windows 7 laptop, Core i7, 8GB RAM, I already have Eclipse and the ADK isntalled. would this would be OK?

    June 2, 2012

  • Julian H.

    Kit, yeah, I'll probably be through those instructions before the meetup (had already started before this was announced, though on hold due to moving house + having no net at home for 2 weeks) but to be honest, I don't expect the process to be that simple, based on previous linux experiences. so was hoping for a more up to date and recently confirmed set of instructions... (it's possible I'm more of a linux noob than this meetup expects? I know the basics, and can feel my way around most things

    June 2, 2012

  • Kit K.

    SIm sure if it comes to it people can just be directed to the Android developer link which has complete instructions on configuring and downloading aosp

    June 1, 2012

  • Jiggy

    A configuration guide would be really good.!! I am looking forward to read it so that I can configure my laptop accordingly.

    June 1, 2012

  • Julian H.

    Excellent! thankyou Nanik. I got 64 bit ubuntu 10.04 running in a VM on my computer last week, but still to get around to doing the rest of the setup. Looking forward to seeing it.

    June 1, 2012

  • Nanik T.

    Hi Julian,

    I'm in the middle of preparing instruction and configuration that will make it easier for majority of people here. Once it's done will post it.

    1 · June 1, 2012

  • Julian H.

    I'm interested to know what (if anything) we need on our machines in advance for this?

    June 1, 2012

  • Kit K.

    Hey John, thanks for organising, looking forward to it!

    May 30, 2012

  • John S.

    Medium to expert I think

    May 30, 2012

  • A former member
    A former member

    What level is this aimed at. I'm a developer who's interested in getting into Android development but haven't touched any of the SDKs yet.

    May 30, 2012

35 went

Our Sponsors

People in this
Meetup are also in:

Create a Meetup Group and meet new people

Get started Learn more
Henry

I decided to start Reno Motorcycle Riders Group because I wanted to be part of a group of people who enjoyed my passion... I was excited and nervous. Our group has grown by leaps and bounds. I never thought it would be this big.

Henry, started Reno Motorcycle Riders

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy