Android: Download Repo Source Code Android: Difference between revisions
From OnnoCenterWiki
Jump to navigationJump to search
Onnowpurbo (talk | contribs) No edit summary |
Onnowpurbo (talk | contribs) No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 15: | Line 15: | ||
Buat directory android-source | Buat directory android-source | ||
cd ~ | |||
mkdir android-source | mkdir android-source | ||
cd android-source | cd android-source | ||
| Line 24: | 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 04: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