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

failed to install open-android-backup-companion.apk #99

Closed Erz3 closed 5 months ago

Erz3 commented 5 months ago

Device info

Manufacturer: BQ Android version: 8.1.0 Custom ROM/rooted: No Model: Aquaris X

System info

Available disk space: 29GB Operating system: Ubuntu Mate running in a virtual machine with VirtualBox


Describe the issue below.

The script was backing up internal storage until I force a stop with "ctrl+c". Then I started again the script but now was precise download the APK because the aplication had deleted automatically. In this point, I stopped again the script's work and now I get the issue above.

In summary:

1- Start script 2- Force stop while backup 3- Start from the beginning 4- Force stop while download 5- Start from the beginning 6- Issue

Open Android Backup will install a companion app on your device, which will allow for contacts and other data to be backed up and restored. The companion app is open-source, and you can see what it's doing under the hood on GitHub. Companion app already downloaded. Attempting to uninstall companion app. Installing companion app. Performing Streamed Install adb: failed to install open-android-backup-companion.apk: Failure [INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION: Failed to parse /data/app/vmdl41105439.tmp/base.apk: AndroidManifest.xml]

I have tried restarting the smartphone but nothing change. I think the problem is the file mentioned in the output, maybe a corrupted file generated by force the stop while the download was in progress.

mrrfv commented 5 months ago

Could you please try redownloading the script again? It's possible that stopping it while it was doing something might've corrupted some files. Additionally, check if you can install the app manually by going to https://github.com/mrrfv/open-android-backup/releases/tag/v1.0.15 on your device and installing app-release.apk - if that works, then the problem might lie within the fact that you're using VirtualBox.

Erz3 commented 5 months ago

Ok, I have only downloaded the script again and now work. However, I have got another issues that I am going to report in another issue.