Pages

Monday, August 26, 2013

NANDROID Backup / Restore Without cwm for any android device

In this tutorial you won't need CWM to create NANDROID backups or restore them, also without rebooting the device to backup :)


Backup:

Requirements:
1- Terminal emulator application from playstore (Or adb shell from pc)
2- PC
3- Onandroid backup script with mkyaffs2image binary (check downloads below)
4- Enough free memory on memory card
5- Make sure your device is in usb debugging mode
Steps:
1- extract Onandroid.zip and run install_onandroid.bat
2- run terminal emulator or adb shell from pc and type the following without quotes:
   "su"
   "onandroid"
Then wait and it will take a nandroid backup on the sdcard

DATA IMAGE WILL BE CORRUPTED IF YOU HAVE A SECOND SDCARD PARTITION THAT IS TOO BIG BECAUSE SECOND PARTITION IS MOUNTED INSIDE "/data/"


Restore

Requirements:
1- Pc wth Adb and Fastboot (check downloads if you need them)
Steps:
1- Copy backed up files to Adb and fastboot folder
2- Run command prompt then type:
  "adb reboot-bootloader"
  "fastboot flash system system.yaffs2.img"      for system image
OR
  "fastboot flash data data.yaffs2.img"


Downloads:



Tips:

To backup system partition only type:
  "onandroid -a"
then type:
  "s"
without quotes.

or type:
  "d"
if you want to backup data partition only



Thanks to ameer dawood for providing onandroid script