yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] sandrivl:
resolve it, now working fine, i have the 1.72 ... and rooted
[Desire HD Android Development] BlackTimes:
Finally ok, I had 1.32.405.6 but was getting the error 7 on my already rooted S-Off CID unlocked HBoot phone which I had done with Easy Radio Tool v2.2. I also was unable to update my radio. After much reading found that the solution was to run EasyS-OFF_04 (on XDA). I now have 1.72.405.3 & 12.28e.60.140fU_26.04.02.17_M2 !
[Desire HD Android Development] ollie1132:
Cant find the ROM package it refers to.... and to the guy above what do u mean by the radio s-off tool? Like use that instead of visionary?
[Desire HD Android Development] crazyVII:
thanks a lot

everything worked as described!

thanks thanks thanks :=) root && everything on :=) thanks!
[Desire HD Android Development] haffonso:
Should I follow the other steps for "update 1" ?

Note that update 1 is related to Desire Z
[Desire HD Android Development] ErMeglio:
I've used this guide before and everything was working good. I still can't live without updating everything and I followed the guide in the Android section to delete Superuser.apk uninstall and install it again, thinking the last version was going to work for this ROM too. Apparently app works but crashes at every su request! How can I solve now, since I can't do anything in terminal (su doesn't work now!)?

Sent from my Desire HD
[Desire HD Android Development] marleyb:
You have to stay on the old su (patched) so delete the one from the market and install the one from the 1st post

regards
[Desire HD Android Development] valcyone:
You can also use the superuser patch in [update 1] section. It works fine.

Just flash it in CWM right after you flash the kernel.

With this patch, no need of ADB commands to replace the superuser.apk and su with the old one. You don't need also to download again busybox from the market.

So, from 1.32.405.6 rooted with Clockwork recovery, ENG S-OFF and radio S-OFF :

1) you apply the update.zip in recovery in CWM

2) you flash the stock kernel in fastboot

3) you flash the superuser patch in CWM

4) you flash the radio in fastboot

and you get a truly rooted stock HTC 1.72 rom.
[Desire HD Android Development] jerrylzy:
Thanks..Very useful..
[Desire HD Android Development] makbil:
Thanks. Do I need any additional components or is it enough just to extract "android-sdk-windows" ?
[Desire HD Android Development] kuldvee@gmail.com:
Hi,

You probably need to install Java Development Kit before, as its requisite for ADK. When you open ADK catalogue in Program Files, you can see directory tools and there you should run all command line items needed like fastboot.
[Desire HD Android Development] CodeJACK:
Crap, I have to reinstall all my removed system apps to get this update to apply using your method.

Not to worry, ill restore them and let you know how it goes.

Edit: Can anyone port up a copy of HTCDirect.apk? seems i did not back this one up :-)
[Desire HD Android Development] makbil:
I got most of the stuff sorted out, everything went well (I think) but I'm stuck at the part on restoring SU. When I hit "Boot to Clockwork Recovery" nothing happens. Did I screw something up on the way? Wi-Fi has started working so I should be good until this step. Any ideas?

Edit: OK, got the DHD side figured out - no need to use ROMManager just boot into recovery. Now to figure out the PC commands from the shell...
[Desire HD Android Development] Rodomar705:
Thanks hamdir, my new HTC Desire HD is being successfully updated to the latest firmware with no problem, thanks a lot.

One question: If i try to open "SuperUser Permission", the process will crash at start (but ask correctly the request for superuser permission in application).

Root work, but why the process crash at start?

Thanks a lot,

Rodomar705
[Desire HD Android Development] hamzadag:
I'm staring at my DHD, whilst it's applying OTA 1.72.405.3.. thinking "why didn't I read this guide first" :mad:
[Desire HD Android Development] ErMeglio:
You should not be able to update if you were rooted / clockwork recovered, fortunately I'd say because I was falling in the same mistake :-)

Sent from my Desire HD
[Desire HD Android Development] CodeJACK:
All sorted finally, thanks a million !!!
[Desire HD Android Development] hamzadag:
Are you sure ? In my system software it says I'm now on "1.72.405.3".. and I can still click on "Superuser", and ROM Manager still says I'm flashed with "ClockworkMod 2.5.1.3".. but I tried using ShootMe and it says I'm not rooted :(. Maybe it's because I hadn't installed a Custom ROM yet.

I have no idea what I've done haha, could somebody give me some guidance as to where to go from here ?
[Desire HD Android Development] ErMeglio:
Mmh I don't want to do disinformation so I leave the technical answer to someone else. What I am sure of is I was not able to update via OTA with the previous stock rom, clockwork recovery, s-off and root (also unrooting didn't help). How did you update?

Sent from my Desire HD
[Desire HD Android Development] vicedens2002:
I have an error while restoring su

it says item not found while executing the below command

# ln -s /system/bin/su /system/xbin/su
[Desire HD Android Development] blejach:
I have the same prob. Flashed ota zip using clockwork recovery. Everything went just fine except i lost root...

Any further steps? Should i flash the official rom back, root it and then follow this steps in order to preserve root? Is there a workaround?
[Desire HD Android Development] hamdir:
h

u dont have working Su yet this why reboot into recovery won't work, reboot normal and hold volume down plus power while it reboots, ignore the stupid vibration
[Desire HD Android Development] hamdir:
its normal just make sure u uninstall superuser before this step, this error is normal, proceed
[Desire HD Android Development] hamdir:
as long as you uinstall superuser first and proceed with the restore Su instructions. you should be fine
[Desire HD Android Development] hamzadag:
Eerm.. I literally went on Menu -> Settings -> About phone -> System software updates, and then clicked "check for updates". It went through the update process fine :confused: . I'm pretty sure it was rooted, I followed the guide on this site, used visionary+, then typed some stuff in the Terminal emulator thing to do the S-OFF thing (as you can see I'm very new to this haha), and then I flashed clockwork recovery. But I went through the update process fine :confused:
[Desire HD Android Development] hamdir:
guys you must uninstall the old superuser first I did say its a very important step otherwise you can't restore Su
[Desire HD Android Development] hamzadag:
All this because I wanted a camera update :(

Can somebody please help me out as I have no idea where I'm supposed to go from here, and I miss my root :(
[Desire HD Android Development] hamdir:
do you still have soff? like radio soff
[Desire HD Android Development] makbil:
@hamdir. thank you very much for your help. Now I have full root and the new updates.

It was a good learning experience for an Android newbie like me. I will post some additional instructions (that is taken for granted by the experienced Androids).

Again, thanks guys for all the help :)
[Desire HD Android Development] coendeurloo:
Please...I'm stuck with the re-flashing of the kernel boot.img file. I've downloaded the Android SDK and it's running, but what do I need to do there? How do I place the boot.img file in the tools folder on my phone using the SDK?
[Desire HD Android Development] hamzadag:
My friend if I knew I would tell you. How would I go about checking ?

Also, I really like your camera guide :p , I was reading it whilst I was updating haha.
[Desire HD Android Development] hamdir:
yes thx I would appreciate it
[Desire HD Android Development] SupremeBeaver:
hamdir can you please help me out. Im at this stage:

(DHD CWM menu) mount /sytem

(DHD CWM menu) mount /sdcard

(PC) adm shell

# cp /sdcard/su /system/bin/

I went into the clockwork mod menus and clicked mount /system, then mount /sdcard. But the next step (PC) adm shell, does that mean a cmd shell? Because i typed the next line "# cp /sdcard/su /system/bin/" in cmd and it gives me a message saying that my command is not recognized..
[Desire HD Android Development] hamdir:
the sdk tools folder should be on ur pc and you access fastboot commands from it using command prompt, I'm sorry if its a little advanced but ask around don't do anything unless u know way since you will b flashing
[Desire HD Android Development] hamdir:
ah this wrong I meant adb shell from command prompt sdk tools folder
[Desire HD Android Development] coendeurloo:
Commands? I really have no idea what you're talking about or where I should even begin asking about it.

Basically I now have a half working rom and not the skills to finalize your guide :)

Do you think it might be best in my case to just go for a WWE RUU? Can I still receive OTA updates when I go that way?
[Desire HD Android Development] blejach:
Thanx for your effort hamdir, ill look into it as soon as i get home and connect to my pc :)
[Desire HD Android Development] SupremeBeaver:
if i double click on adb then a black command prompt flashes for a second then disappears..
[Desire HD Android Development] makbil:
Guys, give me 10 minutes. I see most of you are stuck at the same places I was. I'm writing a guide now.
[Desire HD Android Development] hamzadag:
Hey hamdir, I had my DHD rooted, with visionary, and I also had S-OFF (I think) and then I flashed ClockworkMod, but then I accidentally updated (which apparently I shouldn't have been able to do). How do I check if I still have S-Off ? And also pleaaase could you advise me as to how I'm supposed to go about fixing this ?
[Desire HD Android Development] Rodomar705:
Done all of them, but the application still crash!

I've rooted my phone and i still have root, the application that require root work correctly, but the app still won't open.

What can i do?
[Desire HD Android Development] SupremeBeaver:
can you please advise hamdir. how do i use this adb shell? is there a way to access it because it closes right after i open it.

i dont know if this is important, but adb.exe is within another folder called platform-tools, not the normal tools. This is because the new gingerbread sdk. Does this affect anything?
[Desire HD Android Development] hamdir:
no you need to open command prompt and navigate to the tools folder using cd command and type the command "adb shell"

you need some dos knowledge
[Desire HD Android Development] ErMeglio:
You have to type cmd after pressing start (win vista/7) or after pressing start-execute... (xp etc). First case click on the black icon with the right button and choose run as administrator, second case just click it. A black box appears, you can write there cd "full path of adb shell exe", press enter, then type adb shell and you should have the # at the beginning of the line. Then go on with the guide, that's where you write hamdir's commands. Hope I was clear, otherwise wait for the full guide

Sent from my Desire HD
[Desire HD Android Development] masterblaster451:
Idk
[Desire HD Android Development] masterblaster451:
Idk if this will help but screw all those processes. Download rom manager. It will do all that for you in 5 maybe less steps
[Desire HD Android Development] hamzadag:
Can somebody pleaaase give me a suggestion as to what I should do now. I had my DHD rooted, with visionary, and I also had S-OFF (I think) and then I flashed ClockworkMod, but then I accidentally updated (which apparently I shouldn't have been able to do). Is it too late to fix this ? Or is there anything I can do to undo what I've done. Help would be very much appreciated.
[Desire HD Android Development] coendeurloo:
Thanks makbil, that sounds doable :) I presume I need to connect my phone with usb to the pc while doing the kernel thing? It's not mentioned, but does the Android SDK make some sort of connection to my phone? Does it need to be in HTC Sync mode?
[Desire HD Android Development] makbil:
Yes, a USB connection is obviously needed :) I think the Android SDK has the necessary drivers but during my struggle I installed HTCSync as well, however it shouldn't be necessary - I needed it to get radio S-OFF working.

You connect the DHD while in bootrecovery mode so you don't get to choose a connection mode.
[Desire HD Android Development] hamdir:
thx makbil make sure you mention that superuser needs to be uninstalled first lots of people r missing this point, ill link to your post from the main guide
[Desire HD Android Development] ErMeglio:
Whenever you have to be in fastboot / recovery mode, it's written there, otherwise you need charge only mode ;-)

And, yes, you always need to have the phone connected whenever you have to so something with the pc

Sent from my Desire HD
[Desire HD Android Development] SupremeBeaver:
looks like i have managed to complete the guide successfully :) I also flashed the radio and all is well :) Thanks hamdir for this excellent guide, and thanks makbil for your instructions too :) Im so grateful.

I must say i had a scare for a second though. After flashing the radio this line of pixels across the screen were all stuck! Some read some green. I was so shocked! But rebooting the phone sorted that. Really weird. But now everything's fine :)

edit: well i have to be up really early tomorrow so im out guys, thanks again for all this help!
[Desire HD Android Development] hamzadag:
Obviously nobody wants to answer my question... so can I just ask, if I've already applied the update, can I not root my DHD ?
[Desire HD Android Development] vicedens2002:
I have the same error after uninstalling superuser...it says

/sbin/sh: In: not found

after executing

ln -s /system/bin/su /system/xbin/su
[Desire HD Android Development] makbil:
Hamzadag, nobody is answering you because no one probably knows the answer.

My guess is that if you do not have clockwork recovery installed, you probably can't root for now.
[Desire HD Android Development] vicedens2002:
never mind made it to work in third attempt... thanks for the guide...:D
[Desire HD Android Development] hamzadag:
I do have clockwork recovery installed though.

I apologize if I came across as rude, it's just I posted the same question a fair few times with no replies, a "sorry I don't know" would have been nice. Thanks anyway for the help.
[Desire HD Android Development] ErMeglio:
Well, I didn't answer for the same reason, I simply don't know how to help you, sorry!

Sent from my Desire HD
[Desire HD Android Development] makbil:
If you have clockwork recovery installed and S-OFF, you should be able to continue from some point in the guide I posted a few posts back. Unless of course it is a baseband issue, I'm not sure about that.
[Desire HD Android Development] grozni:
Verifying current system...

failed to stat "/system/app/Flickr.apk": No such file or directory

file "/system/app/Flickr.apk" doesn't have any of expected sha1 sums; checking cache

failed to stat "/cache/saved.file": No such file or directory

failed to load cache file

script aborted: assert failed: apply_patch_check("/system/app/Flickr.apk", "944b2e1a6c2692396bd86badfaea53b696efb32f", "b5e4c1e2684b3aee7c2953e6ed40be5d241f8d94")

assert failed: apply_patch_check("/system/app/Flickr.apk", "944b2e1a6c2692396bd86badfaea53b696efb32f", "b5e4c1e2684b3aee7c2953e6ed40be5d241f8d94")

E:Error in /sdcard/update.zip

(Status 7)

Installation aborted.

Failure at line 3:

install_zip SDCARD:/update.zip

I've removed flickr, stocks and few other apps
[Desire HD Android Development] makbil:
I read somewhere today, I think you need to put them back before you can update.
[Desire HD Android Development] fubofo:
Can I just ask if Apache's kernels can be used after the update or must we stick to the stock kernel?
[Desire HD Android Development] grozni:
Thanks, but now. I couldn't find any tutorial
[Desire HD Android Development] makbil:
You can try to find and install the missing applications, I think that's the only way.
[Desire HD Android Development] vicedens2002:
All went fine... after sometime when opening super user permissions app it shows force close...
[Desire HD Android Development] grozni:
I've restored original rom (RUU_Ace_HTC_WWE_1.32.405.6_Radio_12.28b.60.140e_26.03.02.26_M_release_155891_signed.exe). After this I started from scratch. Again I'm receiving same error (Flickr.apk asset...All apps are there now, I've mounted /system and checked from adb shell. Flickr.apk is there. Anyone has idea, seems that I wiped everything for no reason, I was hoping that factory rom restore will do the trick, but no.
[Desire HD Android Development] golokipok:
assert failed

It seems that I have I am the only one experiencing this error :mad: :

assert failed: file_getprop("/system/build.prop", "ro.build.fingerprint") == "htc_wwe/htc_ace/ace/ace:2.2/FRF91/278359:user/release-keys" || file_getprop("/system/build.prop", "ro.build.fingerprint") == "htc_wwe/htc_ace/ace/ace:2.2.1/FRG83D/296490:user/release-keys"

E:Error in /sdcard/update.zip

(Status 7)

Installation Aborted

Currently I have a stock ROM

Kernel: kAmMa's Lightweight Kernel for Enthusiasts v1.2 (noUV)

Radio: 12.35a.60.140f_26.04.03.30_M

I have no clue what to do next :confused: Pls. help
[Desire HD Android Development] hamdir:
make sure u r completely stock try to reflash the original 1.32 kernel
[Desire HD Android Development] CodeJACK:
For anyone missing any system apps, I can confirm that a simple reinstall of all will allow the update to apply.

I had to go back to last weeks nandroid restore to get mine to upgrade. I forgot to backup 1 app.
[Desire HD Android Development] MiKA7:
Will this way of applying the OTA delete everything on my phone or should I make a wipe before applying anyway???
[Desire HD Android Development] golokipok:
OK I got the stock kernel but I don't know what is the stock radio that came with my device. I got my DHD from Qatar

EDIT: I have flashed the 1.32 kernel and Radio_12.28b.60.140e_26.03.02.26_M but no good

EDIT: Can I have the link for the kernel 1.32.405.3? OTA wont work with 1.32.405.6

I hope this patch would be modified in order to be applicable for all :D
[Desire HD Android Development] grozni:
I'm completely stock, but still getting error about Flickr, but Flickr.apk exist. I've copied flickr.apk to my computer 228 KB (233,472 bytes).

UPDATE 1: Seems that flickr error is gone, but new error shows:

-- Installing: SDCARD:/update.zip
Finding update package...
I:Update location: SDCARD:/update.zip
Opening update package...
I:Update file path: /sdcard/update.zip
Installing update...
I:Trying update-binary.
mount: no mtd partition named "system"mount: Try emmc now...
script aborted: assert failed: getprop("ro.cid") == "00000000" ||
getprop("ro.cid") == "11111111" || getprop("ro.cid") == "22222222" ||
getprop("ro.cid") == "33333333" || getprop("ro.cid") == "44444444" ||
getprop("ro.cid") == "55555555" || getprop("ro.cid") == "66666666" ||
getprop("ro.cid") == "77777777" || getprop("ro.cid") == "88888888" ||
getprop("ro.cid") == "99999999" || getprop("ro.cid") == "HTC__001" ||
getprop("ro.cid") == "HTC__E11" || getprop("ro.cid") == "HTC__N34" ||
getprop("ro.cid") == "HTC__203" || getprop("ro.cid") == "HTC__102" ||
getprop("ro.cid") == "HTC__405" || getprop("ro.cid") == "HTC__Y13" ||
getprop("ro.cid") == "HTC__A07" || getprop("ro.cid") == "HTC__304" ||
getprop("ro.cid") == "HTC__J15" || getprop("ro.cid") == "HTC__032" ||
getprop("ro.cid") == "HTC__001" || getprop("ro.cid") == "HTC__102" ||
getprop("ro.cid") == "HTC__304" || getprop("ro.cid") == "HTC__Y13" ||
getprop("ro.cid") == "HTC__001" || getprop("ro.cid") == "HTC__N34" ||
getprop("ro.cid") == "HTC__102" || getprop("ro.cid") == "HTC__Y13" ||
getprop("ro.cid") == "HTC__304" || getprop("ro.cid") == "HTC__032"
assert failed: getprop("ro.cid") == "00000000" || getprop("ro.cid") == "11111111" || getprop("ro.cid") == "22222222" || getprop("ro.cid") == "33333333" || getprop("ro.cid") == "44444444" || getprop("ro.cid") == "55555555" || getprop("ro.cid") == "66666666" || getprop("ro.cid") == "77777777" || getprop("ro.cid") == "88888888" || getprop("ro.cid") == "99999999" || getprop("ro.cid") == "HTC__001" || getprop("ro.cid") == "HTC__E11" || getprop("ro.cid") == "HTC__N34" || getprop("ro.cid") == "HTC__203" || getprop("ro.cid") == "HTC__102" || getprop("ro.cid") == "HTC__405" || getprop("ro.cid") == "HTC__Y13" || getprop("ro.cid") == "HTC__A07" || getprop("ro.cid") == "HTC__304" || getprop("ro.cid") == "HTC__J15" || getprop("ro.cid") == "HTC__032" || getprop("ro.cid") == "HTC__001" || getprop("ro.cid") == "HTC__102" || getprop("ro.cid") == "HTC__304" || getprop("ro.cid") == "HTC__Y13" || getprop("ro.cid") == "HTC__001" || getprop("ro.cid") == "HTC__N34" || getprop("ro.cid") == "HTC__102" || getprop("ro.cid") == "HTC__Y13" || getprop("ro.cid") == "HTC__304" || getprop("ro.cid") == "HTC__032"
E:Error in /sdcard/update.zip
(Status 7)
Installation aborted.
Failure at line 3:
install_zip SDCARD:/update.zip

Anything to do with supercid, since I didn't select supercid only radio s-off? Adb shell cat /proc/cmdline shows

androidboot.cid=HTC__032

.
[Desire HD Android Development] makbil:
I didn't do super cid either, just radio S-OFF. I'm not 100% sure but I think my cid was HTC_003. If there is an easy way to check let me know.
[Desire HD Android Development] grozni:
Reboot phone, then from terminal emulator write

dmesg|grep androidboot

and serch for android.cid line. If you don't have pipe (|), since I didn't find it on stock keyboard (I'm using swype), just type dmesg and start search from beginning you will find that line.
[Desire HD Android Development] makbil:
$ su

# dmesg|grep androidboot

grep: not found

write: Broken pipe

#

So, it doesn't work here :(
[Desire HD Android Development] CyberTod:
The guide is flawless. Everything worked for me.

The only thing that happened was at the rooting step. When I executed this :

# ln -s /system/bin/su /system/xbin/su

I got file already exists even though i had uninstalled superuser. But I typed this :

# rm /system/xbin/su

And then repeated the above step
[Desire HD Android Development] eozen81:
Wow, great shares here.

But will we have to bother so much again and again with every update, it's really not easy for everyone and sounds a little risky at some points?
[Desire HD Android Development] makbil:
The answer is probably, yes. Now everyone knows how iPhone jailbreakers feel like :)
[Desire HD Android Development] eozen81:
iphone jailbreak is much more difficult nowadays compared to previous versions. But check out here, a new fw has been released a few days ago but now it's been solved immediately to protect every critical issues like root and s-off.

Briefly that is the beauty of having an android phone. Thanks again for this appreciated help here.
[Desire HD Android Development] fahadriod:
still facing issue

hello,

i have gone through all the steps but still unable to get the updates loaded i still face the same problem "apply_patch_check ... ("/system/framework/framework.jar"). i have done all the steps necessary.

Regards,
[Desire HD Android Development] arctic84:
I too have the same problem, I own the model sold in asia. I checked the HTC website and they said there was a OTA for the euro version, but no word on the asian htc website :(
[Desire HD Android Development] AlCapone:
Ok , after switching DHD off, I press vol- +power, then it just powers up/boots very fast, but i see no way of "select fastboot mode" - what is it /where ?
[Desire HD Android Development] makbil:
While the phone is on, press power button and select "restart". As soon as you press the "OK" button press vol- +power, that should get you to the bootloader screen.
[Desire HD Android Development] fubofo:
Could someone answer if custom kernels can be used after the update?