Difference between revisions of "Android: Download Repo Source Code Android"

From OnnoWiki
Jump to navigation Jump to search
Line 31: Line 31:
  
 
  cd ~/android-source
 
  cd ~/android-source
  repo init -u https://android.googlesource.com/platform/manifest -b android-4.0.1_r1
+
  repo init -u https://android.googlesource.com/platform/manifest -b android-4.0.4_r2.1
 +
 
 +
 
 +
Daftar Device & Branch yang dibutuhkan
 +
 
 +
Device Branch Build configuration
 +
maguro android-4.0.4_r2.1 or master full_maguro-userdebug
 +
panda master full_panda-userdebug
 +
wingray android-4.0.4_r2.1 or master full_wingray-userdebug
 +
crespo android-4.0.4_r2.1 or master full_crespo-userdebug
 +
passion android-2.3.7_r1 full_passion-userdebug
 +
sapphire android-2.2.3_r1 full_sapphire-userdebug
 +
dream android-2.2.3_r1 full_dream-userdebug

Revision as of 07:23, 24 July 2012

Install aplikasi pendukung

sudo apt-get install curl

Buat path

mkdir ~/bin
PATH=~/bin:$PATH

Download Repo script dan pastikan executable:

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

Buat directory android-source

cd ~
mkdir android-source
cd android-source

Kalau perlu mount external USB harddisk tempat source-nya

mount /dev/sdX1 android-source

Lakukan manifest

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

To check out a branch other than "master", specify it with -b:

cd ~/android-source
repo init -u https://android.googlesource.com/platform/manifest -b android-4.0.4_r2.1


Daftar Device & Branch yang dibutuhkan

Device 	Branch 	 	 	 	 Build configuration
maguro 	android-4.0.4_r2.1 or master	 full_maguro-userdebug
panda 	 	master 	 	 	 	 full_panda-userdebug
wingray 	android-4.0.4_r2.1 or master 	 full_wingray-userdebug
crespo 	android-4.0.4_r2.1 or master 	 full_crespo-userdebug
passion 	android-2.3.7_r1 	 	 full_passion-userdebug
sapphire 	android-2.2.3_r1 	 	 full_sapphire-userdebug
dream 	 	android-2.2.3_r1 	 	 full_dream-userdebug