VR-25 / migrator

A backup solution and data migration utility for Android
GNU General Public License v3.0
90 stars 6 forks source link

v2020.9.24-beta - Unable to restore backup on new phone #4

Open ErikSteiner opened 3 years ago

ErikSteiner commented 3 years ago

Migrator version: v2020.9.24-beta OS: LineageOS 18.1 with GApps I used migrator -bM -v termux to backup all my apps and to restore them on my new phone. After the backup was done, I copied the .migrator folder to my PC. It contained all the backups, however they were not compressed. Then I noticed, that all my Apps crashed on my old device and the launcher switched to the stock LineageOS launcher. It turned out, that Migrator somehow broke all the App's data. However I copied the backup to my new phone and used migrator -i and then migrator -rn. They were restored, but I got an error message and so every App that I restored crashed, when I launched it.

Is it possible to fix my backup, or is it lost. Moreover my new phone has MicroG installed, instead of GApps and used Migrator v2020.9.24-beta.

Here is an example of the error message with migrator -rn

avc: denied { read } for scontext=u:r:system_server:s0 tcontext=u:object_r:system_data_root_file:s0 tclass=file permissive=1 ln: com.fsck.k9/base.apk: Cross-device link Data com.keramidas-TitaniumBackup App avc: denied { read } for scontext=u:r:system_server:s0 tcontext=u:object_r:system_data_root_file:s0 tclass=file permissive=1 ln: com.keramidas.TitaniumBackup/base.apk: Cross-device link

SebastianApel commented 3 years ago

Had the same problem, and I just submitted a pull request for the bugfix.

Meanwhile, you can find my version at https://github.com/SebastianApel/migrator

VR-25 commented 3 years ago

@ErikSteiner, see if the latest release has this fixed.