yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] dfbonney:
In my second post I have included a Nandroid backup that is not rooted (yes you could just do this INSTEAD of an RUU but this hasn't made the news yet and people are still bricking.). You can restore that backup and you will have a system that is "stock'. Once you get to that place you can flash the stock recovery image back via adb while at the custom recovery then your phone is 100% stock, unless you've upgraded your radio... in which case, you would want to revert to stock radio, then flash the stock recovery.
[Hero CDMA Android Development] barnacles10:
Awesome that answers my question. Thanks again, great work.
[Hero CDMA Android Development] dfbonney:
You're welcome, hope it helps you!
[Hero CDMA Android Development] marcusva79:
Man this is driving me insane. I did have a nandriod back up and nothing. I think I have to use the RUU cause I need to take my phone to get serviced tomorrow for dust in the screen and paint on end button is gone. Argh!!!!! Using Damage Control v6.0
[Hero CDMA Android Development] SAlpIche:
How do you revert to stock radio?
[Hero CDMA Android Development] flipzmode:
The RUU will do it for you. If you want to do it manually then you can grab the stock one here: http://geekfor.me/radio/baseband-104010921/
[Hero CDMA Android Development] dfbonney:
Was just going to point to this. The RUU fails to actually write the radio back properly when you get the 110 error... so you will have to manually go back to the stock rom BEFORE you flash the stock recovery image.
[Hero CDMA Android Development] smw6180:
I've never been able to DOWNGRADE the radio. No matter what I've tried. The image appears to flash correctly, but the baseband version never changes. Not sure if it's cosmetic (ie, the radio flashed, but the baseband version didn't reflect it) or if the flash is failing even after reporting successful.
[Hero CDMA Android Development] justinisyoung:
the radio is definitely downgradeable. one reason that it might not work is because i remember that avalaunch once posted the stock radio that didn't actually write the radio to the phone, it just copied it in the /system directory.
[Hero CDMA Android Development] smw6180:
Yeah, I remember. But I've since tried 2-3 other 'versions' of the stock radio and none of them worked either.
[Hero CDMA Android Development] lopezpm:
Thank you so much to dfbonney

I sat here for 3 weeks not sure if I should try to upgrade my ROM or not and I finally try it today and I screwed it up pretty bad. I finally got it to boot my phone using "fastboot oem boot". But that's as far as I got. I could not make it past step 6 in the instructions. First it was error 170 then error 110. I was fighting with this thing all day. I was so desperate and lost that I contacted dfbooney. This guy knows his stuff. I appreciate your help with this. I just wanted to let you guys know that this is a good guy, seriously he took the time out of his day to help me out, a complete stranger. Thanks man. I sent you a little something for your troubles.
[Hero CDMA Android Development] ungbug:
when typing "fastboot oem boot" in the command prompt, it says "<waiting for device>", but then nothing happens. any suggestions?
[Hero CDMA Android Development] dfbonney:
do fastboot devices first... you've gotta make sure the phone is actually getting to fastboot mode.

What screen are you at when you're typing this?
[Hero CDMA Android Development] CarbonKang:
Is this working okay? I need to take my phone to sprint and i was wondering if I should do this first.
[Hero CDMA Android Development] dfbonney:
Have you already ran the RUU? If not then just download the nandroid.7z and hero200.zip and restore from the nandroid backup (nandroid.7z) then write over the custom recovery with the recovery.img from the Stock folder inside of the hero200.zip. That will take you completely unrooted and back to stock.
[Hero CDMA Android Development] CarbonKang:
Okay so to I will have to ReRoot all over again right?
[Hero CDMA Android Development] dfbonney:
Short answer: Yes

Long answer:

Do a nandroid backup now.

Run the nandroid restore from the backup on the second post

Flash the stock recovery img file.

Move everything from your SD (or take it out)

Have whatever done at Sprint

Move all SD data back (or put back in)

Reroot phone

Flash custom recovery

nandroid restore to the backup you made at the beginning.

- Yes
[Hero CDMA Android Development] ungbug:
turns out the error message I was getting was "Error 140 Bootloader Version Error," and my phone wasnt bricked, I just wasnt able to go into Recovery mode. I followed the instructions on this post:

forum.androidcentral.com/htc-hero-roms-hacks/9542-how-repair-your-bootloader-after-using-2-1-ruu.html

and was able to get boot back into Recovery mode and load my 1.5 nandroid backup I had saved. PHEW!
[Hero CDMA Android Development] mrcharlesiv:
Add one to the 100% stock restore tally. Thanks for this!
[Hero CDMA Android Development] dfbonney:
Congrats! Glad it worked for you!
[Hero CDMA Android Development] CDMAdroid:
where do you type fastboot oem boot??
[Hero CDMA Android Development] Chaid:
did you run RUU_Hero_C_Sprint_2.20.651.1_signed_test.exe? Because I did and want to get back to 100% stock and have had problems getting there. Something about Hboot....I also followed the "How to repair bootloader after 2.1 RUU" and still have had no luck.

EDIT: Following http://xdaforums.com/showthread.php?t=657086 and advice from Danknee This absolutely will restore your phone to the stock 1.5 Android that came on the phone. One additional step is to factory reset the phone after restoring the nandroided 1.5 (##786# in dialer >> menu >> reset >> enter MSL >> select reboot phone twice in recovery when it pops up). This will get rid of your 2.10 PRI that was installed with the 2.1 ruu

These were the last two steps that finally worked for me.....

My phone is back to stock from that 2.1 RUU bastard leak....thanks guys.
[Hero CDMA Android Development] NotoriousPTG:
Stuck on step 9

I've gotten as far as step 9. When i do reboot recovery all i get is the same htc screen. I cannot get into a recovery environment. I have all the files from the "fix" folder in the root of the sd. I'm not sure i have nandroid installed correctly. Can I get a little help here? Thanks
[Hero CDMA Android Development] riggsandroid:
try restarting your phone holding down the HOME key.

What recovery did you have flashed prior to trying to RUU?

Did you do this previously? (The only reason I ask, is that you have 1 post so far)

http://xdaforums.com/showpost.php?p=4930043&postcount=1
[Hero CDMA Android Development] NotoriousPTG:
I had only done fresh kitchen at that point. Saw that there was posiblity of sprint 2.1 update next week and wanted to go back to stock as I was learning the phone anyway.
[Hero CDMA Android Development] riggsandroid:
So you are sure you followed the steps and typed everything correctly? I know I made a typo a time or two trying to do this. I had this same error and used this method to get back to booting and reflashed my nandroid.

so when you type reboot recovery, the phone restarts but just sits on the black HTC boot logo and doesn't do anything else?
[Hero CDMA Android Development] NotoriousPTG:
Home + power just boots to the same horrid black blank screen.
[Hero CDMA Android Development] riggsandroid:
In step 8, where you flash recovery.img, what file did you use there? Did you get an error? I think this is your problem.
[Hero CDMA Android Development] NotoriousPTG:
yes reboot recovery just takes me to black htc screen and hangs. Same as when I plug in usb to the blank black screen when I try to boot.
[Hero CDMA Android Development] riggsandroid:
Where did you get your recovery.img used in this step? Did you download the zip in the first step? Which one did you use? Are you getting any errors in CMD?
[Hero CDMA Android Development] NotoriousPTG:
i used the recovery.img from the fix folder in the hero200.zip that he linked to. I put it in the root of the sd card.
[Hero CDMA Android Development] riggsandroid:
Have you tried from step 6 on again? Make sure no typos, errors when you flash this stuff? I'm not sure at this point....sounds like the recovery didn't flash.
[Hero CDMA Android Development] NotoriousPTG:
Here's the whole process skipping the rooting cause its already rooted. Thanks for helping dude!

C:\android\tools>fastboot oem boot

... INFOsetup_tag addr=0xB6000100 cmdline add=0x8F06DD64

INFOTAG:Ramdisk OK

INFOTAG:smi ok, size = 32

INFOTAG:hwid 0x0

INFOTAG:skuid 0x21102

INFOTAG:hero panel = 0x4

INFOTAG:engineerid = 0x0

INFOMCP dual-die

INFOMCP dual-die

INFOTAG:mono-die = 0x0

INFODevice CID is not super CID

INFOCID is SPCS_001

INFOsetting.cid::SPCS_001

INFOserial number: HT045HF04177

INFOcommandline from head: no_console_suspend=1 console=null

INFOcommand line length =384

INFOactive commandline: board_heroc.disable_uart3=0 board_heroc.

INFOusb_h2w_sw=0 board_heroc.disable_sdcard=0 board_heroc.debug_

INFOuart=0 smisize=32 androidboot.baseband=1.04.01.09.21 androi

INFOdboot.cid=SPCS_001 androidboot.carrier=COMMON androidboot.mi

INFOd=HERO20000 androidboot.keycaps=qwerty androidboot.mode=norm

INFOal androidboot.serialno=HT045HF04177 androidboot.bootloader=

INFO1.41.0000 no_console_suspend=1 console=null

INFOaARM_Partion[0].name=misc

INFOaARM_Partion[1].name=recovery

INFOaARM_Partion[2].name=boot

INFOaARM_Partion[3].name=system

INFO[ERR] Can not find partition [opl]

INFO[ERR] Can not find partition [local]

INFO[ERR] Can not find partition [fota]

INFOaARM_Partion[4].name=cache

INFOaARM_Partion[5].name=userdata

INFO[ERR] Can not find partition [htc_region]

INFOpartition number=6

INFOValid partition num=6

INFO69466957

INFO69784520

INFO7473

INFO0

INFO0

INFO0

INFO0

INFO0

INFO0

INFO0

INFO0

INFO0

INFO0

INFO0

INFO0

INFO0

INFO0

INFO0

INFO0

INFO0

INFO0

INFO0

INFO0

INFO0

INFO0

INFO0

INFO0

INFO0

INFO0

INFO0

INFO0

INFO0

FAILED (status read failed (Too many links))

C:\android\tools>adb shell

$ su

su

# # flash_image recovery /sdcard/recovery.img

# flash_image boot /sdcard/boot.img

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

# # flash_image boot /sdcard/boot.img

#

# flash_image misc /sdcard/misc.img

# reboot recovery

reboot recovery

C:\android\tools>

and now my phone is at black htc boot screen
[Hero CDMA Android Development] riggsandroid:
When I'm in adb shell, there only shows one #. I'm not sure if you're typing the second #, but try w/out that.

**just noticed, it looks like you're copy pasting. Do one line at a time and don't copy the #
[Hero CDMA Android Development] NotoriousPTG:
Ok that worked you got me to nandriod - Thank you!

C:\android\tools>adb shell

$ su

su

# flash_image recovery /sdcard/recovery.img

flash_image recovery /sdcard/recovery.img

# flash_image boot /sdcard/boot.img

flash_image boot /sdcard/boot.img

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

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

usage: flash_image partition file.img

# flash_image boot /sdcard/boot.img

flash_image boot /sdcard/boot.img

# flash_image misc /sdcard/misc.img

flash_image misc /sdcard/misc.img

# reboot recovery

reboot recovery

C:\android\tools>

Now I just have to figure what image i should be loading here. I loaded a damage control rom.

How do i get back to stock from here? Again - thanks for your help!
[Hero CDMA Android Development] dfbonney:
Download the nandroid.7z from post 2. Flash it, then boot to recovery... and flash original recovery over it. Its all in the second post! Glad you guys got this figured out, life's been keeping me busy! :D

Editing code posts to say do not copy the "#"'s cause this isn't the first time.
[Hero CDMA Android Development] riggsandroid:
Awesome Notorious, glad to help. Like dfbonney says, see his post #2 to get back to stock. I just watned to get back to my nandroid, then decided I didn't want stock because I don't want 2.1 anyways from Sprint, these devs are better ;)

Thanks to dfbonney again! Glad I could help someone along in this thread.
[Hero CDMA Android Development] NotoriousPTG:
Your right i've been damage control all day and loving so far. So much work has gone into setting up my phone just how I want it. I need to research how to back up this config now. Did you ever see the episode of south park where cartman integrates with trapper keeper - thats what these phones are like. Awesome. Thanks for all the help bringnin my brand new brick back to life!
[Hero CDMA Android Development] riggsandroid:
Boot to the Recovery Menu (hold the Home key, while pressing Power On) and there is a menu for Backup/Restore, and do a Nandroid (or Nandroid+ext, if you use a2sd, if you don't know what that is, you aren't using it), and that will create a backup of your configuration exactly as you have it, which can be restored in the same menu.

Hope that helps.
[Hero CDMA Android Development] mrgreenfrost:
Thank You

Thank you dfbonney. I tried to unroot with the 1.56 RUU but got 110 error and stuck at the htc screen. Followed your steps, back to normal now. I didn't even use the nandroid backup you posted. The phone seems to be good as new now and boots normally.

Also, in your tutorial, it looks like you skipped some little steps like the sdcard should be mounted to copy the files to the root directory but should be unmounted before flashing the 3 images.

Please update this for people who won't know this step and might keep getting errors. Please also update the first steps saying that you have type in the command window on the PC - cd.. and cd.. again to get to C:\, then cd androidsdk/tools and then fastboot oem boot to boot the phone.
[Hero CDMA Android Development] dfbonney:
You're welcome, glad it worked for you:

I dont want to put type c:\ or cd to a directory due to the fact that not everyone extracts their SDK to the same place and some people are using Mac or Linux. More than half of the ones I worked on were on the users desktop or downloads folders. I don't want to be too misleading.

As far as mounting the SD card, there are multiple ways of getting the files to the SD card...

ADB Push

Mount SD from Android OS

Memory card reader

From recovery (depending on how far you are)

I will gladly note that if you have mounted the SD card from Android OS itself that you should dismount it or the mounted partition will be unavailable inside of the ADB Shell.
[Hero CDMA Android Development] no1ukno1357:
need just a little help

well i am about as noob as it can get to this stuff. but i still fooled around and got in this situation. my speaker blew so i needed to get back to stock rom. when i rooted and flashed fresh 1.1 rom on phone i used flash/rec and update. never have used the sdk/adv devices before. i need like a extreme walkthrough if someone would be willing to help me that would be great. email No1ukno1357@aol.com

```You have not learned untill you have failed.```
[Hero CDMA Android Development] dfbonney:
I have emailed you.
[Hero CDMA Android Development] rickyrecaro:
dfbonney is my (HTC) Hero lol
[Hero CDMA Android Development] dfbonney:
:cool:

You're welcome!
[Hero CDMA Android Development] melski415:
I'm having major problems with this. I get a blank screen and that's it. I have no idea how to work this if I can't even get an image on the screen. Dfbonney can you help.
[Hero CDMA Android Development] riggsandroid:
Can you try to describe how you got to where you are?

Have you performed the RUU? If so, what step are you at in the steps listed in the first post?
[Hero CDMA Android Development] melski415:
Yes, I've tried the ruu. I'm getting the bootloader error or the wrong ruu error and that lead me to the blank screen. When I plug the phone to the pc the HTC logo comes on but that's it. I'm a noob at this so I don't know where to start.
[Hero CDMA Android Development] dfbonney:
add me to google talk.

dfbonney@gmail.com
[Hero CDMA Android Development] melski415:
You've just been added/ Thanx
[Hero CDMA Android Development] melski415:
Dfbonney, you are too good. Coffee on me :D:D:D
[Hero CDMA Android Development] cajunjacket:
I want to confirm that this process worked for me. I want to detail the steps for my specific case. I also wanted to do it in a "for dummies" format for people who need each step detailed for them. I hope this helps:

Rooted HTC Hero (Sprint) with Fresh Kitchen ROM running

:

1. Download the nandroid.7z file posted so graciously by dfbonney

2. Download Hero200.zip

3. Unarchive/unzip nandroid.7z and Hero200.zip

4. Turn on phone

5. Plug in phone via USB

6. Enable USB storage on the phone by dragging the notification bar down and enabling

7. The disk should mount on your computer

8. Drag the 'Stock' folder to your mounted disk

9. Navigate to the Stock no Root folder in the nandroid folder (the one you just unarchived) and drag that to the nandroid folder on your sd car. It should be place two layers deep, i.e. not in the nandroid folder, but in the nandroid/serial number folder. The serial number should be something like H1245574...

10. Unmount the disk on your computer, then disable disk mode on your phone.

11. Open up Terminal (or the cmd line if in Windows)

12. Type

adb shell reboot recovery

13. Hit enter and wait for your phone to reboot to the recovery menu

14. On your phone, restore the nadroid backup.

15. Wait for it to restore, takes about a minute or so.

16. Once restored, type:

./adb remount
adb shell
mount -a
cd /sdcard
flash_image recovery /sdcard/Stock/recovery.img
reboot recovery

Note that in the above step you are simply flashing the recovery.img file that is located in the Stock folder that you previously dragged to your microSD card.

17. You will be rebooted to a Triangle and exclamation mark.

18. Open the back of your phone and take out the battery.

19. Reinsert the battery.

20. Turn on the phone.

Presto! You are done.

Thanks to dfbonney for the GREAT advice.

I hope this helps anyone having difficulty. I needed to unroot so I could return my HTC Hero to Sprint on the last day of my 30 day trial. I couldn't adapt to the virtual keyboard (tried everything: landscape keyboard, custom keyboards, calibration, etc.), didn't like the lag, and it was too much of a time waster. I got a more basic phone, a BB Tour, and am glad to have made the switch. A lot less distracting and gets the job done.
[Hero CDMA Android Development] kronium:
Glad to say that Sprint's official 2.1 fixes the 110 error! You will lose root until someone figures out how to root this particular rom.
[Hero CDMA Android Development] dfbonney:
There have been two sides to this story. Another person reported that it still didn't fix their issue... lets hope it does for most. :cool:
[Hero CDMA Android Development] eggfoolyung:
sorry i'm kind of a noob..... but couldn't one just restore their unrooted nandroid backup image and then flash rec the backup of their recovery image that was made before they flashed RA?
[Hero CDMA Android Development] grandpasghost:
dfbonney - your services are appreciated.

wow i'm blown away by the way your owning this thread. googling talk and logmein, that is some dedicated tech suppport lol. I was able to fix my girlfriends phone from following your guide and it saved me from feeling like a jackass.

PM me on info on how to donate and i will send you a "respectable" amount of money.
[Hero CDMA Android Development] dfbonney:
Most people only have a rooted nandroid image. Typically you root your phone, flash a recovery and then you make your backup. I have provided a non-rooted backup in my thread that you could us, alternatively to using the RUU completely. However, most of the people who come to this thread have already[ ran the RUU and are in a bad place.

The first post in this thread has a buy me coffee link, thank you in advance for your donations. :D
[Desire General] shawon007:
Does anyone know if I can buy the phone from a t-mobile store tomorrow? Can I sign the papers and receive the phone straightaway? Or will they deliver it at home?

Basically I want to buy a desire without my parents knowing, as I really should be saving up for a car... so it would be helpful if I can physically get the device in any way rather than getting it delivered...
[Desire General] niraveg:
Best thing is to ring your local store and see if they have them in stock.

You can sign the papers and take it away straight away if they do, they don't deliver at home if you buy in store!

P.S. There's dedication for you! Save for a car? Naaahhh I'll buy a new phone and gadget to play with :D
[Desire General] evildead4eva:
They dont have them in stock till after easter apparently. Thats because the online customers get preferential treatment i beleive. Saves them sending to a store when they can post from a warehouse. I got mine today! :D
[Desire General] badgerz:
I was told 7th of April places to get the device excluding ordering it online via T-Mobile
[Hero, G2 Touch Q&A, Help & Troubleshooting] Sallcho:
Hello,

I have 2.73.405.38 WWE ROM on my HTC Hero(unlocked, gsm), how can I root it? Did a lot of google, none of the methods I found work, with errors like "FAILED (remote: not allow)" or "Backup FAILED: Could not run command.". Ideas? :)

Thank you!
[Hero, G2 Touch Q&A, Help & Troubleshooting] btdag:
Follow my guide and try the gold card method.

http://xdaforums.com/showthread.php?t=645253
[Hero, G2 Touch Q&A, Help & Troubleshooting] Sallcho:
Ok, I did goldcard, downgraded to 405.05, did flashrec and RA-1.6.2, downloaded villain4beta2 ROM. In ROM there are 3 folders and boot.img file, uploaded to SD card, renamed the boot.img to update.zip, doing the home+power button, did all the wipes, and then when i try to 'flash zip from sdcard' it comes out with error "Can't open /sdcard/update.zip (bad), Installation aborted." Why? :)
[Hero, G2 Touch Q&A, Help & Troubleshooting] Berzi:
don't extract the zip!! Copy it to the SD-Card and flash it....
[Hero, G2 Touch Q&A, Help & Troubleshooting] HomerSp:
You don't need to extract anything, just copy the zip file to the sdcard and flash it.
[Hero, G2 Touch Q&A, Help & Troubleshooting] Sallcho:
it worked! thank you guys :)
[HD2 General] ariel123:
Can someone make a cab of this Knocking Live Video calling app that is currently only for iphone and andriod. if there is a way so it can work on wm

thanks in advance if possible
[Hero CDMA General] kenfly:
Anybody know how to get it on Sense? i have the Voice to text android keyboard installed, but i really enjoy the Smiles button but don't have it.
[Hero CDMA General] chuckhriczko:
How did you get the LatinIME.apk to work? Mine just keeps force closing. What libraries make it work?
[Hero CDMA General] darchstar:
libjni_latinime.so and libjni_pinyime.so
[Touch Pro2, Tilt 2 Windows Mobile General] GiantsFan91:
when i install font and everything is fine expect menu. how i can fix this? thanks.
[Touch Pro2, Tilt 2 Windows Mobile General] mrschwarz:
I appears as if the font is not installed. At least, that's what I would guess if it was a PC.
[P3300, MDA Compact III  upgrading etc.] Nofear99:
Can anyone plez help me I followed all the steps given on this page

http://xdaforums.com/showthread.php?t=400445ve

to unlock P3300

I have been unlocking many Artemis with this method also but since some days there are coming problems when i execute SIM_Unlock exe it restarts my computer REMEMBER I am trying this method on different computers and also with Different Artemis and downloading every time unlocking tools from

this page

http://xdaforums.com/showthread.php?t=400445ve

not using that was already saved on my computer they could have virus...........

Whats happening with Artemis Unlocking Plezzz help.........