I’ve been meaning to clear out my phone and start fresh, but it’s important that I keep my data. As a result I needed to look into making a backup of my phone.
Previously, I would just use Titanium Backup. But I never bothered to root my OnePlus phone as the Android OS has improved a lot since Gingerbread (2.3) from 2011.
I originally thought this would be an easy task, but was quickly surprised by how little information there was. Here’s the steps I followed to run a backup.
- First off, I downloaded the latest version of Android Studio. Yes, this was probably a bit overkill, but hey, it works.
- Install Android Studio and open it up once the install is finished.
- Click “Configure” in the bottom right and open “SDK Manager”.
- Click the “SDK Tools” tab and make sure “Android SDK Platform-Tools” and “Google USB Driver” are selected. If not, select them and install them.
- (Windows) Press Windows Key + R and type “cmd” in the box (without quotes). Press enter to open a command prompt.
- Type in this command to browse to the default install location for your platform tools: cd %appdata%\..\local\android\sdk\platform-tools
- Now, on your OnePlus phone, go to Settings -> Developer Options
- If “Developer Options” is not available, go to “About Phone” and find the “Build Number”. Click on it 7 times. You should see a toast/notification saying developer mode is enabled. Now attempt step 7.
- Enable USB Debugging and accept the dialog prompt.
- Find “Select USB Configuration” and make sure it’s set to PTP (Picture Transfer Protocol).
- I had the biggest issue with this step. I was attempting to run adb via MTP and my phone wouldn’t appear when I plugged it in.
- Plug in your phone via USB to your computer.
- On your computer, go back to your command prompt and type “adb devices”.
- Your device should appear as “unauthorized”.
- Check your phone and authorize the computer for debugging.
- Now you can use adb to backup your phone. Type “adb backup -apk -shared -all -f “C:\temp\backupfile.bak”
- When you press enter, adb will prompt you to check your phone and authorize the backup. Once you allow it, adb will begin the backup.
Once adb has backed up the phone, I ended up with a 3gb file. This seems pretty light, so I’ve proceeded to backup my media, photos and sms/call data just in case.
Some programs I’d recommend are:
- SMS Backup and Restore
- I use this to backup my text messages and call data to two files. This is great for transferring this data to another device.
- Convenient app to browse my photo/media libraries and Android file system over wifi. I can upload/download data to my PC using the web interface.