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

57 posts
Thanks Meter: 0
By MrPippy, Member on 27th December 2009, 04:29 AM
Post Reply Email Thread
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, 14058 views)
27th December 2009, 04:46 AM |#2  
Flag Michigan
Thanks Meter: 14
thanks mr. pippy for all your work. my wife is happy that once the microphone works i wont want to buy a new phone!
27th December 2009, 06:05 AM |#3  
maury1234's Avatar
Retired Recognized Developer
Flag Austin, Tx
Thanks Meter: 124
you are definately making progress on the diamonds android
27th December 2009, 06:31 AM |#4  
Junior Member
Thanks Meter: 0
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.
27th December 2009, 05:45 PM |#5  
bdusmc's Avatar
Senior Member
Flag Calgary
Thanks Meter: 101
Can someone invite me to Google Wave please?

my gmail account is mike.cgy
27th December 2009, 09:37 PM |#6  
Junior Member
Flag Ottawa
Thanks Meter: 0
Originally Posted by bdusmc

Can someone invite me to Google Wave please?

my gmail account is mike.cgy

I just sent you one.
28th December 2009, 05:05 AM |#7  
bdusmc's Avatar
Senior Member
Flag Calgary
Thanks Meter: 101
Awesome - I got it... Thanks a lot!
28th December 2009, 10:55 AM |#8  
sean222's Avatar
Senior Member
Flag Markham, Ontario
Thanks Meter: 263
Wow, you're getting a lot done in a short period of time, Thanks!

Will donate as soon as I can!
28th December 2009, 01:19 PM |#9  
Junior Member
Thanks Meter: 0

the boot stops on
"handhover: boot [htc_fb-1] -> real [ttyo]"
28th December 2009, 03:15 PM |#10  
Senior Member
Flag Pittsburgh
Thanks Meter: 1
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.
28th December 2009, 06:13 PM |#11  
bharris25's Avatar
Senior Member
Flag Saint Louis
Thanks Meter: 7
Talking Boots up fine
Latest build boots up and seems to run fine for several hours but after playing with it, it seems to get more and more unstable. I went 10 hours with it plugged in sleeping and then unplugged it and used it moderately for about 3 hours before it crashed. Now it's crashed 3 times within minutes of each other. Good stuff though, can't wait until it's stable enough to use full time. Diamond has plenty of nuts to run it pretty good. Sure would be nice to have a dual boot phone. No reason to upgrade and get the best of both worlds...
Post Reply Subscribe to Thread

cdma diamond kernel, diam500 linux android

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes