FORUMS
Remove All Ads from XDA

[TUTORIAL] Setting up and Compiling JB and ICS from AOSP

505 posts
Thanks Meter: 1,306
 
By shenye, Inactive Recognized Developer on 11th December 2011, 02:22 PM
Post Reply Email Thread
21st December 2011, 04:38 PM |#21  
shenye's Avatar
OP Inactive Recognized Developer
Flag London
Thanks Meter: 1,306
 
Donate to Me
More
Quote:
Originally Posted by EddyOS

Fixed, dsixda updated the kitchen to extract the boot.img before flashing (which is why it was failing before)

Yeah...I can see that being the issues that's causing errors :P
 
 
21st December 2011, 05:11 PM |#22  
EddyOS's Avatar
Senior Member
Flag London
Thanks Meter: 4,010
 
More
Still not working, getting same error, even though the update-script is now:

assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "/dev/block/platform/omap/omap_hsmmc.0/by-name/boot"),
delete("/tmp/boot.img"));

Change it to this (as per Paul O'Brien's MCR) and it works:

package_extract_file("boot.img", "/tmp/boot.img");
run_program("/sbin/busybox", "dd", "if=/tmp/boot.img", "of=/dev/block/platform/omap/omap_hsmmc.0/by-name/boot");
delete("/tmp/boot.img");
26th December 2011, 09:09 AM |#23  
Member
Thanks Meter: 4
 
More
I got it to compile thx for the tutorial
i chose to compile to get an .img file

but i have a question:
how would you add files to or delete files from (or directories) the .img file ?

thx
26th December 2011, 12:30 PM |#24  
Member
Thanks Meter: 5
 
More
I'd also like to know how to go about modifying after everything has been built. I currently have 4.0.3 pulled and built on 20/12/2011 and as far as I know it built successfully because it didn't error out and everything appeared in the out folder.
26th December 2011, 07:05 PM |#25  
xHausx's Avatar
Inactive Recognized Developer
Flag Central Florida
Thanks Meter: 4,554
 
Donate to Me
More
Quote:
Originally Posted by bk201doesntexist

If you didn't code it yourself, it doesn't belong in dev subforum. There's Q&A subforum for that.

/me sent this on a i9250 using tapatalk

I can see you're point with Q&A but when it comes down to it the whole point of this site is to share stuff you've created with others. Q&A is more for people to ask questions while development is for those who want to share something they've done. Although, I do wonder why the OP didn't host it on XDA instead?
The Following User Says Thank You to xHausx For This Useful Post: [ View ] Gift xHausx Ad-Free
26th December 2011, 07:15 PM |#26  
Junior Member
Thanks Meter: 0
 
More
Great Tutorial!
26th December 2011, 08:31 PM |#27  
melterx12's Avatar
Senior Member
Flag New York City
Thanks Meter: 15
 
Donate to Me
More
I can't seem to find the radio binaries for the VZW Galaxy Nexus, does anyone know where I can get them?
26th December 2011, 08:45 PM |#28  
Senior Member
Flag Los Angeles, CA
Thanks Meter: 427
 
More
Quote:
Originally Posted by scratch42069

I'd also like to know how to go about modifying after everything has been built. I currently have 4.0.3 pulled and built on 20/12/2011 and as far as I know it built successfully because it didn't error out and everything appeared in the out folder.

You mean modifying code? Once you compile the stock AOSP code, now you can go into whatever file or driver etc, make the code change and compile and it will only compile the new change making it much quicker to compile. I'd there was a problem with your change you may error or get warnings.
The Following User Says Thank You to RogerPodacter For This Useful Post: [ View ] Gift RogerPodacter Ad-Free
26th December 2011, 09:34 PM |#29  
Member
Thanks Meter: 4
 
More
Quote:
Originally Posted by RogerPodacter

You mean modifying code? Once you compile the stock AOSP code, now you can go into whatever file or driver etc, make the code change and compile and it will only compile the new change making it much quicker to compile. I'd there was a problem with your change you may error or get warnings.

I think he meant the same as i did.
Not modifying code but if you have a compile .img file, how do you add or remove files or directories from it ?

or more global where do you go from there ?
The Following User Says Thank You to TulpiX For This Useful Post: [ View ] Gift TulpiX Ad-Free
27th December 2011, 11:13 AM |#30  
nprussell's Avatar
Inactive Recognized Developer
Thanks Meter: 363
 
More
I can't believe Shen kanged my guide and claimed it as his own. -_-

(I'm just trolling)
27th December 2011, 05:37 PM |#31  
Member
Thanks Meter: 5
 
More
Quote:
Originally Posted by RogerPodacter

You mean modifying code? Once you compile the stock AOSP code, now you can go into whatever file or driver etc, make the code change and compile and it will only compile the new change making it much quicker to compile. I'd there was a problem with your change you may error or get warnings.

That's exactly what I wanted to know, thank you. I didn't want to have to rebuild the entire 4.0.3. pull for something minor. I'm also glad to know my build is most likely good because there were no errors during compile.
Post Reply Subscribe to Thread

Tags
compile ics maguro aosp

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

Advanced Search
Display Modes