Install XDAndroid on a Touch Pro2 Step-By-Step
1306183125|%e %b %Y, %H:%M %Z|agohover
David MarseillesDavid Marseilles

Install XDAndroid on a Touch Pro2 Step-By-Step

Do you have an old HTC Touch Pro, Touch Pro2, Diamond, Diamond2 or HD? You are no longer a slave to Windows Mobile, you can dual boot Android Froyo if you want to. After getting it installed on my device, I put together a step-by-step guide to getting XDAndroid up and running.

EDIT 07/17/2011: A new build of XDAndroid is available, and it requires far fewer steps to be fully up-to-date. Visit this thread to get FRX07.

The follow steps apply to FRX06 and help get that build up-to-date. If you choose to install the latest build, FRX07 from the link above, ignore these steps.

Windows mobile (the old 6.x and below) is quickly being left behind in terms of development. No kindle reader, no nook reader, no kobo, etc, and those packages that do exist aren't necessarily being updated. I wanted to try out Android without leaving my hardware behind, because I love my TP2's keyboard more than I love most of my family (I'm like 41-43% joking about that).

Enter XDAndroid, a project by members of xda-developers to port android to Windows Mobile HTC handsets like the Diamond and Touch Pro series'. It boots from an SD card and does not replace WinMo, and requires you do nothing invasive like spl unlock your phone. Don't like it or it bugs out on you, just reboot, delete the files and it's like the whole thing never happened. Though I still recommend doing a complete backup before trying anything.

Steps to install XDAndroid on a Touch Pro2:

Step 1: Download XDAndroid Froyo, build 6. This contains everything you need to run Android, but because development moves so fast, we'll update a few portions in later steps.

Step 2: Extract the zip file. I recommend 7zip, because it also supports some compressions formats we'll have to deal with later, but any unzipping program will handle this file. Extract it anywhere, just remember where you extracted it.

Step 3: Move everything in the FRX06 directory to the root of your phone's SD card. The 'root' simply means not inside any directory or subdirectory. If you plug your phone into your computer in drive mode, and it comes up as, say, the E: drive, you'll extract the build directly to E:, not E:\anything. There are 6 files (haret.exe, initrd.gz, modules….gz, system.ext2, rootfs.img, zImage) and 4 subdirectories (AndroidApps, conf, media, STARTUPS) to move to the root.

Step 4: Choose your device/model. Different models have different quirks and key layouts which are handled with the startup.txt files. There are 5 models and several more submodels. The Blackstone directory is for HTC HD1s, DIAM is for Touch Diamond 1s, RAPH is for Touch Pro1s, RHOD is for Touch Pro2s, and Topaz is for Diamond 2s. If your directory has subdirectories, you'll need to turn off your phone, remove the battery and look underneath it find your model number (mine is RHOD500). Once you have the right startup.txt, move it to the root directory.

**Step 5: **Update your rootfs. Download the file here. Extract it (here is where 7zip comes in handy). Rename rootfsblahblah.img to rootfs.img. Copy your new rootfs.img to the root directory of your phone's SD card, it will ask if you really want to overwrite the existing file, and you do. Acknowledgment: Highlandsun, see linked thread for more details.

Step 6: (this might only apply to models without dpads like the Touch Pro2) Assign a Home key in startup.txt. Go to the root of your sd card, open startup.txt. There is a line at the bottom called set cmdline "…" with various space-separated arguments in the quotation marks. You need to append an argument to convert one of your phone's face buttons to home, and another to search (more optional). For Rhodium, I changed physkeyboard=RHOD500 to physkeyboard=RHOD500-b1HOME to map my call key to home, and I added a new argument, gpiokeyopts=b4SEARCH to make my end key search.

Step 7: Update your kernel. The kernel consists of two files, zImage (no file extension, just zImage) and one named module-blahblah.gz where blah blah consists of version numbers. There is a constantly updated repository of new kernels here. I downloaded the may 6th release because it had a fair amount of good feedback. Delete your old modules file from the root directory of your card, and then extract and copy the new zImage and modules file in their place.

Step 8: Two last downloads. 1: conf (right click, save as). Copy this over the froyo.user.conf file found in root/conf. 2: tscalibration, unzip and place the file in your root directory.

Step 9: Now open your phone's file browser, go to the root of your storage card, run haret.exe and watch android boot up. The first boot takes a long time.

Step 10: Links for extra information. XDAndroid Wiki. XDAndroid Froyo build 6 thread. Introduction to Android - SD Card (extra props to ryannathans for his guide). F22's Latest Rootfs (Apr 19th, 2011) Highlandsun's RIL Support Patches Merged + More. Official Installation Guide.

Caveat Emptor
FYI. Bluetooth won't work yet. Even wired headsets are iffy. Your notification light is no longer for notifications — it will shine green when your phone is asleep - this is to diagnose issues with phones failing to sleep. This is an experimental build. You might have to disable GPS to enable your phone to fall asleep and save battery. Charging from Android is touch and go. You cannot really turn off wifi to save power. You can disable it, but it still draws juice. I wasn't able to use the default browser at all, but Opera Mini from the Market works nicely. And FYI, Amazon's market gives away a paid app daily, with Plants vs Zombies coming up later this month — even if it doesn't run on the TP2, you can grab and install it when you do upgrade.

In other words, it's nice to have access to some software (if you have a kindle and want to sync pages from phone to reader for example) and I mostly just play with on the weekends, so it is not a main OS until they iron out a few more details. The good news is they work on it constantly as you can see on the kernels page. And it's nice that it boots from the SD card rather than replacing WinMo so you still have a nice stable OS to come home to.


Click through to see the full step-by-step

win free stuff contests sweepstakes money

Similar Posts

rating: 0+x
Add a New Comment

Visit WiiHD's Sister Site

WiiHD Blog
WiiHD's Homebrew Guide
WiiHD Clan Directory
WiiHD User Video Gallery
Subscribe to WiiHD

Most Recent Posts

The ListPages module does not work recursively.


Subscribe in a reader RSS

Highest Rated Contests

Win a 22" Widescreen Samsung Monitor (Rating: 1, Comments: 0)
46" Sharp Aquos LCD HDTV Giveaway (Rating: 0, Comments: 0)
Bill Day Giveaway (Rating: 0, Comments: 0)

Recent Comments (+more)

Only 3rd place, for the USB pen prize, but I'll take it. You can never have enough usb...
(by David Marseilles 21 Aug 2008 22:10, posts: 1)