The first attempt was not a success, but based on the discussion at http://groups.google.com/group/android-platform/browse_thread/thread/929aa624d2da63a7 I decided to make another build with less proprietary files.
Before the patch with the extracting and adding of the extra proprietary files was applied on the source tree (master, cupcake and donut) there was a small list of proprietary files. I used that list again with libcamera.so added because otherwise you cannot make a build. I kept the extract-files.sh the same because I doesn’t matter if the files are inside the proprietary directory. I changed the AndroidBoard.mk file inside the ~/mydroid/vendor/htc/dream-open to this (only showing the htc proprietary section, the rest is kept the same)
# htc proprietary code # proprietary := $(LOCAL_PATH)/proprietary PRODUCT_COPY_FILES += \ $(proprietary)/akmd:system/bin/akmd PRODUCT_COPY_FILES += \ $(proprietary)/AudioFilter.csv:system/etc/AudioFilter.csv \ $(proprietary)/AudioPara4.csv:system/etc/AudioPara4.csv \ $(proprietary)/gps.conf:system/etc/gps.conf \ $(proprietary)/brf6300.bin:system/etc/firmware/brf6300.bin \ $(proprietary)/tiwlan.ini:system/etc/wifi/tiwlan.ini \ $(proprietary)/Fw1251r1c.bin:system/etc/wifi/Fw1251r1c.bin PRODUCT_COPY_FILES += \ $(proprietary)/libaudioeq.so:system/lib/libaudioeq.so \ $(proprietary)/libgps.so:system/lib/libgps.so \ $(proprietary)/libhgl.so:system/lib/libhgl.so \ $(proprietary)/libhtc_acoustic.so:system/lib/libhtc_acoustic.so \ $(proprietary)/libhtc_ril.so:system/lib/libhtc_ril.so \ $(proprietary)/libOmxCore.so:system/lib/libOmxCore.so \ $(proprietary)/libqcamera.so:system/lib/libqcamera.so \ $(proprietary)/libcamera.so:system/lib/libcamera.so PRODUCT_COPY_FILES += \ $(proprietary)/libgps.so:obj/lib/libgps.so \ $(proprietary)/libOmxCore.so:obj/lib/libOmxCore.so
After the build is finished, I flashed the images again to the phone and did a reboot. This time donut boots and shows a home screen.

Donut Home Screen

About phone screen
Although the phone boots, you can’t do anything serious with it. For example you cannot make phone calls because the simcard is not recognized. This also prevents the use of 3G connection. When enabling Wifi the system crashes and reboots (and ends in an endless boot sequence because Wifi is set to enabled but cannot be started). The camera and media playing seems to work fine. But missing the phone functionality makes it not useful.
So next question is, how to get the phone functionality working? When looking at the proprietary files which are not added this time to the image, I did not find one related to this functionality. So is it related to something else or should we search for the solution inside the closed parts of the Android Dev Phone (maybe the radio part)?
If the issue is related to the closed parts of the system, then we should wait for HTC when they provide us with an updated version of the proprietary files. It is a pity that this dependency exists for a open sourced operating system. Shouldn’t it be possible to develop open variants of the proprietary files by looking at the hardware specifications of the Dream?
To be continued… (hopefully soon)


