Closed ghost closed 5 years ago
I worked around this. The problem is it cannot install the apk from the path where oandbackup stores it, so when I needed to install an apk from the backup I copied it (base.apk inside the package backup dir) in /data/local/tmp/ , as suggested by the error log, and installed it with pm install /data/local/tmp/base.apk
(IIRC, I did that some time ago).
Same problem here, I had to install all apk's manually and restore each one manually (data only, or else it will try in reinstall the apk and fail). I'm no expert, but maybe the app is missing the "install from external source" permission?
I think issue is with Android 9. This link explains a bit https://stackoverflow.com/questions/50540334/install-apk-using-root-handling-new-limitations-of-data-local-tmp-folder
it seems to be changes in selinux rules preventing system_server from accessing the storage directories. can you try this apk: https://gitlab.com/jensstein/oandbackup/-/jobs/125046812/artifacts/file/apks/oandbackup-universal-debug.apk (or another debug apk appropriate for your device here: https://gitlab.com/jensstein/oandbackup/-/jobs/125046812/artifacts/browse/apks/)
it seems to be changes in selinux rules preventing system_server from accessing the storage directories. can you try this apk: https://gitlab.com/jensstein/oandbackup/-/jobs/125046812/artifacts/file/apks/oandbackup-universal-debug.apk
It works. I tried that apk on android 9 and I was able to restore an app without any error
brilliant :)
Is this still an issue with the latest 0.3.5 version? Updated to Android 9, installed Busybox and the backup process fails.
it seems to be changes in selinux rules preventing system_server from accessing the storage directories. can you try this apk: https://gitlab.com/jensstein/oandbackup/-/jobs/125046812/artifacts/file/apks/oandbackup-universal-debug.apk
This version works. I hope that the stable build will be updated with Android 9 compatibility.
working for me now too 😎
Debug apk working for android 10.... 💯
I updated my OnePlus 6 to Android 9.0 (official release) and since then oandbackup fails to restore any of my backed-up apps.
My phone is rooted (Magisk 17.1) and I have BusyBox installed. I'm not sure what the issue is, but I attached a copy of the error log.
error_log.txt