Android source code is now officially available from http://source.android.com. Being still in London for the Symbian Smartphone Show, I could not yet download the code, but - according to the web site, everything is included, from the boot loader to the applications, including codecs, etc...
A Linux machine or a Mac with 6GB free space is of course required to be able to build the full system.