yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] sfjuocekr:
Do not run the scripts again you will bork your backup!

Read the above post, check the MD5 sums of the HBOOT files and restore the backup if needed. Make sure you double tripple check everything before you turn off the phone.
[Desire HD Android Development] sfjuocekr:
There is NO danger in a borked recovery, your phone would simply hang if you tried to start recovery and this is easily fixed ;)

I have removed the recovery all together from the procedure, a backup is still made.
[Desire HD Android Development] sfjuocekr:
Flashing HBOOT is always asking for trouble, if writing to the partition went wrong in the first place the MD5 sums would not match and something is very wrong. This is true for any bootloader flash I just put up a nice warning ;)
[Desire HD Android Development] javacoffer:
Thank you for your reply. Now I understand what to do.

sfjuocekr, please bless me to get s-off without any matters.:p
[Desire HD Android Development] sfjuocekr:
Just make sure the MD5 sum from the HBOOT dump matches the engineering HBOOT after flashing and you are safe to reboot your phone.

You can also use the hboot script from the new archive, but I think you should be able todo it by hand.
[Desire HD Android Development] rorydaredkign:
Top guide, best by far, and very easy. Thanks for making it easy for us previous WM owners new to Android, and for not using ADB.
[Desire HD Android Development] afrcom15:
**UPDATE UPDATE**

I don't know WTF went on but this afternoon I was boxing this up to take to CPW and just for ****s and giggles I power'd on + volume down and I got into the boot screen,

I've not a clue why it wouldn't turn on after I thought I'd screwed it so I didn't touch it all yesterday and most of today.

I'm gonna try to run a stock rom to get back onto an even keel I think
[Desire HD Android Development] sfjuocekr:
If you can get to the bootloader, you should be able to restore your phone trough either RUU or an update.zip.

I have no clue tho as to why your current ROM got borked.
[Desire HD Android Development] Bobblot:
I'm a bit confused I did permanent root via evostance guide so I was looking at attempting to get s-off and in the terminal I get md5 sum not found is that meant to happen?

I don't want to go further till I'm sure lol.
[Desire HD Android Development] bginders:
I have followed the guide but cannot work out which sum is which here is what the terminal emulator shows "export PATH=/data/local/bin:$PATH

$ $su

sh /sdcard/DHD/check#

df4fd77f44993eb05a4732210d2eddc6 /sdcard/DHD/hboot_eng.nb0

df4fd77f44993eb05a4732210d2eddc6
[Desire HD Android Development] sfjuocekr:
They are the same, that's ok :)
[Desire HD Android Development] :
Those are the ones from the s-off bootloader so you are fine
[Desire HD Android Development] raecarter82:
Clearly screen shot didn't work I hope this does
[Desire HD Android Development] pwraggcan:
You're in recovery mode. Hold down power and volume up and you'll get recovery options. Then you can backup, restore and apply zips from sd card.
[Desire HD Android Development] sfjuocekr:
Make a screenshot with ShootMe, you can find it on the market and just attach it to your post on the forum instead of a link.
[Desire HD Android Development] raecarter82:
I have sorted it have s off and recovery via rom manager thank you for your assistance android guide
[Desire HD Android Development] dr.m0x:
As long as you can still get to the bootloader you will be able to flash it back to factory software.

Sent from my Desire HD by magic.
[Desire HD Android Development] sfjuocekr:
I'd still like you to reproduce the problem and make a screenshot to fix a possible issue...
[Desire HD Android Development] Shezdog:
Hi!

You have and are contiually doing a great job! Beer's on the way...

Please help me.. When using Terminal Emulator and "su", I get the message "Unknown root user" What is this? Everything else fails.. as in ROM manager is unable to flash latest clockword mod recovery, I am unable to boot into recovery and obviously install ROMs..

I however did manage to get the bootloader and now performed a factory reset (phew!)

But would you know why the above happened?

Cheers!
[Desire HD Android Development] nutterlh:
S-Off Permission Denied

Hey guys.

Hoping somebody can clear this up for me, trying to s-off, I've got permroot via VISIONary+, copied the DHD-smart folder to my SDcard via windows explorer, opened the terminal (I've tired this using both terminal emulator and ADB shell) and typed:

$su

#/sdcard/DHD/check

Each time i try this i get:

"/sdcard/DHD/check: permission denied"

Can anybody explain this and help me get past the starting post?

(P.S. I think everything copied to the SD card correctly as I've ran md5sum on the hboot_eng and got the correct hash sum back)

Thanks

Edit:

Please ignore me, i'm an idiot and can't follow simple instructions, missed the "sh". would have thought that as someone that uses linux on a regular basis would have remembered something as simple as that :-p
[Desire HD Android Development] sfjuocekr:
My guess is something went wrong with rooting, what version is your ROM?
[Desire HD Android Development] whoknowzme:
Hi Guys,

Currently my DHD is permrooted with Visionary12+. But I am still locked with Vodafone Australia software. So do i need to update the software over to the orginal first before i can install ENG HBOOT and flash the recover to clockworkmod? Or can i just install ENG HBOOT over my Permaroot DHD with Vodafone software on it??

Thanks
[Desire HD Android Development] miniterror:
hello people at the dhd part

today i got my dhd coming from windows mobile

i am looking to root it and flash a different rom on it

i have found the manual on how to do so but i cant find how i get back to original for warranty reasons

i have seen original zip images will that be enough?

or are there more parts that has to be changed?

thanks in advance for any tips for this newbie android user:p
[Desire HD Android Development] 007K:
Hi, At the end the MD5 Sums do not match.

One is : blahblah...rig0.bin

The botton is: blahblah...rig1.bin

Is it serious??

Edit: Things are tits up and not responding and closing:confused::confused:
[Desire HD Android Development] ttav:
ok i suppose by tits up your phone isn`t working? Can you boot into recovery? Can`t help unless you explain in detail.
[Desire HD Android Development] 007K:
Yes things were crashing then restarted then everythings working on my phone, i haven't proceeded after getting my RIG not matching.

I can boot into HBOOT but there is no S-OFF anywhere.

It's ACE PVT SHIP S-ON, i can go into recovery via HBOOT but its only the android recovery mode with the warning triangle next to a phone.
[Desire HD Android Development] ttav:
Ok don`t quote me on this but if the blah blah is the same it`s ok to proceed....the difference in rig is ok.
[Desire HD Android Development] 007K:
Yes the diff is in RIG so is it ok to proceed?
[Desire HD Android Development] ttav:
If the md5 sums match except for the rig proceed.
[Desire HD Android Development] ttav:
@007K any result?
[Desire HD Android Development] miniterror:
No reaction on my rep:(

Is it a unknown answer or doesnt anybody care about warranty
[Desire HD Android Development] Snake-Plissken:
ok guys, i am confused now...i was reading yesterday a little bit about cyanogen mod and really like it. i want to try it, i was reading a lot about how to install, but i am brand new to android.

i have perma rooted allready my dhd right after the figured out how to do it...but i am not sure if i have s-off already or not. i remember i had to run some scripts with gscript lite (it was in the how-to rood instruction to do so)

is there any command how i can check, if i have s-off allready?
[Desire HD Android Development] Snake-Plissken:
i tried to s-off like on the first page in this thread but when i go to sh /sdcard/DHD/backup

i get "[: not found]"

it says i should use the dumb version instead, whats this?

could it be, that its allready done, because of my perma rooting of my phone? because to root my phone i have a file "hboot_7230_0.85.2007_101011.nb0 already in the rood of my sdcard...

i downloaded the rom manager, and it has the option to "reboot into recovery" can i see there if s-off is good or not? how do i get back out of the recovery? just take battery out?
[Desire HD Android Development] gkahd:
Hi,

I have a new DHD, am new to this but a bit "literate" with the subject so I know it is dangerous and I am researching all the tools and the lingo used.

There is a lot of info all over the place but it seems, to a large extent, to be outdated or actually there is no specification on when it was last updated and where this applies.

And like the last comment I also do not understand the differences between perm-root and s-off/hboot.

At 1st look they seem to be targeting the same result but the instruction on the zip suggests to do both.

Visionary seems to not be dangerous for bricking but s-off/hboot does.

Also the warning on the 1st entry is

"ONLY flash the bootloader (HBOOT) aka "S-OFF" if you understand what it is, what it does, what it can do and how it can brick your phone if flashing it fails."

Can I ask what is it? and what does it do?

googling s-off got me security off and insinuated rooting which is done by visionary+.

So I am quite confused!

Please help...

Thanks
[Desire HD Android Development] gkahd:
The answer to everything and the most up to date process:

http://xdaforums.com/wiki/index.php?title=HTC_Vision

Hope this helps someone new like me...
[Desire HD Android Development] Snake-Plissken:
doenst really help for my desrie hd, because i dont have a touchpad ;) but i got it figured out so far i believe...
[Desire HD Android Development] sfjuocekr:
Been away for a while.

The dumb version is included with the archive, just rename it like you did with the smart version. You also failed the brain check ;)

To get into the bootloader turn off the phone and boot it with volume down pressed. You need to turn off fastboot in settings first or flick out the battery.
[Desire HD Android Development] Snake-Plissken:
or for the braincheckers :-P just do a reset

but i checked, s-off is good ;) so no worries...
[Desire HD Android Development] fatalefout:
Okay, i think something went wrong somewhere so I'm looking for some help here.

What I did:

Download/install Android Terminal Emulator

Download/install Rom Manager

Download/install Visionary+ r14

In Visionary+:

Checked Set system r/w after root

Temprooted

Permrooted

(everything worked fine, su worked, no problems)

then downloaded HBOOT v0.6, copied to sdcard and renamed folder smart to DHD as instructed. (maybe shouldve used dumb ?)

Ran these commands in terminal emulator:

su

sh /sdcard/DHD/check

sh /sdcard/DHD/backup

sh /sdcard/DHD/hboot

All md5sums matched with the right ones, no probs. Rebooted, turned off phone, booted into recovery.

It showed that the phone was S-OFF, all was fine.

Then I may have done something stupid, because I was curious for the simlock option. Clicked it, it said some things failed, rebooted again. Nothing really bad happened except:

-background changed, my home clock stopped working.

-Rom manager started crashing crashing and shutting down

I ran superuser one, tried su, didnt get access, shut it down.

Then:

-Superuser started crashing and shutting down

-Shake them all background started shutting down.

-Actually, all apps other than the standard ones stopped working. (after or before i tried to run recovery?)

I decided to delete superuser and rom manager to reinstall them, but decided to come here first after deleting...

Booted back into recovery(still shows S-OFF), tried IMAGE CRC (stupid again?)

shows:

Calculating... please wait

hboot: 0x812FF6D3

boot: 0x8FA0C456

recovery: 0x915B9FBB

system: 0xA9D804F7

So, i decided i don't want to flash custom roms for the time being, just want to run apps to get no ads and the like. For this i guess root access would suffice, which i seem to have lost.(?)

Tips on how to flash S-ON back and get root access back safely?
[Desire HD Android Development] i00:
got a million force closes when i ran check ... thankfully my phone still works after reboot

Any ideas?

Kris
[Desire HD Android Development] liljom:
zip is enough
[Desire HD Android Development] d3xophen:
I m stack in type sh/sdcard/DHD/check and nothing gonna happen
[Desire HD Android Development] miler44:
I attempted the following steps and i'm not sure if I've rooted my system or not. I typed SU in terminal emulator it prompts me access denied. Prior to that I had to force close many of my apps. And one of the is the superuser.

Is there a way to recover from this? thanks

1) Download Paul's Visionary+ tool

1.1) Click here to download http://android.modaco.com/content/ht...ne-click-root/ or download it from here http://xdaforums.com/atta...3&d=1290501865

1.2) Install Visionary+ on Your DHD

1.3) Run it, enable "Set system r/w after root

1.4) Click "Temproot Now!" - Wait until it's finished

1.5) Click Attempt Permroot Now!

1.6) DHD automatically reboot's

To test that everything went fine download from market application "terminal emulator"

run it, type su <------- Unable to proceed from here
[Desire HD Android Development] miler44:
facing similar issue :( any help?
[Desire HD Android Development] afrcom15:
Reboot your phone and try as follows:

click VISIONary l

eave everything unchecked

, click temproot then attempt permroot

Proceed with terminal emulator part
[Desire HD Android Development] EDD!E:
Can I root DHD without S-Off the phone ?
[Desire HD Android Development] Adeela20:
md5sum: cant open ' /sdcard/DHD/hboot_check.nb0' : No such file or directory

df4fd77f44993eb05a4732210d2eddc6 << CORRECT MD5

md5sum: cant open ' /sdcard/DHD/hboot_orig0.bin : no such file or directory

what does this mean, am i safe to reboot,

thanks =]
[Desire HD Android Development] coendeurloo:
I have followed the guide here on XDA using visionary, this mod, and then rom manager to install the clockwork mod. Now, I want to go back to the original bootloader. This script made a backup of the original bootloader right? with the DHD/Backup script? How can I recover it? Will this make my bootloader 'stock' again?

I'm wondering because there is a new OTA update for the DHD, but I can't install it because of the clockwork recovery bootloader...

So basically, which SH commands do I have to run in terminal to undo this? And, will this also undo the installation of the clockwork recovery?
[Desire HD Android Development] jkoljo:
See this:

http://xdaforums.com/showpost.php?p=9985360&postcount=5

Please keep in mind that after you go to stock and do the OTA update, you cannot root again, or S-OFF again. I would advice to at least try doing the OTA before you do S-ON, just flash stock ROM according to the instructions. Also you could wait for 1.73 based custom ROMs.
[Desire HD Android Development] deadite66:
i now have eng s-off many thanks sfjuocekr.
[Desire HD Android Development] coendeurloo:
Thanks, but after using your tool to go S-ON and reset the CID to the vodafone one, I still can't use the OTA update, there is still a orange triangle and an exclamation mark when I try to update...

Does this mean I have to lose everything and install a stock rom? Would it be better to go with a WWE rom instead of the standard Vodafone one? (I dont like the extra vodafone apps anyway...), also, will this still give me OTA updates?
[Desire HD Android Development] jkoljo:
If you had followed the instructions, you would already have installed stock rom via ruu. You can go to wwe.
[Desire HD Android Development] Juevani:
works like charm ;)
[Desire HD Android Development] dudumomo:
Hi,

After having rooted my Desire HD with Visionary+, I've installed the ENG S-OFF by following your steps.

However now a lot of applications are crashing... I wanted to use Rom Manager to install their recovery + LeeDroid Rom, but I'm unable to do that as GMAIL, PowerAMP are crashing when the tel reboot, but also the ROOT system (Superuser) !! Hence, I'm not able to give the correct permission.

Any idea why ?

I've check my tel, and the ENG S-OFF is installed, and I didn't see any problem during the installation...

I'm not sure if it's link to the ENG S-off but it's only after installing it that I've seen these problem.

Thank you for your help !
[Desire HD Android Development] dudumomo:
Problem solved....I've reinstall the original rom and I've rooted again.

No problem now.
[Desire HD Android Development] martjah:
My story:

I got:

RADIO S-OFF

Cyanogenmod 6.1.3

Root

Clockworkmod via Rom manager

I wanted to push a new recovery image via fastboot so i could flash gingerbread. But it turned out i also needed ENG S-Off

So i started reading into it and stumpled upon the following error:

My error doesn't match either of the wanted errors. Can i continue?
[Desire HD Android Development] jkoljo:
You cannot use this method in CyanogenMod, go to, for example, Android Revolution HD 1.9.3. If the module still does not want to load properly, flash stock kernel.
[Desire HD Android Development] martjah:
flashed Android Revolution HD 1.9.3. Same error so thats not the solution..

will recover my original rom with rom manager (thank god backup :))

recoverd to stock --> eng S-off --> gingerbread 2.3 =)
[Desire HD Android Development] noobdeagle:
ok another noob question im sure your sick of them and im sure ive read the answer in this thread before but i would just like to confirm before i take the plunge into s-off land

from what i can tell you need S-Off on the DHD in order to flash custom roms such as cyanogen is this correct ?

the reason i ask is because my old htc legend that i had before the DHD was able to flash roms with S-on, is this because the DHD has the locked emmc so we need s-off to write clockwork mod recovery or even roms to the system ?

i realise dumb question and im pretty sure that i am correct in my assumption but i just want to clarify before i risk bricking my phone :)
[Desire HD Android Development] dnbcat:
Hi! I've flashed revolution 2.0.3 rom with new kernel and then revolution 1.9.3 and I can't enter the h-boot now. Can enter recovery mode to flash roms but not h-boot. Any ideas?
[Desire HD Android Development] jkoljo:
Disable fastboot in settings.
[Desire HD Android Development] ippoglosso:
please help me, I'm working with a terminal emulator, I get the result you see below, what do I do now?

sh /sdcard/DHD/backup
$ sh /sdcard/DHD/backup
/dev/block/mmcblk0p18: cannot open for read: Permission denied
/dev/block/mmcblk0p18: cannot open for read: Permission denied
/dev/block/mmcblk0p21: cannot open for read: Permission denied
/dev/block/mmcblk0p21: cannot open for read: Permission denied
md5sum: can't open '/sdcard/DHD/*.bin': No such file or directory
md5sum: can't open '/sdcard/DHD/*hboot_orig*': No such file or directory

DO NOT CONTINUE IF THE ABOVE MD% SUMS DO NOT MATCH SOMETHING IS HORRIBLY WRONG IF THEY DO NOT MATCH YOUR PHONE WILL LIKELY BE BRICKED IF YOU DO CONTINUE YOU HAVE BEEN WARNED!!!

Backup made, please run continue as follow:
sh /sdcard/DHD/hboot
$

:eek::eek::(:(:(:confused::confused::eek::eek::confused:
[Desire HD Android Development] ippoglosso:
with version 0.6

sh /sdcard/DHD/backup
$ sh /sdcard/DHD/backup
dd: can't open '/dev/block/mmcblk0p18': cannot open for read: Permission denied
dd: can't open '/dev/block/mmcblk0p18': cannot open for read: Permission denied
dd: can't open '/dev/block/mmcblk0p21': cannot open for read: Permission denied
dd: can't open '/dev/block/mmcblk0p21': cannot open for read: Permission denied
md5sum: can't open '/sdcard/DHD/*.bin': No such file or directory

backup made!

md5sum: can't open '/sdcard/DHD/*hboot_orig*': No such file or directory

DO NOT CONTINUE IF THE ABOVE MD5 SUMS DO NOT MATCH SOMETHING IS HORRIBLY WRONG IF THEY DO NOT MATCH YOUR PHONE WILL LIKELY BE BRICKED IF YOU DO CONTINUE YOU HAVE BEEN WARNED!!!

Please continue as follows to flasch the bootloader and get S-OFF (HBOOT):

sh /sdcard/DHD/hboot
$

I can go without fear?

What should I do?

Tks:)
[Desire HD Android Development] jkoljo:
You are not rooted. If you are using 1.32 based build (check in system information>build number), just use Visionary to gain root.

If you are using 1.72/1.75 based build, you have to downgrade first using my downgrading guide.
[Desire HD Android Development] ippoglosso:
i have 1.32 based build

thanks, in the meantime I found out and I solved

Tks

ippo
[Desire HD Android Development] Ronald.Carter:
Works

I have a DHD

Worked fine for me
[Desire HD Android Development] tmlrem:
aking kernel module for version:

cyanogen

Testing kernel module:

insmod: can't insert '/sdcard/DHD/wpx.ko': invalid module format

If you get this error:

insmod: init_module '/sdcard/DHD/wpx.ko' failed (Function not implemented)

or

insmod: can't insert '/sdcard/DHD/wpx.ko': Function not implemented

This means the module worked ;)

Guys im a little confused. CAN i continue or should i abort here. Mycket gutfeeling is saying ABORT ;)
[Desire HD Android Development] jkoljo:
Din feeling is right, abort, get stock rom and try again.
[Desire HD Android Development] tmlrem:
Thx for the heads up mate :-)
[Desire HD Android Development] godmaycry:
Please Help ... Three Line For Me Is Same...Can You Help Me ?
[Desire HD Android Development] kipue:
Location for files

[Fixed with the one click S-OFF from another thread] But still would be curious :)

Hi all,

Nobody asked (or without follow up)

The first command gives me a "can't open DHD..."

I then used

ls /sdcard

ls /DHD

"DHD can't be found", and I checked, double checked that it is on my external sdcard, with the names and all.

Does "place the files on the sdcard" means internal memory? If so how to do that?

Thanks for your time!
[Desire HD Android Development] HD_Tester:
tnxxxxxxxxxxxxxxxxxxxxxxxxxxxx

من ایرانی هستم دمت گرم گوشیه داشت اجر میشد
[Desire HD Android Development] jair101:
I am getting slightly different error then mentioned in this thread. What do i need to do, continue or what?

I followed the instructions from here: wiki.cyanogenmod.com/index.php?title=HTC_Desire_HD:_Full_Update_Guide up to the point Flashing the Engineering HBoot (Optional) as i thought this method here provides extra security with the md5 check.

I downgraded the phone, installed 1.32.405.6(the same one as in the instructions) and the root went ok. Thanks in advance!

$ export PATH=/data/local/bin:$PATH

$ su

#sh /sdcard/DHD/check

df4fd77f44993eb05a4732210d2eddc6 /sdcard/DHD/hboot_eng.nb0

df4fd77f44993eb05a4732210d2eddc6 << CORRECT MD5

If the above MD5 sums do not match ... DO NOT CONTINUE!!!

Something went wrong with the download or extracting this archive!

Making kernel module for version:

gbe90714

Testing kernel module:

insmod: can't insert '/sdcard/DHD/wpx.ko': kernel does not support requested operation

If you get this error:

insmod: init_module '/sdcard/DHD/wpx.ko' failed (Function not implemented)

or

insmod: can't insert '/sdcard/DHD/wpx.ko': Function not implemented

This means the module worked

You can continue with:

sh /sdcard/DHD/backup
[Desire HD Android Development] noxiuz:
I got this strange error when running the script. I did everything and suddenly everyging went very fast.

I first created a goldcard, flashed the stock rom (1.32) on it, attempted temproot, worked, permroot, reboot etc.

then i copied DHD-smart to the root of my SDcard and executed android terminal emulator with the following code:

su

sh /sdcard/DHD/check

But i couldnt really see what happened and now i got this error;

Android.process.acore is stopped, try again (its in dutch, this is a free translation).

What do i have to do now? Did i mess up real bad or is it fixable?

I used this way to s-off because the easy s-off didnt work (error: do you have root?) but i do have root so i figured out manually doing s-off would be possible.