the documentation says to replace abe with abp , but since .ab files get emitted by the backup tool, not TAR files, which abp wants. The new abp tool will not ingest these.ab files, so this tool looks like it's just undocumented in a way that cannot serve it's purpose. Are there alternative updated tools that dont require large downloads and other setting up for simple scripted .ab extractions?
Last edit: Conrad Braam 2023-09-06
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
step 1: adb backup -f viewer.ab -noapk com.realvnc.viewer.android
this creates a nice 1.2Mb file called viewer.ab , all good
step 2: java -jar "<path to="" binary="">\abp.jar" -debug unpack .\viewer.ab <some file="" name="">
now that last parameter is terribly confusing do I need to know what fiels to pull out of the backup, how do i list the backup contents? No commandline documentation nearthe top of any of the readme files.</some></path>
the documentation says to replace abe with abp , but since .ab files get emitted by the backup tool, not TAR files, which abp wants. The new abp tool will not ingest these.ab files, so this tool looks like it's just undocumented in a way that cannot serve it's purpose. Are there alternative updated tools that dont require large downloads and other setting up for simple scripted .ab extractions?
Last edit: Conrad Braam 2023-09-06
step 1: adb backup -f viewer.ab -noapk com.realvnc.viewer.android
this creates a nice 1.2Mb file called viewer.ab , all good
step 2: java -jar "<path to="" binary="">\abp.jar" -debug unpack .\viewer.ab <some file="" name="">
now that last parameter is terribly confusing do I need to know what fiels to pull out of the backup, how do i list the backup contents? No commandline documentation nearthe top of any of the readme files.</some></path>
$> java -jar abp.jar info .\viewer.ab
android-backup-processor v20210812
Strong AES encryption allowed
".\backup.ab" size is 1231126 bytes
Magic: ANDROID BACKUP
Version: 5
Compressed: 1
Algorithm: none
Encrypted: 0
so as far i can see i have a perfectly valid backup and it needs no password? What next please.
Last edit: Conrad Braam 2023-09-06
Since you are extracting you must provide tar name:
java -jar abp.jar -debug unpack viewer.ab viewer.tar
Then you can view or extract tar with any app, is similar to zip or rar.