adb backup woes: UT 14, Nexus 5
# adb backup -apk -obb -shared -all -f ./current.ab
adb prompts me to unlock the device with:
Now unlock your device and confirm the backup operation...
Device never prompts, backup never starts (55b ./current.ab is created)
Do I need to reboot to bootloader first and do something I don't know what? (backup when in bootloader fails)
Lakotaubp last edited by
@circ Developer mode is on yes? You granted access to the phone via the pop up box then sudo fastboot OEM unlock.
But I thought nexus 5 was unlocked might be wrong though.
@lakotaubp thanks, yes - OEM unlock was an install step.
shows the N5
I can do things like
adb push myfile.txt /home/phablet/Downloadswithout issue
so, here's some fun ->
> adb version #Android Debug Bridge version 1.0.36 #Revision 1:7.0.0+r33-2 > adb backup -these are not any kind of acceptable params .... Now unlock your device and confirm the backup operation... >
adb backupcmd is verbatim...
Where do I go to get help with this? I'm on pureOS (debian)
... and after a direct grab of the toolkit here : https://developer.android.com/studio/releases/platform-tools
> ~/Downloads/src/platform-tools/adb version #Android Debug Bridge version 1.0.40 #Version 4986621 > ~/Downloads/src/platform-tools/adb backup totalgarbageandN0nS3nse Now unlock your device and confirm the backup operation...
which is the same 'error'
..so, I'm guessing it's definitely a UBports / this particular phone/install related issue....
dobey last edited by
If you want a full system back-up via ADB, you need to do it via recovery, not developer mode in the running OS.
dobey last edited by dobey
Ah, I don't think
adb backupworks with UT, because it's not an Android ROM, and that feature only works with Android.
You need to
adb pull /data/*-dataor something like that. I forget the exact command.