NOR Backup

From iDroid Project

Jump to: navigation, search

Contents

Backing Up NOR

  1. Boot up your iPhone
  2. Once OpeniBoot is open select console with the power button/volume keys and press "Home" button
  3. Type "sudo ./oibc" (without quotes) in OS X or Linux Terminal to connect to the console interface. Of course you must have the tools in your PC (otherwise you would not have been able to install OpeniBoot).
  4. Now type "nor_read 0x09000000 0x0 1048576" (without quotes). Wait for it to finish.
  5. Now type "~norbackup.dump:1048576" (without quotes). This will dump the NOR to the same directory you are running oibc running this from or in the same directory as the terminal prompt.
  6. Congratulations you have successfully backed up your NOR!

Restoring NOR

  1. Make sure you have your norbackup.dump file in the same directory you are running oibc running this from or in the same directory as the terminal prompt.
  2. Boot up your iPhone
  3. Once OpeniBoot is open select console with the power button/volume keys and press "Home" button
  4. Type "sudo ./oibc" (without quotes) in OS X or Linux Terminal to connect to the console interface. Of course you must have the tools in your PC (otherwise you would not have been able to install OpeniBoot).
  5. Now type "!nordump.bin" (without quotes). This will send your NOR back-up to the iDevice. Wait for it to finish.
  6. Now type "nor_write 0x09000000 0x0 0x100000" (without quotes). This will incorporate the NOR backup you sent into the NOR.
  7. Congratulations you have successfully restored your NOR!

Additional Notes

With the new tools bundled with the latest MoJo release (1.0.2) and for OpeniBoot 0.1.2, a NOR backup is automatically created upon entering the "install" command. However, the NOR restore command is not included. So as such you must compile and install your own OpeniBoot with "ENABLE_EXTRAS = yes"

If you don't have OpeniBoot installed, please refer to the installation guide for OpeniBoot.

Credits

Thanks to TheParadox on the forums for this tut