- Aug 6, 2024
- 3
- 3
com.miui.backup version 6.5.1.0
Xiaomi 14 Global
Tested on both stable and DEV versions:
- HOUJI_OS1.0.42.0.UNCCNXM_14
- HOUJI_OS1.0.24.7.28.DEV_14
I try to use the "Settings -> My Device -> Back up and restore" application to restore my backups on a clean phone. I've figured out that the restore of Call history, Contacts and Messages works not in all cases.
When the restore doesn't work one can see that only several kilobytes has been restored, instead of number of calls/contacts/messages:
Usually it works if one select calls/contacts/messages and all "Other system app data" group:
If any of calls/contacts/messages failed to restore, then it will become broken and won't be restored with any other restore attempt.
Attached an adb logcat output for failed restore attempt. Seems this part is related:
There are no such error on stock ROM and restore works without manual permission's change; tested on OS1.0.11.0.UNCRUXM_14.0.
Could be possibly related to this: https://xiaomi.eu/community/threads...s-in-hyperos-1-0-regression-from-stock.73733/
Xiaomi 14 Global
Tested on both stable and DEV versions:
- HOUJI_OS1.0.42.0.UNCCNXM_14
- HOUJI_OS1.0.24.7.28.DEV_14
I try to use the "Settings -> My Device -> Back up and restore" application to restore my backups on a clean phone. I've figured out that the restore of Call history, Contacts and Messages works not in all cases.
When the restore doesn't work one can see that only several kilobytes has been restored, instead of number of calls/contacts/messages:
Usually it works if one select calls/contacts/messages and all "Other system app data" group:
Reproduce:
The issue usually can be reproduced on a clean phone with partial selection of "Other system app data" or none of this group and a single calls/contacts/messages. I also restored just calls and contacts and after that restore of messages won't work.If any of calls/contacts/messages failed to restore, then it will become broken and won't be restored with any other restore attempt.
Attached an adb logcat output for failed restore attempt. Seems this part is related:
07-28 06:49:16.314 12620 12671 V Backup:FullBackupAgent: onRestoreFile type = 1 domain = miui_meta path = cache/_tmp_meta
07-28 06:49:16.326 12620 12671 E FullBackup: Unable to create/open file /storage/emulated/0/Android/data/com.android.contacts/cache/_tmp_meta
07-28 06:49:16.326 12620 12671 E FullBackup: java.io.FileNotFoundException: /storage/emulated/0/Android/data/com.android.contacts/cache/_tmp_meta: open failed: EACCES (Permission denied)
There are no such error on stock ROM and restore works without manual permission's change; tested on OS1.0.11.0.UNCRUXM_14.0.
Could be possibly related to this: https://xiaomi.eu/community/threads...s-in-hyperos-1-0-regression-from-stock.73733/