Guides

Install Android on your HTC Windows Mobile phone – Guide

This tutorial will guide you to install Android on the following HTC Windows Mobile Devices, if your device is not in this list, do not worry, we will soon have a tutorial for you too.

  • HTC Artemis
  • HTC Elf, HTC Elfin, HTC Touch
  • HTC Excalibur, T-Mobile Dash
  • HTC Gene, HTC P3400
  • HTC Herald, T-Mobile Wing
  • HTC Opal, HTC Touch Viva
  • HTC Pharos
  • HTC Prophet
  • HTC Startrek
  • HTC Wizard
T Mobile Dash
T-Mobile Dash

Wing Linux’s Android version is designed to be run directly from your storage card — no need for repartitioning or complex installation.

Download the Wing-Linux’s Android Cab file here.

Installation
The following is the normal installation procedure and does not require any manual partitioning. It will install Wing Linux to a filesystem image residing on your fat32-formatted SD card.

1) Download the latest Wing Linux Zip file and unzip it

2) Install the wing-linux-[version]-rootfs.cab file to your phone (either directly or using ActiveSync). Ensure you install it to Storage Card (not internal memory) — it won’t run anywhere else.

3) Now, install the .cab file for your phone. Without this, Wing Linux will not work. Remember to install it to storage card as well.

4) Click on Start -> Programs -> Wing Linux to start

5) Follow the on screen instructions. First bootup takes a long time — please
be patient.

If you encounter screen problems, skip to the “Troubleshooting” section below.

Once your system is booted, you can follow the section “Logging in Remotely” to connect to it via SSH.

Installing to a Dedicated Partition

Installation to a partition has a speed advantage over the normal installation method, but requires more work to set up and maintain.

For these steps, you will need to be using Linux on your computer and have an SD card reader. You can use the WM5Storage program on your phone to turn your phone into a mass storage device, but I don’t recommend this method as it’s much slower than using the SD card directly.

1) Begin by partitioning your SD card on your Linux computer. I recommend the following scheme:

Partition 1: VFAT (fat32) partition covering most of your SD card
Partition 2: Linux (ext3) partition at least 250mb in size

2) Place your SD card back into your phone and follow all steps in the “Installation” section above through step 3 to install Wing Linux onto your fat32 partition

3) Remove your SD card again and attach it to your computer. Mount both the fat32 and ext3 partitions.

4) As root, extract the rootfs.tar.gz file (located in the linux/ directory on your
vfat partition) to your ext3 partition. For example, if your vfat partition is
/media/disk and your ext3 partition is /media/disk-1, do the following:

cd /media/disk-1
sudo tar -xzvf /media/disk/linux/rootfs.tar.gz

5) Unmount both partitions and detach the SD card from your computer, reinstalling it back into your device.

6) Delete the file “/Storage Card/linux/rootfs.img.status” — this will bypass the
installation program that normally installs Wing Linux to your vfat partition.

7) Click on Start -> Programs -> Wing Linux to start Wing Linux

8) Wing Linux will start booting from your partition.

Logging In Remotely

If you’d like to control the phone from another computer, plug in a USB cord to it and configure your usb0 device (from Linux) as follows:

# sudo ifconfig usb0 10.100.0.2 up

Ubuntu users may have to run this several times before it takes effect.

Now you can ssh into the phone as follows:

# ssh root@10.100.0.1

The password is “wing”.

Troubleshooting
Q: When I boot, I see a lot of scrolling text, then my screen fades to white and appears   to freeze.

A: Normally, the video settings for your board configuration should be detected and used   automatically.  If this fails, the display could be white and non-responsive.
In this case, please submit the contents of “/Storage Card/linux/dispdump.txt”   to a new thread on the Wing Linux forums (see http://wing-linux.sf.net) along with   an account of all steps you took to start Wing Linux.  Include as detailed a description   as possible as to what you saw on the screen throughout the whole startup process.  This   will greatly help us debug the problem.
Note that if you’re attempting to run Wing Linux on a device that isn’t supported, there’s   no guarantee that anything will work, but if we have this information, we can try and get   your device supported.  Be sure to try all board configurations before giving up though,   as one configuration may work better than another.

28 thoughts on “Install Android on your HTC Windows Mobile phone – Guide

  1. @sayantan,

    No, it is stock Android 1.5, no Sense UI.

    Will be soon putting HD and HD mini tutorials..

  2. Installed everything on a P3300 and its working fine. The only major issue is that APN config is not being saved… it is apparently a bug with the 1.5 version… so no internet !!!

    Any advice on how to install a later Android version?

    Regards and thanks,
    Paul

  3. i am attempting to put this on a dash 3g. the dash and dash 3g are different phones, but nothing i can find in the forums mentions this. just wondering if there is a definite yay or nay on the 3g version.

  4. When i boot on touch viva, I’m getting the below error

    ***************************************
    mount: mounting /dev/ on /mnt failed:invalid argument
    unable to mount rootfs device
    bash:can’t accesss tty; job control turned off/#
    ***************************************

    Kindly help
    Prakash

  5. Man you are the best , i tried after e cant boot linux on my HTC touchElf and now i can ,, sorry my english , im portuguese , well , good toturial 😀

  6. When i boot on touch viva, I’m getting the below error

    ***************************************
    mount: mounting /dev/ on /mnt failed:invalid argument
    unable to mount rootfs device
    bash:can’t accesss tty; job control turned off/#

  7. When i boot on touch viva, I’m getting the below error

    ***************************************
    mount: mounting /dev/ on /mnt failed:invalid argument
    unable to mount rootfs device
    bash:can’t accesss tty; job control turned off/#

  8. Dear sir this, is vinoth i have the htc T3333 windows mobile 6.5 it too boring to work cam help me how toinstall androod in htc monile and send me download link for my mobile ….THANKS waiting for yopir reply

  9. Hello Man ,
    Can you let me know which file is applicable to be used with HTC P6300 (PAND 100) as I need Android running on this Phone

  10. The application freezes when screen calibration starts. Even after taping at the 1st corner the crosshair does not go to the second corner.
    I am using HTC P3400

    Please reply

    Thanks

  11. I have an Htc p3400 and it go’s well i do the screen taping and all then it starts to load and says Android and lots for ever i left it so it can load for 2 day’s long no respond please help This seams Epic and 6.1 pro is getting boring !!!

  12. Hi, firstly much respect for this instruction! i just installed to my elf and boy… it’s great. I was a bit worried that it’ll take long and confusing time but it’s a candy on a child’s hand. Thanks a lot you guys.

    M.Zubeidy

  13. I booted my HTC Artemis and everything is working except for the sound ….also could you tell me what system this android is.

  14. hi , i installed android and it booted perfectly , but the android freezes at home screen,when i press any button it reebots…plz help

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.