Since MrPippy no longer seems to be maintaining the thread over here, I figured I'd bring the latest way to properly run xdandroid on Touch Diamond CDMA devices. This has been tested on my Sprint Touch Diamond (DIAM500), your device may vary.
Android 2.2.2 (Froyo) for CDMA Diamond
Instructions:
From this xda post, download the XDANDROID build (currently 7/05/11).
From the XDANDROID zip file, extract AndroidApps/, conf/, media/, zImage, haret.exe, system.ext2, initrd.gz, modules-*.tar.gz, and rootfs.img into a directory called /andboot/ directory of your Internal Storage. If you extract the folder FRXnn/ (where the nn is the build) you can rename the folder to andboot/.
If you are using DIAM500 (Sprint's CDMA), navigate to FRXnn/STARTUPS/DIAM/DIAM500 inside the zip file, and extract the file called startup.txt into /andboot/ of your Internal Storage. These contain the necessary instructions for Haret to start Android on the Diamond. There are several other types of Diamond config file to try inside the zip file if you are not using Sprint's Touch Diamond, and should be renamed startup.txt if named differently.
The list of files you should have inside the Internal Storage should now look like:
If you want the older way of having everything in / (root) of the Internal Storage, just move everything from /andboot/ and also delete the argument rel_path=andboot from startup.txt.
Unplug the Diamond from the computer, and run /Internal Storage/andboot/haret.exe to start XDANDROID. If you have not done the calibration, there will be a white square with a cross that you will have to click on a few times. On first boot, it will take time for the system to set up the correct APN for data (usually a few minutes). If you get an error saying that no connection can be made, wait until the 3G icon appears on top before doing anything that requires data (Marketplace, etc.)
---
Optional: Download the latest rootfs Zip file from here.
Extract and rename the file rootfs-*.img to rootfs.img, and replace the one already in your Internal Storage.
Optional: Download the latest kernel bzip file from the links in the xdandroid post (several are provided) using 7Zip. Extract the modules-*.tar.gz and zImage.* file to your Internal Storage. You must then rename the zImage-* file to zImage after renaming/deleting the existing one. If you do not do this, Haret will not use the latest kernel file.
Caveats:
If you are running any previous versions of XDANDROID, it is highly recommended that you delete your data.img. This will wipe all your existing apps and data, but you can save your downloaded apps by going into /data/app and/or /data/app-private and copying it to /sdcard, but you need a root-capable file explorer.
GPS takes a while to get a position fix. It is working, but since there seems to be no AGPS support, it may take up to 15 min for the AGPS chip to get a fix on ephemeral data. Running QuickGPS from WM and keeping it updated seems to help a lot.
If you enable smart backlighting in WM, XDANDROID is unable to set the backlight level. Hopefully this will be addressed soon, since other devices (Rhodium, etc.) now has backlight support working.
If you still have trouble running XDANDROID, then make sure you post at least the following: What type of Diamond you have (model #), the startup.txt you are using (open it in Notepad to see the mtype), the build of XDANDROID you are using (along with any rootfs/kernel updates if applicable), and the last thing it does that you can see (ie. Haret reboots WM instead of running XDANDROID). Without this information, it isn't helping you or the person trying to help in order to figure out what may be going wrong.
A lot of information that applied to Andriod 2.1 (Eclair) also applies to 2.2 (Froyo), with the exception of where the files are located (/ vs. /andboot on the Internal Storage). I've kept Eclair-related instructions below.
Android 2.1 (Eclair) for CDMA Diamond Instructions: (for historic reasons)
From this xda post, download the latest XDANDROID build (currently 6/21/10).
From the XDANDROID 7z file, extract AndroidApps/, media/, zImage, haret.exe, system.ext2, initrd.gz, modules-*.tar.gz, and rootfs.img into the root of your Internal Storage. You must use a computer to extract this, none of the WM/Android apps have enough memory to extract the 7z file correctly!
Create (don't copy) a directory called conf/ on the root of your Internal Storage. Now navigate to conf/Diamond inside the 7z file, and extract the file called eclair.user.conf into the conf/ directory. This is important, you should have a file named conf/eclair.user.conf, not conf/Diamond/eclair.user.conf.
If you are using DIAM500 (Sprint's CDMA), navigate to STARTUP CONFIG/DIAM500 inside the 7z file, and extract the file called STARTUP.TXT into the root of your Internal Storage. If you are having problems with Haret restarting WM instead of booting, you can try the one inside CONFIG/DIAMOND100 or rename CONFIG/DIAM-STARTUP.TXT to STARTUP.TXT. Each file has a different MTYPE, and is most likely the cause of failure to boot into XDANDROID. (DIAM500 mtype 2040, DIAM100 mtype 1805, the unknown DIAM-STARTUP one uses mtype 1910)
Unplug the Diamond from the computer, and run haret.exe to start XDANDROID. On first boot, you cannot connect to Google's server until you have entered an APN (regression bug from 6/12/10.) Skip the account stuff for now, go into Settings→Wireless&Networks→Mobile Networks→APN, and create an APN with Name: Internet and APN: Internet. Press the Home key (to bring up the menu), Save, and then select the APN. You should get the 3G icon in a few seconds.
Hello, I followed instructions, but there is a loading bar saying booting linux and my diamond reboot, what can i do ?
Thanks
your not the only one im working on this myself im trying to recreate a zip with it working for diam 500 and the touch pro no matter where i get the files from haret has become a problem and i dont know why so i remaking the files using old haret
ok so i got it working tho got stuck at the sign in part entered my info and then it kept looping back asking for it again and again found the if you restart it youre all set as for gps got a fix in under 30 secs going to repack the files for anyone who wants it this will work for the sprint touch and touch pro if you want the files let me know be more than happy to email them
Good call on starting the new thread. Kind of strange that Mr. Pippy never said anything before he took off.
For pure convenience, it may be best for the OP to compile a weekly build with all necessary files. Noobs might fare better if babied along and that would also assist in keeping this thread focused on more pressing issues.
so ran the new droid all night no hiccups but noticed that the time isnt synced it was off by ten minutes tried out the nav. drove to work looked at the time again it was now off by almost 15 mins maybe someone can enlighten me on this issue or is it just me
I did all steps as described above but if I run on haret.exe it says something like starting linux... but it just restarts the mobile and windows is starting again...
Good call on starting the new thread. Kind of strange that Mr. Pippy never said anything before he took off.
I think I saw something about him getting an android phone so he wasn't gonna be continuing it, i might be wrong though.
Quote:
Originally Posted by beepme2479
so ran the new droid all night no hiccups but noticed that the time isnt synced it was off by ten minutes tried out the nav. drove to work looked at the time again it was now off by almost 15 mins maybe someone can enlighten me on this issue or is it just me
This seems to be an issue check the xdandroid thread and search for "clock" (i think theres an app called ClockSync or something)
Quote:
Originally Posted by NoLeftHere
The only error I am getting is a keyboard error.
apparently this is common and its due to the lag at startup of transferring files from the sd card... just press wait and it shouldnt be an issue
Quote:
Originally Posted by Flohman
I did all steps as described above but if I run on haret.exe it says something like starting linux... but it just restarts the mobile and windows is starting again...
do you have any glue whats wrong?
wrong startup.txt? you'll needa post more info about the error probably
HTC Touch DIAM500 (Telus) + Original Windows 6.1 ROM
By now, we’re all quite familiar with Tasker, the personal automation app that seems to be able to … more
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?