Android 4.0 Source Code is Now Available

Google has just released Android 4.0.1 source code in AOSP.

There are 3 main branches:

  • android-4.0.1_r1: the release branch, ITL41D, that is expected to ship on Galaxy Nexus. That’s the one you want to be using to port to devices.
  • ics-mr0: ICS development branch. It contains a few changes that aren’t in the release branch, so it might not be as stable. That’s the one you want to use if you plan to contribute to CTS.
  • master: usual master branch, it contains all of ics-mr0 plus a few extra changes. That’s the branch that you should use if you want to contribute to the platform.

The release and development branch require the “classic” host configurations (Ubuntu 10.04, or MacOS 10.6 with XCode 3). The master branch had a few tweaks to make it work better on newer systems  (Ubuntu 11.10, Mac OS 10.7 with XCode 4.2) but it’s not 100% there yet.

In addition to the usual emulator targets and Galaxy Nexus (a.k.a. maguro), the master branch works experimentally on PandaBoard too (a.k.a. panda).

Proprietary binaries for 4.0.1 are available at http://code.google.com/android/nexus/drivers.html.

Instructions to get the code can be found at http://source.android.com/source/downloading.html.

If you have already installed the tools, you just need to run:


If you have a Pandaboard and want to try Android 4.0, then use the master branch instead:


and be patient…

Once you want to code, you may want to build and run it. Instructions to build and run Android 4.0 on the emulator, Galaxy Nexus and Pandaboard are available at http://source.android.com/source/building.html.

Share this:
FacebookTwitterHacker NewsSlashdotRedditLinkedInPinterestFlipboardMeWeLineEmailShare

Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress

ROCK 5 ITX RK3588 mini-ITX motherboard

4 Replies to “Android 4.0 Source Code is Now Available”

  1. The code base is large (> 6GB) so the checkout (repo sync) takes a while (about 4 hours for me).

    Then I built Android 4.0.1_r1 on my netbook (Acer Aspire One D255E) since it runs Ubuntu 10.04 LTS and it took over 18 hours and exited with error 45 while running javadoc

  2. Even though I follow procedures described in “http://source.android.com/source/downloading.html”

    But, I got result as follows :

    android@ubuntu:/media/User/androidhome$ repo init -u https://android.googlesource.com/platform/manifest -b android-4.0.1_r1
    fatal: Cannot get https://android.googlesource.com/tools/repo/clone.bundle
    fatal: error [Errno -2] Name or service not known
    android@ubuntu:/media/User/androidhome$

    If you have any opinio.. Please kindly reply your opinion

    Thanks in advance

Leave a Reply

Your email address will not be published. Required fields are marked *

Boardcon Rockchip and Allwinner SoM and SBC products
Boardcon Rockchip and Allwinner SoM and SBC products