Restoring a Zaurus back to original Sharp settings

So you have installed another ROM on your Zaurus such as Cacko, pdaXrom or OpenZaurus, and wish to return to the original Sharp ROM or restore a Fig Labs Full English backup? Don't worry, just follow these steps carefully and you'll be back up and running in no time.

Preparation

You will need the following:

You will also need to download the 'NAND' image file appropriate to your machine:

Download the appropriate file for your machine, and unzip it onto a CF card - in the top folder.

If you have a SL-C3000, you will also need to download a hard drive image - C3000 hard drive (18Mb)
Download this and put it onto the CF card as well (but don't unzip it).

Restoring NAND

The first step is to bring up the service menus on your Zaurus. This can be a little tricky, so be patient and prepared to try it a couple of times.

  1. Unplug your mains adapter, remove the CF card
  2. Move the battery cover switch to the left and take out the battery
  3. Now the tricky part - hold down the D and M keys at the same time, and keep them held down
  4. Plug the mains adapter back in - keep those keys held down!
  5. You should see the service menus appear on the screen - now you can let go
  6. Press 'up' twice to get to the screen that has a NAND Flash Restore option
  7. Insert your CF card
  8. Use the cursor keys to navigate to the restore option, then press OK
  9. Select CF and press OK and the restore procedure starts (progress bar should appear at the bottom)
  10. Leave the Zaurus alone - don't remove the mains power!
  11. When done, press OK to return to the menu
  12. Now remove the mains power

Extra step for SL-C3000

On an SL-C3000, you now need to restore the hard drive image. For other machines, jump to the 'Reboot and Reset' step.

Partition the hard drive

Insert a CF card. Remove the battery. While holding down the D and B keys, replace the battery. Release the keys and wait for a prompt. Login as root. The # sign represents the prompt you will see - don't type that. Press enter after the end of every line.

	 # sfdisk -uC /dev/hdc <<EOF
	 # 0,203,83
	 # ,816,83
	 # ,6916,c
	 # EOF
	 
# mke2fs -j /dev/hdc1 # mke2fs -j /dev/hdc2 # mkfs.vfat -F 32 /dev/hdc3

Restore the hard drive image

Put the CF card in the slot. Remove the battery. While holding down the D and B keys, replace the battery. Release the keys and wait for a prompt. Login as root. Input the commands below.

	# mount /dev/hdc1 /hdd1
	# mount /dev/hdc2 /hdd2
	# cd /
	# gzip -cd /mnt/cf/c3000_hdd1.tar.gz |tar xvf -

When you receive the #prompt again remove and replace the battery. Replace the adapter.

Reboot and reset

All that remains is to follow these steps to return to a box fresh state.