[Q] Unbrick Telus Desire HD (QHSUSB_DLOAD after flash boot.img to S-ON DHD)

fairsimple

Senior Member
Aug 23, 2013
83
35
0
Toronto
No. Phone is not charging. Screen does not turn. Pressing the button on the PC sees HDH - QHSUSB_DLOAD.
Since you didn't update the phone so maybe it is just a dead battery. You may measure the battery (the two far ends I think) by a multimeter. If you have a battery charger, you may try to charge the battery directly for a day. Another thing you could try is to hold vol-down button for 30 seconds then press power button.

If none of above works, then you got same brick as my phone. I will post update here so please subscribe this thread. Do you have a Linux box or any Linux experience.
 

NikolayIII

Member
Jan 21, 2014
5
0
0
Since you didn't update the phone so maybe it is just a dead battery. You may measure the battery (the two far ends I think) by a multimeter. If you have a battery charger, you may try to charge the battery directly for a day. Another thing you could try is to hold vol-down button for 30 seconds then press power button.

If none of above works, then you got same brick as my phone. I will post update here so please subscribe this thread. Do you have a Linux box or any Linux experience.
Ok. Try. I have experience of working in Linux.
 

mickeyasamoah

Senior Member
Jan 11, 2013
979
229
0
Accra
Hello. I also have the same problem with my DHD. It used to be able to boot into Hboot only. No recovery,no boot, no system. I tried flashing Ruu via pc, didnt work, then tried placing the ****IMG.zip on sdcard and flashing via hboot, that also didnt work. I tried other fastboot commands and all didnt work.
But when i connect the phone to pc its detected as QHSUSB_DLOAD. So i downloaded the drivers and install them. After the driver installation i connected the phone to the pc and it detected it with the driver. That was when things got messy.After that connection to the pc,it failed to boot into hboot again. The charging lights dont turn on when connected. Its just QHSUSB_DLOAD.
So i need Help.
Would happy if you could help me out. AND i have some knowledge on how to use UBUNTU. I havent used linux itself before.
 

mickeyasamoah

Senior Member
Jan 11, 2013
979
229
0
Accra
@NikolayIII and @mickeyasamoah, can you download my modified version of qdload.pl (qd.pl) from post #19 (link below) and run it under linux (with the phone connect via USB), then post your output as I did in post #19.

Also FYI: thanks Fuses who is helping us by answering my PM's. He confirmed Riffbox can unbrick DHD by usb connection.

http://forum.xda-developers.com/showpost.php?p=49675637&postcount=19
Okay. I have downloaded it. So i have to use the windows tool first before using the linux tool?
And would the linux tool work on UBUNTU??
 
Last edited:

fairsimple

Senior Member
Aug 23, 2013
83
35
0
Toronto
Okay. I have downloaded it. So i have to use the windows tool first before using the linux tool?
And would the linux tool work on UBUNTU??
No windows tool needed. Ubuntu should have perl, so just connect your phone to PC (at this time your /var/log/kern.log should update and ttyUSB0 should be added), in terminal, cd to your download folder and run './qd.pl --check', or run 'perl ./qd.pl --check'.
 

mickeyasamoah

Senior Member
Jan 11, 2013
979
229
0
Accra
No windows tool needed. Ubuntu should have perl, so just connect your phone to PC (at this time your /var/log/kern.log should update and ttyUSB0 should be added), in terminal, cd to your download folder and run './qd.pl --check', or run 'perl ./qd.pl --check'.
So you saying i should use terminal to CD to the location where i have the file and run which command?
Can you pls Bold the command so that i dont type something wrong.
FYI, i dont think ubuntu recognizes the phone. Maybe i need drivers or something.
 

mickeyasamoah

Senior Member
Jan 11, 2013
979
229
0
Accra
Here is My qd result

[email protected]:~# perl ./qd.pl --check
Requesting SoftwareVersion...
SENDING: 7e 0c 14 3a 7e
RECEIVED: 0d 14 50 42 4c 5f 44 6f 77 6e 6c 6f 61 64 65 72 56 45 52 31 2e 30
Version: PBL_DownloaderVER1
Requesting Params...
SENDING: 7e 07 c7 84 7e
RECEIVED: 08 06 01 01 00 90 00 00 14 70
Params: 06 01 01 00 90 00 00
Unlocking...
SENDING: 7e 0b 00 00 00 00 00 00 00 00 2a 18 7e
RECEIVED: 03 00 06 9e 4c
Invalid Response: 03 00 06
Dumping chunk...
SENDING: 7e 09 2a 00 00 00 00 80 2f e5 7e
RECEIVED: 03 00 06 9e 4c
Response: 03 00 06
Requesting Reboot...
SENDING: 7e 0a 22 5f 7e
requestReboot send ok
RECEIVED: 02 6a d3
Param: 02

[email protected]:~# perl ./qd.pl --lreset
Requesting Reset...
SENDING: 7e 0b ab 4e 7e
RECEIVED: 03 00 06 9e 4c
Invalid Response: 03 00 06
[email protected]:~#

[email protected]:~#
 

mickeyasamoah

Senior Member
Jan 11, 2013
979
229
0
Accra
No windows tool needed. Ubuntu should have perl, so just connect your phone to PC (at this time your /var/log/kern.log should update and ttyUSB0 should be added), in terminal, cd to your download folder and run './qd.pl --check', or run 'perl ./qd.pl --check'.
So Whats the update??
Hope you have seen my QD.PL results.
Looks the same as yours.
 

fairsimple

Senior Member
Aug 23, 2013
83
35
0
Toronto
So Whats the update??
Hope you have seen my QD.PL results.
Looks the same as yours.
Yes. we got same output.

Update:

1. Thanks @Fuses who suggested to find a Riffbox to unbrick DHD, and he mentioned riffbox can do that without JTAG (only usb). So riffbox must have some good loader files can be loaded to phone via USB. I think we should find those files (e.g. MPRG7x30.hex and 7x30_msimage.mbn??)

2. I am slowly reading the discussions in [1]. I just got to page 40 so far, as my understanding, the fix of there is to catch the short time window after connect phone to usb (without battery), at that time the phone is in SD mode. If the brick is caused by bad uboot, then write a stock hboot (from RUU) will unbrick the phone. So far I got no luck to get into that mode, basically the PC detected nothing when I plugin usb without the battery in phone. Maybe that trick is only for HTC Sensation type phone, not our DHD. Can you try to plugin your phone usb without battery/sim/sd in phone and see if your PC can detect anything (tail -f /var/log/kern or tail -f /var/log/message before you plugin).

3. Another thread I am planning to learn is [2]. @darkspr1te managed to find and load 8660_MPRG.hex and 8660_msimage.MBN to make phone to sd mode, then unbricked his phone. I may try those files on my DHD if we fail to find (or build) the MPRG7x30.hex and 7x30_msimage.mbn.

4. [4] is another tool we may try. However, I don't want try this and 8660_x files since those are not listed for DHD, loading something bad may make thing worse (e.g. the phone can't go in QHSUSB_DLOAD mode??)

[1] http://forum.xda-developers.com/showthread.php?t=1522351 ([UNBRICK] HTC Unbricking Project)
[2] http://forum.xda-developers.com/showthread.php?t=1914359 ( [SOLVED]-[BRICKED]SHV-E160L Korean model )
[3] http://www.anyclub.org/2012/04/how-to-build-emmc-flash-programmer.html (How to build eMMC flash programmer MPRG7x30.hex and 7x30_msimage.mbn?)
[4] http://unlimited.io/qhsusbdload.htm
 

mickeyasamoah

Senior Member
Jan 11, 2013
979
229
0
Accra
Yes. we got same output.

Update:

1. Thanks @Fuses who suggested to find a Riffbox to unbrick DHD, and he mentioned riffbox can do that without JTAG (only usb). So riffbox must have some good loader files can be loaded to phone via USB. I think we should find those files (e.g. MPRG7x30.hex and 7x30_msimage.mbn??)

2. I am slowly reading the discussions in [1]. I just got to page 40 so far, as my understanding, the fix of there is to catch the short time window after connect phone to usb (without battery), at that time the phone is in SD mode. If the brick is caused by bad uboot, then write a stock hboot (from RUU) will unbrick the phone. So far I got no luck to get into that mode, basically the PC detected nothing when I plugin usb without the battery in phone. Maybe that trick is only for HTC Sensation type phone, not our DHD. Can you try to plugin your phone usb without battery/sim/sd in phone and see if your PC can detect anything (tail -f /var/log/kern or tail -f /var/log/message before you plugin).

3. Another thread I am planning to learn is [2]. @darkspr1te managed to find and load 8660_MPRG.hex and 8660_msimage.MBN to make phone to sd mode, then unbricked his phone. I may try those files on my DHD if we fail to find (or build) the MPRG7x30.hex and 7x30_msimage.mbn.

4. [4] is another tool we may try. However, I don't want try this and 8660_x files since those are not listed for DHD, loading something bad may make thing worse (e.g. the phone can't go in QHSUSB_DLOAD mode??)

[1] http://forum.xda-developers.com/showthread.php?t=1522351 ([UNBRICK] HTC Unbricking Project)
[2] http://forum.xda-developers.com/showthread.php?t=1914359 ( [SOLVED]-[BRICKED]SHV-E160L Korean model )
[3] http://www.anyclub.org/2012/04/how-to-build-emmc-flash-programmer.html (How to build eMMC flash programmer MPRG7x30.hex and 7x30_msimage.mbn?)
[4] http://unlimited.io/qhsusbdload.htm
I found the files mentioned in {1} which are the {MPRG7x30.hex and 7x30_msimage.mbn}. I used them with QPST but I kept getting these errors{was expecting cookies but received none} something like that.

Also I found this thread the other time, I seem to have lost the link to that thread. They are trying to create a Linux version of the Qualcomm Tools (eg QPST and the others.) I would search for the thread.

I don't have access to a RiffBox. And I don't think I would have one now(am a student you know). SO with the Riff Box Thingy, I don't think its gonna be possible.
 

mickeyasamoah

Senior Member
Jan 11, 2013
979
229
0
Accra
Yes. we got same output.

Update:

1. Thanks @Fuses who suggested to find a Riffbox to unbrick DHD, and he mentioned riffbox can do that without JTAG (only usb). So riffbox must have some good loader files can be loaded to phone via USB. I think we should find those files (e.g. MPRG7x30.hex and 7x30_msimage.mbn??)

2. I am slowly reading the discussions in [1]. I just got to page 40 so far, as my understanding, the fix of there is to catch the short time window after connect phone to usb (without battery), at that time the phone is in SD mode. If the brick is caused by bad uboot, then write a stock hboot (from RUU) will unbrick the phone. So far I got no luck to get into that mode, basically the PC detected nothing when I plugin usb without the battery in phone. Maybe that trick is only for HTC Sensation type phone, not our DHD. Can you try to plugin your phone usb without battery/sim/sd in phone and see if your PC can detect anything (tail -f /var/log/kern or tail -f /var/log/message before you plugin).

3. Another thread I am planning to learn is [2]. @darkspr1te managed to find and load 8660_MPRG.hex and 8660_msimage.MBN to make phone to sd mode, then unbricked his phone. I may try those files on my DHD if we fail to find (or build) the MPRG7x30.hex and 7x30_msimage.mbn.

4. [4] is another tool we may try. However, I don't want try this and 8660_x files since those are not listed for DHD, loading something bad may make thing worse (e.g. the phone can't go in QHSUSB_DLOAD mode??)

[1] http://forum.xda-developers.com/showthread.php?t=1522351 ([UNBRICK] HTC Unbricking Project)
[2] http://forum.xda-developers.com/showthread.php?t=1914359 ( [SOLVED]-[BRICKED]SHV-E160L Korean model )
[3] http://www.anyclub.org/2012/04/how-to-build-emmc-flash-programmer.html (How to build eMMC flash programmer MPRG7x30.hex and 7x30_msimage.mbn?)
[4] http://unlimited.io/qhsusbdload.htm
You were right. i tried to connect the DHD to the computer without battery but the kernel didnt detect the device. I even disabled automount in my ubuntu system but it still didnt work. I messed with it a bit and i was able to use a the brixfix.sh script to flash a new partition table which i found in one of the stock ruus but later found out it wasnt for the DHD.
But according to this thread you posted in the OP, the guy said
run qpstconfig and add a serial port that your device is on (see atached images)
load emmcswdownload and, make sure it's setup the same as attached image(Program Bootloaders tick, Backup NV tick, trusted mode tick, search path = location of extracted brixfix zip file, NO tick on program EMMC).
Then click download, the QPST will transfer the HEX file to ram, then enumerate again,QPST then write 8660_msimage.mmbn and the device will enumerate as a SD-CARD & comport ( Qualcomm 9025)
So i was thinking if we could do the same, we could "enumerate" the device and put it in SD-CARD mode so that it can be detected as storage when connected to linux.

What do you think?
Pls Reply as early as you can
 

mickeyasamoah

Senior Member
Jan 11, 2013
979
229
0
Accra
After messing around with some scripts and files i found on Xda, there was a file called “emmc_recover”, found in the Unbrick_Pyramid_32bit.tar which was made for unbricking the HTC sensation.

A script called Brickdetect.sh was also included in the Unbrick_Pyramid_32bit.tar file but since our DHD does not show up as a USb device or SD-Mode in order for linux to detect the partition, it just failed when i tried to run the script. It ended up with “Device can't be detected. Check connections” error.

But using these commands:
1. Cd to the location where Unbrick_Pyramid_32bit.tar has been extracted
2. chmod 755 emmc_recover
3. sudo modprobe qcserial (NOT SURE WHAT THIS DOES)
4. sudo ./emmc_recover
Now you should see this result

[email protected]:~/Downloads# sudo ./emmc_recover
emmc_recovery 0.2 usage:
emmc_recovery [OPTIONS]
-h | --help: display this help
-b | --backup
-f | --flash
-d | --device
-a | --backupafter

Copyright (C) 2012 Fuses, source released under GPL license
I entered a command like

[email protected]:~/Downloads# sudo ./emmc_recover -d /dev/ttyUSB0 -f hboot_7230_Ace_2.00.0029_20111222.nb0
=== emmc_recover 0.2, written by Fuses =====
Messing up with device /dev/ttyUSB0, ARE YOU SURE?
CTRL+C if not, ENTER to continue

Flash image file is hboot_7230_Ace_2.00.0029_20111222.nb0
Device is /dev/ttyUSB0

Press ENTER if everything is correct, CTRL+C if not

Waiting device /dev/ttyUSB0.......
Foundit!
It stayed at FoundIt and never proceeded.

I also tried something like:

[email protected]:~/Downloads# sudo ./emmc_recover -d /dev/ttyUSB0 -b /home/mickey/Downloads/backup
=== emmc_recover 0.2, written by Fuses =====
Messing up with device /dev/ttyUSB0, ARE YOU SURE?
CTRL+C if not, ENTER to continue

Waiting device /dev/ttyUSB0.......
Foundit!
Backing up partition /dev/ttyUSB0 to file /home/mickey/Downloads/backup
This also got stuck at Backing up partition /dev/ttyUSB0 to file /home/mickey/Downloads/backup

So i am thinking if we could put the device in SD-Mode, it could actually work.

Because according to this thread
He placed the device in SD-Mode by the use of QPST (windows), then moved on to use his linux tools to flash the partition table and bootloader files.

I believe we can pull this off if we find a way to put the DHD in SD-Mode.
 

mickeyasamoah

Senior Member
Jan 11, 2013
979
229
0
Accra
UPDATE:
I downloaded some xxxx.HEX files and tried flashing them. Only two of them flashed.
After flashing the first one, windows detected the phone as Fastboot XT626 NS
Picture 1

Second one was detected as USB STORAGE but it was also showing as an Unknown device under the mass storage devices
Picture 2
 

Attachments

fairsimple

Senior Member
Aug 23, 2013
83
35
0
Toronto

fairsimple

Senior Member
Aug 23, 2013
83
35
0
Toronto
UPDATE:
I downloaded some xxxx.HEX files and tried flashing them. Only two of them flashed.
After flashing the first one, windows detected the phone as Fastboot XT626 NS
Picture 1

Second one was detected as USB STORAGE but it was also showing as an Unknown device under the mass storage devices
Picture 2
Can you zip and attach the files you have, or post the link where you download them. Again I will try to use qd.pl (which should use the same MDSS protocol as QPST, but for this program we have better control:) Please also zip those files which doesn't work for you, I may also try them then.
 

mickeyasamoah

Senior Member
Jan 11, 2013
979
229
0
Accra
Can you zip and attach the files you have, or post the link where you download them. Again I will try to use qd.pl (which should use the same MDSS protocol as QPST, but for this program we have better control:) Please also zip those files which doesn't work for you, I may also try them then.
I was beginning to think you have had your DHD fixed by RiffBox or JTAG thats why you werent commenting.
Any way, i have uploaded the files.

MPRG7x30.hex and ARMPRG.HEX are the working files
The rest arent working.
 

fairsimple

Senior Member
Aug 23, 2013
83
35
0
Toronto
I was beginning to think you have had your DHD fixed by RiffBox or JTAG thats why you werent commenting.
Any way, i have uploaded the files.

MPRG7x30.hex and ARMPRG.HEX are the working files
The rest arent working.
I have no access to riffbox either so my DHD is still sleeps there:) As I mentioned in post #31, I don't want make our case worse so I think it is worth to spend a little more time to read and learn

Anyway, I will spend today to read and modify the pd.pl again and try your file then. Thanks.