Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android adb backup couldn't connect issue

I am trying to create a backup of an android device using ADB.

However adb backup -all gives me this error: adb: unable to connect for backup why am i getting this error?

I know that some device ask for permission to do that, it asks you whether you want to allow the pc to take a backup, but my device isn't.

I am developing android devices, i dont care about messing it up - so can you tell me how i can enable my device to ask for the permission, or even how i can fix this problem

I can use adb shell and it works fine, and so does adb pull/push however i want the backup file, so i really want adb backup to work.

Is there any other way to take an image of the entire android OS and the apps, and settings? (best is if you can point me into a direction where i can find a solution for the problem i said, but i am open to other ideas.)

Thanks!

like image 877
mur Avatar asked Feb 27 '12 16:02

mur


People also ask

Does adb backup still work?

Note that only the command adb backup is removed, the Android Auto Backup feature is still available. Your data is still stored on Google Drive and restored when you upgrade to a new device or re-install apps.

Why is adb not detecting my device?

It might be that the ADB issue is not with your computer but is with your Android device. In most cases, ADB cannot recognize your device because the USB debugging option is turned off on the device. Turning this option on can fix the issue for you and this is pretty easy to do.

Why is adb not working?

Failed ADB connections usually have one root cause: bad Android USB drivers that load in place of the right ones. Windows doesn't make it easy to remove the wrong drivers, unfortunately. But before attempting to troubleshoot an ADB connection, first enable USB debugging on your phone if it's not on already.


1 Answers

It seems not all versions of Android support the backup-interface.

like image 137
Quis Avatar answered Oct 01 '22 19:10

Quis