My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
HowToUseTheSources  
Article about how developers can use the source of the project
Updated Sep 18, 2012 by mihai.an...@gmail.com

This article covers how to use the sources

Downloading

  1. Use this link to initialise the environment and download all the necessary packages: http://source.android.com/source/initializing.html
  2. mkdir ~/bin
  3. PATH=~/bin:$PATH
  4. curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
  5. chmod a+x ~/bin/repo
  6. mkdir WORKING_DIR
  7. cd WORKING_DIR
    • For gingerbread release: repo init -u git://github.com/popdog123/android_manifest.git -b gingerbread
    • For ICS release: repo init -u git://github.com/popdog123/android_manifest.git -b ics
  8. repo sync

Building

  1. . build/envsetup.sh
  2. lunch -> select oxygen_p500 from the menu
  3. make -j8 oxygen
  4. your zip will be in out/target/product/p500 named update-oxygen-... .zip (GB) or update.zip (ICS)

WARNING

Just like source.android.com states, Android is best built on Ubuntu 10.04 LTS. Using newer builds of Ubuntu (or other distros) might require additional patches to the source. You can find all of them on Google.

Powered by Google Project Hosting