HERMflasher: Open source RUU for HTC Hermes devices
Are you a Linux user tired of rebooting into Window$ to flash your device? Now you can flash your Hermes under Linux using HERMflasher: the first open source Rom Upgrade Utility for HTC Hermes devices.
Features:- Flash NBH files
- Flash raw (*.nb) radio rom files
- Dump radio rom
- Serial prompt (replaces mtty/minicom)
Usage:
Code:
# ./hermflasher -h
=== XDA-Developers HERMFlasher v1.0 by pof
=== Open source RUU for HTC Hermes devices
Usage: hermflasher [options]
options:
-F [radio|nbh] [filename] flash radio or nbh file
-r [filename] dump radio rom
-s [device] uses another serial device (/dev/ttyUSB0)
-i get device info
-v verbose mode
-p enter serial prompt (minicom like)
-d show debug information
-h shows this help message
Why did you wrote this tool?
warrio sent me his bricked SPV M3100, I found it was hanging when the RUU issued a command which required checking security (info 2, info3, task 32, etc...) but radio bootloader was responsive, so to unbrick it I needed a RUU which did not authenticate to normal bootloader prior to flashing radio through 'rtask a'. When it successfully flashed a radio, I thought I could enhance it to flash nbh files also.
Is it safe?
It has been extensively tested with several NBH files and GSM.nb files, with bootloader 1.04 and Des SSPL 1.09, never bricked a device and unbricked one

but... use it at your own risk
Can it be used in other devices?
NBH flashing is only valid for hermes bootloaders (uses 'wdatah' command) but should be easily ported to other devices such as Trinity or Artemis, if I have some time I will probably port it in the future, otherwise feel free to port it yourself.
Radio flashing and dumping will most probably work out of the box on other devices such as Universal and Magician, but I haven't tested it. Again if I have time I will try to make it more generic so it can be used on other devices too, but now it only supports Hermes.
Will it work on other operating systems?
I've only tested it on GNU/Linux... I'm not a good programmer nor a Unix guru, so feel free to send patches if you port it to other device or OS.
Zip file attached to this post contains source code & GPL license (must be logged in to download).
Enjoy!
[+]------------------------------------------------------------------------------------------------------[+]
THREAD CLOSED, GET THE NEW VERSION HERE:
http://forum.xda-developers.com/showthread.php?t=399762
[+]------------------------------------------------------------------------------------------------------[+]