[HTC Desire 500] razvangrig:
I managed to solve boot problems with broken Desire 500 HTC's (not booting, orange led blinking, vibrating 7 times etc.)

Just put your phone without battery in a ziplock bag in the freezer for 1 hour (not kidding). Let it sit for another 1/2 hour at room temperature, then insert battery and try booting into fastboot. If it doesn't work, remove battery and try again in half hour. Try until it boots, I tried about 15 times before I managed to boot into fastboot mode. So don't give up. After you manage to boot into fastboot mode, follow this guide to restore your phone functionality.

Works for:

HTC Desire 500 and maybe other HTC phones

If you are on Windows 7, skip this next step. To install ADB and Fastboot drivers on Windows 8 and 10, forum member [MENTION=7044840]kmark23[/MENTION] posted the following solution:

1. Uninstall all drivers for HTC phone

2. Install latest HTC Sync Manager

3. Connect phone in normal mode

4. Connect phone in fastboot mode (system reports unrecognized device)

5. Run regedit as administrator

6. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags

7. Right-click on usbflags, click new > key, name it 0BB40FF00100

8. Select 0BB40FF00100 and in the right window right click > new > binary value

9. Rename created binary value to SkipBOSDescriptorQuery

10. Right click SkipBOSDescriptorQuery > modify binary data, type 01 00 00 00 , click ok

11. Unplug usb cable and plug again.

12. In fastboot cmd window type fastboot devices, press enter and see if your device is listed

Connect your phone directly to the PC and don't use a USB 3.0 port, only 2.0

Links for download are down the page

Your battery should be at least 40% charged before doing this. And of course, do everything at your own risk, I am not responsible for any bricked devices.

INSTRUCTIONS:

Z4U = single sim

Z4DUG = dual sim

Download 0P3ZIMG HTC Europe or Asia for your phone (single or dual sim) and region

If you want to use the RUU files instead, your bootloader must be locked. Instructions on how to relock the bootloader are below. After that, just run the RUU file as admin on your pc and follow on screen istructions, but your phone must have the correct CID (country ID) for the region the RUU is intended for, or else it won't install. If the RUU installer force closes click here for the solution.

You can also extract the ROM file from the RUU then flash it using fastboot, just like 0P3ZIMG files in this guide. To extract the ROM file, run the RUU as admin and after the install wizard don't click nothing, just let the window opened. Click windows Start and in the search box type %temp% and go to the folder. While in temp folder, in the search window in windows explorer type rom.zip and press enter. Copy the file rom.zip to your fastboot folder and use it like 0P3ZIMG files described next in this guide.

Uninstall old usb drivers for HTC, Samsung Kies, and other similar phone software or drivers.

Download and install Java Runtime Environment

Download and install android SDK Tools. After installation is complete, a window will pop-up. Check only platform tools and Google usb driver and download.

Download and install HTC Sync Manager

Download fastboot binaries and extract fastboot-win.zip in a folder on the desktop

Browse to Program Files (x86)\Android\android-sdk\platform-tools and copy files AdbWinApi.dll, AdbWinUsbApi.dll and adb.exe to fastboot-win folder you extracted on the desktop

Reboot your pc.

1. Copy the file 0P3ZIMG for HTC Europe or Asia to fastboot-win folder on the desktop. Rename copied file to Z4DUGIMG.img or Z4UIMG.img, depending on your phone.

2. Inside the fastboot-win folder on the desktop, holding down the shift key, right click on an empty space and then click open command window here

3. Boot your phone in fastboot mode (hold Power and vol – keys)

4. Connect phone to the pc with a good data cable. You should see Fastboot usb on your phone screen and a driver installing on your pc.

5. On the command window opened earlier, type fastboot devices. A device should be listed.

6. Next, on the command window, write the following commands:

fastboot oem lock – wait for the phone to restart, and on the phone screen you should see *Relocked*

type fastboot oem rebootRUU - your phone will go to a black screen with the HTC logo

type fastboot flash zip Z4DUGIMG.zip or fastboot flash zip Z4UIMG.img, depending on your phone

wait, the process is very long. DON’T DO ANYTHING UNTIL IT FINISHES COMPLETELY

After the process is totally completed, type fastboot reboot

Done.

After restoring the whole system, if you still want to root your phone, unlock your bootloader and install ONLY this recovery and latest SuperSU:

PhilZ Touch Recovery 6.59.0

SuperSU

Java Runtime Environment

Android SDK Tools- download and install windows.exe file

HTC Sync Manager

Fastboot binaries

ROM files