mrrfv / open-android-backup

Back up your device without vendor lock-ins, using insecure software or root. Supports encryption and compression out of the box. Works cross-platform.
http://openandroidbackup.me/
GNU General Public License v3.0
674 stars 37 forks source link

script aborts if an apk is missing #42

Closed schymans closed 1 year ago

schymans commented 1 year ago

Device info

Manufacturer: Sony Android version: 7.1.1 Custom ROM/rooted? no Model: Sony Xperia Z5 compact (suzuran)

System info

Debian bullseye Available disk space: Operating system:


Something is going wrong with the apk download, causing the whole script to crash. I get:

Attempting to uninstall companion app.
Exporting apps.
adb: error: remote object '/mnt/asec/de.alpstein.alpregio.SchweizerPaerke-1/base.apk' does not exist

This app does not feature in my list of apps, so it is some artefact from a previous installation. Can I make the script just ignore such apps?

mrrfv commented 1 year ago

Directly related to issue #44.

mrrfv commented 1 year ago

Fixed in the latest commit.