If you are a power user of Android, you must have heard about backing up before flashing. Backup discussed there is nandroid backup.
According to a wiki on xda-developers, Nandroid is defined as
NANDroid is a de-facto standard directory structure for storing Android system backups. Nandroid is a utility, accessible through Recovery Mode, that allows you to backup your phone and restore to the exact condition at backup.
Performing full nandroid backups helps to restore even if your device is soft bricked. Nandroid backup backups OS, app data, and all other data that is required for booting. It does not backup personal media.
Custom recovery (e.g. TWRP or CWM)
Here are the steps to perform nandroid backup:
- Have a custom recovery installed. If you don’t know how, head here.
- Boot into Recovery. It is pretty simple. Power off your phone. Press two volume keys along with power key. You’ll be booted into recovery mode.
- I am explaining how to perform backup using TWRP, although method is nearly same for all recoveries.
- Click on Backup.
- Select all the checkboxes.
- Select storage in which you want to save the backup.
- Swipe to backup.
- Wait until backup completes. Reboot to system.
Congrats, you backuped your phone.
How to restore your phone?
Here are the steps:
- Boot into Recovery.
- Select Restore.
- Select the backup. It will be under TWRP>BACKUPS.
- Wait for restore.
And, congrats again you successfully restored your phone.
If you faced any problem, let me know in comments.