I have followed the steps listed below

1) installed JDK
2) Installed Android Studio
3) Enabled USB Debugging
4) Installed Google Driver For Device

Now when I open an elevated commmand prompt and navigate to where I have adb saved and run adb devices I see my device. Perfect!

But when I take it to the next step and run

adb backup -apk -shared -all -f C:\users\owner\Documents\backup_09212016.ab

I get a message in my command prompt that states

Now unlock your device and confirm the backup operation

Here is the issue. If I unlock my phone there is no prompt or notification to confirm and after about 3 - 4 seconds, the file is created with a file size of 0KB

What am I doing incorrectly with creating a back-up using adb?

  • What device are using? – acejavelin Sep 21 '16 at 23:27
  • I am using the Note 7, and an i7 with 16GB of Ram, and the USB cable that came with my device. – user2676140 Sep 22 '16 at 13:07
  • TBH, other than Nexus devices, I've had very poor luck with ADB backups... Even if I can get them to work, restoring has a coin toss at best chances of working. That said, I see no reason why it wouldn't work, your process is correct. – acejavelin Sep 22 '16 at 13:55
  • I am honestly wanting to get a backup of my device so that I can view the data structure and learn where different elements are stored/saved. – user2676140 Sep 22 '16 at 14:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.