title: Checking out Android source from github
body: <p>After going through all of these steps to check out the Android source code (Gingerbread branch), only to come to a compile error, I have decided to try to get the source code from a different source.</p>
  
  <p>Here are the steps that I have taken to checkout the source code from the GitHub.com repository.</p>
  
  <p>I checked out the repo tool from the GitHub.com repository</p>
  
  <pre><code>git clone git://github.com/android/tools_repo.git
  </code></pre>
  
  <p>Inside the repo script file that was downloaded, I changed the location of the repo tool as follows:</p>
  
  <pre><code>## repo default configuration
  ##
  #REPO_URL='git://android.git.kernel.org/tools/repo.git'
  REPO_URL='git://github.com/android/tools_repo.git'
  REPO_REV='stable'
  </code></pre>
  
  <p>After this, I created the repository for the source code using the repo script 'git wrapper'.</p>
  
  <pre><code>repo init -u git://github.com/android/platform_manifest.git -b gingerbread
  </code></pre>
  
  <p>Which gave me a successful results; "repo initialized in /home/my/directory"</p>
  
  <p>However, when I try to <code>repo sync</code>, I get the following error message:</p>
  
  <pre><code>$ repo sync
  
  Initializing project platform/bionic ...
  android.git.kernel.org[0: 149.20.4.77]: errno=Connection timed out
  fatal: unable to connect a socket (Connection timed out)
  error: Cannot fetch platform/bionic
  </code></pre>
  
  <p>Where are the references to the now-offline android.git.kernel.org?  <code>cat repo|grep kernel.org</code> gives me nothing.</p>