Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP shenye

21st December 2011, 05:38 PM   |  #21  
shenye's Avatar
OP Retired Forum Moderator / Recognized Developer
Flag London
Thanks Meter: 1,305
 
488 posts
Join Date:Joined: Oct 2009
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, 06:11 PM   |  #22  
EddyOS's Avatar
Recognized Contributor
Flag Liverpool, Merseyside
Thanks Meter: 3,195
 
13,528 posts
Join Date:Joined: Jan 2010
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, 10:09 AM   |  #23  
Member
Thanks Meter: 4
 
89 posts
Join Date:Joined: Sep 2008
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, 01:30 PM   |  #24  
Member
Thanks Meter: 5
 
41 posts
Join Date:Joined: Dec 2011
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, 08:05 PM   |  #25  
xHausx's Avatar
Forum Moderator / Recognized Developer
Flag Central Florida
Thanks Meter: 4,537
 
6,781 posts
Join Date:Joined: Jul 2010
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?
Last edited by xHausx; 26th December 2011 at 08:22 PM. Reason: enhanced
The Following User Says Thank You to xHausx For This Useful Post: [ View ]
26th December 2011, 08:15 PM   |  #26  
Junior Member
Thanks Meter: 0
 
4 posts
Join Date:Joined: Jul 2010
Great Tutorial!
26th December 2011, 09:31 PM   |  #27  
melterx12's Avatar
Senior Member
Flag New York City
Thanks Meter: 15
 
716 posts
Join Date:Joined: Dec 2009
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, 09:45 PM   |  #28  
Senior Member
Flag Los Angeles, CA
Thanks Meter: 396
 
5,578 posts
Join Date:Joined: Apr 2010
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 ]
26th December 2011, 10:34 PM   |  #29  
Member
Thanks Meter: 4
 
89 posts
Join Date:Joined: Sep 2008
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 ]
27th December 2011, 12:13 PM   |  #30  
nprussell's Avatar
Recognized Developer
Thanks Meter: 362
 
1,285 posts
Join Date:Joined: Sep 2009
I can't believe Shen kanged my guide and claimed it as his own. -_-

(I'm just trolling)
Last edited by shenye; 28th December 2011 at 11:03 PM.

Post Reply Subscribe to Thread

Tags
compile ics maguro aosp
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes