Amon Ra recovery tool

From Android Wiki

This tutorial has been successfully tested for the HTC Magic from Rogers (Canada).

1 - First you need to download Android SDK here. Also make sure you have fastboot installed on your computer, you can get it here. it is actually better to move the fastbook app under /tools in the SDK directory.

2 - extract the SDK .zip file in any directory you want on your computer.

Now, if you boot your device while holding the HOME key (and not the 'back' key... I did the mistake). It should lead you to the green screen again (system recovery utility).

If the flashing doesn't work you might need to flash your SPL.

WARNING: The SPL is the Secondary Program Launcher which is the core of the device.
If you screw that up, your device is boned. The following is NOT SAFE.

- 32A board : apply this update from your sd-card after fast booting with this recovery.

- 32B board : apply this update from your sd-card after fast booting with this recovery.

Note : How to apply an update, copy it to your SDCard on your device as update.zip (you can just drag and drop it from ubuntu if the device is properly connected as mentioned above). Then in the System Recovery Utility, there is an option to apply update.zip