[Hero CDMA Android Development] dfbonney:
(Zip attached includes fix and stock folders. Use the fix folder FIRST to get completely booted. You can use the stock folder if you want to get 100% stock after you have a running unrooted system but have RA recovery.)

Steps to resolve:

(You SHOULD have a Nandroid backup of some sort, if not download a ROM... Fresh1.1??)

1) Boot the phone to black screen

2) Plug phone into PC/MAC - The HTC logo should appear at this point

---- If you've been doing anything else, rerun the RUU and let it fail and reboot to the HTC logo.

3) PC - fastboot oem boot | MAC - ./fastboot oem boot

(Make sure you turn on USB Debugging under Settings --> Applications --> Developer)

4) Root your phone using asroot2

adb push asroot2 /data/local/
adb shell chmod 0755 /data/local/asroot2
adb shell
/data/local/asroot2 /system/bin/sh

mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cd /system/bin
cat sh > su
chmod 4775 su

5) This is where your Nandroid backup comes into play.

(Browse to your nandroid folder, find your first backup and copy all of the .img files except system and cache to your SD card root directory)

NOTE: At this point you should dismount the SD card if you mounted inside of Android OS(Sense/Launcher)

6) run adb shell (PC - adb shell | Mac - ./adb shell)

7) type su

8) Run the following commands (if you get out of memory errors, type su again and try once more)

NOTE: Do not copy the "#"'s in the commands, the # just means you are running as SU, as opposed to the "$"

# flash_image recovery /sdcard/recovery.img
# flash_image boot /sdcard/boot.img
# flash_image misc /sdcard/misc.img

9) now... type reboot recovery

This time you should get your recovery menu, should have been RA or whatever you used... from there I did a complete nandroid restore and my system booted.

Also, after I did this I did try to let it boot without doing a recovery and it wouldnt go anywhere... but I'm fairly impatient... it may have wanted to load. I figured it best to do an entire Nandroid restore though.

-------------------------------------------------------------

100% Stock Configuration Work Around

-------------------------------------------------------------

Non-Rooted Nandroid Backup:

nandroid.7z

I was able to get my phone completely 100% to stock. I was able to do this by retrieving a Nandroid restore from someone who used flashrec to make their initial backup. This restore does not touch the recovery image but I was able to boot into my recovery then write the HTC recovery back on top of it. I now have 100% un-rooted phone. I'm not sure how to go about posting a 127MB file, what do you think it the best place?

After restoring the Nandroid backup I tried this:

Dustan-Bonneys-MacBook:tools dustanbonney$ ./adb shell
$ su
su: permission denied

Then I rebooted to recovery (I used RA 1.5.2)

Dustan-Bonneys-MacBook:tools dustanbonney$ ./adb remount
remount succeeded
Dustan-Bonneys-MacBook:tools dustanbonney$ ./adb shell
/ # mount -a
mount: mounting /dev/block/mmcblk0p2 on /system/sd failed: No such file or directory
/ # cd /sdcard
/sdcard # flash_image recovery /sdcard/Stock/recovery.img
flashing recovery from /sdcard/Stock/recovery.img
/sdcard # reboot recovery

I was booted to the Triangle and exclamation mark... I pulled the battery and booted up normally.

Stock Kernel - 2.6.27-533ce29d htc-kernel@and18-2 )

Stock Build - 1.56.651.2 CL85027 release-keys