Difference between revisions of "OS: Android - Membuat Mirror Source"

From OnnoWiki
Jump to navigation Jump to search
(New page: ==Pranala Menarik== * OS: Android - Mempersiapkan Development Environment * OS: Android - Memeriksa Spesifikasi Handphone yang digunakan * [[OS: Android - Membuat Mirror Sourc...)
 
 
(29 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
==Mirror Source AOSP (Google)==
  
 +
sudo mkdir -p /usr/local/aosp/mirror
 +
sudo mount --bind /media/onno/onnolibrary/repository/android-source/mirror/ /usr/local/aosp/mirror/
 +
sudo chmod -Rf 777 /usr/local/aosp
 +
sudo chown -Rf nobody.nogroup /usr/local/aosp
 +
cd /usr/local/aosp/mirror
 +
repo init -u https://android.googlesource.com/mirror/manifest --mirror
 +
repo sync
  
 +
==Mirror Source AOKP==
  
 +
sudo mkdir -p /usr/local/aokp/mirror
 +
sudo mount --bind /media/onno/onnolibrary/repository/android-source/mirror-aokp/ /usr/local/aokp/mirror/
 +
sudo chmod -Rf 777 /usr/local/aokp
 +
sudo chown -Rf nobody.nogroup /usr/local/aokp
 +
cd /usr/local/aokp/mirror
 +
repo init -u git://github.com/AOKP/platform_manifest.git -b jb --mirror
 +
repo sync
 +
 +
==Mirror Source CyanogenMod==
 +
 +
 +
sudo mkdir -p /usr/local/cyanogenmod/mirror
 +
sudo mount --bind /media/onno/onnolibrary/repository/android-source/mirror-cyanogenmod/ /usr/local/cyanogenmod/mirror/
 +
sudo chmod -Rf 777 /usr/local/cyanogenmod
 +
sudo chown -Rf nobody.nogroup /usr/local/cyanogenmod
 +
cd /usr/local/cyanogenmod/mirror
 +
repo init -u git://github.com/CyanogenMod/android.git -b cm-10.2 --mirror
 +
repo sync
 +
 +
==Inisialisasi Repo==
 +
 +
rm -Rf /usr/local/aosp/mirror/.repo
 +
cd /usr/local/aosp/mirror
 +
repo init -u https://android.googlesource.com/mirror/manifest --mirror
 +
 +
rm -Rf  cd /usr/local/aokp/mirror/.repo
 +
cd /usr/local/aokp/mirror
 +
repo init -u git://github.com/AOKP/platform_manifest.git -b jb --mirror
 +
 +
rm -Rf /usr/local/cyanogenmod/mirror/.repo
 +
cd /usr/local/cyanogenmod/mirror
 +
repo init -u git://github.com/CyanogenMod/android.git  -b cm-10.1 --mirror
 +
 +
===Alternatif Inisialisasi===
 +
 +
'''Untuk AOSP'''
 +
 +
repo init -u https://android.googlesource.com/mirror/manifest -b master --mirror
 +
repo init -u https://android.googlesource.com/mirror/manifest -b stable --mirror
 +
 +
 +
'''Untuk AOKP'''
 +
 +
repo init -u git://github.com/AOKP/platform_manifest.git -b froyo --mirror
 +
repo init -u git://github.com/AOKP/platform_manifest.git -b gingerbread --mirror
 +
repo init -u git://github.com/AOKP/platform_manifest.git -b ics --mirror
 +
repo init -u git://github.com/AOKP/platform_manifest.git -b jellybean --mirror
 +
 +
 +
'''Untuk CyanogenMod'''
 +
 +
repo init -u git://github.com/CyanogenMod/android.git  -b cm-7.0.0 --mirror # gingerbread
 +
repo init -u git://github.com/CyanogenMod/android.git  -b cm-7.0.3 --mirror
 +
repo init -u git://github.com/CyanogenMod/android.git  -b cm-9.0.0 --mirror
 +
repo init -u git://github.com/CyanogenMod/android.git  -b cm-10.1 --mirror
 +
repo init -u git://github.com/CyanogenMod/android.git  -b cm-10.2 --mirror  # android 4.3
 +
repo init -u git://github.com/CyanogenMod/android.git  -b cm-10.3 --mirror  # android 4.3
 +
 +
==Update Mirror Repo==
 +
 +
Sebagai user biasa lakukan
 +
 +
cd /usr/local/aosp/mirror
 +
repo sync
 +
 +
cd /usr/local/aokp/mirror
 +
repo sync
 +
 +
cd /usr/local/cyanogenmod/mirror
 +
repo sync
 +
 +
==Referensi==
 +
 +
* https://github.com/ladios/android_mirror
  
 
==Pranala Menarik==
 
==Pranala Menarik==
  
 +
* [[Android]]
 +
* [[Pemrogramman Android]]
 
* [[OS: Android - Mempersiapkan Development Environment]]
 
* [[OS: Android - Mempersiapkan Development Environment]]
 
* [[OS: Android - Memeriksa Spesifikasi Handphone yang digunakan]]
 
* [[OS: Android - Memeriksa Spesifikasi Handphone yang digunakan]]
 
* [[OS: Android - Membuat Mirror Source]]
 
* [[OS: Android - Membuat Mirror Source]]
 
* [[OS: Android - Download]]
 
* [[OS: Android - Download]]
 +
* [[OS: Android - Membuat Folder untuk Bekerja]]
 
* [[OS: Android - Mirror Source]]
 
* [[OS: Android - Mirror Source]]
 
* [[OS: Android - Mirror Source AOKP]]
 
* [[OS: Android - Mirror Source AOKP]]
 
* [[OS: Android - Mirror Source CyanogenMod]]
 
* [[OS: Android - Mirror Source CyanogenMod]]
 
* [[OS: Android - Build]]
 
* [[OS: Android - Build]]
 +
* [[OS: Android - Build CyanogenMod]]
 +
* [[OS: Android - Build AOSP]]

Latest revision as of 07:21, 5 September 2013

Mirror Source AOSP (Google)

sudo mkdir -p /usr/local/aosp/mirror
sudo mount --bind /media/onno/onnolibrary/repository/android-source/mirror/ /usr/local/aosp/mirror/
sudo chmod -Rf 777 /usr/local/aosp
sudo chown -Rf nobody.nogroup /usr/local/aosp
cd /usr/local/aosp/mirror
repo init -u https://android.googlesource.com/mirror/manifest --mirror
repo sync

Mirror Source AOKP

sudo mkdir -p /usr/local/aokp/mirror
sudo mount --bind /media/onno/onnolibrary/repository/android-source/mirror-aokp/ /usr/local/aokp/mirror/
sudo chmod -Rf 777 /usr/local/aokp
sudo chown -Rf nobody.nogroup /usr/local/aokp
cd /usr/local/aokp/mirror
repo init -u git://github.com/AOKP/platform_manifest.git -b jb --mirror
repo sync

Mirror Source CyanogenMod

sudo mkdir -p /usr/local/cyanogenmod/mirror
sudo mount --bind /media/onno/onnolibrary/repository/android-source/mirror-cyanogenmod/ /usr/local/cyanogenmod/mirror/
sudo chmod -Rf 777 /usr/local/cyanogenmod
sudo chown -Rf nobody.nogroup /usr/local/cyanogenmod
cd /usr/local/cyanogenmod/mirror
repo init -u git://github.com/CyanogenMod/android.git -b cm-10.2 --mirror
repo sync

Inisialisasi Repo

rm -Rf /usr/local/aosp/mirror/.repo
cd /usr/local/aosp/mirror
repo init -u https://android.googlesource.com/mirror/manifest --mirror
rm -Rf  cd /usr/local/aokp/mirror/.repo
cd /usr/local/aokp/mirror
repo init -u git://github.com/AOKP/platform_manifest.git -b jb --mirror
rm -Rf /usr/local/cyanogenmod/mirror/.repo
cd /usr/local/cyanogenmod/mirror
repo init -u git://github.com/CyanogenMod/android.git  -b cm-10.1 --mirror

Alternatif Inisialisasi

Untuk AOSP

repo init -u https://android.googlesource.com/mirror/manifest -b master --mirror
repo init -u https://android.googlesource.com/mirror/manifest -b stable --mirror


Untuk AOKP

repo init -u git://github.com/AOKP/platform_manifest.git -b froyo --mirror
repo init -u git://github.com/AOKP/platform_manifest.git -b gingerbread --mirror
repo init -u git://github.com/AOKP/platform_manifest.git -b ics --mirror
repo init -u git://github.com/AOKP/platform_manifest.git -b jellybean --mirror


Untuk CyanogenMod

repo init -u git://github.com/CyanogenMod/android.git  -b cm-7.0.0 --mirror # gingerbread
repo init -u git://github.com/CyanogenMod/android.git  -b cm-7.0.3 --mirror
repo init -u git://github.com/CyanogenMod/android.git  -b cm-9.0.0 --mirror
repo init -u git://github.com/CyanogenMod/android.git  -b cm-10.1 --mirror
repo init -u git://github.com/CyanogenMod/android.git  -b cm-10.2 --mirror  # android 4.3
repo init -u git://github.com/CyanogenMod/android.git  -b cm-10.3 --mirror  # android 4.3

Update Mirror Repo

Sebagai user biasa lakukan

cd /usr/local/aosp/mirror
repo sync
cd /usr/local/aokp/mirror
repo sync
cd /usr/local/cyanogenmod/mirror
repo sync

Referensi

Pranala Menarik