1. A custom recovery.
2. A nandroid backup.
3. Stock files, sans root.
4. Optional, but recommended that you use this to backup root access first:
It shouldnt hurt root either, but make a nandroid to be safe.
If you lose root, try flashing this:
Updated: Removed tz.img because I don't think its needed.