HTC TouchPro
This information is to the best of my current knowledge, and may be incorrect
Background information
The HTC TouchPro was typically shipped with a flavor of Windows Mobile, but some people have managed to port Android to the series of devices it belongs to. This includes a mostly complete kernel support, of which source code is available.
It was therefore relatively easy to look at how this project managed to boot Android on this platform, and adapt hackable:1 to run there as well.
Procedure
At the moment, either Android or hackable:1 can only be started from within Windows Mobile. This also means that the installation operation is completely non-destructive: the system will be installed and run on a MicroSD card. Therefore, it needs to be formatted and prepared accordingly.
Requirements
To perform this procedure, you will therefore need:
- a MicroSD card, with a recommended minimum of 1GB of total space;
- haret.exe, a reverse-engineering tool used to boot the kernel (attached to this page)
- startup.txt, a configuration file for haret.exe (attached to this page)
- initrd.gz, taken from the xdandroid project (attached to this page)
- the zImage file from a working kernel (attached to this page)
- an archive of hackable:1, configured for this platform (and containing the relevant kernel modules)
Partitioning
Very much like for the Openmoko Freerunner, it is recommended to place two partitions on the MicroSD card like so:
- primary, with a VFAT filesystem (type 4), of about 16MB
- primary, with an ext2 filesystem (type 131), with all of the remaining space
Note: it is possible to run Android and hackable:1 from the same MicroSD card. Just allow Android to have more space on partition 1, and be sure to use type 11 instead.
Pre-configured image
You can download an image there:
or use strap:1 directly as follows:
$ cd trunk/build $ ./strap1.sh HOSTNAME=touchpro.htc.dse image
This will generate a tar.gz archive, based on the DeforaOS Smartphone Environment (DSE) for hackable:1. Feel free to use another environment, and refer to the documentation about building images.
Layout
Create a "hackable1" directory in the first partition, with the following files inside it:
- haret.exe
- startup.txt
- zImage
- initrd.gz
Simply uncompress the full content of the hackable:1 archive at the root of the second partition.
Starting hackable:1
Use the file explorer from Windows Mobile to open the MicroSD card. Open the hackable:1 folder, and start haret.exe. The phone will automatically boot hackable:1 directly, as found on the MicroSD card. Keep in mind that the first boot of hackable:1 may be a bit slow, and be sure to check the section of known issues below.
Current status
What works
- Xorg works
- the touchscreen is functional
- the keyboard works
- GSM seems to work, with some errors still annoying at times
What is missing
- the GPS was not tested
- Bluetooth is not tested
- the battery meter apparently doesn't work (connected to the modem?)
Known issues
- the splash screen doesn't work
- Xorg takes 100% CPU at the moment
- USB networking doesn't work
- wireless networking doesn't work

