yashsingh1/xdaforums huggingface dataset:
[One (M7) Q&A, Help & Troubleshooting] VBlack:
Sorry guys, I'm pretty busy currently, and couldn't continue investigation right now. According to your log - MPRG8064.bin is not right for your platform. You shouldn't see "Failed to read response." after " Executing...

". Currently this means that loader is not started...
[One (M7) Q&A, Help & Troubleshooting] John1008:
My butterfly x920d has the problem of QHSUSB_DLOAD.

Can I change some files in your package than use for my butterfly?

If can,please tell what should I replace,I have the stock RUU

Thank you!!
[One (M7) Q&A, Help & Troubleshooting] ramueswaran:
sudo ./revive.sh command not found

when i tryed to unbrick htc one m7

afte entering command sudo ./revive.sh

it says command not found
[One (M7) Q&A, Help & Troubleshooting] jorzavfa:
revive.sh

where to i get this file revive.sh, thanks
[One (M7) Q&A, Help & Troubleshooting] Avram Ionut Bogdan:
Guys you saved my life (with special thanks to Dexter) . . . had engHboot on a HTC ONE M7 Sprint and after a firmware update I hard-brick my devices. Fortunately I saw in windows that it was trying to install some drivers (QHSUSB_DLOAD) and searched all over the internet on how to unbrick my device until I found this thread. Even though I saw that this process was for HTC ONE M7 UL or in general for the GSM version, I still gave it a try. Installed Ubuntu 12.04 32 bit on a USB drive, saw that my partitions are getting mounted when I connect the phone to the laptop (even though not all of them could successfully be mounted) so I tried to run the script. When I ran the script I saw that it was going to use the firmware 4.19.401.11.zip so I interrupted the process (with CTR+C when it was saying that I can) and after that I replaced the 4.19.401.11.zip firmware with a firmware from sprint and named it the same. After that I executed the script one more time but this time the 4.19.401.11.zip firmware was actually a sprint firmware. The hole process ended successfully and my devices has been unbricked. So for those of you who are having the same problem on Sprint HTC M7, I guess that they could follow the things that I did and unbrick their device.

If any of you have any questions ore want more info I would gladly answer to you. Good luck guys ;)

Good luck to you guys also ;)
[One (M7) Q&A, Help & Troubleshooting] Jaytrhe:
Virtual Linux Machine?

Has anyone had any luck using this in a VM? I had to use a Dload filter in virtualbox but the script couldnt detect the device. Dmesg and lsusb did have output...but not ttyusb for dmesg, and lsusb listed a tablet

---------- Post added at 05:05 AM ---------- Previous post was at 04:59 AM ----------

try running the command by pointing it directly to the folder you extracted. You can do that with this command : cd ~/"Folder's full path" (no quotes unless a folder in the path has spaces in its name)

Once your terminal changes directories, you can then run the command with the sudo preface
[One (M7) Q&A, Help & Troubleshooting] Jaytrhe:
VM

[MENTION=2709464]dexter93[/MENTION] are vm's supported? wasnt lucky with Ubuntu VM (couldnt find device) neither could the .qy script from vblack. No ttyusb output from dmesg either

---------- Post added at 08:13 AM ---------- Previous post was at 07:51 AM ----------

Don't mean to be a bother but has anyone here had success using this with a device that had a custom recovery at the time of brick?

---------- Post added at 08:38 AM ---------- Previous post was at 08:13 AM ----------

the firmware packaged is .401 , and i was flashing an updated firmware for my 4.18.502.7, phone is still m7_UL but firmware is dif. Whats your take on proceeding as is with the scrpt?
[One (M7) Q&A, Help & Troubleshooting] Avram Ionut Bogdan:
I know that 502 is for M7_UL but for Cingular carrier. I don't think that there is a problem if you use the script as it is (since both are M7_UL devices) so the hardware is the same that making me think that it's the same hboot, tz, sbl2 and sbl3 images (my guess). In any case do this only if you are S-OFF (and also it doesn't matter if you brick your devices having a custom recovery).

After running this script you will be able to boot the bootloader so you can flash after a RUU to be sure that everything is AS IT SHOULD BE (including the restoration of your firmware). If you do not have S-OFF and you flash a the script as it is (coming from an EUROPE RUU) then you might not be able to flash a Cingular RUU and have the advantages of your carrier (specific apps I presume).

I am not sure of what versions of hboot the firmwares have but I am pretty sure that 4.19.401.11 and 5.11.401.10 have the bootloader higher than 1.55 so no free of charge S-OFF at the moment.

By the way, does anybody now how can I force a working M7 to go into the qhsusb_dload ? Or maybe can anyone tell me what known scenarios are there that make an M7 go into qhsusb_dload ? At the moment the phone is S-ON and LOCKED and if needed I can only UNLOCK the bootloader.
[One (M7) Q&A, Help & Troubleshooting] Jaytrhe:
Thanks for the info. Im currently trying to wrap my head around this. What seemed odd (or now does) is that my M7 had hboot 1.55 but the radio was 4T.20 and not 4.T.24 from the 4.x.502.x7 OTA. I bought the device secondhand and the poster listed it was the international version (unlocked with att firmware) ...Moving on now, does it matter if i had the stock ROM installed at the time of brick? I was running Viperone if that makes any difference. And with the hboot i had, should i still proceed with the unbrick as is?
[One (M7) Q&A, Help & Troubleshooting] Jaytrhe:
Correct mode?

I ran the script on an Ubuntu VM but the device couldnt be found. So i checked dmesg and lsusb and here are my results attatched. Is this the proper mode to be in for the script to work?
[One (M7) Q&A, Help & Troubleshooting] Avram Ionut Bogdan:
From what I see the device is in the proper mode. Just to be sure, is it trying to mount the phone partitions on Ubuntu (this is what it was trying to do for me so I didn't checked anything else). And I recommend you to make an Ubuntu 12.04 Live USB (don't think that the VM will work well).

And regarding the number of the Hboot, I had on my sprint the latest OTA with android 4.4.2 and still had hboot 1.44. If you are S-OFF you can have any hboot you want. And it doesn't matter what rom you were on when it bricked because QHSUSB_DLOAD is an emergency mode and it has nothing to do with the rom or anything else.

Good luck ;)
[One (M7) Q&A, Help & Troubleshooting] Jaytrhe:
Im not sure if it was trying to mount as the only thing i noticed was the devices general activity on the VM's usb icon. Currently downloading 14.04.1 LTS 32-bit so i can create a live cd. Would 12.04 be a better route? Also for the live USB should i disable automount or leave as is?
[One (M7) Q&A, Help & Troubleshooting] Jaytrhe:
[MENTION=2709464]dexter93[/MENTION] Thanks for your hard work!!!! The tool worked great!!
[One (M7) Q&A, Help & Troubleshooting] Jaytrhe:
I had a similar situation happen with Oracle's VM. lsusb did give me an output however. It was recommended that I create a live USB of Ubuntu 12.04 and it worked. Try that option.
[One (M7) Q&A, Help & Troubleshooting] Jaytrhe:
The device is supposed to be recognized as mass storage device (see image below). You aren't in the proper mode for the script to work properly, but there may be a resolve for the issue. I remember seeing something about it in the thread. I'll try to find it for you, in the meantime does anyone know how to get his One out of this mode?
[One (M7) Q&A, Help & Troubleshooting] i9snyd3r:
HTC ONE M7 changed "Qualcomm Mode" after "unbrick"

Hey,

recently I buy a HTC One M7 (Vodafone) on Ebay (without warranty) . I unlocked the Bootloader via HTC DEV, install root and twarp. After that I want to set my Phone S-Off because I want to change my CID (HBoot 1.57 >.>) .

After I´m running rumrunner my HTC got bricked with the typical "dead" symptoms.

Windows only recive the QHSUSB_DLOAD Mode. So i found this thread and follow the instructions (Ubuntu 14.04 32-bit) and run ./revive.sh with success (was detected in QHSUSB_DLOAD Storage Mode).

But after the progress my phone was not unbricked and everything was the same as before, exept the QHSUSB_DLOAD Mode has changed to Qualcomm. Inc. Gobi Wireless Modem (QDL mode).

I hope there is a way to save my phone :/

I really don´t want to disassembly it.

Thank you for the help :)
[One (M7) Q&A, Help & Troubleshooting] clsA:
Seems your Motherboard is dead .. sorry, find another phone
[One (M7) Q&A, Help & Troubleshooting] jamalsarwar:
Thansk a lot brother dexter93

Love you brother you saved ma HTC M7 really it worked like a charm you saved it thanks again bro wish i could do something for you in return again big thanks bro. i followed all steps just added lill change to help others downloaded Ubuntu from torrent ;) and make its boot able USB Software (Universal-USB-Installer-1.9.5.9) just boot from USB and download m7 files and flash them saving tym and data Steps:

0: Download Ubuntu from offical site or use torrent for free

1. Burn Ubuntu on USB (8gb recommended) using Universal-USB-Installer-1.9.5.9 Software free of cost

2. Boot Ubuntu from USB

3. Ubuntu Menu not to install it just try it .

4. Good to go you are in Ubuntu OS

now follow dexter93 brothers steps and your htc will be alive big thanks to dexter93.. be blessed
[One (M7) Q&A, Help & Troubleshooting] blub3k:
Any solution to Qualcomm USB Modem converter mode yet?
[One (M7) Q&A, Help & Troubleshooting] G0DKING:
Nope, not yet.
[One (M7) Q&A, Help & Troubleshooting] Jonnes:
Unbrick Project on Cygwin

Hi,

I used an AT&T One in China.

The phone went bricked when I flashed wrong firmware. Now it can be recognized as a Qualcomm emmc device in Windows but in Linux can't.

Seems to be dead :(

But in Windows it can be!!!!!!!!!!! So why don't have a try? Unbrick Project can only be used in Linux, how to do?

I reminded of Cygwin!!!!!!!!!!!!!!!!!!!!!!!!

Is it possible to run it on Cygwin? I'd love to have a try, but mine is sent to repair.

Sorry for my bad English.

Waiting for your response.
[One (M7) Q&A, Help & Troubleshooting] ragnarlothbrok:
HTC M7 Qualcomm HS-USB QDLOADER 9008

My phone was working perfectly, it restarted suddenly and after that my stock rom was corrupted, i factory reset it from bootloader, but it stucked in bootloop, so i tried to find stock rom but for my phone PN07140 i couldn't find any, then i flashed cm12 , it was having bugs and again restarting problem, then i flashed android revolution rom, and again restarting problem and finally it turned off, tried button combinations but they were all in vain, connected to my laptop and driver installed when i saw in device manager in ports there it was Qualcomm HS_USB QDLOADER 9008. Then with lots of searching i found your thread, tried with ubuntu, but device was not detecting, then tried qpst, with bin and hex files. still no end, then pythin script didnt work, tried for jtag they unsealed my phone but that try was also in vain because they have not the files of my phone, then i got to hardware repair i checked its ram all hardwares are working fine, in ubuntu is show Qualcomm cdma wireless modem ttyusb. Im hoping that you fill find some solution and save us from this hell.
[MENTION=2709464]dexter93[/MENTION].

Appreciated your work though, thank you!
[One (M7) Q&A, Help & Troubleshooting] Simpleusername:
Any love for Linux ignorant...?

Hello guys, glad this is a working fix. However, I'm illiterate regarding Linux, Is there ANY way this fix could be run on a window machine....
[One (M7) Q&A, Help & Troubleshooting] Grown:
Unbrick htc one m7

Hi Dexter and guys. Help me please.

Phone: HTC One M7 T-mobile

My phone is defined as "Qualcomm HS-USB QDLoader 9008" and "qhsusb_dload" in windows7.

When I write command "watch -n.1 lsusb" in Linux phohe is defined as "Qualcomm. Inc. Gobi Wireless Modem (QDL mode)". Is it possible to resurrect my phone? Please write me what to do in details. Thank you.

Sorry for my English. I'm from Ukraine.
[One (M7) Q&A, Help & Troubleshooting] Hesster:
No, I'm afraid your phone is fried.

I went through the process with my bricked M7 yesterday and got the same result.

Waiting on the replacement device.
[One (M7) Q&A, Help & Troubleshooting] JhonCc:
I can't

Hi, [MENTION=2709464]dexter93[/MENTION]

I have a HTC ONE (M7), bricked... no leds, and black screen

when I do all of steeps, i have this problem

HTC Unbricking Project M7_UL 0.5beta

Detecting bricked device..

Device can't be found, check connections. Aborting

what can I do..

sorry for my inglish... :(:(
[One (M7) Q&A, Help & Troubleshooting] Hesster:
Is it detected in Windows? If you plug it in, does the computer make a sound telling you a USB device is connected?

If so, connect it to your Linux box type "sudo lsusb" into the command window without the quotes. It will throw up a few lines after you hit enter. If one of them references a Gobi wireless modem you're screwed.
[One (M7) Q&A, Help & Troubleshooting] blue_beyond:
Bricked HTC One M7 801n.

How about it now?

I have same problem like yours. the script only proceed one MMC storage had been found.

I doubt that our handsets were damaged in a different way.
[One (M7) Q&A, Help & Troubleshooting] JhonCc:
Yes... is detected in Windows as QHSUSB_DLOAD

Im screwed...

lsusb says:

root@ubuntu:/home/ubuntu/Desktop/revive/Unbrick_M7_UL# lsusb

Bus 002 Device 003: ID 058f:6366 Alcor Micro Corp. Multi Flash Reader

Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 001 Device 005: ID 5986:0294 Acer, Inc

Bus 001 Device 004: ID 147e:1002 Upek Biometric Touchchip/Touchstrip Fingerprint Sensor

Bus 001 Device 011: ID 05c6:9008 Qualcomm, Inc. Gobi Wireless Modem (QDL mode)

Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

Bus 003 Device 008: ID 192f:0416 Avago Technologies, Pte. ADNS-5700 Optical Mouse Controller (3-button)

Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

so... can i do something ??
[One (M7) Q&A, Help & Troubleshooting] jamalsarwar:
@ JhonCc Sorry to say bro same here tried almost everything every tool on internet no way to get back HTC m7 to emmc mode :crying: for me i must say it is time to make it real brick with hammer :o seriously I'm done! with this phone :(
[One (M7) Q&A, Help & Troubleshooting] Nickw1978:
Question

I have brought HTC one m7 from 1.20 firmware to 5.xx and I have never had a problem until the other day. What changed??
[One (M7) Q&A, Help & Troubleshooting] Nickw1978:
Roll back

I have taken many htc m7 devices from 1.57 hboot back to 1.43 hboot and version 1.20, I always used the htc euro full ruu after s-off and changing mid to PN071000 and cid to HTC__001, I have never had a problem until this last one that failed and now its stuck in Qualcomm USB Diagnostic Mode (Com7) I am still not sure if its totally bricked.
[One (M7) Q&A, Help & Troubleshooting] martin1984:
HTC One M7 BRICKED

Hi I have an AT&T M7. Some days ago I arrived to my home and I was listening music with the phone and I had the mobile data connected.

I left the phone over a table but I forgot to stop the music. The battery was over 30%.

But later, when I tried to use the phone I found that the phone was off.

Connected to the wall charger I didn't get any response. So I tried to connect to my pc and the pc recognized the phone as QHSUSB_DLOAD.

Now I'm trying to get my phone back to life with [MENTION=2709464]dexter93[/MENTION] method. But I've a doubt about this...

root@ubuntu:~/Downloads# sudo sh ./revive.sh

./revive.sh: 2: ./revive.sh: [[: not found

./revive.sh: 5: ./revive.sh: [[: not found

HTC Unbricking Project M7_UL 0.6beta

Detecting bricked device..

./revive.sh: 13: ./revive.sh: [[: not found

Accessing device on /dev/

Gathering data

================= emmc_recover 0.4 alpha 1 ==========================

Waiting device /dev/1.......

How much time take this process "Waiting device /dev/1"? Because there have passed more than 2 hours and the status is the same.

Maybe this is the time that normally takes nut just in case I wan't to know different opinions.

I've the same problem in three different pc
[One (M7) Q&A, Help & Troubleshooting] fasadif:
Not correct partitions in my linux

Attached is what I get from the command in my linux: Qualdcom, Inc.

And when check for partitions only get from sda to sda5 and sr0.

So it is deffinetly not in the mode the software needs... the question is... is it possible to change it into the mode we need? or it is deffinetly dead without resurrection options?
[One (M7) Q&A, Help & Troubleshooting] CrazyKoT:
Hi. Can you please look through the issue I have with my HTC One and give an advice if possible?

On the 8th of the March I got a notification on the phone about an update - Android 5. I didn't have normal wireless connetion to download it, so I just ignored it. Maybe it's coincidence, but on the same day began problems.

A lot of applications errors (htc sense input errors, chrome, gallery, play market, etc.), phone is rebooting constantly. The most weird thing is that after rebooting phone restores it's conditions of the 8th March - all settings, photos, calls history, messages. For example if called someone today, installed application, changed brightness settings - everything goes back to 8th March conditions - no calls done today, no application installed, no settings changed.

Factory reset is not working neither from phone settings menu, nor from bootloader. By trying to do so phone is rebooting, image of the phone with red triangle opens - if I enter nothing, phone is rebooting and I again have "8 March phone", I can go from there to recovery menu pressing vol+ and power. But also in recovery mode neither wipe nor factory reset works. Actually I have the message, that everything is done, but after rebooting I have my "8 March phone" back with all data I had on this date.

I can't download Android 5 update while during downloading phone is rebooting. Wanted to flash another recovery/rom/firmware, but I can't unlock bootloader - everything goes well until I'm asked to comfirm unlocking. I choose "Yes", phone is rebooting, red triangle appears and nothing happens (I can enter though recovery mode, but as written above this does not help).

Device

Codename: m7

Model: HTC One 801s

Hboot: 1.57.0000

CID: HTC__621 MID: PN0714000

Radio: 4T.28.3218.04

Project: M7_UL_K443_SENSE60_MR

More info about the device

Security flag: н/д

Bootloader: н/д

Recovery: н/д

Superuser: unavailable

Busybox: unavailable

Kernel: Linux version 3.4.10-g40b189c (and@ABM104)

More info about the ROM

Android version: 4.4.3

HTC Sense: 6.0

SDK: 19

ROM version: 6.09.709.7 CL366813 release-keys

Product: 6.09.709.7
[One (M7) Q&A, Help & Troubleshooting] paakiitoo:
device not detected

Device not detected.. any help?

Tried 2 diff cables

4 diff ports...
[One (M7) Q&A, Help & Troubleshooting] majmoz:
You have not provided enough information to help you! Take a look at this post to see if you need to fix your drivers. Information needed would be model phone, what you were doing or attempting to do, which ROM, S-ON or S-OFF, etc.
[One (M7) Q&A, Help & Troubleshooting] paakiitoo:
device can't be found?

I tried to sudo ./revive.sh since my HTC One m7 is bricked, i've tried now on my laptop and it does recognize the device but it keeps saying

Device can't be found, check connections. Aborting:confused:

View attachment 3220939

View attachment 3220940
[One (M7) Q&A, Help & Troubleshooting] clsA:
Your phone is recognized as Gobi wireless Modem ..this tool won't work for you

..sorry you need a new motherboard or phone
[One (M7) Q&A, Help & Troubleshooting] ferrakkem:
[UNBRICK PROJECT] Device can't be found for HTC One M7

ferrakkem@ferrakkem-G41M-Combo:~/Desktop/UNBRICK/Unbrick_M7_UL$ sudo ./revive.sh

[sudo] password for ferrakkem:

HTC Unbricking Project M7_UL 0.6beta

Detecting bricked device..

Device can't be found, check connections. Aborting

ferrakkem@ferrakkem-G41M-Combo:~/Desktop/UNBRICK/Unbrick_M7_UL$ sudo ./revive.sh

I ama getting these message. Please help urgently. What to do in this case?
[One (M7) Q&A, Help & Troubleshooting] ari4788:
HELP!!!

i'm a noob i know nothing of what is being said here.

Can someone please elaborate?? it will be of really great help for me.

I have an HTC One (M7) (GSM) which is hard bricked, shows up as QHSUSBDLOAD in device manager in windows.

i never rooted my phone or anything.

IM A NOOB SO PLEASE EXPLAIN TO ME IN DETAIL.

I have never used linux or Ubuntu.

Thank You.
[One (M7) Q&A, Help & Troubleshooting] dsamivai:
My htc m7 international stuck on bootloop few days ago.It was running by stock rom kitkat 4.4.2 and hboot 1.57.My phone was S-ON also.Then i flashed twrp rerecovery and the Android Revolution HD 91 custom rom on it.But after flashing rom when i disconnect usb my phone start rebooting and bootloop again.I tried few timess and few roms but the same problem happened.And without conneting usb and flashing rom also does same problem..What can i do now? please help me :(
[One (M7) Q&A, Help & Troubleshooting] lobl:
Hi worked lick a charm ,10x

You saved my phone
[One (M7) Q&A, Help & Troubleshooting] goitalone:
Bricked HTC ONE M7

Need help unbricking
[One (M7) Q&A, Help & Troubleshooting] Anuima:
Hard Bricked HTC One m7, need help for a noob!

Currently my phone won't turn on, and the led won't turn on when plugged in/ charging. The phone became like this after an interrupted flash. I hope that for this reason there is no hardware issue. My PC also recognizes the device as QHSUSB_DLOAD.

I was wondering if I could get some help resolving this issue. I don't have any experience with Linux, and I'm a noob,

but I'd greatly appreciate any help :)

I would rather try this process than send my phone in for a JTAG service, as the warranty is up.
[One (M7) Q&A, Help & Troubleshooting] ashtic:
Hi dexter93,

Is it possible for you to make or release the unbricking package for the HTC One M8 by any chance?

I have a bricked HTC M8 and after searching for a solution, the only thread that gets really close to a precise solution is this one, but unfortunately there is no version of the project for the M8. I would really appreciate it if you could help me revive my phone.

Thanks in advance and congratulations for this legendary project.
[One (M7) Q&A, Help & Troubleshooting] 92lleo:
Device not found

I tried your project today, didnt work for me.

Strange thing is: The bootloader wasnt even unlocked. I think the problem came from an ota update. this is the output from revive.sh and dmeg:

And this

HTC wont fix it, because the display is broken. :/
[One (M7) Q&A, Help & Troubleshooting] adesloop:
HELP ME. My M7 is showing Cant find device after

HELP ME. My M7 is showing Cant find device after i types sudo /.revive.sh

Please do i need to first set up htc driver on ubuntu?

Dexer Please come back to this thread. Please Senoir member plz help me