I have backed up my phone via adb to my computer by doing the command:

adb backup -all -apk -f C:\myfolder\backup.ab

I went to look at the file it had created when it said the backup was finished, but it says it is 0 bytes big.

Is this because of the encryption? I am worrying if my phone is backed up properly...

  • If it's zero bytes, it's definitely not backed up properly. Encryption can't make an empty file store data!
    – Dan Hulme
    Jan 21 '14 at 23:52
  • Question might sound stupid, but anyway: After executing that command, did you confirm the backup on your Android device? Otherwise, there would be no data send to the PC, and the adb backup command would simply "time out" – resulting in an empty backup, possibly.
    – Izzy
    Jan 22 '14 at 0:13
  • @Izzy How long would the time out take? On my device it said "Backup Finished" just a second after it said "Backup Started".
    – harry_p_6
    Jan 24 '14 at 17:30
  • That's much too fast for a timeout. I didn't check, but expect it to be at least 10 seconds. Maybe you check your logs (adb logcat) to see if they reveal something?
    – Izzy
    Jan 24 '14 at 17:33

I found out that there was a bug in the Samsung OS that corrupted the desktop backup password.

One day, my phone bootlooped and, after a reset, I could backup fine with no backup password set.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.