Building the HTC Dream Platform
From Android Wiki
To build your own version of the Open Source HTC Dream platform to run in an emulator, or to do other things with, you must first get the source.
Download the Android Source and follow Google's instructions for your platform, with a few additional notes:
- If you are on a Mac, you can use a case-sensitive disk image instead of reformatting a partition.
Once you have downloaded the entire git tree (it's huge. Go make Mario noises on your phone or something while you wait) - you will need to add the following to a local_manifests.xml file inside the 'mydroid/.repo/' directory:
<?xml version="1.0" encoding="UTF-8"?> <manifest> <!-- this is needed to build libaudio and librpc - as google adds more open source pieces, this may also replace other things that are currently copied out of the prorprietary files on the G1 --> <project path="hardware/msm7k" name="platform/hardware/msm7k" /> <project path="vendor/htc/dream" name="platform/vendor/htc/dream" /> </manifest>
Once you have put that file in place, you need to update your repo again:
Once you have synced your repo, you should see a directory structure called 'vendor/htc/dream'
Once this is done, you can edit the file in the mydroid/buildspec.mk to tell it to have TARGET_PRODUCT=htc_dream - or you can run make in this way:
Once the build is complete, you will have an open-source build.
Please update this page to include any additional information you need to build on your system