FORUMS
Remove All Ads from XDA

Learn about the repo tool , manifests and local manifests and 5 important tips !

1,407 posts
Thanks Meter: 2,552
 
Post Reply Email Thread
2nd July 2013, 06:03 AM |#21  
Red Devil's Avatar
OP Senior Member
Flag Mumbai
Thanks Meter: 2,552
 
More
Quote:
Originally Posted by adlx.xda

Very illustrated guide.

Btw, I once wrote an article called "Repo Tips & Tricks" for the XDA-University http://xda-university.com/as-a-devel...po-tips-tricks

Thanks sir.

Good job on the article.




Quote:
Originally Posted by vasumit

Awesome guide and a saviour for many newbie. That tip regarding switching from one ROM repo to another to save bandwidth is a killer. Never knew such a thing exists while always thinking something like that should be there. Many thanks to the OP for sharing this with us.


Sent from my Nexus 4 using Tapatalk 2


Thanks! If you have any doubts , keep me posted!






Quote:
Originally Posted by adityalahiri13

congo @Red Devil for getting featured on the portal. You deserved it

Thanks bro


Sent from my Nexus 7 using Tapatalk 4 Beta
 
 
2nd July 2013, 06:26 AM |#22  
nicsptl's Avatar
Senior Member
Flag Overland Park,KS
Thanks Meter: 399
 
More
Sir,
If you dont mind i would like to add some of your tips to my CM10/CM10.1 build guide with credits which i preparing for my device.
Here :: http://forum.xda-developers.com/show...ighlight=guide
2nd July 2013, 06:59 AM |#23  
Red Devil's Avatar
OP Senior Member
Flag Mumbai
Thanks Meter: 2,552
 
More
Quote:
Originally Posted by nicsptl

Sir,
If you dont mind i would like to add some of your tips to my CM10/CM10.1 build guide with credits which i preparing for my device.
Here :: http://forum.xda-developers.com/show...ighlight=guide

No problems mate.
2nd July 2013, 09:40 AM |#24  
ab-samy's Avatar
Senior Member
Thanks Meter: 199
 
More
Quote:
Originally Posted by ab-samy
Dear Red Devil!

Thanks for your great tutorial for repo, i read it it's very useful.
i setting up my laptop (ubuntu 10.04 64bit installed) to compile android 4.2.2_r1.2 from source, i am confused what will be the actual size of this branch because i am syncing more than 2 day with speed of 1MB connection and download 13.5 GB.
Sorry for poor english.


THanks


Answer by Red Devil:

Hi,
If you had read my guide a bit earlier maybe it would have helped you a bit.
You can remove unecessary stuff from the sync like Darwin toolchains etc.

Now continue the sync. It will be around 15-20 GB.

To know how far you have synced count the number of projects.. like it will show

Projects fetched : 220/250 for eg:.
Once 250/250 is done it will sync work tree and you will get youre source.. Post your doubts on thread.. People with same question will get answers.. nothing to be ashamed of

Cheers.

---------- Post added at 12:10 PM ---------- Previous post was at 12:02 PM ----------

Quote:
Originally Posted by ab-samy

Quote:
Originally Posted by ab-samy
Dear Red Devil!

Thanks for your great tutorial for repo, i read it it's very useful.
i setting up my laptop (ubuntu 10.04 64bit installed) to compile android 4.2.2_r1.2 from source, i am confused what will be the actual size of this branch because i am syncing more than 2 day with speed of 1MB connection and download 13.5 GB.
Sorry for poor english.


THanks


Answer by Red Devil:

Hi,
If you had read my guide a bit earlier maybe it would have helped you a bit.
You can remove unecessary stuff from the sync like Darwin toolchains etc.

Now continue the sync. It will be around 15-20 GB.

To know how far you have synced count the number of projects.. like it will show

Projects fetched : 220/250 for eg:.
Once 250/250 is done it will sync work tree and you will get youre source.. Post your doubts on thread.. People with same question will get answers.. nothing to be ashamed of

Cheers.

i must download 13GB more.

Fetching projects: 51% (168/328)
2nd July 2013, 10:23 AM |#26  
Red Devil's Avatar
OP Senior Member
Flag Mumbai
Thanks Meter: 2,552
 
More
Quote:
Originally Posted by ab-samy

Quote:
Originally Posted by ab-samy
Dear Red Devil!

Thanks for your great tutorial for repo, i read it it's very useful.
i setting up my laptop (ubuntu 10.04 64bit installed) to compile android 4.2.2_r1.2 from source, i am confused what will be the actual size of this branch because i am syncing more than 2 day with speed of 1MB connection and download 13.5 GB.
Sorry for poor english.


THanks


Answer by Red Devil:

Hi,
If you had read my guide a bit earlier maybe it would have helped you a bit.
You can remove unecessary stuff from the sync like Darwin toolchains etc.

Now continue the sync. It will be around 15-20 GB.

To know how far you have synced count the number of projects.. like it will show

Projects fetched : 220/250 for eg:.
Once 250/250 is done it will sync work tree and you will get youre source.. Post your doubts on thread.. People with same question will get answers.. nothing to be ashamed of

Cheers.

---------- Post added at 12:10 PM ---------- Previous post was at 12:02 PM ----------



i must download 13GB more.

Fetching projects: 51% (168/328)

That is not the way ... the size of the projects may be much smaller or larger ... I cant say how large.

There is no way to find out exactly how big the source will be as android/CyanogenMod/AOKP/PA etc keep adding/deleting stuff from their manifest and also make additions/ deletions to the repos defined in the manifest !

So what I suggest is to use local_manifests and try to remove unwanted projects .. read post 2 #1..
The Following User Says Thank You to Red Devil For This Useful Post: [ View ] Gift Red Devil Ad-Free
2nd July 2013, 11:30 AM |#27  
<JohnCarter>'s Avatar
Senior Member
Flag Ranchi
Thanks Meter: 1,769
 
Donate to Me
More
congo @Red Devil for the xda-portal feature..

btw i wanted to know that i had an old compressed cm9 source which wasn't downloaded through git,, so will reference command help me download the newer android version without having me to download the whole source again ?
2nd July 2013, 11:55 AM |#28  
Red Devil's Avatar
OP Senior Member
Flag Mumbai
Thanks Meter: 2,552
 
More
Quote:
Originally Posted by ayushrox

congo @Red Devil for the xda-portal feature..

btw i wanted to know that i had an old compressed cm9 source which wasn't downloaded through git,, so will reference command help me download the newer android version without having me to download the whole source again ?

Yes why not.

Just see some of the common projects and check if they are getting redownloaded .. during the sync ..
If they are still getting redownloaded you can copy paste the downloaded projects from your source to the newly initialized .repo/projects/
The Following User Says Thank You to Red Devil For This Useful Post: [ View ] Gift Red Devil Ad-Free
2nd July 2013, 02:07 PM |#29  
Shaaan's Avatar
Inactive Recognized Developer
Flag Mumbai
Thanks Meter: 4,760
 
Donate to Me
More
This was needed. Good work.

OT
Can compile from source. Needs to learn how to draw a straight line in paint.
/OT
The Following User Says Thank You to Shaaan For This Useful Post: [ View ] Gift Shaaan Ad-Free
2nd July 2013, 04:53 PM |#30  
<CyberAnarchy>'s Avatar
Senior Member
Flag Mumbai
Thanks Meter: 593
 
More
Thanks for the awesome guide man.
BTW i have a problem.
When i use the local manifests, the number of projetcs is unchanged.
Please help this n00b out!
im compiling aokp aswell so the local_manifest is same as yours but i cut out the part where you put in the code to add your device tree and kernel
EDIT:Solved
2nd July 2013, 06:58 PM |#31  
Senior Member
Flag Lake Geneva, WI
Thanks Meter: 919
 
More
Great guide, much appreciated!
Post Reply Subscribe to Thread

Tags
compiling, guide, repo tool, rom, sync

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

Advanced Search
Display Modes