Mike Szczys · Jul 1, 2013 at 05:00 pm

Guide on Using the Repo Tool

Everyone who builds ROMs knows about the repo tool, right? I say wrong. You can build ROMs all the live long day and know nothing about it. But you’ll face-palm after learning about what you’re missing.

The repo tool is a Python script that adds a layer of abstraction between you and Git. Git is of course the source code management system used by the Android code base. If the last two sentences were more gibberish than sense here’s the breakdown: The repo tool automatically handles the source code base needed to build a custom ROM. The previous link takes you to a page for the repo tool itself, but you’ll need a shove in the right direction to start using it efficiently.

Head on over to XDA Senior Member Red Devil’s guide on the subject. The original thread, which is part of XDA-University, covers the basics (and then some) in a graphic rich, well organized, and non-bloated way.  After explaining what each part is about, Red Devil shows how to install the tool and use it to automatically pull down the code base. He even hits the GUI version of the folder to show what the file structure looks like after that step. From there, you’ll learn about the XML manifest files that govern how the tool operates on your local copy of the code. Even if you’re already quite comfortable with the repo tool, it’s worth your time to hit the second post in the thread to hear some pro tips.


_________
Want something on the XDA Portal? Send us a tip!

Mike Szczys

szczys is an editor on XDA-Developers, the largest community for Android users. Mike Szczys is a professional musician but spends all his free time working with hobby electronics. As Contributing Editor for Hackaday.com he became interested in Android as some of the early hardware hacks started popping up on the Internet. What followed was a gradually rising addiction to all things Android. View szczys's posts and articles here.
Mathew Brack · Jul 4, 2015 at 05:07 pm · 2 comments

HTC’s New Ad Campaign And What It Really Means

HTC has just released three new blind test adverts comparing app loading speed, audio and selfies. Whilst you are surely astounded that HTC won every time, the tests were incredibly biased and their release shows something concerning about the company and how they are performing in the current market.     One of the many reasons companies tend to utilize blind trials is when they feel that their product is comparable or better than its competitors. This leads to the assumption...

XDA NEWS
Mario Tomás Serrafero · Jul 4, 2015 at 12:00 pm · 5 comments

XDA Picks: Best Apps of the Week (June 27 – July 4)

Apps are at the front and center of any smartphone experience, and with over a million apps on the Google Play Store and new apps being submitted to our forums every day, staying up to date on the latest apps and games can be a hassle. At XDA we don’t discriminate apps - if it’s interesting, innovative, original or useful, we mention them. The XDA Portal Team loves apps too, and here are our top picks for this week.  ...

XDA NEWS
Mathew Brack · Jul 3, 2015 at 12:00 pm · 4 comments

The Atlas of XDA

A few weeks ago, we asked you "How Does Your Location Affect Your Life As A Power User?". In the days that followed, members from all over the world shared their stories and experiences of life across the globe. Allow me to introduce the true story of what it means to be a power user on this pale blue dot.   Index Africa & Oceania: Australia, Guam, Indonesia, Libya, Madagascar, New Zealand, Nigeria, South Africa, Americas: Brazil, Chile, Columbia, Costa Rica, Guatemala,...

XDA NEWS
Share This