repo init -u https://android.googlesource.com/platform/manifes
repo init -u https://android.googlesource.com/platform/manifes
repo init -u https://android.googlesource.com/platform/manifest
repo init -u https://android.googlesource.com/platform/manifest
repo init -u https://android.googlesource.com/platform/manifest
repo init -u https://android.googlesource.com/platform/manifest
Run it with --depth 1, like:repo init -u https://android.googlesource.com/platform/manifest -b android-10.0.0_r39 --depth 1(note use of -b, most likely you don't want to clone master branch as well)Then you can also omit fetching some parts of repository with --groups, e.g. if you're building AOSP on Linux, you probably don't want to download OSX toolchain, and likely don't need stuff for MIPS architecture (emulator, etc):repo init -u https://android.googlesource.com/platform/manifest -b android-10.0.0_r39 --depth 1 --groups=all,-darwin,-mips(you can get a list of groups from .repo/**.xml from prior attempts , make sure to not omit stuff in important groups such as pdk, etc)Total download size this way will be 14..18 GB with some transfer overhead. Full git history is likely over 50+gb, and it'll take 3-5 more GB to get kernel source (not included) and device binariesYou can also rent a cloud server instance (paid per use instance with enough storage space would cost around a dollar), fetch repo, zip it and download over http, https://forum.xda-developers.com/chef-central/android/guide-how-to-build-rom-google-cloud-t3360430 for starters (please don't forget to shut down and delete all instances, disks and backups when done).
--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-...@googlegroups.com
To unsubscribe from this group, send email to
android-buildi...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-buildi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/5ccf88c6-811c-49b9-93c0-415960b87512o%40googlegroups.com.
Initial syncs can take an hour or more. See the downloading instructions for related details while you wait.
Each repo checkout is represented by a manifest file. You may have more than one repo checkout at a time so long as they exist in distinct directories. But note each checkout and build amounts to roughly 300GB and growing, so limit yourself to two or augment your system with a secondary drive.