Handhelds.org - Open source for handheld devices

UserPreferences

ApacheLinux


Running Linux on the HTC Apache phone

| Home | Hardware | Linux | Todo

To test drive a familiar gpe image on apache, follow these steps:

The above will create a linux ext2 filesystem in a file linux-root.img on the fat partition of the SD card. The first time you run the program it will take a few minutes to setup everything. Subsequent executions of the apache-linux-launcher.exe program will be faster.

One can return to wince by running "reboot" from linux or by performing a hard reset on the phone. One can remove the linux install by deleting the files from the mini SD card. The test drive procedure should not adversely impact the phone, however, THERE IS NO WARRANTY so USE AT YOUR OWN RISK.

Creating new test drive images

Running Linux on the HTC Apache is still a work in progress. Please see the main htcapache page above for the latest progress information.

Currently, there are no pre-made images for the HTC Apache. In the interim, one can follow these steps to create an Apache rootfs from an existing rootfs:

cvs -d :pserver:anoncvs:anoncvs@anoncvs.handhelds.org:/cvs co linux/kernel26
cd /path/to/kernel/
make modules_install INSTALL_MOD_PATH=/path/to/build/area/
cd /path/to/build/area/
tar cfj /tmp/my-new-rootfs.tar.bz2 .

You may also need to recreate a new wince launcher. To do this, grab the files from http://www.handhelds.org/~koconnor/initramfs-installer/ and follow the directions in the README file.

The install program uses [WWW]haret - pre-built images can be found in: http://www.handhelds.org/~koconnor/haret/