Build/Flash from git

1 view
Skip to first unread message

SGAdrian

unread,
Apr 28, 2009, 11:56:24 AM4/28/09
to Android-DevPhone-Updating
Hi,

I have built the source code from scratch using this tutorial(both
cupcake and master branch) :

http://source.android.com/documentation/building-for-dream

and flashed it to my ADP1. But it seems like the radio dependent
applications does not work as the should.

For example, I can not hangup a voicecall! Plus many applications are
missing.

Is there any specific branch for the ADP1 or should it work?

BR,
SGAdrian

Jean-Baptiste Queru

unread,
Apr 28, 2009, 12:01:10 PM4/28/09
to Android-DevP...@googlegroups.com
Unfortunately the build configuration files for ADP1 aren't currently
in the open-source tree at the moment, and they are visibly different
from the generic builds.

JBQ
--
Jean-Baptiste M. "JBQ" Queru
Android Engineer, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.

SGAdrian

unread,
Apr 28, 2009, 12:58:43 PM4/28/09
to Android-DevPhone-Updating
Can I build the source in some other way? What branch or version is
the tutorial supposed to work with?

BR,
Sven

Jean-Baptiste Queru

unread,
Apr 28, 2009, 3:47:17 PM4/28/09
to Android-DevP...@googlegroups.com
For now, I'd recommend:

-follow the instructions on the "building for dream" page on how to
get the proper source code, passing a "-b android-1.5" parameter to
repo init, and starting from and ADP1 running 1.5.

-once you have the entire source tree, "source build/envsetup.sh",
then "choosecombo device release generic userdebug". Run "make", and
then flash with "fastboot flashall".

I'm working on streamlining some of this process. No ETA.

JBQ

SGAdrian

unread,
Apr 29, 2009, 4:39:46 AM4/29/09
to Android-DevPhone-Updating
Hi,

thanks for the quick answer.

Did this today and here is what ended up doing :

1. Had to comment out EAI_NODATA from qemu/socket.c to make it
compile.
2. No boot.img was created so I ended up just flashing system and
userdata.

Result : Radio seems completely dead. It does not roam into any
network.

//SGAdrian

SGAdrian

unread,
Apr 29, 2009, 4:42:40 AM4/29/09
to Android-DevPhone-Updating
Forgot to mention that I compiled against(extracted) the newly
released 1.5 HTC binaries. Radio is updated aswell.

//SGAdrian

Jean-Baptiste Queru

unread,
Apr 29, 2009, 8:48:31 AM4/29/09
to Android-DevP...@googlegroups.com
That's odd. I think I had tested that use case (I'm pretty sure that
one of my devices is running that exact configuration right now and
has network access), but it's very possible that differences in your
environment could be causing problems.

I'm working on improving the build mechanism to install home-built
images on the ADP1.

JBQ
Reply all
Reply to author
Forward
0 new messages