yashsingh1/xdaforums huggingface dataset:
[Desire HD General] Jorellana:
Here you go Phiber:

Ace Advanced Hack Kit 2

___________________________
MAIN MENU | |
1 - Hack Ace <----------------------------+ * S-OFF |
| * SIM Unlock |
h - Prepare HTCdev unlocked device | * SuperCID |
| * Root |
| * Touch Recovery |
| |
**********************************************************************
t - Toggle Flash Method - current method is fastbootRUU
**********************************************************************

q - Quit

[Select and press Enter]1
This version of Android cannot use the hack kit at this time!

You can downgrade if you like, then rerun the hack step.
WARNING: THIS WILL WIPE DATA
Would you like to downgrade? [y/n]y
File "PD98IMG/PD98IMG-GB1.zip" found and checked successfully
Do you want to proceed with downgrade? [y,n]y
Pushing rom to sdcard...
This takes time. Please be patient!
1964 KB/s (268194363 bytes in 133.292s)
Initializing for temproot...
8 KB/s (21215 bytes in 2.426s)
2599 KB/s (572752 bytes in 0.215s)
1707 KB/s (19240 bytes in 0.011s)
Temprooting with zergrush...

[**] Zerg rush - Android 2.2/2.3 local root
[**] (C) 2011 Revolutionary. All rights reserved.

[**] Parts of code from Gingerbreak, (C) 2010-2011 The Android Exploid Crew.

[+] Found a GingerBread ! 0x00017118
[*] Scooting ...
[*] Sending 149 zerglings ...
[*] Sending 189 zerglings ...
[-] Hellions with BLUE flames !
Creating goldcard...
HTC android goldcard tool Copyright (C) 2011, Wayne D. Hoxsie Jr.
Original code by B. Kerler. Special thanks to ATTN1 and the XDA team.
Donations can be made to the Electronic Frontier Foundation:

or to B. Kerler:

/dev/block/mmcblk1: cannot open for write: Permission denied
Setting mainver lower to allow downgrade...
--set_version set. VERSION will be changed to: 1.31.405.6
Misc partition is "/dev/block/mmcblk0p17"
Patching and backing up misc partition...
Error opening input file.
rm failed for /data/local.prop, No such file or directory
Initializing for downgrade...

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

*** !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ***
*** READ CAREFULLY AND ***
*** WAIT UNTIL EACH STEP COMPLETES ***
*** !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ***

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

** STEP ONE:
** The phone will now reboot into HBOOT.
** It will then check the file just sent.
** If everything is okay, the phone will
** prompt you to continue by pressing
** VOLUME UP. It will reboot, flashing twice.

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

** STEP TWO:
** AFTER STEP ONE IS COMPLETED
** When you are promted to do that, push power button.

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

If downgrade is successful, you may set up the phone and try to hack it again.

Once the downgrade is successful, press a key to return to the menu...
Otherwise, copy and paste the output into a text file for evaluation.
Presione una tecla para continuar . . .

And after this, the "Main Version is older" appears in the phone while transfering the ROM.
[Desire HD General] Phiber2000:
Your problem is: The temproot fails. (citation: "[-] Hellions with BLUE flames !")

I'd unlock the device via htcdev first and then let the AAHK2 prepare it for another try. (Choose the prepare option in main menu.)

Then it should work as intended.

Phiber
[Desire HD General] Jorellana:
Hey again Phiber...

My computer doesn't recognize the device when it's in Fastboot. I'm doing the HTC Sync Bootloader Unlock Process. Normally, it gets recognized as "My HTC", but when entering into Fastboot it get into "My HTC (!)" with that yellow triangle. Have Windows 8.1, have downloaded tons of drivers, but one recognizes the phone in Fastboot. :crying:

PD: As you know, the HBOOT is 2.00.0030.

Also, do I REALLY need HTC Sync for bootloader unlucking? That inmediately installs drivers when desinstalling previous ones. :eek: and appears that windows considers that the drivers are "update" and doesn't let me install new drivers.
[Desire HD General] Phiber2000:
This is how to solve the issue from windows 8.1 up:

In "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags" create the key "0BB40FF00100".

In this key create a binary value named "SkipBOSDescriptorQuery" with value "01 00 00 00".

Reconnect DHD and it will be recognized correctly.

Phiber
[Desire HD General] acimer:
Hi!

I have an old HTC desire Bravo which I have downgraded a while ago to stock rom 2.3.3. since I have been having stability issues on Cyanogen and other ROMs. Now it's stable and running fine. Only thing, I am having low storage issue so I'm looking for a way to root it again to gain some storage space.

Since revolutionary.io is nonexistent now, if I'm not mistaking, which tool do I use to root my device? Can I use AAHK2?

If not can someone instruct me in what to use?

thanks!
[Desire HD General] Phiber2000:
The AAHK2 is just for the Desire HD/4G. That's the successor of yours...

Phiber
[Desire HD General] Edward Briceño:
Sim Unlock

i need unlock sim of my Desire HD is posible with this program? how? or there someway to do it?
[Desire HD General] Phiber2000:
The unlock method performed by AAHK2 removes the sim-lock, too.
[Desire HD General] Edward Briceño:
but how? there some manual? need download some specific file? mi OS version is 2.3.5

problem is:

phone not plugged in(phone is plugged)

drivers not installed(all drivers are installed, i reinstalled again and again.)

debug mode not actived(debug mode enable)

im using windows 7 64 bits
[Desire HD General] k00nko:
Downgrade error

Hi,

i just trying to get Lollipop Android 5.1.1 into my friends HTC. I dont using android for a while, so i have to read a lot. Finally I found AAHK2 and everything i need (i think). I follow the instructions strictly!

My HBOOT says:

***UNLOCKED***

ACE PVT SHIP S-ON RL

HBOOT-2.00.0029

MICROP-0438

RADIO-26.14.04.28_M

eMMC-boot

I think that i have exactly same problem as "strwdle" has . After it says that i have to downgrade and i downloaded exactly what it says (PD98IMG-GB2.zip)..after this i have to reboot my phone from blue recovery twice.. it says "E: Can't open /cache/recovery/command" ,then "Successful! Rebooting by reason oem-000" before every restart... but when i get into HBOOT it says

Loading..PD98DIAG.zip

No image!

Loading PD98DIAG.nbh

No image or wrong image!

Loading...PD98IMG.zip

then blue loading bar on right top gets full, nothing happens, then it stays in HBOOT.

So can anyone help or at least tell me if i have any chance to flash this phone? Im have Intermediate in computing and i dont think i did any mistake. I trying to learn and understand how to work with android so i really appreciate if can anyone explain me this error.

(cidnum: T-MOB004)

Thanks a lot! (sorry my english)
[Desire HD General] Phiber2000:
Your device is unlocked via htcdev. You have to prepare your device via the option 'h' in main menu before you can start the unlock process.

Phiber
[Desire HD General] k00nko:
Thank for your help. It works.
[Desire HD General] mynimycu:
that metod worck on htc desire 820???
[Desire HD General] mkward:
It's been a long while since I have been on the forum and I am back in need of some help please. I have successfully rooted the phone using the aahk2 but I have no idea how to dot the following.

"How do I install after successfully rooting the latest ROM from HTC(modified by Phiber)? (This also fixes problems with GPS/Wifi/Soumd on custom ROMs!)"

I am asking as I have no sound at all after rooting and I cannot work out how to install the PD98IMG.zip extracted from RUU_Ace_Sense30_S_HTC_WWE_3.12.405.1_Radio_12.65. 6 0.29_26.14.04.28_M_release_225512_rooted.zip

I have put the file on to the sd card started the phone and held volume down button but from here I cannot work out how to install the PD98IMG.zip file.

I have read through the posts but cannot find out how I do the final step. A step by step reply would be most welcome, thanks
[Desire HD General] Phiber2000:
Copy the "PD98IMG.zip" as ZIP-File to the root folder of the sd card and switch into hboot. The hboot should find the file and ask you to update automatically.
[Desire HD General] mkward:
A huge thanks to Phiber2000 for his time via private message and irc to help resolve my problem. All working now and no problems
[Desire HD General] zarco777:
Hello everybody. This is my first time flashing a ROM on a device - trying to give this Desire HD an extra life. I am ready to follow the tutorial but the problem is that it seems the links for downloading the PD98IMG.zip file (HTC image modified by Phiber) are broken. I have already browsed through several pages of the thread but can't seem to find new links. Can somebody give me a hand, for starters? After that I'll probably bother again with new questions ;)
[Desire HD General] Phiber2000:
Checked it - Links are all up.
[Desire HD General] zarco777:
Sorry, my mistake. Already ran the script, all went ok. Great work, thanks a lot!
[Desire HD General] zarco777:
Well, I told there would be more questions... :)

So, I ran the script, everything OK, followed the remaining steps and so on (flashed the image Phiber posted on description so to avoid audio and GPS issues), flashed a custom ROM (MIUI v5) and it worked OK.

But when I went on to flash another ROM I missed the fact that I wasn't root anymore (or that's what I think it happened) and I believe that's why I got an error flashing the new ROM (I always flashed via recovery: TWRP - that's what I got in the phone).

After that, since I'm a total noob, there was a sequence of f$&ck-ups I made that it's a miracle I didn't brick my phone. I don't think it's necessary to describe it since ater that I got it back working in the stock ROM (not sure now if with the PD98IMG you provided in the link or with the downgraded one from the script - but the phone is downgraded with 2.3.3 - it was with 2.3.5), but the status is as follows: the bootloader is unlocked, the phone is S-OFF and I think I don't have root anymore. And I realize, I think, that to regain root via AAHK2 I need to relock the bootloader right? What shall I do now? Or can I root in some other way without having to relock the bootloader?

Also you mentioned in the threads that, in order to flash a Android 4 (or 5) ROM, I must "upgrade recovery to 2.8.6.1 and Radio to 12.69a.60.29_26_17_14_11_M". How can I do that? Sorry for so many questions but since I recently registered I can only post once a day.
[Desire HD General] Phiber2000:
Flash the RUU contained in this Archive via HBoot: re_twrp_2.8.6.1_ra_26_17_14_11_m.zip (It's from my KitKat-Kit I made for a german forum.)

Notice that the old AROMA-Installer used by some old ROMs is not compatible with the new TWRP versions.

Phiber
[Desire HD General] ze7zez:
fastboot mode in Windows 64bit

Written in post 609:

It should be:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\0BB40FF[B][COLOR="Red"]F[/COLOR][/B]0100]
"SkipBOSDescriptorQuery"=hex:01,00,00,00

[COLOR="red"][B]0BB4[/B][/COLOR] -> Vendor ID -> HTC (High Tech Computer Corp.)
[COLOR="yellowgreen"][B]0FFF[/B][/COLOR] -> Product ID -> Android Fastboot Bootloader
[COLOR="orange"][B]0100[/B][/COLOR] -> Revision Number

Source: [URL="http://www.linux-usb.org/usb.ids"]List of USB ID's[/URL]

Restart is not necessary.

Just disconnect and reconnect the USB.
[Desire HD General] Phiber2000:
[MENTION=4810659]ze7zez[/MENTION]

The vendor id of the DHD definitely is "0FF0" - not "0FFF". So hacktrix2006 was right.

(Checked with Microsoft Message Analyzer and proven to work.)

Phiber
[Desire HD General] Phiber2000:
Just use another µSD card. The one you're using is not compatible obviously.

Format it, restore your device using that one and the correct ruu and give it another try.
[Desire HD General] PuppyOfDestruction:
Well, thanks, I'll try after I'll get a new SD, but that's really strange - it was a SanDisk UHS-I 32 GB card, so it should be

compatible according to the tutorial and fast enough for the process, and now I can't even read it in any card reader :eek:
[Desire HD General] Phiber2000:
I recommend using "old" µSD cards <=8GB.
[Desire HD General] PuppyOfDestruction:
Thank you! I've reflashed RUU closest to my old one and repeated everything with AAHK2 but on another PC and - out of desperation - on an old, noname 2GB SD card - everything worked as it should. Now I'm working on a CyanogenMod 11 stable. So, for everyone else having similar problems; don't always follow every instruction A-Z, sometimes it's better to use old but functional stuff than new and fastest ones. You might end without a fried UHC SD card :/
[Desire HD General] iCavem4n:
Thanks!

Thanks a lot! It works. I installed CM11 on my DHD. It rocks!

Some thoughts:

- The script disables Windows security center. I understand why. But maybe it should reenable it when it's done?

- In fastboot mode, even with the registry hack, I can only get the USB connection to work over one of the four USB ports on my laptop, which happens to be a USB 3. I used that port for everything. Didn't have a problem.

- PD98IMG-GB links don't work for me. Fortunately I found an alternate download: http://gsmact.blogspot.com/2013/10/perfect-tool-to-downgrade-htc-desire-hd.html I trusted those because the MD5 checksums match the ones here: http://xdaforums.com/showthread.php?t=2193681

- Placing "PD98IMG.zip" into root of SDCARD and getting it automatically flashed on HBOOT didn't work for me (the card is a 8GB Samsung, formatted FAT32 at 4 KB/cluster). So I flashed it with fastboot using the method described here: http://xdaforums.com/showthread.php?t=1810599
[Desire HD General] Phiber2000:
It's only temporary disabled. After a reboot, it's enabled as before.

That's very rare. :)

Just report, if something's down and you need it. I don't check it - but if requested - of course will upload them again!

Right. That's doing the same. I only recommend using the µSD method to make sure, you have a working and compatible µSD card in case of "big" problems.
[Desire HD General] soupkitchen:
Volume down button not working - Am I at a dead end?

Hi there,

I'm working on using this method on my Desire HD

To put a spanner in the works, the volume down button doesn't work on this phone.

Strangely, the volume up button works perfectly fine. I've tried removing the outer button and cleaning it, but no improvement.

Is there any way to get in to the HBOOT bootloader without using the volume down key, or am I at a dead end here?

Regards,

soupkitchen
[Desire HD General] Phiber2000:
In many cases (software depending) you will definitively need it

In the other cases: If

any

thing doesn't work as intended and the vol down button has a hardware defect - you have a brick.

I wouldn't try it without a working button...
[Desire HD General] soupkitchen:
Thanks
[Desire HD General] TheArkive:
OMG! A million times thank you! 5 years ago I gave up on ENG S-OFF because it was too risky for me, and my HTC Desire HD was my only phone at that point! (I settled for SHIP S-OFF) Now I have more phones and was finally able to experiment. Took a LONG time to search and re-remember everything unique about the Desire HD, but I finally found your thread and got ENG S-OFF, finally flashed super juiced TWRP (v2.8.7.0) and ready for modern ROMs on Desire HD!!

I've been trying to revive one of my old phones for a bit now, so I can experiment with my Nexus 6! I never actually unlocked my Samsung Galaxy S III (AT&T), still waiting on unlock code (upgraded past the point of no return :crying: :crying: :crying:)

Again thanks a ton for this tool!!!
[Desire HD General] 2be3_80:
My current values of bootloader are:

ACE PVT SHIP S-OFF RL

HBOOT-0.85.0019

MICROP-0438

RADIO-26.06.04.06_M

eMMC-boot

Dec 27 Dec 2010, 14:47:30

I don't know if I can use this tool to perform ENG S-OFF right away (I havew ext4 recovery and I'm on CM 4.4.4 rom) or do I need to flash any stock rom or something?

Thanks.
[Desire HD General] Phiber2000:
The only thing is to disable BOS via the "SkipBOSDescriptorQuery" registry entry to get the fastboot mode working with new Windows versions (8.1 and higher).

Switch the DHD into fastboot mode. When your Windows runs the fastboot mode driver correctly (check device manager), just run the 'aahk2_fastboot.cmd'. Choose option 'c' there and you get your "ENG S-OFF" hboot. That's it!
[Desire HD General] 2be3_80:
I have old Compaq with win XP, so I just need to run tool, select "c", despite current custom recovery and custom rom? Will I lose 4ext recovery?
[Desire HD General] Phiber2000:
Then I see no problems and you won't loose anything. It only flashes an other modded hboot.
[Desire HD General] 2be3_80:
Thanks very much, all went ok. Now I'm unlocked with eng s-off, so I can flash newer radio from now on. [emoji4]

---------- Post added at 10:39 PM ---------- Previous post was at 10:36 PM ----------

Sometimes it's good to keep old Windows XP machine
[Desire HD General] Bafteam:
Hello, there is a phone HTC Desire HD with the following data:

Serial number - S\N HT11ZTZ03154

CID - TELUS001

The first two lines of HBOOT:

ACE PVT SHIP S-ON RL

HBOOT-2.00.0029

Was HBOOT-2.00.0027, updated to HBOOT-2.00.0029 (on 27 version did not to give the code to unlock the boot loader through the official website HTC), Unlocked bootloader (UNLOCKED with an inscription in HBOOT).

It requires an unlock code when using other SIM card (if not SIM card Telus)

I tried to remove the code via firmware, but it did not help, then I came across this topic and would like to use SIM Unlock.

When I used a AAHK2 I locked the bootloader with the inscription Relocked.

I downloaded the firmware from this thread:

https://xdaforums.com/showthread.php?t=2193681

Archive PD98IMG-GB3.zip for my CID, but the program writes when i use downgraide:

[Select and press Enter]2

File "PD98IMG/PD98IMG-GB3.zip"

Do you want to proceed with do

**************

FLASH RUU : Y

**************

Confirm? [y,n]y

Starting flash process...

...

OKAY [ 0.216s]

finished. total time: 0.218s

erasing 'cache'...

OKAY [ 0.261s]

finished. total time: 0.263s

PD98IMG/PD98IMG-GB3.zip

version-bootloader: 2.00.0029

Sending update...

This takes time. Please be pat

sending 'zip' (253421 KB)...

OKAY [ 42.147s]

writing 'zip'...

(bootloader) adopting the sign

(bootloader) signature checkin

(bootloader) zip header checki

(bootloader) zip info parsing.

(bootloader) checking model ID

FAILED (remote: 41 model id ch

finished. total time: 86.176s

Then the program tries a second time, and writes the same, further I push S-OFF from fastboot, phone reboots, then the system boots but after entering the bootloader firmware version remains the same and still S-ON.

Somebody can help remove the unlock code and make the phone work?

SIM-Unlock function removes code request?

If I make S-ON and formating section in which sew code requirement, this will help to remove the code? Or I could lose my settings for communication(IMEI and other)?

Thanks in advance for any help, sorry for my English, I use a translator.
[Desire HD General] Phiber2000:
[MENTION=8021884]Bafteam[/MENTION]

Please post your HBoot-Status and anonymized output of fastboot getvar all.
[Desire HD General] Bafteam:
What is HBoot-Status? 5 lines with a radio module version?

What is anonymized output of fastboot getvar all? I need to connect phone to the Fastboot USB mode and via the command line enter the command fastboot getvar all?

Sorry if I do not understand everything the first time, I for the first time on the English site.
[Desire HD General] Phiber2000:
The very first line at the top in hboot and all green written lines.

Punctilious. Mask your Serial and IMEI before posting it.

(Just curiosity: Where are you from?)
[Desire HD General] Bafteam:
Thanks for the clarification, you can help to remove the code or it is not known?

I am from Ukraine.

Familiar bought the phone in Germany and I was asked to help with unlocking thought that all that hard.
[Desire HD General] Phiber2000:
Execute the command in fastboot mode, copy the output to a text editor, search and remove both strings. Then post the output.

If you see the output, you'll understand!
[Desire HD General] Bafteam:
HBOOT Status

***UNLOCKED***

ACE PVT SHIP S-ON RL

HBOOT-2.00.0029

MICROP-0438

RADIO-26.14.04.28_M

eMMC-boot

Dec 22 2011,14:28:19

Fastboot

C:\Android>fastboot getvar all

INFOversion: 0.5

INFOversion-bootloader: 2.00.0029

INFOversion-baseband: 26.14.04.28_M

INFOversion-cpld: None

INFOversion-microp: 0438

INFOversion-main: 3.13.0.0

INFOserialno:

INFOimei:

INFOproduct: ace

INFOplatform: HBOOT-7230

INFOmodelid: PD9814000

INFOcidnum: TELUS001

INFObattery-status: good

INFObattery-voltage: 4060mV

INFOpartition-layout: Generic

INFOsecurity: on

INFObuild-mode: SHIP

INFOboot-mode: FASTBOOT

INFOcommitno-bootloader: fcef1579

INFOhbootpreupdate: 11

INFOgencheckpt: 0

INFOregion-id: 0

all: Done!

finished. total time: 0.003s
[Desire HD General] Phiber2000:
Relock it with "fastboot oem lock".

Then give it another try!
[Desire HD General] Lavi59:
Thanks for this script, I have successfully carried out a script I got eng s off, installed the latest radio (Radio_12.69.60.29_26.17.14.11_M), twrp and CM11 stable, thank you
[Desire HD General] Bafteam:
What do you mean?

Of course with the command "fastboot oem lock"
[Desire HD General] Phiber2000:
I've read that before, but as long as the bootloader has the "***UNLOCKED***" at the top - it can't work...
[Desire HD General] Bafteam:
Once did not work AHHK2 I unlocked bootloader flashed the CM 12.1 and gave the phone owner, you tell me what to do, to make the inscription RELOCKED is not a problem.
[Desire HD General] Phiber2000:
So, do that and try again. If that doesn't work (again), attach the complete output (in spoiler tags) and I'll help you personally upcoming week!