Hello,
in short: Restoring data of any apps using Titanium Backup Pro causes the restored apps to crash immediately after starting. According to logs there are file permissions issues. But I am unable to find the cause!?
Affected are/were backups from/to different roms, in Detail:
- any backups from LineageOS 17 (Android 10) to (stock Fairphone) Android 13
- any backups from LineageOS 17 (android 10) to LineageOS 21 (Android 14)
- any backups from (stock Fairphone) Android 13 to LineageOS 21 (Android 14)
device is a Fairphone 5 with freshly installed LineageOS, rooted using Magisk, installed Titanium Backup Pro from google play market.
diving into Details
-install from backups without data restore work and will work, when I delete the app’s storage using app details.
-logcat shows exceptions caused by “EACCES (Permission denied)” when opening apps with data restored
wanted to insert those blocks as spoilers, but message got to long. thus they can be downloaded
Example (app aNag):
logcat:
https://www.swabian.net/extern/fairphone/tbp_logcat.txt
but the permissions seem to be correct, when I look at the affected folders using ls and even lsattr.
ls, working without data restored:
https://www.swabian.net/extern/fairphone/tbp_lsworking.txt
ls, crashing after data restored:
https://www.swabian.net/extern/fairphone/tbp_lscrashing.txt
–>all permissions and ownerships seem to be the same
lsattr working vs. crashing
https://www.swabian.net/extern/fairphone/tbp_lsattrworking.txt
https://www.swabian.net/extern/fairphone/tbp_lsattrcrashing.txt
→ don’t see any differences
I tried a lot different combination in TB’s restoration and troubleshooting settings.
Ownership was originally not the same of course, the tarball’s stored ownership was “u0_a222/u0_a222”, TB correctly applies the new ownership for restored data.
details on the backup:
tarball listing:
https://www.swabian.net/extern/fairphone/tbp_nagiostarball.txt
.properties file:
https://www.swabian.net/extern/fairphone/tbp_nagioproperties.txt
any help very very much appreciated
thank you
Paneologist