"Now unlock your device and confirm the backup operation"...when trying to backup through abd (TWRP) Phone: Moto C Plus
Phone OS: Android 7.0
PC OS: Windows 7
TWRP: 3.1.1
Rooted
I'm trying to backup directly to PC from TWRP recovery through adb cmd.
The cmd adb devices shows the device id and the word &quot;recovery&quot; next to it, meaning i'm connected successfully and that i'm in recovery. USB debugging is on.
But adb backup --twrp shows...
WARNING: adb backup is deprecated and may be removed in a future release
Now Unlock your device and confirm backup operation
followed by the current directory.
But nothing happens on the phone. This is what's supposed to happen. Skip to 3:26.
Any insight?
There is nothing wrong with your backup. You are just impatient. Please ignore WARNING adb backup is deprecated... Now Unlock your device and confirm... that is just because the adb.exe doesn't know what's going on at phone side.
You should see TWRP backup starting at phone display immediately without any confirmation
watch the backup.ab growing until backup process is complete
i recommend to backup each partition for it's own, that way you avoid trouble with some old bug TWRP just restoring first partition
adb backup &quot;-f twrp_data.ab --twrp --compress data&quot;

you can convert that backup.ab later into data.ext4.win with twab.sh (linux only)