Post Reply

Building from Source Tip

13th August 2013, 07:45 AM   |  #1  
CPCookieMan's Avatar
OP Recognized Developer
Thanks Meter: 136
 
455 posts
Join Date:Joined: May 2009
More
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: 4,308
 
3,665 posts
Join Date:Joined: Apr 2011
More
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,337
 
888 posts
Join Date:Joined: Jan 2013
Donate to Me
More
Thanks for all!

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

Thanks alot!

Rinse
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools
Display Modes


Top Threads in Galaxy Nexus Developer Discussion [Developers Only] by ThreadRank