본문 바로가기

Mobile/Android

안드로이드 소스 다운받기

반응형

아래의 방법은 호랑이가 담배피던 시절에 안드로이드 소스를 다운받는 방법이었는데,
이제는 제대로 동작이 안됩니다. 아래의 링크로 가시면 최신 버전의 안드로이드 다운받는 방법이 나와있습니다.



=================================================================================





0. MinGW & MSYS를 설치한다.
    http://s2junn.tistory.com/25

0. Git을 설치한다.
    http://s2junn.tistory.com/27

1. 소스를 다운 받을 폴더에 아래 파일을 다운받는다.
   

autogit.sh


2. 다운 받은 경로에서 Command 창을 실행하여 다음 명령을 입력한다.
    > sh autogit.sh



3. 위의 방법이 싫다면 Command 창에서 아래의 노가다를 수행한다.

mkdir kernel
cd kernel
git clone git://android.git.kernel.org/kernel/lk.git
git clone git://android.git.kernel.org/kernel/omap.git
git clone git://android.git.kernel.org/kernel/experimental.git
git clone git://android.git.kernel.org/kernel/msm.git
git clone git://android.git.kernel.org/kernel/common.git 

cd ..
mkdir tools
cd tools
git clone git://android.git.kernel.org/tools/gimd.git
git clone git://android.git.kernel.org/tools/gwtexpui.git
git clone git://android.git.kernel.org/tools/gerrit-contactstore.git
git clone git://android.git.kernel.org/tools/gerrit-keyapplet.git
git clone git://android.git.kernel.org/tools/executablewar.git
git clone git://android.git.kernel.org/tools/gwtorm.git
git clone git://android.git.kernel.org/tools/gwtjsonrpc.git
git clone git://android.git.kernel.org/tools/repo.git
git clone git://android.git.kernel.org/tools/protobuf.git
git clone git://android.git.kernel.org/tools/manifest.git
git clone git://android.git.kernel.org/tools/gerrit.git
git clone git://android.git.kernel.org/tools/android-issuetrackerredirect.git

mkdir test
cd test
git clone git://android.git.kernel.org/tools/test/project0.git
git clone git://android.git.kernel.org/tools/test/manifest.git

cd ../../
mkdir bootable
cd bootable
git clone git://android.git.kernel.org/platform/bootable/recovery.git
git clone git://android.git.kernel.org/platform/bootable/diskinstaller.git

mkdir bootloader      
cd bootloader         
git clone git://android.git.kernel.org/platform/bootable/bootloader/legacy.git

cd ../../
mkdir vendor
cd vendor
git clone git://android.git.kernel.org/platform/vendor/sample.git

mkdir csr
cd csr
git clone git://android.git.kernel.org/platform/vendor/csr/unifi-60xx.git
git clone git://android.git.kernel.org/platform/vendor/csr/unifi-105x.git

cd ../
mkdir asus
cd asus
git clone git://android.git.kernel.org/platform/vendor/asus/eee_701.git

cd ../
mkdir qcom
cd qcom
git clone git://android.git.kernel.org/platform/vendor/qcom/surf.git

cd ../
mkdir htc
cd htc
git clone git://android.git.kernel.org/platform/vendor/htc/dream-open.git

cd ../../
mkdir system
cd system
mkdir wlan
cd wlan
git clone git://android.git.kernel.org/platform/system/wlan/ti.git
git clone git://android.git.kernel.org/platform/system/wlan/broadcom.git

cd ../
git clone git://android.git.kernel.org/platform/system/extras.git
git clone git://android.git.kernel.org/platform/system/core.git
git clone git://android.git.kernel.org/platform/system/bluetooth.git

cd ../
git clone git://android.git.kernel.org/platform/recovery.git
git clone git://android.git.kernel.org/platform/prebuilt.git

mkdir packages
cd packages
mkdir inputmethods
cd inputmethods
git clone git://android.git.kernel.org/platform/packages/inputmethods/OpenWnn.git
git clone git://android.git.kernel.org/platform/packages/inputmethods/PinyinIME.git
git clone git://android.git.kernel.org/platform/packages/inputmethods/LatinIME.git

cd ../
mkdir providers
cd providers
git clone git://android.git.kernel.org/platform/packages/providers/WebSearchProvider.git
git clone git://android.git.kernel.org/platform/packages/providers/ApplicationsProvider.git
git clone git://android.git.kernel.org/platform/packages/providers/UserDictionaryProvider.git
git clone git://android.git.kernel.org/platform/packages/providers/TelephonyProvider.git
git clone git://android.git.kernel.org/platform/packages/providers/MediaProvider.git
git clone git://android.git.kernel.org/platform/packages/providers/ImProvider.git
git clone git://android.git.kernel.org/platform/packages/providers/
GoogleSubscribedFeedsProvider.git
git clone git://android.git.kernel.org/platform/packages/providers/GoogleContactsProvider.git
git clone git://android.git.kernel.org/platform/packages/providers/DrmProvider.git
git clone git://android.git.kernel.org/platform/packages/providers/DownloadProvider.git
git clone git://android.git.kernel.org/platform/packages/providers/ContactsProvider.git
git clone git://android.git.kernel.org/platform/packages/providers/CalendarProvider.git

cd ../
mkdir apps
cd apps
git clone git://android.git.kernel.org/platform/packages/apps/GlobalSearch.git
git clone git://android.git.kernel.org/platform/packages/apps/OTAProvisioningClient.git
git clone git://android.git.kernel.org/platform/packages/apps/VoiceDialer.git
git clone git://android.git.kernel.org/platform/packages/apps/Updater.git
git clone git://android.git.kernel.org/platform/packages/apps/Sync.git
git clone git://android.git.kernel.org/platform/packages/apps/Stk.git
git clone git://android.git.kernel.org/platform/packages/apps/SoundRecorder.git
git clone git://android.git.kernel.org/platform/packages/apps/Settings.git
git clone git://android.git.kernel.org/platform/packages/apps/Phone.git
git clone git://android.git.kernel.org/platform/packages/apps/PackageInstaller.git
git clone git://android.git.kernel.org/platform/packages/apps/Music.git
git clone git://android.git.kernel.org/platform/packages/apps/Mms.git
git clone git://android.git.kernel.org/platform/packages/apps/Launcher.git
git clone git://android.git.kernel.org/platform/packages/apps/IM.git
git clone git://android.git.kernel.org/platform/packages/apps/HTMLViewer.git
git clone git://android.git.kernel.org/platform/packages/apps/GoogleSearch.git
git clone git://android.git.kernel.org/platform/packages/apps/Email.git
git clone git://android.git.kernel.org/platform/packages/apps/Contacts.git
git clone git://android.git.kernel.org/platform/packages/apps/Camera.git
git clone git://android.git.kernel.org/platform/packages/apps/Calendar.git
git clone git://android.git.kernel.org/platform/packages/apps/Calculator.git
git clone git://android.git.kernel.org/platform/packages/apps/Browser.git
git clone git://android.git.kernel.org/platform/packages/apps/AlarmClock.git

cd ../../
git clone git://android.git.kernel.org/platform/manifest.git

mkdir hardware
cd hardware
git clone git://android.git.kernel.org/platform/hardware/libhardware_legacy.git
git clone git://android.git.kernel.org/platform/hardware/alsa_sound.git
git clone git://android.git.kernel.org/platform/hardware/msm7k.git
git clone git://android.git.kernel.org/platform/hardware/ril.git
git clone git://android.git.kernel.org/platform/hardware/libhardware.git

cd ../
mkdir frameworks
cd frameworks
mkdir opt
cd opt
git clone git://android.git.kernel.org/platform/frameworks/opt/emoji.git
git clone git://android.git.kernel.org/platform/frameworks/opt/
com.google.android.googlelogin.git
git clone git://android.git.kernel.org/platform/frameworks/opt/com.google.android.git

cd ..
mkdir policies
cd policies
git clone git://android.git.kernel.org/platform/frameworks/policies/base.git

cd ..
git clone git://android.git.kernel.org/platform/frameworks/base.git

cd ..
mkdir external
cd external
git clone git://android.git.kernel.org/platform/external/svox.git
git clone git://android.git.kernel.org/platform/external/speex.git
git clone git://android.git.kernel.org/platform/external/ipsec-tools.git
git clone git://android.git.kernel.org/platform/external/blktrace.git
git clone git://android.git.kernel.org/platform/external/junit.git
git clone git://android.git.kernel.org/platform/external/mtpd.git
git clone git://android.git.kernel.org/platform/external/lcc.git
git clone git://android.git.kernel.org/platform/external/hcidump.git
git clone git://android.git.kernel.org/platform/external/gtest.git
git clone git://android.git.kernel.org/platform/external/eglib.git
git clone git://android.git.kernel.org/platform/external/astl.git
git clone git://android.git.kernel.org/platform/external/alsa-utils.git
git clone git://android.git.kernel.org/platform/external/dosfstools.git
git clone git://android.git.kernel.org/platform/external/xdelta3.git
git clone git://android.git.kernel.org/platform/external/grub.git
git clone git://android.git.kernel.org/platform/external/genext2fs.git
git clone git://android.git.kernel.org/platform/external/fsck_msdos.git
git clone git://android.git.kernel.org/platform/external/embunit.git
git clone git://android.git.kernel.org/platform/external/e2fsprogs.git
git clone git://android.git.kernel.org/platform/external/bzip2.git
git clone git://android.git.kernel.org/platform/external/bsdiff.git
git clone git://android.git.kernel.org/platform/external/bison.git
git clone git://android.git.kernel.org/platform/external/alsa-lib.git
git clone git://android.git.kernel.org/platform/external/tesseract.git
git clone git://android.git.kernel.org/platform/external/zlib.git
git clone git://android.git.kernel.org/platform/external/yaffs2.git
git clone git://android.git.kernel.org/platform/external/wpa_supplicant.git
git clone git://android.git.kernel.org/platform/external/webkit.git
git clone git://android.git.kernel.org/platform/external/tremor.git
git clone git://android.git.kernel.org/platform/external/tinyxml.git
git clone git://android.git.kernel.org/platform/external/tcpdump.git
git clone git://android.git.kernel.org/platform/external/tagsoup.git
git clone git://android.git.kernel.org/platform/external/strace.git
git clone git://android.git.kernel.org/platform/external/srec.git
git clone git://android.git.kernel.org/platform/external/sqlite.git
git clone git://android.git.kernel.org/platform/external/sonivox.git
git clone git://android.git.kernel.org/platform/external/skia.git
git clone git://android.git.kernel.org/platform/external/safe-iop.git
git clone git://android.git.kernel.org/platform/external/qemu.git
git clone git://android.git.kernel.org/platform/external/protobuf.git
git clone git://android.git.kernel.org/platform/external/ppp.git
git clone git://android.git.kernel.org/platform/external/ping.git
git clone git://android.git.kernel.org/platform/external/oprofile.git
git clone git://android.git.kernel.org/platform/external/openssl.git
git clone git://android.git.kernel.org/platform/external/opencore.git
git clone git://android.git.kernel.org/platform/external/neven.git
git clone git://android.git.kernel.org/platform/external/netperf.git
git clone git://android.git.kernel.org/platform/external/netcat.git
git clone git://android.git.kernel.org/platform/external/libxml2.git
git clone git://android.git.kernel.org/platform/external/libpng.git
git clone git://android.git.kernel.org/platform/external/libpcap.git
git clone git://android.git.kernel.org/platform/external/libffi.git
git clone git://android.git.kernel.org/platform/external/jpeg.git
git clone git://android.git.kernel.org/platform/external/jhead.git
git clone git://android.git.kernel.org/platform/external/jdiff.git
git clone git://android.git.kernel.org/platform/external/iptables.git
git clone git://android.git.kernel.org/platform/external/icu4c.git
git clone git://android.git.kernel.org/platform/external/googleclient.git
git clone git://android.git.kernel.org/platform/external/giflib.git
git clone git://android.git.kernel.org/platform/external/gdata.git
git clone git://android.git.kernel.org/platform/external/freetype.git
git clone git://android.git.kernel.org/platform/external/fdlibm.git
git clone git://android.git.kernel.org/platform/external/expat.git
git clone git://android.git.kernel.org/platform/external/esd.git
git clone git://android.git.kernel.org/platform/external/emma.git
git clone git://android.git.kernel.org/platform/external/elfutils.git
git clone git://android.git.kernel.org/platform/external/elfcopy.git
git clone git://android.git.kernel.org/platform/external/dropbear.git
git clone git://android.git.kernel.org/platform/external/dhcpcd.git
git clone git://android.git.kernel.org/platform/external/dbus.git
git clone git://android.git.kernel.org/platform/external/clearsilver.git
git clone git://android.git.kernel.org/platform/external/bluez.git
git clone git://android.git.kernel.org/platform/external/apache-http.git
git clone git://android.git.kernel.org/platform/external/aes.git

cd ..
git clone git://android.git.kernel.org/platform/development.git
git clone git://android.git.kernel.org/platform/dalvik.git
git clone git://android.git.kernel.org/platform/build.git

mkdir bootloader
cd bootloader
git clone git://android.git.kernel.org/platform/bootloader/legacy.git

cd ..
git clone git://android.git.kernel.org/platform/bionic.git


반응형