Open simonsen23 opened 6 years ago
does this work for you? https://drive.google.com/file/d/1hEagkOpnctLOAuWB3CPmTGul4Fxm3E_7/view?usp=sharing
hi @jensstein i used your link and got this error at opening app 'couldn't find oab-utils - running in legacy mode, please report this to the developer'
@lee5783 which architecture is your device? armv7?
please pick an appropriate apk here and try again:
https://gitlab.com/jensstein/oandbackup/builds/artifacts/master/browse?job=sign
if you still get the message, could you please open a new issue with information about your device and an attached logcat. also try executing ls -l /data/data/dk.jens.backup/files
as root on your device.
thanks :)
@jensstein I get the same error as lee5783. Result from ls -l: -rwxrw---- (...) oab-utils
PS: I'll open a new issue too. PPS: Mine is ARM64
The error hasn't changed. log_oandbackup.txt
is there anything in oandbackup.log?
Nothing new as far as I know:
2018/06/24 - 13:24:19: selinux_android_restorecon: not implemented for libselinux_vendor [ARD] 2018/06/24 - 13:24:19: restorecon: restorecon failed: /data/user/0/de.swr.avp.ard [ARD]
i just updated to lineageos 15.1 and now restorecon gives me the same error as you. does this help: https://gitlab.com/jensstein/oandbackup/-/jobs/77041353/artifacts/file/apks/arm64/oandbackup-debug.apk
I get a notification "Restoration completed" (or something like that) without an error, but the data does not get restored. In logcat and oandbackup.log there is no entry, but in oandbackup itself there is an error:
i'm moving at the moment, so for the next week or so i don't have that much time or internet but i'll come back to this problem as soon as i can.
in the meantime could you check whether you have selinux enforcing or permissive: getenforce
?
It is permissive.
this apk has some more debugging (no fixes yet though). please send me a logcat. https://gitlab.com/jensstein/oandbackup/-/jobs/80180769/artifacts/raw/apks/arm64/oandbackup-debug.apk
Afaik the restoration from apk and data went well. When I have more time, I can try it with more apps.
I have one suggestion: Everytime I install oandbackup I have to set the path for busybox manually (/system/xbin/busybox). Maybe you can add a check for this path too ;)
yes it seems to have gone well. if you can confirm that it works with this apk i'll close the issue: https://gitlab.com/jensstein/oandbackup/-/jobs/86828190/artifacts/file/oandbackup-signed-arm64.apk
i also added your suggestion about checking for /system/xbin/busybox :)
With old backups it worked afaik well. But it won't create new backups. I tried to look in the logfiles, but they seem empty (New issue?).
Unfortunately the check for the path didn't work :(
When I try to restore an app with oandbackup I get the following error:
"Appname": selinux_android_restorecon: not implemented for libselinux_vendor "Appname": restorecon: restorecon failed: /data/user/0/"Appfolder"
The app gets restored but without any data.
Phone: Oneplus 2 with LOS 15.1