Dream
From Htc-linux
Contents |
[edit] Introduction
The HTC Dream comes with android installed,you need to "root" it in order to be able to do what you want such as software modifications.
Here are some newer links that point to external resources that explain how to get "root":
XDA developers forum: [1] Android and me: [2]
TODO: If the links are outdated please go ahead and update them.
[edit] Research
[edit] Kernel
Kernel#Kernel_for_QCT_MSM7xxxA_based_devices
Note openmoko-msm-2-6-29 tree. It aims for non-android userspace and uses wl12xx for wifi instead of ti1251 driver. also has "refresh hack" (see below) added. TODO: add such branch in linuxtogo kernel.git for easier referrenece
[edit] Android
Android comes with several prorietary components :
- akmd -> compas/acceleratomethers [1]
- libgps.so -> gps
- libhtc_ril.so -> telephony [2]
- libhgl.so -> 3D opengl ES driver
- others components
But also some non free applications such as the market and others
[edit] Standard GNU/Linux
[edit] Status
The status is currently compiled against FSO userspace and leviathan_incomming kernel branch at git://gitorious.org/htc-msm-2-6-32/leviathan-incoming.git
| Component | Working? | Notes | Info on how to get it working | TODO |
|---|---|---|---|---|
| screen(framebuffer) | Kdrive and xorg work fine with kernel patches,but I didn't find yet how to enable xrandr -o 1 on xorg | need workaround | Xfbdev(kdrive) and xorg needs "refresh hack" http://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=commitdiff;h=fcf0dc8dc232b237dc8d3098a5de09fab0ad9ba3 , and xorg also needs that patch: http://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=commit;h=d61ae9e6fd1616391f696cb662c388433891c426 for better screen detection |
|
| touchscreen | need that patch:http://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=commit;h=f7a220350da29a4263c6904fa6d4df38fc0bc512 | the kernel patch transforms it in a tslib driver | ||
| trackball | yes | a bit slow | ||
| sound | see notes,nearly working | Nearly working,some (not so)rare buffer underrun remain |
| |
| Modem/GSM | incomplete | I made a call but was unable to retrive sim contacts(little python prblem),sound works because the baseband modem takes care of it | modify /etc/frameworkd.conf to use qualcomm_msm driver | |
| wifi | use wireless-compat | use that howto : http://bobcopeland.com/android_wifi.html to make it work | ||
| Power management | unknow,using wakelocks | no apm(something much better that can lower the clock of the components was implemented in the kernel) | ||
| GPS | has been decoded |
| ||
| keyboard | yes | needs xmodmap to have android's keys,not done yet,problem with the m key under Xfbdev(kdrive)(press 1 time=> KeyPress it,press a second time => KeyRelease),works fine with xorg |
| |
| usbnet | yes | available on usb0 on the host computer and target device | you just need to select the msm controller in usb gadget,and of course use usbnet,should also now work as module | |
| Accelerated GL | no | OEM's Provide libhgl.so | Needs to be reverse engineered on a per device basis, most chips are currently qualcomm. Means no accelerated media (H264 etc.) |
|
| camera | we have a driver but it makes some oops |
| ||
| vibrator | works fine | use something like this to make it vibrate:
echo 2000 > /sys/class/timed_output/vibrator/enable needs CONFIG_ANDROID_TIMED_GPIO | ||
| compas | ||||
| lcd backlight | was working as led but there were some issues with FSO,so it is now converted from a led driver to a real backlight one |
| ||
| Accelerometers | Unknow | |||
| Bluetooth | connected trough serial,optional firmware(needed for higher speeds) |
echo 1 > /sys/class/rfkill/rfkill0/state hciattach /dev/ttyHS0 texas For seeing it |
|
