I usually do a complete backup on my phone before every major OS upgrade.
Typically, I use the "dd" command from "adb" and directly copy the whole hardisk partition of /boot, /system and /data into an IMG file and transfer it into my PC. (Yes, you can use TWRP or CWM too)
https://forum.lowyat.net/index.php?showtopi...entry65566544Problem arise... been installing lotsa game lately... phone storage is now 13gb. Since my phone only has 16gb, it wont be enough to backup everything.
So, I have to do "dd" and pipe it into "netcat" and store the IMG into my PC directly via USB.
This guy has it all figured out:
http://forum.xda-developers.com/showthread.php?t=1818321Steps to backup the entire /data partition. This partition has all your app, data and setting.
1. Compile netcat or download busybox into your phone
-
http://www.busybox.net/downloads/binaries/.../busybox-armv7l2. Make port forwarding between PC and Phone
CODE
adb forward tcp:5555 tcp:5555
2. Put nc or busybox into your phone
CODE
adb push busybox-armv7l /data/local/tmp
3. Make it executable
CODE
adb shell
chmod 755 /data/local/tmp/busybox-armv7l
4. Here is the important part, gain "root", dd the /data into netcat
CODE
su
/data/local/tmp/busybox-armv7l nc -l -p 5555 -e dd if=/dev/block/platform/msm_sdcc.1/by-name/userdata
5. Open another command prompt. Important not to use Powershell as there is problem with piping. Start netcat and receiving data. You need netcat for Windows (or ncat
http://nmap.org/ncat/) and pv.exe (http://sourceforge.net/projects/pvforcygwin/):
CODE
adb forward tcp:5555 tcp:5555
nc 127.0.0.1 5555 | pv -i 0.5 > data.img
You will see some nice ASCII animation

Wait till it stop. You have your complete backup.
To view your data, you can mount in any Linux OS. If you have VMware, add a Shared Folder to the directory that contain the data.img. Start your Ubuntu / Linux OS in VMware. In Ubuntu, the Shared Folder can be found in /mnt/hgfs/. Now, just mount it in any terminal.
CODE
#mount -o loop /mnt/hgfs/backup/data.img /tmp/data