To check out a branch other than "master", specify it with -b:$ repo init -u https://android.googlesource.com/platform/manifest -b android-4.0.1_r1When prompted, please configure Repo with your real name and email address. To use the Gerrit code-review tool, you will need an email address that is connected with a registered Google account. Make sure this is a live address at which you can receive messages. The name that you provide here will show up in attributions for your code submissions.详细:http://source.android.com/source/downloading.html
2.装ubuntu
3.去android开发官网看下载步骤
不过如果你今天早上装个LINUX,现在早就把源码下完了。