which partitions should i backup from TWRP to perfectly restore current rom? - Xiaomi Poco X2 Questions & Answers

hello all. i am a poco x2 user. i am using twrp (3.4.2b-0624) and 12,0.1 stable. now i often change my rom to custom roms. so i need to restore back my best setup rom. which partitions only should i backup from twrp? so that i perfectly restore my previous rom? previously i used htc m9, oneplus3t, those devices were ok with twrp backup and restore rom such as data+system partitions. but, with poco x2, i can see that the system partition is not there in twrp .besides there is SUPER partition.and i found that its huge in size and cannot copy /restore again.. please i need some proper understanding about this new thing in android 10. thanks in advance

We don't have so far TWRP for Poco X2 that is able to do proper backup. And then to restore they is another thing. You have to have hope and wait for official TWRP

arifn82 said:
hello all. i am a poco x2 user. i am using twrp (3.4.2b-0624) and 12,0.1 stable. now i often change my rom to custom roms. so i need to restore back my best setup rom. which partitions only should i backup from twrp? so that i perfectly restore my previous rom? previously i used htc m9, oneplus3t, those devices were ok with twrp backup and restore rom such as data+system partitions. but, with poco x2, i can see that the system partition is not there in twrp .besides there is SUPER partition.and i found that its huge in size and cannot copy /restore again.. please i need some proper understanding about this new thing in android 10. thanks in advance
Click to expand...
Click to collapse
Use migrate app to quickly restore your apps and data.. nandroid backup is dead in Android 10.

The TWRP has some bugs. You won't be able to use the restore function to restore the rom. It's better to download the fastboot rom or the recovery rom for the device. Better to be safe than to panic later when TWRP restore won't work.

tuskan_supa said:
Use migrate app to quickly restore your apps and data.. nandroid backup is dead in Android 10.
Click to expand...
Click to collapse
hey i tried using migrate app to restore data from my apps because TWRP isnt an official release on my device yet and when i went to install the backup zip i got "update process ended with error 7" How did you get yours to work?

Related

[TWRP] Backup and Restore with TWRP

My OP6 has the TWRP 3.2.2 installed, with OOS 5.1.9 and Magisk. I would like to try out the new HAVOC rom, so i have done a full TWRP backup of all the partitions of the phone, and another one with only the BOOT, SYSTEM and DATA partitions.
But I have many doubts about the reliability of the TWRP restore: I read several posts related to bootloop and failures. I would like to avoid having to reinstall the whole phone from scratch.
Has anyone successfully full backed up and restored on the OP6 with TWRP? If so, which partitions did you backup?
The alternative would be to use Titanium backup, but the restore procedure would be much more complex.
I want answers about this as well. What partitions do we backup? What's the process to restore? I tried backing up everything then restoring it and i got a blank screen when I was suppose to see the boot animation.
Marlenio said:
My OP6 has the TWRP 3.2.2 installed, with OOS 5.1.9 and Magisk. I would like to try out the new HAVOC rom, so i have done a full TWRP backup of all the partitions of the phone, and another one with only the BOOT, SYSTEM and DATA partitions.
But I have many doubts about the reliability of the TWRP restore: I read several posts related to bootloop and failures. I would like to avoid having to reinstall the whole phone from scratch.
Has anyone successfully full backed up and restored on the OP6 with TWRP? If so, which partitions did you backup?
The alternative would be to use Titanium backup, but the restore procedure would be much more complex.
Click to expand...
Click to collapse
Our TWRP is very buggy i tried to restore whole backup using twrp and it failed showing error. But somewhere i got solution in xda.
Backup only data, system and boot and restore it will work.
But for safety always keep one extra full backup of all things like efs,modem, data, system, boot, vendor. Because sometime if something goes wrong u have rescue operation always there
Since this device is super easy to unbrick if needed I personally only keep a data backup of each ROM I use on my flash drive.
So I don't need to do a full setup when flashing a different rom.
Otherwise if something crazy happens and the device gets bricked, it's fixable with a PC.
Sent from my LG-H932 using XDA Labs

How to restore TWRP backup?

Is there a guide on how to restore a backup made in TWRP? I did this the other day forcing me to reflash the entire phone because it failed. So was just wondering about the proper way to restore backups on this phone?
baxtex said:
Is there a guide on how to restore a backup made in TWRP? I did this the other day forcing me to reflash the entire phone because it failed. So was just wondering about the proper way to restore backups on this phone?
Click to expand...
Click to collapse
It is a real pain but it works.
1. Store TWRP backup off the phone.
2. In TWRP wipe everything, then flash the same room as your backup on both slots. If using OOS, using the fastboot roms will do this easily.
3. Go through the initial setup in the OS.
4. Install TWRP (and Magisk if you were using it in the backup)
5. Restore the backup.
I know it is a headache, but the way this phone handles encryption makes it this way.
tabletalker7 said:
It is a real pain but it works.
1. Store TWRP backup off the phone.
2. In TWRP wipe everything, then flash the same room as your backup on both slots. If using OOS, using the fastboot roms will do this easily.
3. Go through the initial setup in the OS.
4. Install TWRP (and Magisk if you were using it in the backup)
5. Restore the backup.
I know it is a headache, but the way this phone handles encryption makes it this way.
Click to expand...
Click to collapse
But this just sounds weird. I was on OOS 9 with TWRP and magisk. I app was misbehaving so I restored a backup I made the day before. Shouldn't that have worked? It sounds like this process would end up in the same situation. :S What about restoring only certain things, like the boot.img. Would that work?
baxtex said:
But this just sounds weird. I was on OOS 9 with TWRP and magisk. I app was misbehaving so I restored a backup I made the day before. Shouldn't that have worked? It sounds like this process would end up in the same situation. :S What about restoring only certain things, like the boot.img. Would that work?
Click to expand...
Click to collapse
I don't know to be honest. I did a lot of experimenting trying to port a rom (had to flash lineageos on the phone more than a few times) and would backup system, boot, and data. Then I would flash my failed rom, it would fail, and that process I wrote out earlier worked.
It is also possible that any and all Magisk modules we're causing your problem and starting with the fresh slate that the fastboot rom gives you would be important.
Also when you flashed OOS 9, if you didn't flash it twice you didn't have it on both slots, and you just restored your backup to the slot that didn't have OOS 9. The flash-all.bat in the fastboot rom will flash it to both slots.

Is going from Tmo > Global > Android 11 Dev then back to Global possible?

Here's my question.
I'm curious to check out the Android 11 Developer preview. Currently, my TMobile phone has been converted to global with root and such. What I want to know is, if I install the Dev 3 Android 11 preview, and then want to go back to where I was on global, will I be able to get into TWRP to restore my backup of the Global? Will that work? Or would I basically have to start over?
Thanks everyone!
Probably would just have to download and flash the revert files listed on the developer page.
Yes android 11 is meant for global so is the downgrade
Right but that wipes the device. Does it also wipe recovery? I'm wondering if once I revert, if I can boot into TWRP and just restore from backup on Android 10
InsaneJester17 said:
Right but that wipes the device. Does it also wipe recovery? I'm wondering if once I revert, if I can boot into TWRP and just restore from backup on Android 10
Click to expand...
Click to collapse
Backup for TWRP doesn't work fully. I wouldn't rely on it.
Upgrade didnt wipe mine, downgrade does. As far as TWRP, i dunno. (IN2017)
InsaneJester17 said:
Right but that wipes the device. Does it also wipe recovery? I'm wondering if once I revert, if I can boot into TWRP and just restore from backup on Android 10
Click to expand...
Click to collapse
TWRP is not fully functional yet so I wouldn't try to restore from there. Upgrading wouldn't wipe phone but downgrading would. I would move all files from phone and copy to computer then restore after downgrade. Also TWRP is saved on your sd card so I think it would not delete the folder or contents since it's not a data file. Happy modding!
D'oh! I'm guilty and moved too fast. I got caught in a boot loop trying to wipe dalvik/cache in twrp. No biggie. MSM'ed back to stock.
TWRP isn't available for A11 yet so I doubt you'll be able to flash it while on DP3. Plus (I'm pretty any backup made on a newer OS won't work on older OS versions due to system changes unless you're only backing up and restoring data.

BootLoop after TWRP restore

Hello,
On Xiaomi Mi 10 Ultra with TWRP 3.4.2b-0623 wzsx150, i did a full backup (all partitions) then after some moding and all on phone. decided to restore the full backup trought TWRP
the phone goes on bootloop and didnt want to start.
i already fixed the phone by flashing rom again, but i'm wondering why a TWRP full restore give a bootloop ? any help to understand to avoid this next time
thanks a lot
This is late but this happened to me before aswell. You have to flash the rom which you've done the backup on and then just restore the data partition.
Does your device keep in a frozen black screen?
Psych0t1c20 said:
This is late but this happened to me before aswell. You have to flash the rom which you've done the backup on and then just restore the data partition.
Click to expand...
Click to collapse
i did it with same rom, but i think the issue is from me restoring all partition, i think i need to choose only ones needed
Rovyo said:
i did it with same rom, but i think the issue is from me restoring all partition, i think i need to choose only ones needed
Click to expand...
Click to collapse
If you are restoring to the same device of the backup, just restore it and then wipe data.
Reboot and it will work perfectly.
VD171 said:
If you are restoring to the same device of the backup, just restore it and then wipe data.
Reboot and it will work perfectly.
Click to expand...
Click to collapse
exactly what i have did, but i checked all partitions when i did the restore i think i need to uncheck some of them in order to avoid the bootloop

Can I backup & restore including appdata with TWRP?

In the past I've always backed up my complete ROM incl. appdata with twrp. I didn't have to competely setup my device if flashing went wrong and reverted to stock. I had some bad luck flashing roms because the A/B slots are new to me. I now have my bootloader unlocked and everything setup on stock OOS, and made a twrp backup of super, recovery and data.
Before flashing another ROM I just want to make sure I can revert easily to the previous OS without doing a complete setup of app settings and stuff
My question is
Can I wipe/factory reset and then just restore with twrp?
Do I restore when in the active slot where current os is?
Are there any issues with password/encryption when restoring?
Expected scenario;
I'm on stock OOS, wiped and want to restore appdata, settings, homescreen, etc...
I failed to install custom ROM and want to revert to stock OOS without having to redo the entire setup
I did search google and this forum for an answer or guide but couldn't find one (please correct me if I missed a thread)
yusisushi said:
In the past I've always backed up my complete ROM incl. appdata with twrp. I didn't have to competely setup my device if flashing went wrong and reverted to stock. I had some bad luck flashing roms because the A/B slots are new to me. I now have my bootloader unlocked and everything setup on stock OOS, and made a twrp backup of super, recovery and data.
Before flashing another ROM I just want to make sure I can revert easily to the previous OS without doing a complete setup of app settings and stuff
My question is
Can I wipe/factory reset and then just restore with twrp?
Do I restore when in the active slot where current os is?
Are there any issues with password/encryption when restoring?
Expected scenario;
I'm on stock OOS, wiped and want to restore appdata, settings, homescreen, etc...
I failed to install custom ROM and want to revert to stock OOS without having to redo the entire setup
I did search google and this forum for an answer or guide but couldn't find one (please correct me if I missed a thread)
Click to expand...
Click to collapse
Did you read the first 3 posts of https://forum.xda-developers.com/t/...recovery-project-8t-kebab-2022-03-09.4302449/ ?
BillGoss said:
Did you read the first 3 posts of https://forum.xda-developers.com/t/...recovery-project-8t-kebab-2022-03-09.4302449/ ?
Click to expand...
Click to collapse
HI, yes I did
I am still confused because it says before a restore I have to disable screenlock, if my phone is softbricked or has no OS does that count as not having fingerprint/lockscreen enabled?
yusisushi said:
HI, yes I did
I am still confused because it says before a restore I have to disable screenlock, if my phone is softbricked or has no OS does that count as not having fingerprint/lockscreen enabled?
Click to expand...
Click to collapse
When you start TWRP, does it prompt you for a password/pin/pattern?
If Yes, then you have a lock screen password set. And if you can't get into the system to disable it, you'll have to format data (completely wipes all data).
If No, then you're good to go.
BillGoss said:
When you start TWRP, does it prompt you for a password/pin/pattern?
If Yes, then you have a lock screen password set. And if you can't get into the system to disable it, you'll have to format data (completely wipes all data).
If No, then you're good to go.
Click to expand...
Click to collapse
Hi, first of all; thank you for taking time to help me!
I managed to completely wipe the phone including data, and afterwards I restored it by copying the backup (which was now on my computer) and restoring it. SUCCESS! All appdata seems to be there, homescreen, and after second reboot my fingerprint still worked as before.
I just have one more question if you don't mind;
Below partitions I backed up;
Data
Boot
DTBO
Super
However, I'm not able to copy over the "super" partition from my computer to my phone, is this normal? it's almost 8GB and I was convinced I wasn't going to get to the OS without restoring it but apparently I didn't need it (?)
I suppose with the Fastboot Enhance Tool I'll be able to also restore this?
You really only need to backup the "system" partitions (boot, dtbo, super) if you're changing to custom ROMs. If you're always on OOS then you can forget about backing them up.
You should be able to copy the full backup, including super files from your PC to your phone using ADB. I've done that lots of times.
I've never used the tool you referred to. But I do know that you can't use fastboot to flash the super partition - it's too big.
However, if you break it up into chunks (I did it in 512MB chunks) using SparseConverter (https://forum.xda-developers.com/t/tool-sparseconverter-v1-0-1.2749797/) then you can successfully flash it.
Just to confirm, if a ROM bootloops and I don't have access to a computer, there's no way to restore the TWRP backup? Seems like this defeats the point of even making on-device backups (AFAIK encryption can't be disabled for many roms)
tech.central said:
Just to confirm, if a ROM bootloops and I don't have access to a computer, there's no way to restore the TWRP backup? Seems like this defeats the point of even making on-device backups (AFAIK encryption can't be disabled for many roms)
Click to expand...
Click to collapse
If you can enter TWRP (even if your rom bootloops) there is a great chance you can restore backup in TWRP.

Categories

Resources