FORUMS
Remove All Ads from XDA

[HELP][COMPILING] Repo Sync, Source Code Size.?

493 posts
Thanks Meter: 471
 
By OJ, Senior Member on 18th June 2014, 08:27 AM
Post Reply Email Thread
Hello everyone, I am new to compiling and building roms.. I have learned and read many compiling guides for basic knowledge..
My problem is syncing repo and downloading source code takes a lot to download..like near about 20 GB..!
Is there any trick or any option to minimize the download size..Because, I dont have a good internet connection.!
 
 
21st June 2014, 04:27 AM |#2  
broodplank1337's Avatar
Inactive Recognized Developer
Flag Nijmegen
Thanks Meter: 10,197
 
Donate to Me
More
Quote:
Originally Posted by OJ

Hello everyone, I am new to compiling and building roms.. I have learned and read many compiling guides for basic knowledge..
My problem is syncing repo and downloading source code takes a lot to download..like near about 20 GB..!
Is there any trick or any option to minimize the download size..Because, I dont have a good internet connection.!

Edit the manifest, look in .repo/manifest.xml, there for example remove the prebuilt toolchains that do not match your system. (for example remove all darwin entries if you are not using a Mac) This saves you like a GB or so. other then that there are not many things you can remove that make a difference, as git is already compressed by itself in the first place.

and the source is not 20gb.. it's more like 6-9gb and unpacked (checked out) like 20gb

It's just very big, and there is not much that can be done about it actually.
21st June 2014, 05:58 AM |#3  
OJ's Avatar
OP Senior Member
Flag Pune
Thanks Meter: 471
 
Donate to Me
More
Quote:
Originally Posted by broodplank1337

Edit the manifest, look in .repo/manifest.xml, there for example remove the prebuilt toolchains that do not match your system. (for example remove all darwin entries if you are not using a Mac) This saves you like a GB or so. other then that there are not many things you can remove that make a difference, as git is already compressed by itself in the first place.

and the source is not 20gb.. it's more like 6-9gb and unpacked (checked out) like 20gb

It's just very big, and there is not much that can be done about it actually.

Ohh ok.. Thanks.. I will try.
23rd June 2014, 01:52 PM |#4  
letmedanz's Avatar
Senior Member
Flag Bangalore
Thanks Meter: 4,034
 
More
Quote:
Originally Posted by OJ

Ohh ok.. Thanks.. I will try.

Plus, it's mainly going to be the first sync that's gonna use a lot of bandwidth/time/resources
after this you just sync the changes..

have a look at @reddevil's tutorial here in xda university..
shows you exactly what you need!
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes