migrator icon indicating copy to clipboard operation
migrator copied to clipboard

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

Open ErikSteiner opened this issue 4 years ago • 2 comments

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

ErikSteiner avatar Dec 22 '20 08:12 ErikSteiner

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

SebastianApel avatar May 25 '21 20:05 SebastianApel

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

VR-25 avatar Jul 16 '21 13:07 VR-25