Suppose you have several devices and a large amount of data you want to back up. Then, you must use the Android Software Developer Kit (SDK) and ADB commands, which can quickly back your device with a single order. Following is a step-by-step guide on how to back up Android without Root.
Prerequisites:
You must install the following tools on your computer to proceed.
You can find the Android SDK in Android Studio.
Enabling USB Debugging
You must set up your device to connect your Android device and Android SDK. To do this, you have to enable USB debugging. To enable USB debugging mode
- Go to “Settings.”
- Go to “Developer options.”
- Some devices don’t show “Developer options”. If your device is also not showing this, you have to enable it. To allow the Build number,
- Go to “Settings.”
- Tap “About device”
- Tap “Build number” seven times
- Now you will see “Developer options” within “Settings”. Here, you can see “USB debugging”. Mark the check box next to it to enable it.
Now, establish a connection between your PC and Android device via USB. Ensure that Android Studio is running on the PC.
Install Google USB Driver
Follow these steps to install Google USB Driver in Android Studio.
- Open “Android Studio”
- Then click “Configure.”
- A Configure window will open. Click “Android SDK Manager”
- Android SDK Manager will open. Scroll down and find “Google USB Driver”. Mark the check box next to “Google USB Driver.”
- Now you are done. Click “Install” to complete the process
Test Android Debug Bridge (ADB)
You must test the Android Debug Bridge (ADB) to ensure it communicates with your device correctly without suspending. For that reason, locate the path where the SDK was installed. If you don’t know or remember the way,
- Open “Android SDK Manager.” The exact path is at the top of the page.
- Open “Windows Explorer” and locate the path.
- Now go to the “Platform-tools” folder.
- Now you have to open “Command Window”. Hold the “Shift” key, right-click within that folder, and select the “Open Command Window.”
- To ensure adb can communicate with your device without suspending, test it by entering the command “adb devices.”
- The output of this command must be your device in the form of a long string of characters.
Backup your Android Phone:
Now you are done with all the necessary steps to create a backup Android without root. Enter the following command in the same “Command Window.”
adb backup -apk -shared -all -f C:\Users\NAME\backup.ab
Note: In the path that is given, Name is the Name of your Windows username
A new screen will appear on your device, asking for the password. If you want to encrypt the backup, enter a password or tap on “Back up my data” if you don’t want to encrypt the backup. A backup will be created in the folder declared in the backup command.
The steps mentioned above will help you to create a full backup of your Android device. Now, if you want to restore the data, follow these steps.
Restore
Connect the device you want to restore. Enter the following command in the “Command Window.”
adb restore C:\Users\NAME\backup.ab
Note: In the path given, the Name is the Name of your Windows username.
These steps will restore the data.
Update: You can also use the Helium App Sync and Backup app to back up Android without root.
If you face any problems backing up or restoring the backup, please ask for the solutions in the comments. Also, share your successful experience of backing up Android through this method.