android源码GIT下载

mkdir device
cd device
git clone https://android.googlesource.com/device/common.git
mkdir htc
cd htc
git clone https://android.googlesource.com/device/htc/common.git
git clone https://android.googlesource.com/device/htc/dream-sapphire.git
git clone https://android.googlesource.com/device/htc/dream.git
git clone https://android.googlesource.com/device/htc/passion-common.git
git clone https://android.googlesource.com/device/htc/passion.git
git clone https://android.googlesource.com/device/htc/sapphire.git
cd ..
git clone https://android.googlesource.com/device/sample.git
mkdir samsung
cd samsung
git clone https://android.googlesource.com/device/samsung/crespo.git
cd ..
cd ..
mkdir kernel
cd kernel
git clone https://android.googlesource.com/kernel/common.git
git clone https://android.googlesource.com/kernel/experimental.git
git clone https://android.googlesource.com/kernel/linux-2.6.git
git clone https://android.googlesource.com/kernel/lk.git
git clone https://android.googlesource.com/kernel/msm.git
git clone https://android.googlesource.com/kernel/omap.git
git clone https://android.googlesource.com/kernel/samsung.git
git clone https://android.googlesource.com/kernel/tegra.git
cd ..
mkdir platform
cd platform
git clone https://android.googlesource.com/platform/bionic.git
mkdir bootable
cd bootable
mkdir bootloader
cd bootloader
git clone https://android.googlesource.com/platform/bootable/bootloader/legacy.git
cd ..
git clone https://android.googlesource.com/platform/bootable/diskinstaller.git
git clone https://android.googlesource.com/platform/bootable/recovery.git
cd ..
mkdir bootloader
cd bootloader
git clone https://android.googlesource.com/platform/bootloader/legacy.git
cd ..
git clone https://android.googlesource.com/platform/build.git
git clone https://android.googlesource.com/platform/cts.git
git clone https://android.googlesource.com/platform/dalvik.git
git clone https://android.googlesource.com/platform/development.git
mkdir external
cd external
git clone https://android.googlesource.com/platform/external/aes.git
git clone https://android.googlesource.com/platform/external/alsa-lib.git
git clone https://android.googlesource.com/platform/external/alsa-utils.git
git clone https://android.googlesource.com/platform/external/apache-http.git
git clone https://android.googlesource.com/platform/external/astl.git
git clone https://android.googlesource.com/platform/external/bison.git
git clone https://android.googlesource.com/platform/external/blktrace.git
mkdir bluetooth
cd bluetooth
git clone https://android.googlesource.com/platform/external/bluetooth/bluez.git
git clone https://android.googlesource.com/platform/external/bluetooth/glib.git
git clone https://android.googlesource.com/platform/external/bluetooth/hcidumb.git
git clone https://android.googlesource.com/platform/external/bluetooth/hcidump.git
cd ..
git clone https://android.googlesource.com/platform/external/bluez.git
git clone https://android.googlesource.com/platform/external/bouncycastle.git
git clone https://android.googlesource.com/platform/external/bsdiff.git
git clone https://android.googlesource.com/platform/external/bzip2.git
git clone https://android.googlesource.com/platform/external/chromium.git
git clone https://android.googlesource.com/platform/external/clearsilver.git
git clone https://android.googlesource.com/platform/external/dbus.git
git clone https://android.googlesource.com/platform/external/dhcpcd.git
git clone https://android.googlesource.com/platform/external/dnsmasq.git
git clone https://android.googlesource.com/platform/external/dosfstools.git
git clone https://android.googlesource.com/platform/external/dropbear.git
git clone https://android.googlesource.com/platform/external/e2fsprogs.git
git clone https://android.googlesource.com/platform/external/easymock.git
git clone https://android.googlesource.com/platform/external/eglib.git
git clone https://android.googlesource.com/platform/external/elfcopy.git
git clone https://android.googlesource.com/platform/external/elfutils.git
git clone https://android.googlesource.com/platform/external/embunit.git
git clone https://android.googlesource.com/platform/external/emma.git
git clone https://android.googlesource.com/platform/external/esd.git
git clone https://android.googlesource.com/platform/external/expat.git
git clone https://android.googlesource.com/platform/external/fdlibm.git
git clone https://android.googlesource.com/platform/external/freetype.git
git clone https://android.googlesource.com/platform/external/fsck_msdos.git
git clone https://android.googlesource.com/platform/external/gdata.git
git clone https://android.googlesource.com/platform/external/genext2fs.git
git clone https://android.googlesource.com/platform/external/giflib.git
git clone https://android.googlesource.com/platform/external/googleclient.git
git clone https://android.googlesource.com/platform/external/grub.git
git clone https://android.googlesource.com/platform/external/gtest.git
git clone https://android.googlesource.com/platform/external/guava.git
git clone https://android.googlesource.com/platform/external/harfbuzz.git
git clone https://android.googlesource.com/platform/external/hcidump.git
git clone https://android.googlesource.com/platform/external/hyphenation.git
git clone https://android.googlesource.com/platform/external/icu4c.git
git clone https://android.googlesource.com/platform/external/iproute2.git
git clone https://android.googlesource.com/platform/external/ipsec-tools.git
git clone https://android.googlesource.com/platform/external/iptables.git
git clone https://android.googlesource.com/platform/external/jdiff.git
git clone https://android.googlesource.com/platform/external/jhead.git
git clone https://android.googlesource.com/platform/external/jpeg.git
git clone https://android.googlesource.com/platform/external/jsilver.git
git clone https://android.googlesource.com/platform/external/jsr305.git
git clone https://android.googlesource.com/platform/external/junit.git
git clone https://android.googlesource.com/platform/external/kernel-headers.git
git clone https://android.googlesource.com/platform/external/lcc.git
git clone https://android.googlesource.com/platform/external/libffi.git
git clone https://android.googlesource.com/platform/external/libgsm.git
git clone https://android.googlesource.com/platform/external/libnfc-nxp.git
git clone https://android.googlesource.com/platform/external/libpcap.git
git clone https://android.googlesource.com/platform/external/libpng.git
git clone https://android.googlesource.com/platform/external/libvpx.git
git clone https://android.googlesource.com/platform/external/libxml2.git
git clone https://android.googlesource.com/platform/external/libxslt.git
git clone https://android.googlesource.com/platform/external/mtd-utils.git
git clone https://android.googlesource.com/platform/external/mtpd.git
git clone https://android.googlesource.com/platform/external/netcat.git
git clone https://android.googlesource.com/platform/external/netperf.git
git clone https://android.googlesource.com/platform/external/neven.git
git clone https://android.googlesource.com/platform/external/nist-sip.git
git clone https://android.googlesource.com/platform/external/oauth.git
git clone https://android.googlesource.com/platform/external/opencore.git
git clone https://android.googlesource.com/platform/external/openssl.git
git clone https://android.googlesource.com/platform/external/openvpn.git
git clone https://android.googlesource.com/platform/external/oprofile.git
git clone https://android.googlesource.com/platform/external/ping.git
git clone https://android.googlesource.com/platform/external/ppp.git
git clone https://android.googlesource.com/platform/external/proguard.git
git clone https://android.googlesource.com/platform/external/protobuf.git
git clone https://android.googlesource.com/platform/external/qemu-pc-bios.git
git clone https://android.googlesource.com/platform/external/qemu.git
git clone https://android.googlesource.com/platform/external/quake.git
git clone https://android.googlesource.com/platform/external/safe-iop.git
git clone https://android.googlesource.com/platform/external/skia.git
git clone https://android.googlesource.com/platform/external/sonivox.git
git clone https://android.googlesource.com/platform/external/speex.git
git clone https://android.googlesource.com/platform/external/sqlite.git
git clone https://android.googlesource.com/platform/external/srec.git
git clone https://android.googlesource.com/platform/external/stlport.git
git clone https://android.googlesource.com/platform/external/strace.git
git clone https://android.googlesource.com/platform/external/svox.git
git clone https://android.googlesource.com/platform/external/tagsoup.git
git clone https://android.googlesource.com/platform/external/tcpdump.git
git clone https://android.googlesource.com/platform/external/tesseract.git
git clone https://android.googlesource.com/platform/external/tinyxml.git
git clone https://android.googlesource.com/platform/external/tremolo.git
git clone https://android.googlesource.com/platform/external/tremor.git
git clone https://android.googlesource.com/platform/external/v8.git
git clone https://android.googlesource.com/platform/external/webkit.git
git clone https://android.googlesource.com/platform/external/wpa_supplicant.git
git clone https://android.googlesource.com/platform/external/wpa_supplicant_6.git
git clone https://android.googlesource.com/platform/external/xdelta3.git
git clone https://android.googlesource.com/platform/external/xmlwriter.git
git clone https://android.googlesource.com/platform/external/yaffs2.git
git clone https://android.googlesource.com/platform/external/zlib.git
cd ..
mkdir frameworks
cd frameworks
git clone https://android.googlesource.com/platform/frameworks/support.git
git clone https://android.googlesource.com/platform/frameworks/base.git
git clone https://android.googlesource.com/platform/frameworks/ex.git
mkdir opt
cd opt
git clone https://android.googlesource.com/platform/frameworks/opt/com.google.android.git
git clone https://android.googlesource.com/platform/frameworks/opt/com.google.android.googlelogin.git
git clone https://android.googlesource.com/platform/frameworks/opt/emoji.git
cd ..
mkdir policies
cd policies
git clone https://android.googlesource.com/platform/frameworks/policies/base.git
cd ..
cd ..
mkdir hardware
cd hardware
git clone https://android.googlesource.com/platform/hardware/alsa_sound.git
mkdir broadcom
cd broadcom
git clone https://android.googlesource.com/platform/hardware/broadcom/wlan.git
cd ..
mkdir htc
cd htc
git clone https://android.googlesource.com/platform/hardware/htc/dream.git
cd ..
git clone https://android.googlesource.com/platform/hardware/libhardware.git
git clone https://android.googlesource.com/platform/hardware/libhardware_legacy.git
git clone https://android.googlesource.com/platform/hardware/msm7k.git
mkdir qcom
cd qcom
git clone https://android.googlesource.com/platform/hardware/qcom/gps.git
git clone https://android.googlesource.com/platform/hardware/qcom/media.git
cd ..
git clone https://android.googlesource.com/platform/hardware/ril.git
mkdir ti
cd ti
git clone https://android.googlesource.com/platform/hardware/ti/omap3.git
git clone https://android.googlesource.com/platform/hardware/ti/wlan.git
cd ..
cd ..
git clone https://android.googlesource.com/platform/libcore.git
git clone https://android.googlesource.com/platform/ndk.git
mkdir packages
cd packages
mkdir apps
cd apps
git clone https://android.googlesource.com/platform/packages/apps/AccountsAndSyncSettings.git
git clone https://android.googlesource.com/platform/packages/apps/AlarmClock.git
git clone https://android.googlesource.com/platform/packages/apps/Bluetooth.git
git clone https://android.googlesource.com/platform/packages/apps/Browser.git
git clone https://android.googlesource.com/platform/packages/apps/Calculator.git
git clone https://android.googlesource.com/platform/packages/apps/Calendar.git
git clone https://android.googlesource.com/platform/packages/apps/Camera.git
git clone https://android.googlesource.com/platform/packages/apps/CertInstaller.git
git clone https://android.googlesource.com/platform/packages/apps/Contacts.git
git clone https://android.googlesource.com/platform/packages/apps/DeskClock.git
git clone https://android.googlesource.com/platform/packages/apps/Email.git
git clone https://android.googlesource.com/platform/packages/apps/Gallery.git
git clone https://android.googlesource.com/platform/packages/apps/Gallery3D.git
git clone https://android.googlesource.com/platform/packages/apps/GlobalSearch.git
git clone https://android.googlesource.com/platform/packages/apps/GoogleSearch.git
git clone https://android.googlesource.com/platform/packages/apps/HTMLViewer.git
git clone https://android.googlesource.com/platform/packages/apps/IM.git
git clone https://android.googlesource.com/platform/packages/apps/Launcher.git
git clone https://android.googlesource.com/platform/packages/apps/Launcher2.git
git clone https://android.googlesource.com/platform/packages/apps/Mms.git
git clone https://android.googlesource.com/platform/packages/apps/Music.git
git clone https://android.googlesource.com/platform/packages/apps/Nfc.git
git clone https://android.googlesource.com/platform/packages/apps/OTAProvisioningClient.git
git clone https://android.googlesource.com/platform/packages/apps/PackageInstaller.git
git clone https://android.googlesource.com/platform/packages/apps/Phone.git
git clone https://android.googlesource.com/platform/packages/apps/Protips.git
git clone https://android.googlesource.com/platform/packages/apps/Provision.git
git clone https://android.googlesource.com/platform/packages/apps/QuickSearchBox.git
git clone https://android.googlesource.com/platform/packages/apps/Settings.git
git clone https://android.googlesource.com/platform/packages/apps/SoundRecorder.git
git clone https://android.googlesource.com/platform/packages/apps/SpeechRecorder.git
git clone https://android.googlesource.com/platform/packages/apps/Stk.git
git clone https://android.googlesource.com/platform/packages/apps/Sync.git
git clone https://android.googlesource.com/platform/packages/apps/Tag.git
git clone https://android.googlesource.com/platform/packages/apps/Updater.git
git clone https://android.googlesource.com/platform/packages/apps/VoiceDialer.git
cd ..
git clone https://android.googlesource.com/platform/packages/experimental.git
mkdir inputmethods
cd inputmethods
git clone https://android.googlesource.com/platform/packages/inputmethods/LatinIME.git
git clone https://android.googlesource.com/platform/packages/inputmethods/OpenWnn.git
git clone https://android.googlesource.com/platform/packages/inputmethods/PinyinIME.git
cd ..
mkdir providers
cd providers
git clone https://android.googlesource.com/platform/packages/providers/ApplicationsProvider.git
git clone https://android.googlesource.com/platform/packages/providers/CalendarProvider.git
git clone https://android.googlesource.com/platform/packages/providers/ContactsProvider.git
git clone https://android.googlesource.com/platform/packages/providers/DownloadProvider.git
git clone https://android.googlesource.com/platform/packages/providers/DrmProvider.git
git clone https://android.googlesource.com/platform/packages/providers/GoogleContactsProvider.git
git clone https://android.googlesource.com/platform/packages/providers/GoogleSubscribedFeedsProvider.git
git clone https://android.googlesource.com/platform/packages/providers/ImProvider.git
git clone https://android.googlesource.com/platform/packages/providers/ManagementProvider.git
git clone https://android.googlesource.com/platform/packages/providers/MediaProvider.git
git clone https://android.googlesource.com/platform/packages/providers/TelephonyProvider.git
git clone https://android.googlesource.com/platform/packages/providers/UserDictionaryProvider.git
git clone https://android.googlesource.com/platform/packages/providers/WebSearchProvider.git
cd ..
mkdir services
cd services
git clone https://android.googlesource.com/platform/packages/services/EasService.git
git clone https://android.googlesource.com/platform/packages/services/LockAndWipe.git
cd ..
mkdir wallpapers
cd wallpapers
git clone https://android.googlesource.com/platform/packages/wallpapers/Basic.git
git clone https://android.googlesource.com/platform/packages/wallpapers/LivePicker.git
git clone https://android.googlesource.com/platform/packages/wallpapers/MagicSmoke.git
git clone https://android.googlesource.com/platform/packages/wallpapers/MusicVisualization.git
cd ..
cd ..
git clone https://android.googlesource.com/platform/manifest.git
git clone https://android.googlesource.com/platform/prebuilt.git
git clone https://android.googlesource.com/platform/recovery.git
git clone https://android.googlesource.com/platform/sdk.git
mkdir system
cd system
git clone https://android.googlesource.com/platform/system/bluetooth.git
git clone https://android.googlesource.com/platform/system/core.git
git clone https://android.googlesource.com/platform/system/extras.git
git clone https://android.googlesource.com/platform/system/media.git
git clone https://android.googlesource.com/platform/system/netd.git
git clone https://android.googlesource.com/platform/system/vold.git
mkdir wlan
cd wlan
git clone https://android.googlesource.com/platform/system/wlan/broadcom.git
git clone https://android.googlesource.com/platform/system/wlan/ti.git
cd ..
cd ..
mkdir tools
cd tools
git clone https://android.googlesource.com/platform/tools/tradefederation.git
cd ..
mkdir vendor
cd vendor
git clone https://android.googlesource.com/platform/vendor/aosp.git
mkdir asus
cd asus
git clone https://android.googlesource.com/platform/vendor/asus/eee_701.git
cd ..
mkdir csr
cd csr
git clone https://android.googlesource.com/platform/vendor/csr/unifi-105x.git
git clone https://android.googlesource.com/platform/vendor/csr/unifi-60xx.git
cd ..
mkdir htc
cd htc
git clone https://android.googlesource.com/platform/vendor/htc/common-open.git
git clone https://android.googlesource.com/platform/vendor/htc/dream-open.git
git clone https://android.googlesource.com/platform/vendor/htc/prebuilt-open.git
git clone https://android.googlesource.com/platform/vendor/htc/sapphire-open.git
cd ..
git clone https://android.googlesource.com/platform/vendor/pv-open.git
mkdir qcom
cd qcom
git clone https://android.googlesource.com/platform/vendor/qcom/android-open.git
git clone https://android.googlesource.com/platform/vendor/qcom/proprietary-open.git
git clone https://android.googlesource.com/platform/vendor/qcom/surf.git
cd ..
mkdir renesas
cd renesas
git clone https://android.googlesource.com/platform/vendor/renesas/ms7724.git
cd ..
git clone https://android.googlesource.com/platform/vendor/sample.git
mkdir st-ericsson
cd st-ericsson
git clone https://android.googlesource.com/platform/vendor/st-ericsson/u300.git
cd ..
cd ..
cd ..
mkdir toolchain
cd toolchain
git clone https://android.googlesource.com/toolchain/benchmark.git
git clone https://android.googlesource.com/toolchain/binutils.git
git clone https://android.googlesource.com/toolchain/build.git
git clone https://android.googlesource.com/toolchain/gcc.git
git clone https://android.googlesource.com/toolchain/gdb.git
git clone https://android.googlesource.com/toolchain/gmp.git
git clone https://android.googlesource.com/toolchain/gold.git
git clone https://android.googlesource.com/toolchain/manifest.git
git clone https://android.googlesource.com/toolchain/mpc.git
git clone https://android.googlesource.com/toolchain/mpfr.git
cd ..
mkdir tools
cd tools
git clone https://android.googlesource.com/tools/android-issuetrackerredirect.git
git clone https://android.googlesource.com/tools/executablewar.git
git clone https://android.googlesource.com/tools/gerrit-contactstore.git
git clone https://android.googlesource.com/tools/gerrit-keyapplet.git
git clone https://android.googlesource.com/tools/gerrit.git
git clone https://android.googlesource.com/tools/gimd.git
git clone https://android.googlesource.com/tools/gwtexpui.git
git clone https://android.googlesource.com/tools/gwtjsonrpc.git
git clone https://android.googlesource.com/tools/gwtorm.git
git clone https://android.googlesource.com/tools/manifest.git
git clone https://android.googlesource.com/tools/protobuf.git
git clone https://android.googlesource.com/tools/repo.git
mkdir test
cd test
git clone https://android.googlesource.com/tools/test/manifest.git
git clone https://android.googlesource.com/tools/test/project0.git

内核 下载

$ git clone https://android.googlesource.com/kernel/goldfish.git

$ git clone https://android.googlesource.com/kernel/msm.git

$ git clone https://android.googlesource.com/kernel/omap.git

#git clone https://android.googlesource.com/kernel/samsung.git

$ git clone https://android.googlesource.com/kernel/tegra.git

进入samsung目录

$git branch -a //列出所有可用的内核版本

$git checkout remotes/origin/android-samsung-3.0-ics-mr1 //checkout出想要使用的内核

上一篇:MySQL 连接不上本地数据库


下一篇:Ubuntu16.04安装VMware Tools问题