fajabird
fajabird
Today I tried to restore a backup taken in cm12.1 with version 0.2.10 into cm13 (same device, just clean flashed cm13). Everything looked good, i.e. no errors but in fact...
I'm using the latest released version from f-droid.
Ok, basically I tried the same again like described above, but this time I used the version form issue 108, i.e. backup was created with version 0.2.10 on cm12.1 and...
restoring "connectbot": 12-02 22:21:26.726 253 2249 E ACDB-LOADER: Error: ACDB AudProc vol returned = -19 12-02 22:21:26.726 253 2249 E ACDB-LOADER: Error: ACDB AFE returned = -19 12-02 22:21:27.524 8507...
I tried to mimic the file permissions in /data/data/org.connectbot which I get form helium-backup - but still was not able to launch the app.
maybe better as a file: [log.txt](https://github.com/jensstein/oandbackup/files/50250/log.txt)
Yes - please ignore the timestamps - I did the tests twice and on the first run I only recorded the stats and on the second run I did ls...
I think I found the problem: SElinux! When I disable it via "setenforce 0" than I can restore and start the apps. Some of them are still running after re-enabling...
Over at XDA some people noticed the same for Titanium-Backup: http://forum.xda-developers.com/google-nexus-5/help/questions-titanium-backup-t3225002/post63299455#post63299455
Solution is much simpler than I thought: do a "restorecon -R /data/data/PATH TO APP-DATA" after each app restore, or alternatively (but slower) "restorecon -R /data/data/*" for all apps at once.