Horje Website
Installing Repo – Android Source Code

The Android source tree is located in a Git repository hosted by Google. The Git repository includes metadata for the Android source, including those related to changes to the source and the date they were made. This document describes how to download the source tree for a specific Android code-line.


Make sure you have a bin/ directory in your home directory and that it is included in your path:

  1. mkdir ~/bin
  2. PATH=~/bin:$PATH


Download the Repo tool and ensure that it is executable

  1. curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
  2. chmod a+x ~/bin/repo


For version 1.25, the SHA-256 checksum for repo is d06f33115aea44e583c8669375b35aad397176a411de3461897444d247b6c220.


March 2, 2019
Android Source Code

This article was posted in Android Source Code and tagged . Bookmark the permalink. Follow comments with the RSS feed for this post.Post a Comment or leave a trackback: Trackback URL.

Leave a Reply

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


Horje © 2011 - 2023