these are the steps for a full backup Android phones on Linux.
- Download the SDK
- install and configure the SDK
- Enable debugging mode on the phone and connect it to the computer
- Create the backup
- Download the SDK
tar -xvzf android-sdk_<ver>-linux.tgzYou need to have installed java.
- install and configure the SDK
cd ~/android-sdk-linux/toolsand install all the updates.
./android
Optional but probably you will need that as well for efficiency. Open .bashrc or .bash_profile and add:
export PATH=~/android-sdk-linux/tools:~/android-sdk-linux/platform-tools:$PATHNow you are able to run adb command from everywhere.
export PATH=~/android-sdk-linux/build-tools:$PATH
export LD_LIBRARY_PATH=~/android-sdk-linux/tools/lib:$LD_LIBRARY_PATH
- Enable debugging mode on the phone and connect it to the computer
Settings>developer options>enable usb debugging.
- Create the backup
adb backup -apk -shared -all -f ~/Backups/fullbackup-20130722.ab
obviously replace "~/Backups/fullbackup-20130722.ab" with you own folder and give any name on your file that you like.
To restore the backup
adb restore ~/Backups/fullbackup-20130722.ab
That is it. If you need read some extra notes look at http://www.all-things-android.com/content/android-device-backups which was also the resource of this article.
No comments:
Post a Comment