[Xoom Android Development] zone23:
#Install Instructions Goolge Source & Compilers#

#Install Instructions Goolge Source & Compilers#

#Required:

#Ubuntu 11.10 x64

#Internet Connection

#Each line is assumed a command unless grouped. I removed "$" for easier copy and paste.

#Copy and paste each command into Terminal.

#Install dependencies

sudo apt-get update

sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev libc6-dev lib32ncurses5-dev ia32-libs \

x11proto-core-dev libx11-dev lib32z1-dev libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown libxml2-utils

#Install an “old” GCC

sudo apt-get install gcc-4.4 g++-4.4 g++-4.4-multilib gcc-4.4-multilib

sudo ln -s /usr/lib/i386-linux-gnu/libX11.so.6 /usr/lib/i386-linux-gnu/libX11.so

#Download Sun Java 6 JDK

sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"

sudo apt-get update

sudo apt-get install sun-java6-jdk

#Installing Repo

mkdir ~/bin

PATH=~/bin:$PATH

curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo

chmod a+x ~/bin/repo

#Repo client

mkdir Working_Directory

cd Working_Directory

repo init

repo init -u https://android.googlesource.com/platform/manifest

#Getting the files

#(the following comand could take as much as 2 hour or more)

repo sync

#Verifying Git Tags (This Generally doesn't Work)

gpg --import

#Begin Copy:

-----BEGIN PGP PUBLIC KEY BLOCK-----

Version: GnuPG v1.4.2.2 (GNU/Linux)

mQGiBEnnWD4RBACt9/h4v9xnnGDou13y3dvOx6/t43LPPIxeJ8eX9WB+8LLuROSV

lFhpHawsVAcFlmi7f7jdSRF+OvtZL9ShPKdLfwBJMNkU66/TZmPewS4m782ndtw7

8tR1cXb197Ob8kOfQB3A9yk2XZ4ei4ZC3i6wVdqHLRxABdncwu5hOF9KXwCgkxMD

u4PVgChaAJzTYJ1EG+UYBIUEAJmfearb0qRAN7dEoff0FeXsEaUA6U90sEoVks0Z

wNj96SA8BL+a1OoEUUfpMhiHyLuQSftxisJxTh+2QclzDviDyaTrkANjdYY7p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ka1LNMwzSp9ILz8jEGqmUtkBszwo

G1S8fXgE0Lq3cdDM/GJ4QXP/p6LiwNF99faDMTV3+2SAOGvytOX6KjKVzKOSsfJQ

hN0DlsIw8hqJc0WISQQYEQIACQUCSedYRAIbDAAKCRDorT+BmrEOeCUOAJ9qmR0l

EXzeoxcdoafxqf6gZlJZlACgkWF7wi2YLW3Oa+jv2QSTlrx4KLM=

=Wi5D

-----END PGP PUBLIC KEY BLOCK-----

#End Copy

#Press ENTER the CTRL+D to exit

#Downloading kernels

git clone https://android.googlesource.com/kernel/common.git

git clone https://android.googlesource.com/kernel/goldfish.git

git clone https://android.googlesource.com/kernel/msm.git

git clone https://android.googlesource.com/kernel/omap.git

git clone https://android.googlesource.com/kernel/samsung.git

git clone https://android.googlesource.com/kernel/tegra.git

Refernces:

Alan Orth:http://mjanja.co.ke/2011/11/building-android-4-0-on-ubuntu-11-10/

Android Open Source Project:http://source.android.com/