To download android src code, we need git and repo. how to install git and repo? pls refer to following:
1. install git: dwn it from http://git-scm.com #tar -jxvf git-version.tar.bz2 #cd git-version #./configure --prefix=/usr #make #make install
2. install repo
curl http://android.git.kernel.org/repo > /usr/bin/repo chmod a+x /usr/bin/repo 3. how to download the newest src code? pls execute these cmds: #repo init -u git://android.git.kernel.org/platform/manifest.git you will get a repo log containing config-info.
 hoho, as you see, android-2.3.4_r1 is the newest tag made here. yeah, you also can get this info via these lines:
 all these log will be shown on your pc screen. Now, delete the .repo when you get the newest version info. and execute this cmd to start to download the newest src code: #repo init -u git://android.git.kernel.org/platform/manifest.git -b android-2.3.4_r1 few minutes late, you will get a .repo dir. and a msg prompt is shown like this:
 just accept it as following:

my log: repo initialized in /opt/wrk/and/src
4. download src code now, issue cmd # repo sync start to download src code....

|