What's a Nandroid Backup?
Unlike the standard backups issued by the Android system that let you restore it to factory settings by creating a back up of the apps and configuration, a Nandroid backup is a clone of the entire memory blocks that make up a smartphone. They're far superior to standard backups as they allow to restore parts a standard user can't access such as the Kernel, something that proves invaluable when modifying or reprogramming a smartphone.
Tools needed:
1.-Rooted smartphone.
2.-ADB installed.
$ sudo apt-get install adb
3.-BusyBox installed on smartphone.
4.-USB Debugging enabled on Android device.
2.-ADB installed.
$ sudo apt-get install adb
3.-BusyBox installed on smartphone.
4.-USB Debugging enabled on Android device.
Steps:
1.-Locate the device's data structure. The manufacturer defines how the smartphone is structured and as such there're different ways the memory blocks are organized. For the Galaxy Tab you can see the memory blocks using the command:
$ cat /proc/partitions
$ cat /proc/partitions
You can get all blocks from the device using the command:
ls -l /dev/block
ls -l /dev/block
What we care about though is the device's memory blocks by name. We can find them using the command:
$ ls -l /dev/block/platform/omap/omap_hsmmc.1/by_name
Using it will give us all memory blocks ordered by name after which we can copy them to our computer as raw files.
The Easy Way:
If you manage to unlock your phone then making backups becomes even easier as it only requires a single command to do so.
For this you'll need:
1.-Unlock Recovery with CWM.
2.-ADB installed on your PC.
For this you'll need:
1.-Unlock Recovery with CWM.
2.-ADB installed on your PC.
Steps.
1.-Start your device in normal mode.
2.-Make sure your device is detected by the computer using ADB.
$ adb devices
3.-Go to the directory where you want to store your backup.
$ cd /DIRECTORY
4.-Use this simple ADB command:
$ backup -apk -shared -all
Doing so will generate a .ab file called backup.ab or something like that.
Profit!
2.-Make sure your device is detected by the computer using ADB.
$ adb devices
3.-Go to the directory where you want to store your backup.
$ cd /DIRECTORY
4.-Use this simple ADB command:
$ backup -apk -shared -all
Doing so will generate a .ab file called backup.ab or something like that.
Profit!