jensstein / oandbackup

backup manager for android
Other
544 stars 193 forks source link

Restore error: ": sed: No such file or directory" #174

Closed Mannshoch closed 6 years ago

Mannshoch commented 7 years ago

I tryed to restor made Backup from Android 5.01 to Android 6 and got these error on every restore. Intersting detail around 70% of all apps where able to restore and work without Problem.

Installed XInternalSD (deactivated the change of the path for internal data) and have full access to my sdcard.

screenshot_20170623-193211

ildar commented 7 years ago

Would you try with XInternalSD or the whole Xposed switched off? Also logcat and oandbakup.log could help.

Mannshoch commented 7 years ago

Maybe in the next two week, there is a reason to redo my Phone from plain again so I will try it.

Mannshoch commented 7 years ago

How should I upload a logcat.log? It seems there ist sensitive data in it.

ildar commented 7 years ago

Yes, mostly

jensstein commented 7 years ago

you can send the logcat to my email (j.stn.oab@gmail.com) - unless you use some very security-unaware apps your logcat shouldn't contain passwords but it might contain information such as your email or usernames. if you are not comfortable sharing the complete log you can try filtering it based on the pid or package name of oandbackup but this may filter out context needed to solve the issue.

Mannshoch commented 7 years ago

I did a factory reset and only installed SysLog for recording and Oandbackup. So no private data schould be inside this logs. I hope. I tried to recover net.sourceforge.solitaire_cg (from f-droid) APK and data

2017-07-25_13.20.zip

ildar commented 7 years ago

I see the relevant

07-25 13:19:03.755 E/oandbackup( 6246): no uid and gid found while trying to set permissions

but don't know why it happens. Need to inspect source code... maybe later.

Mannshoch commented 7 years ago

Logcat and oandbackups.log from reseted Fairphone2 and fresh installed OS: 17.07.6

oandbackup.txt Log-2017-08-04-03.14.22.txt

Mannshoch commented 7 years ago

problem solved. It seems that busybox was missing. I instslled it from f-droid and added " /system/xbin/busybox" to oandbackup

ildar commented 7 years ago

I think different. Probably you had it but it was incomplete: sed was missing. The app should check busybox AND its plugins. Need to check it.

Mannshoch commented 7 years ago

As far I know Android has it's own version of busybox called Toybox -> https://en.wikipedia.org/wiki/Toybox