Thanks for this David, a really clear and helpful response. I'm not
trying to build Android to install on my phone, just build Android so
I can use the cross-compilation toolchain to build C libraries. I use
the CodeSourcery compiler at the moment, but would obviously prefer to
use the 'official' toolchain!
More info on this here:
http://android-tricks.blogspot.com/
For the record, I used the stuff on xda-developers to get my
production G1 (T-Mobile UK) rooted and updated to RC9 (RC33 equiv). It
can then be used as a developer phone.
My problem still is that I can't build the Android source. It fails on
my Debian Lenny machine, even with the additional steps of targeting
the Dream as per number 2 in the comments above. If I can get this to
work, I might just install the latest on my phone as per your
instructions..
Error:
external/qemu/skins/skin_window.c: In function
`skin_window_trackball_press':
external/qemu/skins/skin_window.c:964: warning: implicit declaration
of function `send_key_event'
make: *** [out/host/linux-x86/obj/EXECUTABLES/emulator_intermediates/
skins/skin_window.o] Error 1
Complete build log:
http://mafro.net/build.log.tar.gz
Original thread:
http://groups.google.com/group/android-platform/browse_thread/thread/f701da5ade1127a2
I can't find anyone else who's having this issue..
Thanks for any help, that anyone can offer!
mafro
On Mar 12, 11:04 pm, deg <
d...@degel.com> wrote:
> You need, in broad strokes, to do the following:
> 1) Get the Android sources
> 2) Modify the tree to build images for the G1, rather than generic
> images.
> 3) Build
> 4) Install the .obj files on your phone
>
> The fourth step is the trickiest, and depends on whether you have a T-
> Mobile G1 or an ADP1.
>
> In the ADP1 case, the process is relatively straightforward; for the
> G1, you need to get root access first.
>
> I've not found a single source that gives all the steps, but here is
> the best set of docs I've seen to date:
>
> - Instructions to get root and install an ADP1-equivalent bootloader
> on a G1:
http://forum.xda-developers.com/showthread.php?t=442480.
> (Once you do this, you can effectively treat your G1 as an ADP1).
> - Instructions for steps 1, 3, and 4, for an ADP1:
http://antonmelser.org/open-source/backup-install-restore-adp1.html.
> - For step 2, seehttp://
source.android.com/documentation/building-for-dream
> andhttp://
groups.google.com/group/android-platform/browse_thread/thread/...