Running the Ipaq with Windows

IpaqRunningLinux is nice but when it comes to ebay or car navigation it might be usefull to restore the windows OS.

Restoring Windows

Creating backup files using pocket PC ROM Update files

This page shows you how to restore Windows CE from the update files on Compaq's iPAQ H3600 Series pocket PC ROM Update page. In order to do this you must own a license from Windows CE for the iPAQ. Also it can not be guaranteed that it will work, yet it has worked on at least one iPAQ. This is potentially dangerous and may render your ipaq useless.

To restore Windows do the following:

  • extract it - either with wine or on a windooze box
  • the result is a file called *.nbf

Skip the first 32 bytes and recreate the backup files

 $ dd bs=32 skip=1 if=NK_Macv177GER.nbf of=ce.img
 $ dd bs=1024 count=256 if=ce.img of=parrot.bin 
 $ dd bs=1024 skip=256 count=3840 if=ce.img of=flash_00040000.bin 
 $ dd bs=1024 skip=4096 count=4096 if=ce.img of=flash_00400000.bin
 $ dd bs=1024 skip=8192 count=4096 if=ce.img of=flash_00800000.bin 
 $ dd bs=1024 skip=12288 count=4096 if=ce.img of=flash_00c00000.bin

The resulting files have the md5sum

md5sums

NK_Macv177GER.nbf (SP17789)

  bbf1ab1f3abec171ab6c96d8e4821791  flash_00040000.bin
  45d8d32c7784626958e7778b2193fe66  flash_00400000.bin
  f0b078aaf361fa767380f770d9f97c7c  flash_00800000.bin
  2aa2bdfbffdccf692448b077daef7026  flash_00c00000.bin
  04a7b24848bbed7bd36342bb66fdf399  parrot.bin

NK_Glamis3622004GER.nbf (SP22899)

eca7430a8e0003d796600fd5881c2a94  flash_00040000.bin
3fec2c902f3b356ed2b86f9989aad915  flash_00400000.bin
22f990ac968b5987680986bc9c4194a1  flash_00800000.bin
e2a258de1bb239906aae0dd2da89df11  flash_00c00000.bin
54f814dc7d81facb0743eb445c3c8489  parrot.bin

Flashing the handheld

  • Set your serial connection speed to 115200, 8n1, no flow control
  • Enter the console of the bootldr you should see a boot> prompt
  • type load flash 0x00c00000 and xmodem send flash_00c00000.bin
  • type load flash 0x00800000 and xmodem send flash_00800000.bin
  • type load flash 0x00400000 and xmodem send flash_00400000.bin
  • type load flash 0x00040000 and xmodem send flash_00040000.bin

At this point, if you reboot the ipaq with the reset command or via the pressed reset button, it will boot wince. If you would like to restore the original firmware (after testing wince was restored properly), type the command load bootldr at the bootldr prompt and xmodem send parrot.bin.

Taken from :

Connecting the iPAQ with a Debian Box (sarge/testing)

  • install multisync and synce
  • configure connection with synce-serial-config
  • start the connection daemon dccm

Check your /var/log/messages what happens if you connect the iPAQ via USB

 kernel: usb 1-2.2: new full speed USB device using address 14
 kernel: ipaq 1-2.2:1.0: PocketPC PDA converter detected
 kernel: usb 1-2.2: PocketPC PDA converter now attached to ttyUSB0
 usb.agent[6091]:      ipaq: already loaded
 synce-serial-start: Executing '/usr/sbin/pppd call synce-device'
 pppd[6149]: pppd 2.4.2 started by root, uid 0
 pppd[6149]: Removed stale lock on ttyUSB0 (pid 6054)
 pppd[6149]: Serial connection established.
 pppd[6149]: Using interface ppp0
 pppd[6149]: Connect: ppp0 <--> /dev/ttyUSB0
 pppd[6149]: local  IP address 192.168.131.102
 pppd[6149]: remote IP address 192.168.131.201

  • enter pls to list the contents of the iPAQ filesystem
  • other commands are pcp, prm, pmkdir, prmdir

  • now start multi-sync and have some fun.

  • enable masquerading for the iPAQ interface
    • /sbin/iptables -t nat -I POSTROUTING -j MASQUERADE -s 192.168.131.201/32

-- MatthiasWientapper - 05 Oct 2004

 
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding mattzz? Send feedback