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

From OnnoWiki
Jump to navigation Jump to search
(New page: 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 ...)
 
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
Install aplikasi pendukung
 +
 +
sudo apt-get install curl
 +
 
Buat path
 
Buat path
  
Line 11: Line 15:
 
Buat directory android-source
 
Buat directory android-source
  
 +
cd ~
 
  mkdir android-source
 
  mkdir android-source
 
  cd android-source
 
  cd android-source
Line 20: Line 25:
 
Lakukan manifest
 
Lakukan manifest
  
  cd android-source
+
  cd ~/android-source
 
  repo init -u https://android.googlesource.com/platform/manifest
 
  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
 +
 +
Ambil repo sesuai manifest
 +
 +
cd ~/android-source
 +
repo sync
 +
 +
 +
==Pranala Menarik==
 +
 +
* [[Android: Build Image]]

Latest revision as of 11:12, 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

Ambil repo sesuai manifest

cd ~/android-source
repo sync


Pranala Menarik