yashsingh1/xdaforums huggingface dataset:
[Desire HD General] Bafteam:
Attach the complete output from the program or there is a text file that logs the program?

Ace Advanced Hack Kit 2

FASTBOOT USB MENU

** The following RUUS will be downloaded as needed and archived **

** The download is skipped if the RUU is in the archive **

1 - Flash Gingerbread AT&T RUU 2.47.502.7 (CID CWS__001)

2 - Flash Gingerbread HTC WWE EU RUU 2.50.405.2

3 - Flash Gingerbread TELUS RUU 2.43.661.1 (CID TELUS001)

4 - Flash Gingerbread Vodaphone EU RUU 2.50.161.3

5 - Flash Gingerbread ARABIC RUU 2.42.415.1 (CID HTC__J15)

6 - FLash Gingerbread HTC WWE ASIA RUU 2.37.707.3 (CID HTC__044)

7 - Flash Gingerbread SOFTBANK JP RUU 2.37.762.2 (CID SBM__802)

8 - Flash Gingerbread HTC HK CHT ASIA RUU 2.37.832.6 (CID HTC__622)

9 - Flash Gingerbread KT KOREA RUU 2.52.1010.2 (CID KT___901)

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

FUNCTIONS REQUIRING S-OFF

a - Install Team Win Recovery Project 2.4.2.0

b - Install unlocked 'ENG' hboot for devices NOT running GB Sense 3

c - Install unlocked 'ENG' hboot for devices running GB Sense 3

q - Exit

[Select and press Enter]3

File "PD98IMG/PD98IMG-GB3.zip" found and checked successfully

Do you want to proceed with downgrade? [y,n]y

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

FLASH RUU : Y

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

Confirm? [y,n]y

Starting flash process...

...

OKAY [ 0.228s]

finished. total time: 0.229s

erasing 'cache'...

OKAY [ 0.207s]

finished. total time: 0.208s

PD98IMG/PD98IMG-GB3.zip

version-bootloader: 2.00.0029

Sending update...

This takes time. Please be patient!

sending 'zip' (266864 KB)...

OKAY [ 44.368s]

writing 'zip'...

(bootloader) adopting the signature contained in this image...

(bootloader) signature checking...

(bootloader) zip header checking...

(bootloader) zip info parsing...

(bootloader) checking model ID...

(bootloader) checking custom ID...

(bootloader) checking main version...

FAILED (remote: 43 main version check fail)

finished. total time: 90.560s

...

OKAY [ 0.169s]

finished. total time: 0.171s

Sending update...

This takes time. Please be patient!

sending 'zip' (266864 KB)...

OKAY [ 44.389s]

writing 'zip'...

(bootloader) adopting the signature contained in this image...

(bootloader) signature checking...

(bootloader) zip header checking...

(bootloader) zip info parsing...

(bootloader) checking model ID...

(bootloader) checking custom ID...

(bootloader) checking main version...

FAILED (remote: 43 main version check fail)

finished. total time: 90.581s

rebooting...

finished. total time: 0.165s
[Desire HD General] Phiber2000:
This explains a lot!

Run the AAHK2 with USB-Debugging on from Android System - not fastboot.

Then run the main script - not the "...fastboot" script and select '1'. Read the instructions you get from the script very carefully!

I'm looking forward for your progress!
[Desire HD General] Bafteam:
************* PROBLEM PROBLEM PROBLEM *************

** **

** An error has occurred **

** while writing on the SD card. **

** **

** Check if an SD card is inserted **

** and the device is in mode "Charge only". **

** **

************* PROBLEM PROBLEM PROBLEM *************

I have SD Card Kingston 16 GB.

It was formatted.

Phone sees the memory card and the memory card is displayed when the phone is connected to a computer.

Sorry about the message above, I carefully read the first message of this topic and remembered that flashed CM 12.1.

I flashed the drain firmware via RUU and then everything was fine, the script simlock deleted and now everything works fine.

Thank you very much for spent your time to help me.
[Desire HD General] Roadapples:
Hello, I am going to attempt to root my phone, I unlocked it with htcdev. When I boot it into with power+vol- the info is

unlocked

Ace PVT Ship S-on RL

Hboot 2.00.0029

Radio 26.14.04.28_M

Do I need to download all the PD98IMG-GB#.zip files on MEGA. If so, mega keeps saying they are nolonger there. I did a quick search for pd98img-gb and could only find the files links in this tread. Sorry if I missed it somewhere.

I just tried the links again and was able to get PD98IMG-GB8.zip and got the aahk2 and the RUU-ace*.zip aswell but the other PD98IMG-GB#.zip aren't working for me. Thanks

Well after reading further into this forum I found another place to download them, Post #287 on page 29. Thanks
[Desire HD General] Steve2016:
Does someone have this file:

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
[Desire HD General] Phiber2000:
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
[Desire HD General] PaM3U:
Help pls

C:\aahk2\tools\win>fastboot getvar all

version: 0.5

version-bootloader: 0.85.0024

version-baseband: 26.03.02.26_M

version-cpld: None

version-microp: 0438

version-main: 1.32.405.6

serialno: HT0C7RX08584

imei: 352668049068024

product: ace

platform: HBOOT-7230

modelid: PD9810000

cidnum: HTC__A07

battery-status: good

battery-voltage: 4201mV

partition-layout: Generic

security: on

build-mode: SHIP

boot-mode: FASTBOOT

commitno-bootloader: a3d4fa0f

hbootpreupdate: 11

gencheckpt: 0

region-id: 0

all: Done!

finished. total time: 0.015s

ATM downgrade from 3.12.405.02 to 2.50.405.02 was full ok, but aahk2 now tryin to downgrade radio and then the error jump in!

Brothers, Please help!

Radio downgrade complete - starting next process - please be patient...

adb server is out of date. killing...

* daemon started successfully *

error: protocol fault (no status)

ADB server didn't ACK

* failed to start daemon *

error: protocol fault (no status)

********* Radio Downgrade failed ***********

** Either:

** Goldcard failed

** USB connections are not working 100

********* Radio Downgrade failed ***********

Для продолжения нажмите любую клавишу . . .

This goes then i start it on turned on phone, android 2.3.3, 2.50.405.2, sense 2.3
[Desire HD General] Phiber2000:
You are running an application in the background that kills the ADB server of the AAHK2. Locate and terminate it before starting AAHK2.
[Desire HD General] chrisnice906:
Can't we just unlock the bootloader and Flash TWRP figuring it is 2020?
[Desire HD General] Spigaw:
Deleted
[Desire HD General] Phiber2000:
Just follow the instructions completely!

You forgot: "Play the current, modified by Phiber2000 HTC image to prevent later problems with GPS and WiFi (see FAQ)."

Okay... bad translated - but understandable. (I'm innocent! :))
[Desire HD General] dennis.kt:
is that safe? no bricked phones yet? i wonder
[Desire HD General] Phiber2000:
Over 2000 Downloads since release in april and no bricks.

(You can check that on Android-Hilfe.de (german) too.)

Follow the manual and script instructions exactly and don't forget checking brand of your sd card.

Phiber
[Desire HD General] pelopidass:
Can I s-off my device with CM 10.1 rooted and with custom recovery (cwm) and unlocked bootloader via htcdev? Or I have to restore my phone in stock??
[Desire HD General] 3498BoyZ:
you dont have to go stock aahk will make it for you
[Desire HD General] Phiber2000:
You need to prepare your device!

Just read my answer to this topic (HTCdev) above.
[Desire HD General] Mistral150:
Hi again...

Just came back to say that all the rooting process went fine without any problems BUT my DHD is not compatible with VIDETRON (frequency) carrier in Quebec so now I will give the phone to my daughter-in-law and she would like to have it back like it was out from the box with when I got it from Telus. Can I return to the stock version ? and how.

Thanks a lot.
[Desire HD General] 3498BoyZ:
Yep read FAQ there is a point with GPS fix that you have to install and you could try to chabne frequency dial *#*#4636#*#* then go to telefonstatics then click menu button and then 'change frequency'
[Desire HD General] renzer0:
Thanks for this awesome tool. Really easy to use. It worked perfectly on my HTC Desire HD!
[Desire HD General] colind29:
Auto downgrade from gingerbread to froyo?

Hey guys. In all honesty I am a noob here. Will be doing this for the first time. Would anyone be able to tell me if this method does an automatic downgrade as I had read earlier that to root we would need to downgrade first. Also, in the requirements, he mentioned certain points. Could someone please explain to me the points mentioned below. I'd highly appreciate it. Thanks!!!

Original boot image ( this is not the HBOOT)

original Recovery

-HBoot-Status: *** LOCKED *** or *** LOCKED (OOW) *** or *** RELOCKED *** , or without lock status displayed

When the mode of the bootloader is "ENG S-OFF", the LOCK status does NOT play a role
[Desire HD General] Phiber2000:
The script will do the downgrade for you. Just follow its instructions.

If you did no rooting or unlocking procedures before then your software state is ready for the script.

Just ensure that your sd card is one of the compatible brands and formatted correctly (FAT32 4KB sector size).

Phiber
[Desire HD General] colind29:
SD Card

Thanks Phiber2000 for your reply. So I will go ahead and start the process directly. Just another doubt. After performing the root process with a SanDisk SD Card, can I switch back to another memory card? Will the root remain? Also to install a custom rom, do I need the same SanDisk memory card? Please advise. Thanks again!
[Desire HD General] Phiber2000:
You just need it during Skript process.
[Desire HD General] colind29:
Ok thanks a ton Phiber. Hope to get this done the right way now!
[Desire HD General] colind29:
Please confirm

Hey Phiber,

Sorry for the constant questions. Just wanted to confirm my steps one last time. Also would you be able to suggest me a good Custom ROM, which will improve the speed, battery life and also give me jelly bean features or better? I really appreciate all your help!

Here are the steps:

1. Plug in the phone with charge only and a formatted sandisk micro sd card

2. Install HTC Drivers v4.0.1.001

Extract AAHK2

Start The script with Administrator Rights (aahk2.cmd)

In the main menu "1" and confirm.

Follow the instructions on the PC strictly.

3. Then, play the current, modified by Phiber2000 HTC image to prevent later problems with GPS and WiFi. Just a doubt here. I need to do this method by switching from charge only to disk drive right?

4. Finally the phone should be rooted now. So i install a Custom ROM.

Have I got it all right? Please advise. Thanks a ton Phiber!

P.S. - I have never rooted or done any unlocking procedures on my phone.
[Desire HD General] 3498BoyZ:
actually you have only follow up the script it will say to you what you have to do next :D

and yes these steps are right

and there is not a BEST/GOOD Rom for my device CM works perfectly but for anyone else maybe Viper Rom will work better
[Desire HD General] colind29:
Awesome! Thank you. While browsing I happened to find PACman ROM. What do you think about that?
[Desire HD General] 3498BoyZ:
For me its too laggy but just test it for youself

From HTC
[Desire HD General] colind29:
Ok thanks!

I was looking to download CyanogenMod. However I do not know which one to download. I wanted a stable and problem free ROM with the latest features. Would you be able to provide me a link if you happen to know? Much appreciated!! Thanks!

---------- Post added at 09:44 PM ---------- Previous post was at 09:32 PM ----------

Also, this root process does the S-OFF thing right? Or am I wrong? And what about installing 4EXT or Clockworkmod recovery. Sorry for the load of questions. Thank you for all your help!
[Desire HD General] 3498BoyZ:
I would prefer Clockworkmod and heres the link for cynageonmod

Fresh installation instructions:

Download / Releases [Goo.im mirror]http://downloads.codefi.re/mustaavalkosta/cm-10-1-unofficial-ace/releases/cm-10.1-20130727-UNOFFICIAL-ace-SR1.1.zip

Download gapps (goo.im/gapps)http://goo.im/gapps/gapps-jb-20130812-signed.zip

Put the files on SD card.

Reboot to recovery.

Do factory reset (ie. format /data, /cache, /sd-ext and /sdcard/.android_secure)

Flash cm-10.1-xxxxxxxx-UNOFFICIAL-ace.zip

Flash gapps-jb-xxxxxxxx-signed.zip

Reboot and enjoy.
[Desire HD General] pelopidass:
I tried to S-Off but I faced some troubles. I have Jellytime R11 4.2.2 and custom recovery from AAHK (cwm touch recovery). So my steps.

1) Connect my phone and start the script.

2) Choose "h" because my phone is unlocked with HTCdev

3) Then asked me to wipe my data.

4) Then it asked me to flash the rom (PG98IMG if i am right) but I don't know what to choose.

For S-Off I need to flash the stock rom and relock the bootloader?

Thanks in advance.
[Desire HD General] Phiber2000:
Be a bit more specific and copy/paste output here.
[Desire HD General] pelopidass:
Tomorrow I'll post the output but more specific, it asked me to pu GB-2 image file into a folder. I put it but it didn't downgrade my phone, it only relock my bootloader so I had to unlock it again via fastboot.
[Desire HD General] colind29:
Thanks 3498BoyZ for all your help. I'll give this root a shot tomorrow. Hope the downgrade goes fine as well. Will keep you all posted.
[Desire HD General] colind29:
CyanogenMod 10.1

Hey guys. Thank you all for all your help. I managed to successfully root and flash my dhd. I have flashed the cm-10-1-unofficial-ace.

If you guys could help me, I have a few doubts. Certain settings are missing for the dhd, such as notification light, battery light, pie controls, etc. My main concern is with the notification light. Any idea why I dont seem to have these options? Please help. Thanks!

P.S - Also, which themes would you suggest?
[Desire HD General] maltazar1:
nm
[Desire HD General] colind29:
Alarm and restarts

Hey guys,

Around 3 days back I managed to root my dhd and flash CM 10.1-20130727-UNOFFICIAL-ace-SR1.1.

What I do not understand is, do I have the latest version? I wanted a bug free, stable, normal running jb phone as I do not understand if there are advantages or disadvantages of constantly flashing new roms. Also, I do not know which one to flash.

What do I need to do? Please help. In this version, I am unable to change the alarm tone, wifi connection is bad, phone restarts often and many other options are missing, which many other people seem to talk about, one of them being Cyanogenmod Update.

Please help. I had rooted and flashed my dhd from gingerbread because I was fed up of the way it functioned. Too slow. But this doesnt seem to ease the problem. Any help is appreciated. Thank you!!!
[Desire HD General] 3498BoyZ:
Actually on my dhd it works very smoothly maybe you can try another jellybean based rom (like jellytime)

From HTC
[Desire HD General] colind29:
Thanks guys! I'll give it a try.

By the way, would anyone be able to tell me what busybox is and how it could help me? Would it do anything to speed things up.

All my apps take ages to open.
[Desire HD General] 3498BoyZ:
Actually busybox is already inclided in the most roms i think busybox has sonething to do with root .

From HTC
[Desire HD General] colind29:
Ohh ok. Because I do not see busybox as an app on my phone. So I was wondering. I see superuser in the settings.

Also do u think it is wise to change the cpu settings, etc in performance?
[Desire HD General] pelopidass:
Finally I successful s off my phone. First time I tried I just opened the .bat file then I've chosen the 'h' because I am HTCDev unlocked. Everything was fine until I got an error (basically failed) with the bootloader signature verification.

I had to unlock the bootloader again because it was relocked again.

Conclusion if you are HTCDev unlock, first relock bootloader using fastboot, (fastboot oem lock) and start the process to s off!
[Desire HD General] 3498BoyZ:
If you have thr superuse app then is busybox installed and i would overclock it to 1200mhz

From HTC
[Desire HD General] eMBeeNL:
Cool, now I don't have to hack the old AAHK any more :)
[Desire HD General] 53robyn:
Great new. :)

My friend will be very happy. He was waiting something like this since aahk finished.

Thanks
[Desire HD General] Anthony1s:
Hello. Can you give credit to me too? I was also involved in creating the original AAHK. Thanks.
[Desire HD General] 3498BoyZ:
Ok i will edit up the 1st post

From HTC ONE X
[Desire HD General] grandz:
great job from France !

j'ai lu et relu tous les posts. ( I read and read again and read agoin every post)

j'ai suivi le mode opératoire ( i follow the prescriptions)

tout est OK. ( Yes, I do it with success)

en attendant de choisir une rom custom, j'ai installer la dernière version de HTC-DHD 2.3.5 ( now, I've just installed STOCK RON 2.3.5 from HTC

many thanks !
[Desire HD General] 3498BoyZ:
No problem

From HTC ONE X
[Desire HD General] :
Great tool, worked fine on Windows 8.
[Desire HD General] dave2067uk:
Hi ive done all this worked great unlocked but the only problem is i have no sound anyone know what went wrong or how i can sort it out.

thanks dave
[Desire HD General] dave2067uk:
Just to add during the process i had to downgrade to 2.3.3 had to download PD98ING-GB2 all went great but no sound on anything including calls
[Desire HD General] 3498BoyZ:
Ok maybe you try another rom

From HTC ONE X
[Desire HD General] Phiber2000:
Just flash the rooted ROM as described in FAQ in OP.

Phiber
[Desire HD General] T3sla:
This script worked flawlessly for me.I am quite an advanced user when it comes on modifying my Xperia mini but i found it quite complicated doing the same on my girlfriend's DHD.On Xperia's you only have to unlock the bootloader and then you're free to go.But on HTC's there are many more parameters.So big thanx !!!

One question : Although i debranded i still see the T-mobile logo when it boots up.Is that normal or did i failed to debrand it?
[Desire HD General] Phiber2000:
See #105. After that you're debrandet too.

Phiber
[Desire HD General] T3sla:
Thanx that solved it.
[Desire HD General] davidelc1:
Great tool, thanks Phyber and Boyz

(Sent from my Shuttle with XDA Android App)
[Desire HD General] Wormer:
Need clarification

Dear... everyone,

First of all:

- I've checked the HBOOT screen and on top of the phone model was no lock status, which suits the guide's "without lock status".

- I run original, non rooted system, and did a system restore before using the tool just to be sure

- I was prompted to do a downgrade, which went through.

- After setting up all the requirements (USB debugging, charge only) i've used the tool again....

Now to the troubling part, it scanned for "exploits", started flashing and got stuck on the <waiting for device> message for the last 5 hours... :(.

The phone shows HTC logo in white (not the loading screen with the green writing).

Any suggestions :(?

P.S.

The log from the cmd is in the attachment (can't post due to new user limitation)

---- Update ----

I squeezed my "prunes" tight and disconnected the device and killed the script. Surprisingly enough, the phone started like nothing ever happened.

I've started the script again and despite showing all sorts of errors I had no knowledge of, the process ended in an unlocked device :).

First of all: thanks to Phiber2000 and 3498BoyZ! *thumbs up*

Second: most of these rooting guides require original rom/recovery/bootloader... once I've rooted and will be trying non-original roms, will I put myself in danger regarding any future rooting? Will I ever need to re-root the device (I understand this might be covered on the forum but I don't even know what to look for with this type of question)?

Third: 3498BoyZ, in your second post you state that one of the possible steps after rooting is to update the recovery. What does that mean? Update the OS version of whatever I'll return to in the future if I should choose to "factory reset" in the future? Does it have any implication on the rooting process done?

Thanks again for your contribution and for your patience :).
[Desire HD General] 3498BoyZ:
So u have unlocked the bootloader ?

Unlocked devices via HTCdev need to be prepared via Option 'h' in main menu.

This will do the downgrade too.
[Desire HD General] Wormer:
Indeed I did, sir :)

Yes! :)

What I wanted to clarify anyway:

- What did you mean by "Updating recovery" in the follow-up to the OP? (Updating the recovery image or the recovery program?)

- At the end of the rooting process, Phiber2000 (or both of you :)) recommend to flash the latest HTC rom. I was wondering: once I flash any custom rom on top of it in the future, doesn't it overwrite everything?

Thanks again you guys :)!:good:
[Desire HD General] 3498BoyZ:
Sorry Iam not a dev and I mean to update recovery image and sorry I don't know if you Will Flash a new if the data will be overwritten or not but its good when u install the HTC Rom from phiber

HTC ONE X
[Desire HD General] paxian:
Running aahk2

As you can see I am new to this forum and a total noob at rooting a device. So I thought this script would be very useful. Even using this script I am not able to start the rooting process.

Running aahk2 as admin I get the following message:

Phone not plugged in

or

Driver not installed

or

USB debugging not enabled.

I am pretty sure I did all of the above though:

I installed the driver on my win 8 pc. My phone is connected through a USB 2 port on the back of my pc and I enabled USB debugging on my DHD.

As I asume I might be missing something obvious I would be more than thankful if somebody could point out what I am missing or if someone could help me troubleshoot to get aahk2 running.

Thanks in advance.
[Desire HD General] 3498BoyZ:
Maybe you reinstall the driver or u just try it on a Win7 computer

HTC ONE X
[Desire HD General] mitsucats:
Hallo

Before i start to flash anything.

I have already my Phone S-off and custom rom on my phone but i was thinking to flash a new radio version

but i have the whole day read on the net that i need to have ENG S-OFF and not only S-OFF

Is this correct ?

Can this Script make ENG S-OFF or only S-OFF ?
[Desire HD General] Phiber2000:
If you're allready S-OFF, in most cases it should be enough to follow the steps "How do I install after successfully rooting the latest ROM from HTC?..." as you can find in OP.

Greetings

Phiber
[Desire HD General] mitsucats:
To understand this i need to install the last HTC original rom to get the new radio version and then can i make my old custom rom on the Phone
[Desire HD General] Phiber2000:
Yes and No - I modded this special image to give S-OFF-Devices like yours ability to get ENG S-OFF and keep Root and Custom-Recovery easily. It's not a standard HTC image but it contains parts of it.

Phiber
[Desire HD General] mitsucats:
Okay now i think i get it.

That will say that i dont need to use the AAHK2 script but just need to flash the HTC Custom rom like

you have descripe just here ?

Then i will have the new radio on and then i just need to install that custom rom i want ?

Only a question. is there not a faster download link because i dont have premium account
[Desire HD General] Phiber2000:
Yes. (Maybe SuperCID "11111111" is needed too, never tried it - but it won't start flashing, so nothing wrong will happen if that requirement would fit.)

Exactly!

Phiber
[Desire HD General] mitsucats:
we will see if the PD98IMG works with the htc rom you have make. because

i have try it with only the Radio.img inside the PD98IMG.zip and it dont find the file or wrong.

C:\Android>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 2.00.0029
(bootloader) version-baseband: 26.14.04.28_M
(bootloader) version-cpld: None
(bootloader) version-microp: 0438
(bootloader) version-main: 3.13.0.0
(bootloader) serialno: HT0AERX03216
(bootloader) imei: xxxxxxxxxxxxxx
(bootloader) product: ace
(bootloader) platform: HBOOT-7230
(bootloader) modelid: PD9810000
(bootloader) cidnum: 11111111
(bootloader) battery-status: good
(bootloader) battery-voltage: 4169mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: fcef1579
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
(bootloader) region-id: 0
all: Done!
finished. total time: 0.005s