How to flash with SD, and are all firmware compatible with this method ??
kozhura Date • 11/09/07 1:20:04 PM Yes, all firmware is compatible with this method, all you need to do for this:
1. Have a card no more than 1 GB
2. Download this utility -
sd_img.exe 3. In the command line, enter: sd_img.exe firmware_name.nbf nk.raw
4. Download this program -
ntrw.exe 5. Insert your card into the card reader
6. Enter in the console: ntrw.exe write nk.raw X: - where X, the name of your card
chamine Date • 11/18/06 8:34:34 PM !!! Attention - when you call the bootloader, the PDA performs
hard reset(relevant for 2003) ... but actually we want to flash it in general, so I think it's not scary
What is required for flashing / saving firmware, etc. hx4700 with sd card:
1. Actually the SD card and card reader. I tried on the 256 and 512-meter maps.
2. Cradle or cord in USB, or they say the cord in the COM port is also good - everything worked for me through the cradle.
3. Download the program MultiTTY (by Google or by link from this forum)
4. Well, actually the firmware itself, or rather the .nbf file.
First of all, it is best to backup the current firmware:
- We get rid of the active-sync program on a regular computer - the task manager and beat the wcescomm.exe process
- Enter the PDA into the bootloader - simultaneously press the contacts + itask + reset buttons with the stylus and wait at this position for a few seconds until the different inscriptions and the HP logo without backlighting appear on the screen. (Do not forget the way that
hard reset PDAit will be provided ...)
photo how to enter the bootloader
- Put the PDA into the cradle (or connect to the COM port) - when connecting to USB, the USB display should appear on the PDA screen above the HP logo (for the COM port or when the PDA is not connected - correspondingly Serial)
- We start MultiTTY - in the case of a USB connection, select the USB port - it will be an inscription like WCEUSBHXXX, if there is no such choice - or someone else blocks the USB port - let's say activesync isn’t nailed ... well, or just oops - everything is buggy end - roll dumplings, smoke into the chimney, firewood to the original ...
- Insert the SD card into the PDA and type d2s command in MultiTTY (well, of course, you can click the input). It takes some time to wait until MultiTTY says Store image to SD / MMC card successful. By the way, the map will lose everything that was there, hmm ... but something new will appear on it, namely the current firmware of the PDA.
- Everything ... now this card can be removed and used to restore the PDA firmware or to flash someone else's PDA. To do this, you must first insert the card, then enter the PDA in the bootloader mode - after that it should give an inscription about what needs to be done (press the Power button) to flash it. If the inscription does not issue - you can pull out the battery for a while, the card and repeat - sometimes it helps ... sometimes the truth is not lucky ...
Now how to flash to make such a card from an existing .nbf file from the full (! I tried only the full!) Firmware:
- First you need to see what the CCP wrote to us on the USB flash drive from the previous paragraph (you can not watch but use, say, my data, but maybe they differ in different CCP and different revisions of the bootloader). We start WinHex, we insert this card with firmware into the card reader. In WinHex, choose Tools ->Disk editor and there we select the Physical disk (Physical!) Corresponding to the card (to understand which of them - we pull out all the cards and flash drives from the computer except this one and select Removable - most likely it will be necessary). If this is what you need - it should begin with the words ROADSTER inside. Select a piece from the very beginning (from the words ROADSTER) to the words ECEC - a total of 476 bytes and save (Edit ->Copy Block ->Into New File) to a file. This is the title of the firmware ... Naturally, if you want to do everything absolutely right, you need to make this title yourself by examining the numbers there and realizing what they mean - there is the firmware size, checksum and something else ... But for now, it will go.
- Further ... in the same place in WinHex, open the .nbf file from the desired firmware (in order to get it, you need to run the firmware utility - it will unpack into some directory (like c: \ Ipaq \) its files - well, among them it will be ). In the open file there will be 2 necessary pieces of firmware starting with the same words ECEC - in the first IMHO there is the bootloader code (judging by the inscriptions inside) - it is not needed (uh ... scary to try to flash it in actual fact ...) ... The second - the firmware itself - make no mistake - there may be a lot of words ECEC - in my case, I missed the first two - the third is it. It is easy to distinguish - at the piece of firmware, after the words ECEC, there is a small amount (150 somewhere) of zeros and after the country code - for example, USA for the American firmware). (It starts with offset 0x40A68). Starting from these very ECECs, this piece should be cut out - we stand at the beginning (letter E) in the menu Edit ->Define Block and, accordingly, from Current Position to End of file. Also copy this block to a file. It should make a big file - for example, I have 127 megabytes.
- Now ... you need to glue these two files (the title and the firmware itself) and write the result on a USB flash drive ... To do this, open for example the title - Edit->Select All, then Ctrl-C. Then we get to the beginning of a large file - paste Ctrl-V ... at the end of all this, you need to add the word "HTCE" (Home, Edit->Paste Zero Bytes - 4 bytes and enter the word HTCE). So it turned out. scheme ...
0x00000000 - ROADSTER
...
0x00000180 - HTCSA004000007FC (this is apparently the block start marker for the firmware)
...
0x000001DC - ECEC (here comes the piece that was cut from .nbf)
...
0x07F8019C - HTCE (end of the block for the firmware)
... uhhh ... everything you get can finally be saved to a file ...
... nda ... a long explanation, but if you understand what's the matter - everything is simple - the main thing is to correctly cut out a piece of firmware from the .nbf file from the words ECEC after which the country code goes well and not to be mistaken ...
... for an example of how the firmware was made and control of the correctness of the location of the words HTCS, HTCE can be studied which is stored by us on a flash drive
All the firmware that goes to the flash drive should be 0x7F801A0 in size. At the end of the file, you can (and most likely even need!) Add zeros before rounding it up to 512 bytes in size (size of a flash drive sector, perhaps).
Next - you can copy the resulting file to a USB flash drive (better to a new one! If you have made a backup, so as not to screw up the old backup for recovery!). ATTENTION!!! He can not go there just like that and write! I need WinHex again ... Insert the USB flash drive - select Tools ->Disk tools ->Clone Disk. As the source, you must select this file we created by ticking "Read sectors from image file". As a destination - again Physical disk which corresponds to the flash drive. (The main thing is not to miss !!! Otherwise, if you select a regular screw, it will definitely not be good for him because the firmware for the PDA is being shoved there ...)
Next, put a checkmark on the "Copy entire source file" and zero sector (0) in the position to start copying. The program will most likely swear that the number of sectors does not correspond to the file size if no zeros are added to the end of the file in order to round its size ...
Everything ... the flash is ready ... you can now insert it into the PDA, insert the battery and go into the bootloader - if the file was correctly compiled and recorded - it will sew ... Yes! After flashing, it will swear that the checksum is incorrect because we "glued" the file ourselves and the checksum was in the header from another firmware - it swears ... but it will not affect the operation of the system
One more thing - the firmware saved on the flash drive (which came out after the d2s command) can be saved to disk as a file in the WinHex, and then rolled up, for example, on the disc and kept in reserve in case of rollbacks back from the firmware curves, after installing Linux on the PDA , atomic war and so on ...
Post has been editedkomok1965 - 01.04.10, 01:47Reason for editing: photo