Suppose you have several devices and a large amount of data you want to back up. Then, you must use the Android Software Development Kit (SDK) and ADB commands, which can quickly back up your device with a single command. The following is a step-by-step guide on how to back up an Android device without Root Access.
Prerequisites:
To proceed, you must install the following tools on your computer.
You can find the Android SDK in Android Studio.
Enabling USB Debugging
You must set up your device to connect your Android device to the 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.
- No, you will see “Developer options” within the “Settings” section. Here, you can see the option for “USB debugging”. Mark the check box next to it to enable it.
Now, establish a connection between your PC and Android device using a USB cable. Ensure that Android Studio is running on the PC.
Install Google USB Driver
Follow these steps to install the 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 need to open the “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: You are now done with all the necessary steps to create a backup of your Android device 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, prompting you to enter the password. If you want to encrypt the backup, enter a password or tap “Back up my data” if you don’t want to encrypt it. A backup will be created in the folder declared in the backup command.
The steps mentioned above will help you create a complete backup of your Android device. 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 your Android device without requiring root access.
If you encounter any issues backing up or restoring the backup, please request solutions in the comments. Additionally, please share your successful experience of backing up your Android device using this method.