This is a short guide on how to backup your HTC smart phone using Linux system and android tools. First install adb
tool. Start your terminal and as a root user enter:
UBUNTU: # apt-get install android-tools-adb FEDORA: # yum install android-tools
In the next step, got to the settings on your HTC smart phone and tick USB debugging - Debug mode when USB is connected
.

Once you change this settings then plug your HTC smart phone to a your Linux system computer using USB cable. when connected check whether your device is detected. This step be skipped it only server for a troubleshooting purposes:
$ adb devices List of devices attached SH25TW500611 device
What we can see on the above output is list of all detected devices. Currently, there is only one smart phone connected with a device serial number SH25TW500611
. If all worked according to the plan we can initiate a full backup of our HTC smart phone. To start a backup execute a below command:
$ adb backup -f SH25TW500611-phone-backup.adb -apk -all Now unlock your device and confirm the backup operation.
If you have more than one device connected specify a specific serial number. For example:
$ adb backup -s SH25TW500611 -f SH25TW500611-phone-backup.adb -apk -all Now unlock your device and confirm the backup operation.
The -f
option simply specifies a backup file name. This can be any name of your choice. Feel free to include a full path to the file name to choose a specific file location. The -apk
will also backup your device’s APK file. The default option is no APK backup and lastly -all
will do full backup. Once you have executed the above backup command you will need to confirm the full backup on your HTC smart phone. If you entered a security password before enter it now and press Back up my data
button.

Once you initiate a full backup simply wait for a to be finished:
