yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Software Development] gracy_elec:
need help urgently

my model spv 3100 while flashing got bricked,now when i hold power & ok keys it goes only in bootloader mode plzzzzz help & when i am using this soft it gives this error /dev/ttyUSB0: No such file or directory

[!!] Can't connect to /dev/ttyUSB0

=== HTCflasher v3.1

=== Open source RUU for HTC devices

=== (c) 2007-2008 Pau Oliva Fora

Usage: HTCFlasher [options]

options:

-F [filename] flash NBH file

-D [device] use another serial device (default: /dev/ttyUSB0)

-i get device info

-p enter serial prompt (minicom/mtty like)

-v verbose mode

-h shows this help message

usr\HTCFlasher-20080806\src>HTCFlasher -D

=== HTCflasher v3.1

=== Open source RUU for HTC devices

=== (c) 2007-2008 Pau Oliva Fora

HTCFlasher: option requires an argument -- D

Usage: HTCFlasher [options]

options:

-F [filename] flash NBH file

-D [device] use another serial device (default: /dev/ttyUSB0)

-i get device info

-p enter serial prompt (minicom/mtty like)

-v verbose mode

-h shows this help message

\usr\HTCFlasher-20080806\src>HTCFlasher D

=== HTCflasher v3.1

=== Open source RUU for HTC devices

=== (c) 2007-2008 Pau Oliva Fora

/dev/ttyUSB0: No such file or directory

[!!] Can't connect to /dev/ttyUSB0
[Windows Mobile Software Development] gracy_elec:
need help urgently

my model spv 3100 while flashing got bricked,now when i hold power & ok keys it goes only in bootloader mode plzzzzz help & when i am using this mttysoft it gives this ,how to solve this problem

Cmd>

Cmd>info 8

Block 0x0(0) is Reversed block

Block 0x1(1) is Reversed block

Block 0x2(2) is Reversed block

Block 0x3(3) is Reversed block

Block 0x4(4) is Reversed block

Block 0x5(5) is Reversed block

Block 0x6(6) is Reversed block

Block 0x7(7) is Reversed block

Block 0x8(8) is Reversed block

Block 0x9(9) is Reversed block

Block 0xA(10) is Reversed block

Block 0xB(11) is Reversed block

Block 0xC(12) is Reversed block

Partition[0], type=0x20, start=0x2, total=0x18FE

Partition[1], type=0x23, start=0x1900, total=0x1900

Partition[2], type=0x25, start=0x3200, total=0x1AE00

Partition[3], type=0x4, start=0x1E000, total=0x1C800

CE Total Length(with sector info) = 0x3CF0000

CE CheckSum Length(without sector info) = 0x3C00000

Cmd>info 7

HTC Integrated Re-Flash Utility, Common Base Version : 1.51d

Device Name: HERM100, Bootloader Version : 2.03

Built at: Jun 16 2007 01:57:22

Copyright (c) 1998-2006 High Tech Computer Corporation

CPU ID=0x41129200

Main CPLD version=0x5

Upper CPLD version=0x4

Main Board version=0x6
[Windows Mobile Software Development] 1337hium:
thanks for this great tool, searched ages for this :)
[Windows Mobile Software Development] codeslicer:
any luck

Anyone have any luck getting this to work with diamond on ubuntu? I get the -5 error from the ipaq module on ubuntu, when in bootloader.

~codeslicer
[Windows Mobile Software Development] rgallo:
I have an htc hero ... can I safely use this program ?
[Windows Mobile Software Development] FoxDie87:
In my HTC Touch with hard-spl happens the same. Any solution? Thanks
[Windows Mobile Software Development] FoxDie87:
This is what happens

This is where it hangs:

code = f428cf9a5

pastebin/code

I cannot post external URLs :(
[Windows Mobile Software Development] ZeGuido:
Rom flshing a Polaris100

Hy,

I'm thinking to try to flash my polaris with the newly released Android (on Nand) but as it will wipe out WM, I wan't to make sure I'll be able to get it back. I don't have a Windows set up, so I would use HTCFlasher from uBuntu. I'd like to dump the WM ROM I have now in my Polaris100 (official WM) to make sure I can flash it back. Is there a Linux ROM dumping tool I could use to have this ROM ?

THX
[Windows Mobile Software Development] DaveShaw:
Not that I know of, but the ROM your Polaris will probably be posted on xda-devs somewhere by now (unless the carrier never released it).

Failing that, can you just borrow a Windows PC from someone, Dump the ROM, and archive it for another day :).

Dave
[Windows Mobile Software Development] ZeGuido:
THX for your reply. Too bad.
[Windows Mobile Software Development] cociuba:
does it work now with older devices like the htc blueangel?
[Windows Mobile Software Development] Nokser:
List of supported devices

HTCflasher has been tested on the following PocketPC devices:

* HTC Hermes: works on SPL versions >= 2.x

* HTC Trinity: works on all SPL versions

* HTC Kaiser: works on all SPL versions

* HTC Shangrila (Shift): works on all SPL versions

* HTC Polaris: works on all SPL versions

* HTC Elf: works on all SPL versions

* HTC Artemis: works on all SPL versions

* HTC Nike: works on all SPL versions
[Windows Mobile Software Development] cociuba:
Rom Upgrade for the HTC Blueangel in Ubuntu:

1.install virtualbox from there site

2.acces usb from vbox (google usb fix for vbox)

2.install windows in virtual box

3.install activesync and attach usb

4.use MaUpgrade Utility

Enjoy

ps: i hope that someday i will be able to upgrade directly from linux with your program, or even better i would like an android phone :)
[Windows Mobile Software Development] AlCapone:
I'd like it to work with HTC Rhodium (Touch Pro2)

, but I had no luck making Rhodium stay in "USB" mode.

please tell me if there's something I can do to help testing this .. or do you *know* that it won't work ?
[Windows Mobile Software Development] DaveShaw:
Hmm, just putting it in Bootloader Mode and connecting to the PC should do it.

Maybe it requires some communication from the PC to keep in USB mode.

My Kaiser Hard SPL always says Serial, but still works ;).

Dave
[Windows Mobile Software Development] AlCapone:
ah !- thanks, it seems more likely that it can work.. I'll try again and let you know exactly what's happening.
[Windows Mobile Software Development] AlCapone:
When I connect HTC Rhodium to the PC in bootloader mode I see:

Bus 006 Device 003: ID 0bb4:00ce High Tech Computer Corp. mmO2 XDA GSM/GPRS Pocket PC

but there is no new /dev/ttyUSB* device..

At first the HTC says serial, but after a while it says USB, - but it does not help, I do not see the device.

A normal USB<>RS232 adapter is enumerated properly.

This is with current Ubuntu 10.04LTS beta. 32bit.
[Windows Mobile Software Development] DaveShaw:
Sorry, but I'm a MS FanBoi, so you'll have to hope some Linux Guy picks this up and can help.

Dave
[Windows Mobile Software Development] rocker2344:
all arch deb install

i got your source and made it into an all arch deb install. just to make life easer

just extract the zip and run the deb!
[Windows Mobile Software Development] elkim:
Hello,

I'm on Ubuntu 64bit 10.04. I just installed this deb in .zip

My phone is HTC HD2 with HSPL 2.08

The prog is installed. It starts. But it does not work. When I click "get device info" (after having made yes for show debug info) :

SEND: [info 2]

GET:

[

]

[] Can't find HTCS/HTCE block

Is this compatible or something to do?

Thanks
[Windows Mobile Software Development] rocker2344:
you need to be in boot loader mode

"To place the HD2 into Bootloader mode, remove the HD2's back cover hold down the volume down key, now press in the red reset button under the back cover to the bottom left of the SIM, release the soft reset button but continue to hold the volume down key in until you are presented with the tri colour bootloader screen. To exit Soft Reset the device."

Edit**********

woops i read wrong... um i would say that this is an old project. i dont think your phone is on the list. but it should still work. but if not.... have a windows friend near by
[Windows Mobile Software Development] AlCapone:
yep, but it does not work in bootloader mode, no ttyUSB* device .. - the bootloader says "USB" - but I cannot see the device in the OS

- flashing from SD card works great - that saves my day.
[Windows Mobile Software Development] rocker2344:
that is nice to know. hd2 does not work with htc flasher.. one would think it would.
[Windows Mobile Software Development] AlCapone:
I tested TP2 - in case you thought I have a HD2 :)
[Windows Mobile Software Development] kachman:
Hi, i have htc excalibur which only goes in bootloader and i think it Spl dont allow gold card method. if i use your tool to get model id and cid info from my phone, will that help me know which stock rom i should use to revive my phone? If yes, pls attach a copy of compiled version for windows. I have been tryin to revive my phone with all kinds of stock roms i could get my hands on, but they all giving me vendor and cid bull
[Windows Mobile Software Development] arjunkumar:
htc flasher

sir i want htc flassher please help me step by step
[Windows Mobile Software Development] famewolf:
I am a linux only user and would like to use htc flasher to flash my T-Mobile HTC HD2.....is there information I can provide you to get it in the list of supported devices? Have you abandoned this project? I notice no activity since several months back.
[Windows Mobile Software Development] AlCapone:
Get a 2GB MicroSD

It's actually faster/easier to copy the ROM file to the SD, then upgrade from SD - by renaming previous verions, you can easily keep a nice collection, this is how my upgrade-SD looks like ..

Using TP2 - I just insert the SD, power on the device while holding volume-down depressed, then just press power to flash.

Nice'n'smooth :)

andre@Loke-2:/media/ROMUPDATES$ ls

14-Energy.RHODIUM.21914.Sense2.5.Aug(great).22

14-RHODIMG.nbh

15-Energy.RHODIUM.21914.Sense2.5.Aug(GOOD- free RAM).25

15-RHODIMG.nbh

16-Energy.RHODIUM.21914.Sense2.5.Aug.28(great)

16-RHODIMG.nbh

17-Energy.RHODIUM.21916.Sense2.5.Reference.Sep.08(Lots of RAM)

17-RHODIMG.nbh

18-Energy.RHODIUM.21916.Sense2.5.Sep.18

RHODIMG.nbh
[Windows Mobile Software Development] janneman22:
Any way to custom this (skin etc)? It will be nice if a cooker can customize the RUU:rolleyes:
[Windows Mobile Software Development] famewolf:
I apparently need to upgrade something because putting LEOIMG.nbh in root of SD and holding vol down and power never gives me options to flash from. SD.

Sent from my HTC HD2 using the XDA App
[Windows Mobile Software Development] l1q1d:
Did anyone succeded in using it on mac osx?
[Windows Mobile Software Development] AlCapone:
With device off, you are supposed to hold vol-dn, while switching it on.

You should see a colorful bootloader, if it detects a microSD with the ROM (max 2GB SD) - it will give you the option to flash.
[Windows Mobile Software Development] tiger2wander:
To Flash from SDCard please ensure your card have FAT32, else it will not work.
[Windows Mobile Software Development] rocker2344:
ok i am still working on this:

i will make post on the status at http://ADITLFAI.COM

Since 10.10 it no longed worked for my Diamond.

I know for sure it will work for 32 bit but some old dependency must be met, i will also work on those

i wish you guys will also help in working on this

I have Compiled a working one. Fresh ubuntu 10.10 amd64, right now the package has 2 requirements. they are 32bit libs, future releases will no longer need them.... i hope
[Windows Mobile Software Development] AlCapone:
Hi, I have been asking for such application, but since Desire HD came out, I switched to Android.

I see no future in a windowsmobile 7 that seems to try to copy apple's strict control/censorship , so I switched permanently.

I wish you good luck, and I am sure more people will find this tool very useful.
[Windows Mobile Software Development] rocker2344:
Well i only got 1 month of my phone, but i will try and keep this alive, for future phones
[Windows Mobile Software Development] rocker2344:
I got my evo. Still have the diamond. Will keep building.
[Windows Mobile Software Development] rocker2344:
Update 2

Hey guys just here to tell you that i got it working (with sudo) in ubuntu 10.10 x86_64

http://aditlfai.com That url will show everything i plan to do. I will not have My Diamond soon, gona give it to my Friend who had her phone stolen. but it does work.

Expect a repo/svn latest sunday for

SVN: source

Repo: Source/binary for 10.04 + 32bit and 64bit
[Windows Mobile Software Development] bulanula:
Guys + pof : I BEG you make this work with my Leo HD2 as it really is my only choice as I just cannot get hold of a Winblows machine in my position.

Thank you !
[Windows Mobile Software Development] aramadsanar:
can this tool being a .NET refrence?
[Windows Mobile Software Development] asim.sidz:
Hey!

Hi,

Glad to see that i'm late by 3 years but still the thread is not closed. I have an HTC Magician/I-Mate JAM and i want to flash it with one of the Cotulla's ROMs via Ubuntu. The ROM consists of a .nbf file. Will it be possible to flash it?

Or is it possible to convert a .nbf to .nbh?
[Windows Mobile Software Development] LarryBoyG:
Just found this, I know its a little late in the game but i found a windows 8.1 RUU for an HTC One M8. Could i use this to flash a windows NBH file on the device? Just wondering :rolleyes:
[Windows Mobile Software Development] skooter32:
hi i got windows 10 a need to use this but i like an interface as above but cant find help?
[Windows Mobile Software Development] xplode:
Hey Pof can you make it work with older devices like Himalaya, Blueangel, Wizard Universal ... and so on which use older rom image formats?
[Windows Mobile Software Development] Soul_Est:
This was exactly what I needed to break my dependence on windows or WINE in order to produce ROMs. Great work and I'll definitely working the program through on Mac OS X.
[Windows Mobile Software Development] ivanmmj:
Flashing a Herald with a ROM smaller than 50mb through the RUU flasher does not work, but it works if you flash it through SD cards. I haven't exactly figured out if this is a limitation of the SPL or the RUU. Do you by any chance know if this flashing would get around this limitation?
[Windows Mobile Software Development] xandr115:
Exciting news! Hopefully this will mean I don't need to boot into bootcamp to get my flashes :-)

Any hints on how to compile this for OSX (Intel Machines)? Thanks in advance!
[Windows Mobile Software Development] pof:
Great :)

Not at the moment, but it's on my schedule for future releases.

Try it, if it's a limitation from the HTC RUU then it will work (I haven't put such a limit of corse), if it's a limit on the SPL it won't.

You need to install the developer tools to have gcc on your mac, then just run "make" in the source dir, this will build the command line tool. To use the graphical GUI you need to install zenity for MacOS X, which you can get from here or here or here.
[Windows Mobile Software Development] thenext1:
I tried this on my ubuntu 64 box to my HTC StarTrek (qtek 8500) ... tried to "get device info", and after a while the phone screen turned from the usual tri-color screen to the flashing screen (and my skin turned pale :D ) then it rebooted and WM started up. My skin was pink again :D .

HTCFlasherGUI said an error occurred and it couldn't communicate to my device.

Also tried the CLI with -p option, but it doesn't accept any command, saying to press "?" or "h".

Device is supercid, bootloader (IPL & SPL) 4.01.0000, and it too uses NBH files for flashing, so it should work... or not?

EDIT: also, when I quit the GUI, HTCFlasher stays stuck in background, and then when I disconnect my device, it starts outputting rubbish to the terminal, I have to killall it ...
[Windows Mobile Software Development] blazingwolf:
Please rethink your plans not to support Vista. Would love to use this.
[Windows Mobile Software Development] pof:
You must always use it in bootloader mode. The "Get device info" actually does this:

1: Try to get the device CID using "info 2" command. (some SPLs do not have "info" command)

2: Try to get the model ID using "getdevinfo" command. If it can't get the ModelID from getdevinfo, then it tries to authenticate to the bootloader first as this command needs pasword in some SPLs, (that's why you get the flashing screen on the device SPL), and then issue "getdevinfo" again. After the flasher authenticates to the SPL, the device won't boot to WinCE again but stay always in bootloader mode, so it does "ruurun 0" and "resetDevice" to get back to normal operation. That's why it reseted to WM after the command was completed.

Try to issue a valid SPL command, for startrk you can look at the artemis wiki, SPL commands should be very similar:

http://wiki.xda-developers.com/index.php?pagename=Artemis_BootLoader

I'd suggest to try "checksum", or "set" commands, without parameters just to test, that won't do anything bad to the device :)

Yes, it should work for flashing, although I don't have an startrk and haven't tested this.

You must quit the CLI before desconnecting the device, otherwise /dev/ttyUSB0 won't be valid and the CLI will fail (output trash to terminal).

Also, you can't run two instances of HTC flasher at the same time, because the port (/dev/ttyUSB0) will be blocked by the other instance.
[Windows Mobile Software Development] thenext1:
thansk for the tech explanation...

will try that...

I was using the GUI and closed it , but i think the CLI somehow remained stuck somewhere in the background, and when I disconnected teh phone it started writing "zzzzzyyzyzyyzyy" trash....
[Windows Mobile Software Development] jcespi2005:
Nice to see you back ;)

Cheers
[Windows Mobile Software Development] opgadgets:
linux!!! :D
[Windows Mobile Software Development] pof:
Now the NBH extract feature also converts splash screens to BMP. I've also made some improvements to the GUI.

Download new packages:

http://code.google.com/p/htc-flasher/downloads/list

Or checkout the development version from SVN:

http://code.google.com/p/htc-flasher/source/checkout

EDIT: Someone with x86_64 please check that the nbhextract is working fine there too, please :)
[Windows Mobile Software Development] papamopps:
Sorry, am I stupid or isn´t that a running app. I cannot find a way to use the downloaded version :D teach me....

tahnks
[Windows Mobile Software Development] h4waii:
It needs to be compiled. To do so you will probably need Cygwin and a balls load of dev packages. Might be easier for somebody to simply provide a binary for you.
[Windows Mobile Software Development] raymondu999:
which file exactly do we run on Mac OS X?
[Windows Mobile Software Development] pof:
You need to compile it from sources, for this you need the Developer Tools installed on your MacOS. Just download the source tarball, extract it and run "make". This will build the command line utility. If you also want the graphical GUI also, you need to install zenity (using fink or macports), see comment #25 for more info. I don't have a Mac myself, so I can't provide a binary package, sorry.
[Windows Mobile Software Development] Ameet:
can some expert be kind to post the compiled exe file please? :D i cant compile (coz i'm not into programming)
[Windows Mobile Software Development] raymondu999:
Ditto, but for Mac OS X
[Windows Mobile Software Development] mircha:
Pof, it keeps giving me the MODEL ID error although my MODEL ID is correct (HERM200).

I bricked my device after it all started with the No GSM message although I had Hard SPL 2.10

I can get into bootloader but that's it. It won't boot into OS or show anything. My battery doesn't charge, when I take it out and the red amber light glows, I put it back in and instead of going orange it goes off. I tried every freaking way of unbricking and followed all the directions on the unbricking wiki page but nothing helps.

I should mention that I have successfully flashed a number of different custom and official roms for almost 2 years before the No GSM problem popped up. I got the No GSM message a month ago after I tried to flash the latest radio rom that was posted on the forum.

Now I have tried with the Hermflasher tool and I can see that it always sends that MODEL ID error and that is why it wont reflash anything (radio, os, spl...)

Can you please check the attached files and advise whether my tytn is beyond any software repair and do I have to send it back to repair center or there is still something I could try?

IPL 1.04

SPL 2.10.Olipro

Thanks in advance!
[Windows Mobile Software Development] mircha:
Sorry, here's the full sized output of info command

By mirkogutic at 2008-06-18
[Windows Mobile Software Development] pof:
HTCFlasher won't do any magic if the SPL is refusing to flash at all.

Looking at your getdevinfo output, I have just noticed that the radio is incorrectly reporting the CID. To be able to flash, hex-edit the NBH and change the CID field (16 bytes), for example, if the NBH you're trying to flash has this in the CID field:

0001e0: 43 44 4c 5f 5f 30 30 31 00 00 00 00 00 00 00 00 |CDL__001........|

Hex edit the NBH file, and change it for the following:

0001e0: 53 70 72 49 00 00 00 00 00 00 00 00 00 00 00 00 |SprI............|

That will fool the SPL and get your NBH flashed.

EDIT: If you have more questions, please use PM, as this thread is not to fix everyone's bricked device.
[Windows Mobile Software Development] Ameet:
hi pof.. is it possible for u to post the compiled .exe file? i'm not into programming at all so i really dont know how to use compilers n stuff (m a total noob in tht part of the world :))
[Windows Mobile Software Development] pof:
Win32 version posted here:

http://code.google.com/p/htc-flasher/downloads/list

REMEMBER:

- CLI (command line) version only, no graphical GUI.

- Doesn't work on Windows Vista
[Windows Mobile Software Development] Ameet:
hi brother.. sorry but can u post the graphical gui win32 compiled application? :)
[Windows Mobile Software Development] tuksedra:
i put # HTCFlasher -v -F RUU_signed.nbh then it stuck on setting up RUU ?..

my command wrong or im just noob?...
[Windows Mobile Software Development] pof:
- Which device?

- Which SPL version?

- On which OS are you running HTCFlasher on?

- What output do you get from 'HTCFlasher -v -i' ?
[Windows Mobile Software Development] tuksedra:
mm.. thank for the attention, wil post the in in due time.. thanks pof!!
[Windows Mobile Software Development] tuksedra:
to: pof this is my out put..

bash-3.1# HTCFlasher -i -v

=== HTCflasher v3.0

=== Open source RUU for HTC devices

=== (c) 2007-2008 Pau Oliva Fora

[] Getting device info...

[] Verbose mode enabled

SEND: [info 2]

GET:

[

00000: 0d 0a 0d 0a 0d 0a 43 6d 64 3e 69 6e 66 6f 20 32 |......Cmd>info 2|

00010: 0d 0a 48 54 43 53 53 75 70 65 72 43 49 44 1e d4 |..HTCSSuperCID..|

00020: e9 dc 48 54 43 45 0d 0a 43 6d 64 3e 0d 0a 0d 0a |..HTCE..Cmd>....|

00030: 43 6d 64 3e |Cmd> |

]

[] CID: SuperCID

SEND: [getdevinfo]

GET:

[

00000: 67 65 74 64 65 76 69 6e 66 6f 0d 0a 47 65 74 44 |getdevinfo..GetD|

00010: 65 76 49 6e 66 6f 3a 20 47 65 74 20 43 49 44 20 |evInfo: Get CID |

00020: 4f 4b 0d 0d 0a 48 54 43 53 54 52 49 4e 31 30 30 |OK...HTCSTRIN100|

00030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|

00040: 00 00 00 00 00 00 00 00 00 53 70 72 49 00 00 00 |.........SprI...|

00050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|

00060: 00 00 00 00 00 00 00 00 00 48 54 43 45 0d 0a 43 |.........HTCE..C|

00070: 6d 64 3e 0d 0a 0d 0a 43 6d 64 3e |md>....Cmd> |

]

[] ModelID: TRIN100

bash-3.1# HTCFlasher -v -F RUU_signed.nbh

=== HTCflasher v3.0

=== Open source RUU for HTC devices

=== (c) 2007-2008 Pau Oliva Fora

[] Verbose mode enabled

[] Flash NBH file 'RUU_signed.nbh'

[] Setting RUU mode, please wait.......................... (this dot keep going)

on trin boot screen:

TRIN100

IPL-1.00

TRIN100

SPL-9.99.cp

slackware 12.1
[Windows Mobile Software Development] kokotas:
Hi pof!

Any chance having this running in Ubuntu-64bit (AMD)?

Regards!
[Windows Mobile Software Development] Ameet:
possible for someone to post the compiled graphical ui version? my lack of programming knowledge is holding me back from using this amazing software :(