I have a non-rooted Android 12 device and I am trying to execute a procedure it used to work. I basically used to backup an application DB using the following commands:
- Connect phone and grant permission from it
- Create a folder and cd on it
adb backup -noapk com.myapp.blabla
- Do not input any password
dd if="backup.ab" bs=1 skip=24 > compressed-data
printf "\x1f\x8b\x08\x00\x00\x00\x00\x00"| cat - compressed-data | gunzip -c > result.tar
tar xf lresult.tar
Now for some unknown reason, it looks like I have to type a password if I want to go through. In fact, there are two buttons: "do not back up" and "back up my data". The second one gets available only if you type some letter.
I have googled a lot, but it looks like nobody had this problem.
My version is:
adb --version
Android Debug Bridge
version 1.0.39 Version 1:8.1.0+r23-5ubuntu2
Installed as /usr/lib/android-sdk/platform-tools/adb
unpack
) it to a tar file. – Robert Feb 02 '22 at 08:47abe.jar
works fine with password – alecxs Feb 03 '22 at 20:30