Post Reply

[Q] building from source questions

OP skeliton lord

26th August 2014, 06:53 AM   |  #1  
OP Member
Flag Palm Bay, FL
Thanks Meter: 4
 
40 posts
Join Date:Joined: Mar 2014
More
I just built android AOSP from source from googles repo. I didn't use the OTA pakage command because it kept telling me that it wasn't installed or whatever. So I built it and now I have the .IMG files in my out folder. My question is, is there any way that I can turn those .IMG files into a zip? And if I were to start cherry picking from git or gerrit, will it have to rebuild the entire ROM or will it just recreate the parts of the ROM that I cherry picked?
26th August 2014, 07:17 AM   |  #2  
rootSU's Avatar
Senior Member
Flag Oxenhope, West Yorkshire, UK
Thanks Meter: 12,395
 
23,466 posts
Join Date:Joined: Aug 2010
More
What command did you use? I haven't built AOSP for ages.

"Make installclean" is a good command to use before you build but after you cherry pick. It will clean what is needed to be cleaned. If you're using CCache you could have a build pretty quickly

Sent from my Nexus 5 using Tapatalk
The Following User Says Thank You to rootSU For This Useful Post: [ View ]
26th August 2014, 12:57 PM   |  #3  
Junior Member
Thanks Meter: 1
 
1 posts
Join Date:Joined: Aug 2014
Quote:
Originally Posted by skeliton lord

... And if I were to start cherry picking from git or gerrit, will it have to rebuild the entire ROM or will it just recreate the parts of the ROM that I cherry picked?

unless you do a clean/clobber, it should usually only rebuild the changes/dependant parts.
The Following User Says Thank You to f14w3d For This Useful Post: [ View ]
26th August 2014, 02:38 PM   |  #4  
OP Member
Flag Palm Bay, FL
Thanks Meter: 4
 
40 posts
Join Date:Joined: Mar 2014
More
Quote:
Originally Posted by f14w3d

unless you do a clean/clobber, it should usually only rebuild the changes/dependant parts.

Quote:
Originally Posted by rootSU

What command did you use? I haven't built AOSP for ages.

"Make installclean" is a good command to use before you build but after you cherry pick. It will clean what is needed to be cleaned. If you're using CCache you could have a build pretty quickly

Sent from my Nexus 5 using Tapatalk

So i have to use the make installclean command and it won't rebuild the entire ROM?
And do you happen to know a way to merge .IMG files into a flashable zip?
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Nexus 5 Q&A, Help & Troubleshooting by ThreadRank