[REL]HX4700 BootLoader Tool

Discussion in 'Other Device Manufacturers' started by chrismrulz, Aug 7, 2006.

Thread Status:
Not open for further replies.
  1. chrismrulz

    chrismrulz Mobile Deity

    Messages:
    156
    Likes Received:
    0
    Trophy Points:
    23
    Note:
    This BootLoader version has now been replaced by a superior build:
    http://forum.brighthand.com/showthread.php?t=243857



    Hi all,
    i've made a little program that will do the tedious effort of removing the header from the hx4700 rom(s) and sending to your device.

    Simply put your hx4700 in bootloader mode by pressing ITASK+CONTACTS+RESET.
    Then just open my tool, HX4700_BootLoader.exe and select an .nbf file.

    It will automatically remove the first 2600 bytes of the rom, save it with the .nb0 extension and send it to your device using the mtty terminal emulator.

    This tool is usefull if your hx4700 has only been partly flashed with hp's rom uploader utility and it is stuck in a bootloader loop. (rendering it useless)
    some people cannot understand how to do it all so i decided to make this tool.

    Coincidentally, this is the same tool that the moderators banned because it was labelled to upgrade from 2003SE to WM5 2.01.
    it's not illegal, just HP's fault for making the way we recover from partly flashed roms the same way to get free WM5.

    that being said, you CAN also use this tool with the .nbf file from the WM5 2.01 update to get free WM5.
    but it is your decision to do that. this tool has a better use and it's not illegal.
    the moderators have agreed to allow this for what it is, and its the same method you will find in many tutorials of how to recover from a partly flashed rom upgrade.

    IMPORTANT: Make sure the .nbf file and path you select does not contain spaces!
    e.g. C:\some folder\wm5 os.nbf << WRONG
    C:\wm5_os.nbf << CORRECT
    There is nothing i can do to fix this, you must just simply not have spaces in the file path. the problem lies with the bootloader application on the iPAQ.
    usually HP uses a path without spaces, so it doesn't matter to them. infact it's best to leave it where HP's installer puts it.

    Update: now kills activesync after selecting the .nbf file. only continues once activesync has closed.
    now checks for installations of iPAQ roms. it will default to the newest installation you have. (e.g. it will go to the WM5 2.01 upgrade folder over 2003SE)
    FOR THOSE ASKING ABOUT THE 'cannot connect with host' ERROR, please re-download the latest version and try it. i think it's now fixed.

    Update: Just added support for an ini file to change settings like the port number and how many bytes to remove.
    this means it could be used for more than just the HX4700's.

    you can rename _settings.ini (that is auto-extracted) to settings.ini and change what you need. it is formatted like this:
    Code:
    [hexedit]
    bytes=2600
    
    [mtty]
    port=\\.\WCEUSBSH001
    
    Update:
    Finally put an end to the "failed to synchronise" error!
    I had actually already posted this as a fix before, but someone reported that they had tried it and it hadn't fixed anything.
    I decided to wipe my hx4700 just to fix this for you guys.
    tried the original and the beta versions i posted and got the error everyone said.
    but with this new version i've tested it twice and didn't get the error.

    as i said, this fix had already been posted before so i moved on with a new one and released it straight away.
    if this still doesn't work for you, please post here.
    but MAKE SURE YOU ARE USING THE LATEST VERSION FROM HERE before you say it doesn't work.
    Also make sure you do not have any spaces in the file path.

    Download: HX4700_BootLoader.exe


    if anyone wants to sponsor me..
    my paypal is chrismrulz@hotmail.com
    i usually don't ask for any donations,

    but it's been a while since i've been able to work on this stuff,
    as my touchscreen is broken and needs a repair from pocketpctechs.
    it costs like over $200 to ship it from australia,
    so if anyone can spare even like $10 each.. it would really help.

    i would like to make it easier to use and add a gui that shows the status of copying the rom etc.. instead of the tty console,
    check for more bugs, and make it compatible with windows vista.
     
    Last edited by a moderator: May 18, 2015
  2. ottoman2

    ottoman2 Mobile Deity

    Messages:
    680
    Likes Received:
    0
    Trophy Points:
    66
    Well, in this case it is serving a good cause because I bricked my hx4700 last night - dropped the darn thing in the middle of the upgrade. Pretty stupid move on my part.

    Got past the first error - need to kill Activesync. After the message "start NB image download" I get the follow error message:

    USB>Fail to synchronize with the host[1]

    Tried it on two laptops - same error message on both. What am I doing wrong?

    Any ideas? Thanks again for your help and any advice you have to give.
     
  3. chrismrulz

    chrismrulz Mobile Deity

    Messages:
    156
    Likes Received:
    0
    Trophy Points:
    23
    hi ottoman,
    so you did kill activesync?
    did you put your device in bootloader mode?

    try opening mtty1a.exe which is extracted to \HX4700 BootLoader Tool\ folder.
    what ports show up?

    p.s. thanks for the activesync thing.. i forgot about that.
    i'll make it kill activesync now ;)

    Edit: now kills activesync after selecting the .nbf file. only continues once activesync has closed.
     
  4. ajwh

    ajwh Mobile Consultant

    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    6
    Ok, when using this with a moderately hosed 4700, I get an error from mtty of: "\\.\WCEUSBH001 port cannot open"

    Mtty only shows 2 com ports......

    Andrew
     
  5. ajwh

    ajwh Mobile Consultant

    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    6
    Error fixed - I wasn't in bootloader mode - I used the wrong set of pushes ----( hits head against brick wall.....)
     
  6. ajwh

    ajwh Mobile Consultant

    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    6
    Now failing with dialogue of:

    password BOOTLOADER
    HTCSPass.< YHTCEUSB>lnb "C:\iPAQ\SP29841\hx4700_11008_ENG_RC_AKU26.nb0"
    :F="C:\iPAQ\SP29841\hx4700_11008_ENG_RC_AKU26.nb0"
    :A=80000000
    :O=00040000
    :L=FFFFFFFF


    start NB image download

    Fail to synchronize with the host (1)
    USB>


    Andrew
     
  7. jump23

    jump23 Newbie

    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    I am getting the fail to synchronize with host error as well. I have redownloaded the app to no avail. I also tried to do it via serial with the help of the read me file and also no luck. Mine is stuck on what I assume is the bootloader screen. it has usb at the top and v1.01 at the bottom.
     
  8. chrismrulz

    chrismrulz Mobile Deity

    Messages:
    156
    Likes Received:
    0
    Trophy Points:
    23
    would love to be able to help you guys,
    i'm still trying to find the cause of this error.
    works fine for some people, others get the error.
     
  9. Manni

    Manni Member

    Messages:
    69
    Likes Received:
    0
    Trophy Points:
    11
    Hi guys,

    I hope this will help Chris to solve the problem, I think I managed to solve it manually.

    I had exactly the same problem (failed to sync with host), I tried on two different computers, one with a fresh intall of windows and no activesync installed (I thought for a while that it may be due to the new USB drivers of AS4.2), but it was a no go.

    So I decided to try it manually, following the instructions in the readme file once the .nb0 file had been created. Still the same result.

    So I decided to send only a lnb order without the file name, to check if it would give me a different message, and it did (it gave me the syntax for the command).

    But then I could see that the prompt in the console prog was USB now, which it wasn't before. So I typed the correct lnb command with the file name, and it worked!

    Once the flashing was done, I had a 2.01 rom on my French iPaq, and it works perfectly.

    I hope this will help Chris to correct his macro. Maybe we just need to add a <CR> once in the console program, to make sure it switches to USB, before sending the lnb command?

    I reckon that if you see the USB prompt after a failed execution of the program, just type the lnb command followed by the file name (no path necessary if you launched it from the softpaq directory). It should work!

    I hope this makes sense,

    Good luck everyone (and thanks Chris for this great tool!)
     
  10. jump23

    jump23 Newbie

    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Still gives me fail to sync error.
     
Thread Status:
Not open for further replies.

Share This Page