Post Reply Subscribe to Thread Email Thread

Building from Source Tip

13th August 2013, 07:45 AM |#1  
CPCookieMan's Avatar
OP Retired Recognized Developer
Thanks Meter: 136
I realize that many people have been having trouble while building Android for the Galaxy Nexus. Well, the truth is, building from source usually works exactly like this:

in that you do exactly what people say to do, and it goes wrong.

The first tip is to repo sync repo sync repo sync. I say this because many of my own build problems were caused by not actually having the whole source code.

However most people's problems, say the camera not working, or the build not completing, or missing vendor files, or whatever, are caused by not using the vendor files from TheMuppets on GitHub.
  1. Erase the vendor/samsung folder (if it exists)
  2. Edit the file .repo/local_manifests/roomservice.xml
  3. Add the line <project name="TheMuppets/proprietary_vendor_samsung" path="vendor/samsung" remote="github" /> in between the two top XML tags.
  4. Run the command "make clobber && repo sync" from your build root.
  5. Try your build again.
13th August 2013, 08:43 AM |#2  
Carlos_Manuel's Avatar
Senior Member
Flag Kuressaare
Thanks Meter: 5,042
Donate to Me
Building Android from source to Galaxy Nexus is way too easy!

but building for device which has Android only unofficially is not so easy.

another way is to add vendor files manually to /*/vendor/ instead of editing default.xml
13th August 2013, 04:59 PM |#3  
TheRinseM's Avatar
Senior Member
Thanks Meter: 1,349
Donate to Me
Thanks for all!

Was having problems w/ incompleted source, did repo sync x10 and it worked

Thanks alot!

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes