Building donut for dream – Proprietary files difference

It looks like a donut build for the Dream is possible. HTC release 1.6 version of Android on their website (http://developer.htc.com/adp.html). So a new attempt for building donut for dream can be made.

Before starting a new build I was wondering if there was any differences between the proprietary files. I made the following list (comparing the 1.5 with the 1.6 HTC versions of Android)

Equal

Different

Removed
The following files are not inside the 1.6 version

It is possible that libvasf*.so are renamed to libvasfcommon.so, libpvasflocalpb.so and libpvasflocalpbreg.so. Currently I don’t know if these files should be extracted from the HTC 1.6 image and added to the build. The new extract-files.sh version does not contain those files.

With these changes in mind, the next step will be building the donut source for dream again, boot the custom build and compare this version with the HTC 1.6 version.

Read more from the Uncategorized category. If you would like to leave a comment, click here: 4 Comments. or stay up to date with this post via RSS, or you can Trackback from your site.
Social Bookmark : Technorati, Digg, de.licio.us, Yahoo, Blinkbits, Blogmarks, Google, Magnolia.

Leave a Comment

Name (required)

Email (required)

Website

Comments

4 Comments so far

  1. Markus October 4, 2009 9:59 pm

    I tried to build the Donut release. But the where some problem with the qualcom drivers. :(

  2. Jubeh October 5, 2009 6:32 am

    I built donut from source (no google apps) successfully using the previous script to pull the files from the 1.6 ADP system package and adding them to /proprietary. Since there’s no way to do local branching, I build from different directories in my box. Anyway, the only change I had to make was add libcamera.so to the script (well, I actually did it manually, but I modified the script for future use) because not including it throws an error while building. All I included the libpvasf*.so and didn’t include lights.goldfish.so (goldfish is the sapphire (ion) board, ours is trout, why that file was in the ADP build, I don’t know). The build went fine, and all works as well as I expected it to, except for one little tiny detail, the video camera won’t encode video correctly (bunch of streaking lines), also, YouTube (I was able to pull this from the ADP build and just push it to the phone with none of the other google apps and it works fine, but you can’t sign in to your account) won’t display anything in high-quality, though low quality works perfect. That leads me to believe that the libvasfcommon.so and libpvasflocalpb.so are probably libraries for higher quality codec playback/recording.
    I should note that trying to build donut with 1.5 libraries will work (as in you’ll get a booting device), but your device won’t be usable, so 1.6 libs and files are a must.

  3. Jubeh October 5, 2009 6:43 am

    Double post, sorry. By the way, do we know what all those proprietary files and libraries do. Checking the AOSP libraries is not an issue because we have the sources, but some of those libs I have no idea what they do, or why we need (and if we need) them. Going through the list, this is what I think I know:
    AudioFilter.csv (settings for audio playback)
    AudioPara4.csv (settings for audio playback)
    AudioPreProcess.csv (settings for audio playback)
    gps.conf (gps configuration – really!!)
    Fw1251r1c.bin (don’t know, something about the firmware, but what?)
    libaudioeq.so (audio library, probably audio equalizer?)
    libhgl.so (graphics library)
    libhtc_acoustic.so (sound related, I’ve seen some builds with this removed to no adverse effects, so maybe it’s for a specific HTC app?)
    libjni_pinyinime.so (pinyin IME library, not needed since the regular donut doesn’t build pinyin IME, only latin IME)
    libOmxCore.so (?)
    lights.msm7k.so (lights driver for msm7k board (trout))
    akmd (binary, does what?)
    brf6300.bin (dunno)
    tiwlan.ini (w-lan settings file)
    libgps.so (gps driver)
    libhtc_ril.so (another HTC proprietary, does what?)
    libmm-adspsvc.so (dunno)
    libOmxH264Dec.so (H264 decoding)
    libOmxMpeg4Dec.so (generic Mpeg4 Decoder)
    libOmxVidEnc.so (generic h264 encoder, the one in Rogers builds does h264 and mp4 encoding, so maybe using that one is better?)
    libopencorehw.so (dunno)
    libqcamera.so (qualcomm camera driver)
    libspeech.so (speech library, not needed if you don’t include voice dialer, voice search, or speech synthesis)
    sensors.trout.so (accelerator and other sensor)
    libpvasf.so (dont know)
    libpvasfreg.so (dont know)
    lights.goldfish.so (lights driver for sapphire (ion) not needed since we use trout)

  4. Markus October 5, 2009 5:27 pm

    The akmd file is the file for the motion sensor as far as i know. I will try to build donut another time this week including all google apps. The problem this time was something with the camera as i said before. Maybe there was an error at syncing with repo. There seem to be some files missing in my source tree. I will give my best.