jensstein / oandbackup

backup manager for android
Other
544 stars 198 forks source link

Can't restore data #124

Open KabirSala opened 8 years ago

KabirSala commented 8 years ago

Hi,

For some reasons, it seems that I can't restore the data on apps on CM13. Restoring the .apks works completely fine. oandbackup doesn't give me any errors (it actually says that the restore was successful), but then the applications start without the old data.

My backups are from CM12.1 (a snapshot from about mid January), and I'm trying to restore them on a fresh CM13 install.

I'm aware of issue #116, and I've tried the builds in that ticket, but no luck. I've also tried to use busybox instead of toybox, the result is always the same. I've also tried the build in #108, but no luck too.

I get a "File not found" error in the logcat: http://pastie.org/private/slub40origz4vbcsbgsyjw

My backups don't seems to be corrupted, or at least I can extract them and get the files. I've also tried to take a new backup, but I got the same error.

KabirSala commented 8 years ago

Ok, seems that if I manually unzip the archive, then oandbackup is able to restore the applications and everything else works as expected. For some reasons, I think https://github.com/jensstein/oandbackup/blob/cc25f6568df27f1106a49c5c0822ed0fb8ffe492/src/dk/jens/backup/ShellCommands.java#L165 is failing?

jensstein commented 8 years ago

i guess this is because of the new runtime permissions system. could you give me a logcat from this apk to verify: https://drive.google.com/file/d/0B0bNUNWd2wPPR2ZYZjcwZmJxNnM/view?usp=sharing it's only supposed to behave this way if the permission has been denied explicitly when the app is not targeting api 23. could you check if cm13 maybe made the decision to deny for you?

ghost commented 8 years ago

I have already successful "migrated" data (I make only data backups) from CM12.1 to CM13 (phone without external storage). I don't use WhatsApp, though a had no problem restoring Signal/SMSSecure data (and even more apps). Like jensstein said: maybe this is "only" permission problem (???). @KabirSala Do you use external storage for backups?

jluttine commented 8 years ago

I believe I have the same issue. I made backups in CM 11, upgraded to CM 13 and tried to restore: I get no errors but the app data I restored doesn't appear in the app. That is, restoring has no effect. I backed up both data and apk, but I restored only data. Any ideas how to fix or work around the issue? Thanks!

jluttine commented 8 years ago

Or can it be, for instance, because app folder structure has changed between the versions or something similar? I have no idea if anything like that has happened, not familiar with Android. But just trying to come up with any possible cause.

jluttine commented 8 years ago

Oh, the same workaround seems to work for me: just unzip the xxxxx.zip file created by oandbackup to the same folder where the zip file is.

jensstein commented 8 years ago

@jluttine could you give me a logcat with the apk in https://github.com/jensstein/oandbackup/issues/124#issuecomment-193437153? and could you check if the storage permission has been denied for oab?

jtrees commented 8 years ago

I'm quite interested in the progress made on this issue since I was going to upgrade to CM13 too.

ildar commented 8 years ago

I use CM13 nightly and just checked that restoring works fine. Unzip works as expected.

klemens commented 8 years ago

I have the same problem with cm13, internal storage works fine but the external storage fails. I tested the APK from https://github.com/jensstein/oandbackup/issues/124#issuecomment-193437153, here is the logcat.

10-05 00:21:59.192 13316 13827 I oandbackup: backup: Turbo-Editor
10-05 00:21:59.286 13838 13838 D su      : su invoked.
10-05 00:21:59.286 13838 13838 D su      : starting daemon client 10125 10125
10-05 00:21:59.288 13840 13840 D su      : remote pid: 13838
10-05 00:21:59.288 13840 13840 D su      : remote pts_slave: 
10-05 00:21:59.289 13840 13840 D su      : waiting for child exit
10-05 00:21:59.289 13842 13842 D su      : su invoked.
10-05 00:21:59.290 13842 13842 E su      : SU from: u0_a125
10-05 00:21:59.290 13842 13842 D su      : Checking whether app [uid:10125, pkgName: dk.jens.backup] is allowed to be root
10-05 00:21:59.292 13842 13842 D su      : Privilege elevation allowed by appops
10-05 00:21:59.292 13842 13842 D su      : Allowing via appops.
10-05 00:21:59.292 13842 13842 D su      : 10125 /system/bin/app_process32 executing 0 /system/bin/sh using binary /system/bin/sh : sh
10-05 00:21:59.293 13842 13842 D su      : Waiting for pid 13843.
10-05 00:21:59.293 29349 29349 I SuControllerImpl: Got change
10-05 00:21:59.393 13316 13326 I art     : Background partial concurrent mark sweep GC freed 30143(3MB) AllocSpace objects, 45(14MB) LOS objects, 40% free, 8MB/14MB, paused 700us total 119.763ms
10-05 00:21:59.688 29028  8897 D VoldConnector: SND -> {26 volume mkdirs /storage/3931-3066/Android/data/dk.jens.backup/files/}
10-05 00:21:59.820 29028 29222 D VoldConnector: RCV <- {200 26 Command succeeded}
10-05 00:21:59.997  2771  2788 V AutoUpdateManager: check auto upload tasks, 0 in queue
10-05 00:22:00.123 13842 13842 D su      : Finishing su operation for app [uid:10125, pkgName: dk.jens.backup]
10-05 00:22:00.124 29349 29349 I SuControllerImpl: Got change
10-05 00:22:00.125 13840 13840 D su      : sending code
10-05 00:22:00.125 13840 13840 D su      : child exited
10-05 00:22:00.126 13838 13838 D su      : client exited 0
10-05 00:22:00.134 13316 13827 W System.err: java.io.FileNotFoundException: /storage/3931-3066/backups/com.maskyn.fileeditorpro/com.maskyn.fileeditorpro.zip: open failed: EACCES (Permission denied)
10-05 00:22:00.138 13316 13827 W System.err:    at libcore.io.IoBridge.open(IoBridge.java:452)
10-05 00:22:00.138 13316 13827 W System.err:    at java.io.FileOutputStream.<init>(FileOutputStream.java:87)
10-05 00:22:00.138 13316 13827 W System.err:    at java.io.FileOutputStream.<init>(FileOutputStream.java:72)
10-05 00:22:00.138 13316 13827 W System.err:    at dk.jens.backup.Compression.zip(Compression.java:27)
10-05 00:22:00.138 13316 13827 W System.err:    at dk.jens.backup.ShellCommands.compress(ShellCommands.java:599)
10-05 00:22:00.138 13316 13827 W System.err:    at dk.jens.backup.ShellCommands.doBackup(ShellCommands.java:132)
10-05 00:22:00.138 13316 13827 W System.err:    at dk.jens.backup.BackupRestoreHelper.backup(BackupRestoreHelper.java:39)
10-05 00:22:00.138 13316 13827 W System.err:    at dk.jens.backup.OAndBackup$1.run(OAndBackup.java:152)
10-05 00:22:00.138 13316 13827 W System.err:    at java.lang.Thread.run(Thread.java:818)
10-05 00:22:00.139 13316 13827 W System.err: Caused by: android.system.ErrnoException: open failed: EACCES (Permission denied)
10-05 00:22:00.139 13316 13827 W System.err:    at libcore.io.Posix.open(Native Method)
10-05 00:22:00.139 13316 13827 W System.err:    at libcore.io.BlockGuardOs.open(BlockGuardOs.java:186)
10-05 00:22:00.139 13316 13827 W System.err:    at libcore.io.IoBridge.open(IoBridge.java:438)
10-05 00:22:00.139 13316 13827 W System.err:    ... 8 more
10-05 00:22:00.139 13316 13827 I oandbackup: java.io.FileNotFoundException: /storage/3931-3066/backups/com.maskyn.fileeditorpro/com.maskyn.fileeditorpro.zip: open failed: EACCES (Permission denied)
10-05 00:22:00.141 13316 13827 I oandbackup: return: 1 / Fehler!
10-05 00:22:00.142 13316 13827 E oandbackup: LogFile.writeLogFile: java.io.IOException: open failed: EACCES (Permission denied)
10-05 00:22:00.150 13316 13316 E oandbackup: com.maskyn.fileeditorpro: error while reading logfile: org.json.JSONException: Value java.io.FileNotFoundException of type java.lang.String cannot be converted to JSONObject
10-05 00:22:00.181 29028 29028 D ZenLog  : intercepted: 0|dk.jens.backup|-1849104545|null|10125,!priority
10-05 00:22:00.181 29028 29028 V NotificationService: pkg=dk.jens.backup canInterrupt=false intercept=true

Additionally a message box with busybox: sh <stdin>[1]: busybox: not found is shown. This is when using toybox. I also tried using busybox (from fdroid), which resulted in the same exception (no additional info in the logcat) but no message box.

Edit: The storage permission slider was enabled (it is by default when installing the app). Disabling and re-enabling also didn't help. CM's privacy guard was disabled for oab.

Micha-Btz commented 7 years ago

For me with cm-12.1 backup account work but try to backup apps killed the app. Sony Xperia Z1C seems to be this

browser.lightning: error while reading logfile: org.json.JSONException: Value java.io.FileNotFoundException of type java.lang.String cannot be converted to JSONObject
03-13 17:54:05.454 E/oandbackup(24480): com.fsck.k9: error while reading logfile: org.json.JSONException: Value java.io.FileNotFoundException of type java.lang.String cannot be converted to JSONObject

full log

03-13 17:47:17.467 I/ActivityManager(824): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=dk.jens.backup/.OAndBackup (has extras)} from uid 10019 on display 0
03-13 17:47:18.045 I/Timeline(824): Timeline: Activity_windows_visible id: ActivityRecord{35f108dd u0 dk.jens.backup/.OAndBackup t4092} time:38820794
03-13 17:47:21.640 V/WindowManager(824): Adding window Window{e7f2876 u0 PopupWindow:1895ab02} at 19 of 25 (after Window{2ecbbb5a u0 dk.jens.backup/dk.jens.backup.OAndBackup})
03-13 17:47:39.032 V/WindowManager(824): Adding window Window{215cb705 u0 PopupWindow:e162fcf} at 19 of 25 (after Window{2ecbbb5a u0 dk.jens.backup/dk.jens.backup.OAndBackup})
03-13 17:47:58.882 I/oandbackup(5543): wakelock acquired
03-13 17:47:59.442 I/oandbackup(5543): backup: Lightning
03-13 17:47:59.882 I/Timeline(824): Timeline: Activity_windows_visible id: ActivityRecord{35f108dd u0 dk.jens.backup/.OAndBackup t4092} time:38862630
03-13 17:48:02.384 I/WindowState(824): WIN DEATH: Window{2ecbbb5a u0 dk.jens.backup/dk.jens.backup.OAndBackup}
03-13 17:48:02.443 W/ActivityManager(824): Force removing ActivityRecord{35f108dd u0 dk.jens.backup/.OAndBackup t4092}: app died, no saved state
03-13 17:48:07.800 I/ActivityManager(824): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=dk.jens.backup/.OAndBackup (has extras)} from uid 10019 on display 0
03-13 17:48:07.806 V/WindowManager(824): addAppToken: AppWindowToken{bc50e10 token=Token{eaee2d3 ActivityRecord{2629d4c2 u0 dk.jens.backup/.OAndBackup t4104}}} to stack=1 task=4104 at 0
03-13 17:48:07.858 I/ActivityManager(824): Start proc 22148:dk.jens.backup/u0a125 for activity dk.jens.backup/.OAndBackup
03-13 17:48:08.020 V/WindowManager(824): Adding window Window{3843ab3b u0 dk.jens.backup/dk.jens.backup.OAndBackup} at 18 of 25 (before Window{2801b40 u0 Starting dk.jens.backup})
03-13 17:48:08.145 I/ActivityManager(824): Displayed dk.jens.backup/.OAndBackup: +318ms
03-13 17:48:08.348 I/Timeline(824): Timeline: Activity_windows_visible id: ActivityRecord{2629d4c2 u0 dk.jens.backup/.OAndBackup t4104} time:38871097
03-13 17:48:08.394 V/WindowManager(824): not Base app: Adding window Window{34badc22 u0 dk.jens.backup/dk.jens.backup.OAndBackup} at 19 of 25
03-13 17:48:08.453 V/WindowManager(824): not Base app: Adding window Window{2564c3e9 u0 dk.jens.backup/dk.jens.backup.OAndBackup} at 19 of 25
03-13 17:48:08.778 E/oandbackup(22148): acr.browser.lightning: error while reading logfile: org.json.JSONException: Value java.io.FileNotFoundException of type java.lang.String cannot be converted to JSONObject
03-13 17:48:12.104 V/WindowManager(824): Adding window Window{766c188 u0 PopupWindow:5f31550} at 19 of 25 (after Window{3843ab3b u0 dk.jens.backup/dk.jens.backup.OAndBackup})
03-13 17:49:32.846 I/WindowState(824): WIN DEATH: Window{3843ab3b u0 dk.jens.backup/dk.jens.backup.OAndBackup}
03-13 17:49:32.903 I/ActivityManager(824):   Force finishing activity 3 ActivityRecord{2629d4c2 u0 dk.jens.backup/.OAndBackup t4104}
03-13 17:49:40.356 I/ActivityManager(824): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=dk.jens.backup/.OAndBackup (has extras)} from uid 10019 on display 0
03-13 17:49:40.364 V/WindowManager(824): addAppToken: AppWindowToken{13749ca5 token=Token{e81ea9c ActivityRecord{ad26a0f u0 dk.jens.backup/.OAndBackup t4106}}} to stack=1 task=4106 at 0
03-13 17:49:40.417 I/ActivityManager(824): Start proc 22777:dk.jens.backup/u0a125 for activity dk.jens.backup/.OAndBackup
03-13 17:49:40.614 V/WindowManager(824): Adding window Window{c30f64 u0 dk.jens.backup/dk.jens.backup.OAndBackup} at 21 of 28 (before Window{2fef915 u0 Starting dk.jens.backup})
03-13 17:49:40.765 I/ActivityManager(824): Displayed dk.jens.backup/.OAndBackup: +379ms
03-13 17:49:40.921 I/Timeline(824): Timeline: Activity_windows_visible id: ActivityRecord{ad26a0f u0 dk.jens.backup/.OAndBackup t4106} time:38963669
03-13 17:49:41.127 V/WindowManager(824): not Base app: Adding window Window{3c2e1bef u0 dk.jens.backup/dk.jens.backup.OAndBackup} at 22 of 28
03-13 17:49:41.203 V/WindowManager(824): not Base app: Adding window Window{eea880b u0 dk.jens.backup/dk.jens.backup.OAndBackup} at 22 of 28
03-13 17:49:44.121 V/WindowManager(824): Adding window Window{32ed2c3d u0 PopupWindow:5f31550} at 22 of 28 (after Window{c30f64 u0 dk.jens.backup/dk.jens.backup.OAndBackup})
03-13 17:49:46.451 V/WindowManager(824): not Base app: Adding window Window{3a48072c u0 dk.jens.backup/dk.jens.backup.OAndBackup} at 22 of 29
03-13 17:50:20.987 V/WindowManager(824): not Base app: Adding window Window{3f1efbc u0 dk.jens.backup/dk.jens.backup.OAndBackup} at 22 of 30
03-13 17:50:22.275 I/Timeline(824): Timeline: Activity_windows_visible id: ActivityRecord{ad26a0f u0 dk.jens.backup/.OAndBackup t4106} time:39005023
03-13 17:50:24.160 V/WindowManager(824): Adding window Window{39fa5543 u0 PopupWindow:26fe6423} at 22 of 28 (after Window{c30f64 u0 dk.jens.backup/dk.jens.backup.OAndBackup})
03-13 17:50:30.110 I/Timeline(824): Timeline: Activity_windows_visible id: ActivityRecord{ad26a0f u0 dk.jens.backup/.OAndBackup t4106} time:39012858
03-13 17:50:30.965 V/WindowManager(824): Adding window Window{9ae7669 u0 PopupWindow:23681a2f} at 22 of 28 (after Window{c30f64 u0 dk.jens.backup/dk.jens.backup.OAndBackup})
03-13 17:50:37.693 V/WindowManager(824): Adding window Window{192e6387 u0 PopupWindow:bec0f1d} at 22 of 28 (after Window{c30f64 u0 dk.jens.backup/dk.jens.backup.OAndBackup})
03-13 17:50:45.740 I/oandbackup(22777): wakelock acquired
03-13 17:50:46.274 I/oandbackup(22777): backup: Lightning
03-13 17:50:46.791 I/Timeline(824): Timeline: Activity_windows_visible id: ActivityRecord{ad26a0f u0 dk.jens.backup/.OAndBackup t4106} time:39029539
03-13 17:50:53.129 I/WindowState(824): WIN DEATH: Window{c30f64 u0 dk.jens.backup/dk.jens.backup.OAndBackup}
03-13 17:50:53.182 W/ActivityManager(824): Force removing ActivityRecord{ad26a0f u0 dk.jens.backup/.OAndBackup t4106}: app died, no saved state
03-13 17:50:56.465 E/oandbackup(23295): acr.browser.lightning: error while reading logfile: org.json.JSONException: Value java.io.FileNotFoundException of type java.lang.String cannot be converted to JSONObject
03-13 17:51:29.245 I/ActivityManager(824): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=dk.jens.backup/.OAndBackup (has extras)} from uid 10019 on display 0
03-13 17:51:29.257 V/WindowManager(824): addAppToken: AppWindowToken{3715572b token=Token{6fa837a ActivityRecord{232883a5 u0 dk.jens.backup/.OAndBackup t4108}}} to stack=1 task=4108 at 0
03-13 17:51:29.315 V/WindowManager(824): Adding window Window{20899fa0 u0 dk.jens.backup/dk.jens.backup.OAndBackup} at 21 of 28 (before Window{124207d2 u0 Starting dk.jens.backup})
03-13 17:51:29.384 I/ActivityManager(824): Displayed dk.jens.backup/.OAndBackup: +109ms
03-13 17:51:29.678 V/WindowManager(824): not Base app: Adding window Window{2c3e611b u0 dk.jens.backup/dk.jens.backup.OAndBackup} at 22 of 28
03-13 17:51:29.743 I/Timeline(824): Timeline: Activity_windows_visible id: ActivityRecord{232883a5 u0 dk.jens.backup/.OAndBackup t4108} time:39072491
03-13 17:51:29.754 V/WindowManager(824): not Base app: Adding window Window{1957f3f7 u0 dk.jens.backup/dk.jens.backup.OAndBackup} at 22 of 28
03-13 17:51:30.054 E/oandbackup(23295): acr.browser.lightning: error while reading logfile: org.json.JSONException: Value java.io.FileNotFoundException of type java.lang.String cannot be converted to JSONObject
03-13 17:51:32.318 V/WindowManager(824): Adding window Window{9d858c9 u0 PopupWindow:49baf5d} at 22 of 28 (after Window{20899fa0 u0 dk.jens.backup/dk.jens.backup.OAndBackup})
03-13 17:51:35.726 I/Timeline(824): Timeline: Activity_windows_visible id: ActivityRecord{232883a5 u0 dk.jens.backup/.OAndBackup t4108} time:39078474
03-13 17:51:59.613 I/ActivityManager(824): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=dk.jens.backup/.OAndBackup (has extras)} from uid 10019 on display 0
03-13 17:51:59.618 V/WindowManager(824): addAppToken: AppWindowToken{14f202d9 token=Token{3560f920 ActivityRecord{188a5023 u0 dk.jens.backup/.OAndBackup t4109}}} to stack=1 task=4109 at 0
03-13 17:51:59.667 I/ActivityManager(824): Start proc 23689:dk.jens.backup/u0a125 for activity dk.jens.backup/.OAndBackup
03-13 17:51:59.824 V/WindowManager(824): Adding window Window{25c3004d u0 dk.jens.backup/dk.jens.backup.OAndBackup} at 21 of 28 (before Window{1840cc38 u0 Starting dk.jens.backup})
03-13 17:51:59.915 I/ActivityManager(824): Displayed dk.jens.backup/.OAndBackup: +279ms
03-13 17:52:00.161 V/WindowManager(824): not Base app: Adding window Window{dfcec05 u0 dk.jens.backup/dk.jens.backup.OAndBackup} at 22 of 28
03-13 17:52:00.227 I/Timeline(824): Timeline: Activity_windows_visible id: ActivityRecord{188a5023 u0 dk.jens.backup/.OAndBackup t4109} time:39102975
03-13 17:52:00.238 V/WindowManager(824): not Base app: Adding window Window{2b654381 u0 dk.jens.backup/dk.jens.backup.OAndBackup} at 22 of 28
03-13 17:52:05.606 V/WindowManager(824): not Base app: Adding window Window{376a9c03 u0 dk.jens.backup/dk.jens.backup.OAndBackup} at 22 of 28
03-13 17:52:06.547 V/WindowManager(824): not Base app: Adding window Window{3055e1b9 u0 dk.jens.backup/dk.jens.backup.OAndBackup} at 23 of 29
03-13 17:52:07.504 I/oandbackup(23689): backup: Konten
03-13 17:52:07.554 I/oandbackup(23689): return: 0 / Erfolgreich!
03-13 17:52:13.989 V/WindowManager(824): Adding window Window{e4d47dc u0 PopupWindow:32ec3bf8} at 22 of 28 (after Window{25c3004d u0 dk.jens.backup/dk.jens.backup.OAndBackup})
03-13 17:52:18.966 V/WindowManager(824): Adding window Window{3c5c586 u0 PopupWindow:4bbbceb} at 22 of 28 (after Window{25c3004d u0 dk.jens.backup/dk.jens.backup.OAndBackup})
03-13 17:52:24.099 V/WindowManager(824): Adding window Window{155379d u0 PopupWindow:f0917de} at 22 of 28 (after Window{25c3004d u0 dk.jens.backup/dk.jens.backup.OAndBackup})
03-13 17:52:31.294 I/oandbackup(23689): wakelock acquired
03-13 17:52:31.305 I/oandbackup(23689): backup: Lightning
03-13 17:52:32.948 I/Timeline(824): Timeline: Activity_windows_visible id: ActivityRecord{188a5023 u0 dk.jens.backup/.OAndBackup t4109} time:39135696
03-13 17:52:35.109 I/WindowState(824): WIN DEATH: Window{25c3004d u0 dk.jens.backup/dk.jens.backup.OAndBackup}
03-13 17:52:35.132 W/ActivityManager(824): Force removing ActivityRecord{188a5023 u0 dk.jens.backup/.OAndBackup t4109}: app died, no saved state
03-13 17:52:40.134 I/ActivityManager(824): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=dk.jens.backup/.OAndBackup (has extras)} from uid 10019 on display 0
03-13 17:52:40.141 V/WindowManager(824): addAppToken: AppWindowToken{ddb94b1 token=Token{780cb58 ActivityRecord{2f89a83b u0 dk.jens.backup/.OAndBackup t4110}}} to stack=1 task=4110 at 0
03-13 17:52:40.192 I/ActivityManager(824): Start proc 24012:dk.jens.backup/u0a125 for activity dk.jens.backup/.OAndBackup
03-13 17:52:40.346 V/WindowManager(824): Adding window Window{23d86aa5 u0 dk.jens.backup/dk.jens.backup.OAndBackup} at 21 of 28 (before Window{28d1ad70 u0 Starting dk.jens.backup})
03-13 17:52:40.466 I/ActivityManager(824): Displayed dk.jens.backup/.OAndBackup: +292ms
03-13 17:52:40.698 V/WindowManager(824): not Base app: Adding window Window{2c5a495d u0 dk.jens.backup/dk.jens.backup.OAndBackup} at 22 of 28
03-13 17:52:40.774 V/WindowManager(824): not Base app: Adding window Window{f71e59 u0 dk.jens.backup/dk.jens.backup.OAndBackup} at 23 of 29
03-13 17:52:41.013 I/Timeline(824): Timeline: Activity_windows_visible id: ActivityRecord{2f89a83b u0 dk.jens.backup/.OAndBackup t4110} time:39143761
03-13 17:52:41.072 E/oandbackup(24012): acr.browser.lightning: error while reading logfile: org.json.JSONException: Value java.io.FileNotFoundException of type java.lang.String cannot be converted to JSONObject
03-13 17:52:44.859 V/WindowManager(824): Adding window Window{1d47e01b u0 PopupWindow:24dea349} at 22 of 28 (after Window{23d86aa5 u0 dk.jens.backup/dk.jens.backup.OAndBackup})
03-13 17:52:54.151 V/WindowManager(824): not Base app: Adding window Window{26543cd u0 dk.jens.backup/dk.jens.backup.OAndBackup} at 22 of 28
03-13 17:52:55.215 V/WindowManager(824): not Base app: Adding window Window{3be83793 u0 dk.jens.backup/dk.jens.backup.OAndBackup} at 23 of 29
03-13 17:52:56.120 I/oandbackup(24012): backup: Lightning
03-13 17:52:56.149 E/AndroidRuntime(24012):     at dk.jens.backup.OAndBackup$1.run(OAndBackup.java:152)
03-13 17:52:56.150 W/ActivityManager(824):   Force finishing activity 1 dk.jens.backup/.OAndBackup
03-13 17:52:56.588 E/WindowManager(24012): android.view.WindowLeaked: Activity dk.jens.backup.OAndBackup has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{237035a9 V.E..... R......D 0,0-684,322} that was originally added here
03-13 17:52:59.649 I/ActivityManager(824): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=dk.jens.backup/.OAndBackup (has extras)} from uid 10019 on display 0
03-13 17:52:59.659 V/WindowManager(824): addAppToken: AppWindowToken{41d9018 token=Token{30bf87fb ActivityRecord{283eb58a u0 dk.jens.backup/.OAndBackup t4111}}} to stack=1 task=4111 at 0
03-13 17:52:59.712 I/ActivityManager(824): Start proc 24194:dk.jens.backup/u0a125 for activity dk.jens.backup/.OAndBackup
03-13 17:52:59.849 V/WindowManager(824): Adding window Window{15d79192 u0 dk.jens.backup/dk.jens.backup.OAndBackup} at 21 of 28 (before Window{26a12f48 u0 Starting dk.jens.backup})
03-13 17:52:59.951 I/ActivityManager(824): Displayed dk.jens.backup/.OAndBackup: +271ms
03-13 17:53:00.196 V/WindowManager(824): not Base app: Adding window Window{1ebfc0ea u0 dk.jens.backup/dk.jens.backup.OAndBackup} at 22 of 28
03-13 17:53:00.231 I/Timeline(824): Timeline: Activity_windows_visible id: ActivityRecord{283eb58a u0 dk.jens.backup/.OAndBackup t4111} time:39162979
03-13 17:53:00.248 V/WindowManager(824): not Base app: Adding window Window{32a2fa78 u0 dk.jens.backup/dk.jens.backup.OAndBackup} at 22 of 28
03-13 17:53:00.574 E/oandbackup(24194): acr.browser.lightning: error while reading logfile: org.json.JSONException: Value java.io.FileNotFoundException of type java.lang.String cannot be converted to JSONObject
03-13 17:53:12.344 V/WindowManager(824): Adding window Window{de6a090 u0 PopupWindow:38e11c5f} at 22 of 28 (after Window{15d79192 u0 dk.jens.backup/dk.jens.backup.OAndBackup})
03-13 17:53:38.673 V/WindowManager(824): not Base app: Adding window Window{13c2389a u0 dk.jens.backup/dk.jens.backup.OAndBackup} at 22 of 28
03-13 17:53:39.537 V/WindowManager(824): not Base app: Adding window Window{a05f1a8 u0 dk.jens.backup/dk.jens.backup.OAndBackup} at 23 of 29
03-13 17:53:40.442 I/oandbackup(24194): backup: K-9 Mail
03-13 17:53:40.495 E/AndroidRuntime(24194):     at dk.jens.backup.OAndBackup$1.run(OAndBackup.java:152)
03-13 17:53:40.499 W/ActivityManager(824):   Force finishing activity 1 dk.jens.backup/.OAndBackup
03-13 17:53:40.943 E/WindowManager(24194): android.view.WindowLeaked: Activity dk.jens.backup.OAndBackup has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{1bf894f1 V.E..... R......D 0,0-684,322} that was originally added here
03-13 17:54:03.875 I/ActivityManager(824): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10300000 cmp=dk.jens.backup/.OAndBackup (has extras)} from uid 10019 on display 0
03-13 17:54:03.879 V/WindowManager(824): addAppToken: AppWindowToken{3a1567aa token=Token{2ec9a95 ActivityRecord{11646a4c u0 dk.jens.backup/.OAndBackup t4111}}} to stack=1 task=4111 at 0
03-13 17:54:03.917 I/ActivityManager(824): Start proc 24480:dk.jens.backup/u0a125 for activity dk.jens.backup/.OAndBackup
03-13 17:54:04.078 V/WindowManager(824): Adding window Window{47fe16f u0 dk.jens.backup/dk.jens.backup.OAndBackup} at 21 of 28 (before Window{35e6874d u0 Starting dk.jens.backup})
03-13 17:54:04.148 I/ActivityManager(824): Displayed dk.jens.backup/.OAndBackup: +262ms
03-13 17:54:04.320 I/Timeline(824): Timeline: Activity_windows_visible id: ActivityRecord{11646a4c u0 dk.jens.backup/.OAndBackup t4111} time:39227068
03-13 17:54:04.429 V/WindowManager(824): not Base app: Adding window Window{10821a81 u0 dk.jens.backup/dk.jens.backup.OAndBackup} at 22 of 28
03-13 17:54:04.489 V/WindowManager(824): not Base app: Adding window Window{734ddbd u0 dk.jens.backup/dk.jens.backup.OAndBackup} at 22 of 28
03-13 17:54:04.779 E/oandbackup(24480): acr.browser.lightning: error while reading logfile: org.json.JSONException: Value java.io.FileNotFoundException of type java.lang.String cannot be converted to JSONObject
03-13 17:54:05.454 E/oandbackup(24480): com.fsck.k9: error while reading logfile: org.json.JSONException: Value java.io.FileNotFoundException of type java.lang.String cannot be converted to JSONObject
03-13 17:54:08.520 V/WindowManager(824): not Base app: Adding window Window{1152045f u0 dk.jens.backup/dk.jens.backup.OAndBackup} at 22 of 28
03-13 17:54:09.289 V/WindowManager(824): not Base app: Adding window Window{73f0775 u0 dk.jens.backup/dk.jens.backup.OAndBackup} at 23 of 29
03-13 17:54:10.270 I/oandbackup(24480): backup: Lightning
03-13 17:54:10.313 E/AndroidRuntime(24480):     at dk.jens.backup.OAndBackup$1.run(OAndBackup.java:152)
03-13 17:54:10.326 W/ActivityManager(824):   Force finishing activity 1 dk.jens.backup/.OAndBackup
03-13 17:54:10.747 E/WindowManager(24480): android.view.WindowLeaked: Activity dk.jens.backup.OAndBackup has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{13bfe4c5 V.E..... R......D 0,0-684,322} that was originally added here
03-13 19:17:33.079 I/ActivityManager(824): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=dk.jens.backup/.OAndBackup (has extras)} from uid 10019 on display 0
03-13 19:17:33.094 V/WindowManager(824): addAppToken: AppWindowToken{4712894 token=Token{85084e7 ActivityRecord{3b2b22a6 u0 dk.jens.backup/.OAndBackup t4112}}} to stack=1 task=4112 at 0
03-13 19:17:33.149 I/ActivityManager(824): Start proc 32659:dk.jens.backup/u0a125 for activity dk.jens.backup/.OAndBackup
03-13 19:17:33.324 V/WindowManager(824): Adding window Window{5dc48cf u0 dk.jens.backup/dk.jens.backup.OAndBackup} at 20 of 27 (before Window{b79dec4 u0 Starting dk.jens.backup})
03-13 19:17:33.464 I/ActivityManager(824): Displayed dk.jens.backup/.OAndBackup: +343ms
03-13 19:17:33.628 I/Timeline(824): Timeline: Activity_windows_visible id: ActivityRecord{3b2b22a6 u0 dk.jens.backup/.OAndBackup t4112} time:44231827
03-13 19:17:34.044 V/WindowManager(824): not Base app: Adding window Window{2f70ec06 u0 dk.jens.backup/dk.jens.backup.OAndBackup} at 21 of 27
03-13 19:17:34.110 V/WindowManager(824): not Base app: Adding window Window{1e1fc292 u0 dk.jens.backup/dk.jens.backup.OAndBackup} at 22 of 28
03-13 19:17:34.412 E/oandbackup(32659): acr.browser.lightning: error while reading logfile: org.json.JSONException: Value java.io.FileNotFoundException of type java.lang.String cannot be converted to JSONObject
03-13 19:17:35.140 E/oandbackup(32659): com.fsck.k9: error while reading logfile: org.json.JSONException: Value java.io.FileNotFoundException of type java.lang.String cannot be converted to JSONObject
03-13 19:17:48.515 V/WindowManager(824): not Base app: Adding window Window{259afa8c u0 dk.jens.backup/dk.jens.backup.OAndBackup} at 21 of 27
03-13 19:17:49.627 V/WindowManager(824): not Base app: Adding window Window{1fbd11ea u0 dk.jens.backup/dk.jens.backup.OAndBackup} at 22 of 28
03-13 19:17:50.665 I/oandbackup(32659): backup: DAVdroid
03-13 19:17:50.699 E/AndroidRuntime(32659):     at dk.jens.backup.OAndBackup$1.run(OAndBackup.java:152)
03-13 19:17:50.701 W/ActivityManager(824):   Force finishing activity 1 dk.jens.backup/.OAndBackup
03-13 19:17:51.159 E/WindowManager(32659): android.view.WindowLeaked: Activity dk.jens.backup.OAndBackup has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{350d4109 V.E..... R......D 0,0-684,322} that was originally added here

downgrade to 0.2.12 don't help.