How to use _ADB_ to backup _Android_ data on _Ubuntu_

Backing up application data, text messages, etc. on an Android system is tedious and sometimes expensive. Many applications in the electronics market promise to back up data, but they don't work well or are expensive. Do you know of a better way to do this and do it on your computer?

Android comes with a set of development tools. There are many kinds of development tools, but the one that people are most interested in is ADB (or Android Debug Bridge). It allows users to directly access any Android device through the command line. With this tool, anything is possible - including backing up your entire Android device. In this article, I will discuss how to do this on an Ubuntu system.

Note: This tutorial is for Ubuntu Linux systems. However, ADB is also available on Windows and Mac, and Android data can also be backed up on these platforms. Download the ADB version for Windows and Mac.

Install ADB and enable USB debugging
Open a terminal window and enter the following command to install ADB, which will have a session with Android.

sudo apt install adb

After installing the ADB tool on the system, you need to start debugging inside Android. First open the Settings area of ​​Android. Then scroll all the way to the bottom to find "About Phone" and tap it. This will open the Phone status page. Scroll to the bottom again on this page, find "Build number" and tap it seven times to activate developer mode.


To enter the Developer Settings, press the back button on the device to return to the previous page. A new option will appear in "Settings": "Developer options". Click it to enter the developer settings area. Scroll the page until you see "Android debugging" (or some other name for it), click it to enable the setting.

Backups Creating a backup
with ADB is as easy as running a command. First, connect your Android device to your computer with a USB cable that matches your Android device. Then open a terminal and run the following command:

adb start-server
This will start the ADB server. When running this command, unlock the Android device quickly, as ADB will force a confirmation window that must be accepted before continuing.
To read the full text, please click: http://click.aliyun.com/m/22135/

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326309113&siteId=291194637