Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,806,018 Members 44,302 Now Online
XDA Developers Android and Mobile Development Forum

[PRJ] Linux and Android for CDMA Diamond (DIAM500)

Tip us?
(Last edited by MrPippy; 24th March 2010 at 12:07 AM.) Reason: New kernel
Member - OP
Thanks Meter 0
Posts: 57
Join Date: Jul 2008
Location: Long Beach, CA, USA
Post [PRJ] Linux and Android for CDMA Diamond (DIAM500)

Android 2.0 (Eclair) for CDMA Diamond (DIAM500)

  • Put the files from my zip file (zImage, modules, startup.txt) in the root of your Internal Storage
  • From this xda post, download the latest XDANDROID build.
  • From the XDANDROID 7z file, extract system.sqsh, haret.exe, initrd.gz, calibration, conf/, media/, and (optionally) AndroidApps/ into the root of your Internal Storage
  • From stinebd's rootfs autobuild site, download the latest rootfs, rename it to rootfs.img, and put it in the root of your Internal Storage.
  • If you are updating from an earlier version of Android or just want to clear your settings, you can delete data.img from the root of Internal Storage.
  • Run haret.exe and boot

  • Touchscreen calibration values are stored in the ts-calibration file in the root of Internal Storage. To re-calibrate, delete the file and restart.
  • The "end call" button takes the phone in and out of sleep.
  • Android's "Menu" button is mapped to the top-left/Home button. The 5-way pad and the scroll ring both work.
  • Android's "Home" button is mapped to the power button on top of the phone.
  • Wi-Fi is working, although Linux sometimes crashes when WiFi is turned off.
  • If you want to try Android 1.6: From this Android build, extract haret.exe, initrd.gz, system.sqsh, calibration, calibration_diamond, and the AndroidApps/, conf/ and media/ directories into the root of your Internal Storage.

  • 3-23-2010:
    • Touchscreen double-tap issue should be gone, big thanks to eval- and especially bzo
    • HTC wired headset and 3.5mm headphones both work
  • 3-8-2010:
    • Hardware 3D is re-enabled (accidentally disabled it)
  • 3-6-2010 Update:
    • Bluetooth now works, big thanks to bzo
    • Touchscreen should be improved
    • Power-off now resets the phone instead of crashing
  • 2-25-2010 Update:
    • When WiFi is turned off the phone shouldn't crash
  • 2-19-2010 Update:
    • Power collapse now works, so power consumption should be much lower when the screen is turned off.
    • WiFi should work, as long as you use a new rootfs from stinebd's autobuild site. If you tried to use WiFi in the last ~2 weeks and it failed, WiFi still may not work with this new rootfs and kernel. See this post for solutions.
  • 2-17-2010 Update:
    • Microphone works without having to make a call in WinMo
    • WiFi still isn't working, but I'll post a patched rootfs soon to fix it
  • 2-10-2010 Update:
    • Hardware 3D acceleration is working under Eclair
    • Brought in makkonen's fixes for battery status--they're rough, but better than being stuck at 5% all the time
    • WiFi is not working at the moment, but I'll lean on the XDANDROID guys to get my fix in.
  • 2-3-2010 Update:
    • Linux is now using much more of the phone's memory: 180MB vs. 103MB, thanks to some patches from the Hero and Droid Eris kernel source.
    • Touchscreen calibration is now supported with the Feb. 2 XDANDROID build, thanks to makkonen and phh.
  • 1-27-2010 Update:
    • Stability should be much improved
    • A new touchscreen driver is included that is a big improvement over the old one, thanks to makkonen and phh. A calibration utility is coming soon. Until then, calibration is stored at the bottom of conf/eclair.user.conf, and you can put your WinMo calibration in there with this guide.
    • The USB product ID has been changed in the hope that ADB will work on Windows. Try it out and post back if it works.
  • 1-22-2010 Update:
    • The power button (on top of the phone) is now mapped to Home, and holding it down will show apps running in the background
    • Sound, data, and WiFi should all be working
  • 1-11-2010 Update:
    • Tested and working with Eclair
    • Deep sleep should be working better (use less power)
  • 12-26-2009 Update:
    Kernel improvements:
    • The speaker and earpiece now work (but not the microphone)
    • Screen backlight control works

    Rootfs improvements:
    • Thanks to makkonen's RIL fix, cell data works in Android without having to end the connection in WinMo first
    • I made a change to /init that might help mjb94, hackman238 and others that have partitioned internal storage. If you were getting a "cannot mount" error on boot, let me know if this fixes it.
  • 12-16-2009 Post

We do have a Google wave for Android--right now it's a cross between a wiki-status-report and chat room. I'm not sure how to give a link to a wave, but it's open to everyone and called "Android on HTC Windows Mobile Phones (Diamond, Raphael, Blackstone, Rhodium, Topaz)". If anyone wants a wave invite, PM me and I have a few to give out.

Enjoy Android, and if you need help or have questions, PM me or post here

Donations are greatly appreciated , or help finding an engineering job in San Diego!
Attached Files
File Type: zip - [Click for QR Code] (1.92 MB, 13621 views)
Thanks Meter 14
Posts: 93
Join Date: Nov 2008
Location: Michigan
thanks mr. pippy for all your work. my wife is happy that once the microphone works i wont want to buy a new phone!
maury1234's Avatar
Recognized Developer
Thanks Meter 123
Posts: 307
Join Date: Dec 2009
Location: Austin, Tx
Default wow

you are definately making progress on the diamonds android
Junior Member
Thanks Meter 0
Posts: 2
Join Date: Dec 2009
Is there any chance of the mic working anytime soon? I know this isn't an fast paced process but I'm just so sick of wm.
bdusmc's Avatar
Senior Member
Thanks Meter 101
Posts: 181
Join Date: Dec 2008
Location: Calgary
Can someone invite me to Google Wave please?

my gmail account is mike.cgy
Junior Member
Thanks Meter 0
Posts: 2
Join Date: Dec 2009
Location: Ottawa
Originally Posted by bdusmc View Post
Can someone invite me to Google Wave please?

my gmail account is mike.cgy
I just sent you one.
bdusmc's Avatar
Senior Member
Thanks Meter 101
Posts: 181
Join Date: Dec 2008
Location: Calgary
Awesome - I got it... Thanks a lot!
sean222's Avatar
Senior Member
Thanks Meter 120
Posts: 422
Join Date: Dec 2007
Location: Markham, Ontario
Wow, you're getting a lot done in a short period of time, Thanks!

Will donate as soon as I can!
Junior Member
Thanks Meter 0
Posts: 24
Join Date: Mar 2009

the boot stops on
"handhover: boot [htc_fb-1] -> real [ttyo]"
Senior Member
Thanks Meter 1
Posts: 188
Join Date: Feb 2007
Location: Pittsburgh
For the latest version, it will boot for me, but as soon as I have a 3g connection it seems to reboot any time I touch anything.

cdma diamond kernel, diam500 linux android
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Learn How to Make a Live Wallpaper all by Yourself

Stillimages can bebeautiful, but some of you prefer to see animations on your screens. … more

Google Play Services Updated to Version 6.1

In addition to Android operating system proper, Google is focusing hard on giving the developers … more

CyanogenMod 11 M10 Available for Supported Devices

Summer vacation isover for most students out there, and it’s the time to get back to … more

XDA Forums Added for the First Batch of Android One Devices!

Just yesterday, we talked about the highly anticipated launch of the first batch … more