- Mar 23, 2023
Noted.I logged in, I don't have a google backup. I was only able to restore contacts and notes through xiaomi account.
Noted.when I tried to restore a backup from twrp, I missed the authorization in Google, and there was always a bootloop. now that i'm logged into google, can this work? copy the backup to the phone again for a very long time to check and get the bootloop again. does it make sense?
No. No. No.I don't have root, but I don't think it's a problem.
But I don't quite understand. I can only use a clean phone, so there are no backup files. or SwiftBackup can recognize my backup when i made in twrp?
You are getting me all wrong mate.
You have a full TWRP backup correct?
Its saved somewhere apart from your phone correct? - Maybe USB or your destop.
Step 1 - BACKUP
Copy the TWRP backup to your clean phone.
Now restore the TWRP backup.
Reboot to system.
You have a working phone now with apps + app data + personal documents/pictures/music/movies.
If you enable Google backup now and take a backup.
More than likely Google will only backup your apps but not your app data. Very sure of this.
So this is sort of pointless for you but atleast Google has a backup of your apps -- good to have.
Now root your phone -- i say this because SwiftBackup has to have root to work.
Install SwiftBackup and backup your apps + app data + media (for certain apps if necessary) + text messages/SMS + Phone Call history + Saved Wifi networks.
Copy the whole SwiftBackup folder to your desktop.
Now also copy the Camera, Documents, Music, Movies, Videos, Download folders on your phon to your desktop.
The main purpose to do the above is so that you have your SwiftBackup files + Personal folders on your desktop.
Step 2 - Prepare ROOT for the new ROM you will install later
Copy the boot.img from images folder of the new ROM to your phone
Using Magisk, patch this new boot.img.
Magisk will output the patch_boot.img file.
Copy this patch_boot.img to your desktop as well.
Step 3 - Install new ROM
Now go ahead and install the custom xiaomi.eu ROM (first time clean install).
Reboot into system.
Copy the patch_boot.img to your phone from your desktop.
Reboot into TWRP and Install the "patch_boot.img".
Select "boot" as the partition -- also check the checkbox to flash this to both slots (if your phone has both slots).
Reboot to system.
Now you have your phone (clean) w/ new ROM + Rooted.
You can take a TWRP backup now if you want and leave it on your phone or copy it to your desktop as this backup will be with new ROM + rooted + clean phone.
Step 4 - RESTORING
Copy the SwiftBackup folder to the root of your phone.
Copy the personal folders to your phone as well (carefully).
Install SwiftBackup and now restore all the apps + app data + media + text messages/SMS + Phone Call history + Saved Wifi networks.
Reboot into TWRP and go to Advanced to do a Wipe Dalvik cache.
Reboot into System and hopefully you will have your phone w/ new ROM with all your apps + app data.
You should be good to go.
You can go ahead and restore to original boot image from Magisk and even uninstall Magisk now if you like....
so that your phone is not rooted and might now save you issues with some of your banking apps.
In the case that some apps might fail to load or crash, just Clear Data for that app and launch the app again.
I am basically asking you to restore your TWRP backup so that you have a working phone (though in pre-clean state)
and then using SwiftBackup to take the backup of your apps + app data + media + etc. and save it in its (SwiftBackup) format.
TWRP is good only for full backup and restore.
Hope this helps.