TWRP backup, checkboxes - Xiaomi Mi Mix 2S Questions & Answers

what boxes should i check/tick during twrp backup. my previous phone had for about five check boxes but my mi mix 2s have alot more (like: boot, cahce,recovery, system, vendor, system image, vendor image, data excl. storage, modem, efs) So what should i check/tick if i want to create backup file that will be able to fully restore my phone? (if something gfoes wrong)

I just need to know what partitions i should restore to properly boot my phone. There is rly none who can give me advice? (Sry for bad English)

plakonn said:
I just need to know what partitions i should restore to properly boot my phone. There is rly none who can give me advice? (Sry for bad English)
Click to expand...
Click to collapse
It's in you! It is always good to have a Backup from EFS.
For me I always backup system, boot and data... That's it

made-in-tirol said:
It's in you! It is always good to have a Backup from EFS.
For me I always backup system, boot and data... That's it
Click to expand...
Click to collapse
so what partitions may i restore? i remember on my previous phone there were partitions that couldn't be restored without causing bootloop. i would like to prevent bootloop or prevent damaging partitions and im not sure what partitions are safe to restore.

generally just back up system image, vendor image, data and boot. read here for a more detailed explanation about the system and vendor images, and they should be what you back up, rather than just the normal system and vendor checkboxes.
backing up modem and efs is also a good idea, though not required for every backup.

Related

Nandroid backup..

I did a nandroid backup bit it said fatal error while backing up bpws...or something like that...(one more thing...will nandroid backup...backup my apps if I lost them??)
Sent from my XT720 using XDA App
vari9 said:
I did a nandroid backup bit it said fatal error while backing up bpws...or something like that...(one more thing...will nandroid backup...backup my apps if I lost them??)
Click to expand...
Click to collapse
For some reason we can't back up all the partitions in nandroid. It should be enough to backup system and data. Optional: boot, logo (if you modified M boot logo), cache (usually not necessary), sd data (if you use ext partition on SD card).
With nandroid of system and data (and the others, but only if you use them) you should expect to be able to go back to exactly how your phone was at the time you made the backup. But you will lose changes you made after you made the backups.
When I'm about to start testing ROMs, I backup system and data. To go back to my pre-testing ROM I restore system and data and then wipe cache partition.
Mioze7Ae said:
When I'm about to start testing ROMs, I backup system and data. To go back to my pre-testing ROM I restore system and data and then wipe cache partition.
Click to expand...
Click to collapse
You want to say system and boot ?
Because changing a room modify system.img and boot.img
The boot.img is the same on all the ROMs thanks to the locked bootloader.
Yeah, I never even bother changing boot.img from the sbf version. If I did I'd probably use the Russian one because I think it was the most recently compiled.
Ok, I wasn't knowing that I always flash boot.img that come with ROM.

Nandroid Backups and Bootloops

Hi, was wondering, if I was to make a full nandroid backup online, would I be able to recover my device even if its in a bootloop state? Not that my device is in a bootloop state I was just wondering.
Thanks, Mohan.
Yes, you can use a nandroid backup to recover from a bootloop, as going into recovery bypasses the normal boot sequence. It is always recommended to have a nandroid backup of your last good configuration in case you are modifying anything that might cause your phone to become unstable.
syung said:
Yes, you can use a nandroid backup to recover from a bootloop, as going into recovery bypasses the normal boot sequence. It is always recommended to have a nandroid backup of your last good configuration in case you are modifying anything that might cause your phone to become unstable.
Click to expand...
Click to collapse
Ohh right thanks, another question, im backing the data on my device right now, however its skipped /boot and /recovery and is only backing up /system and /data, are the first 2 needed or will i still be able to recover my rom and data without them?
All your user data is stored within the /data folder, with the /system folder containing all of your ROM files. You will not /boot or /recovery for recovering your data.
syung said:
All your user data is stored within the /data folder, with the /system folder containing all of your ROM files. You will not /boot or /recovery for recovering your data.
Click to expand...
Click to collapse
Ok, thanks for clearing that up for me.

TWRP Backup - cache, recovery

Hi all.
I've been doing backups of my Nexus 5 with TRWP. I chose all options, that is I added 'cache' and 'recovery'.
Question: Is that bad? Should I not backup those?
Thanks.
Just use the ones it defaults to, system, data, boot. You don't need to backup the others. same with wipe, just use the slider thing. Messing with the others can get you on trouble
One other thing, make one backup of the efs only and store that in a safe place off your phone
jd1639 said:
Just use the ones it defaults to, system, data, boot. You don't need to backup the others. same with wipe, just use the slider thing. Messing with the others can get you on trouble
One other thing, make one backup of the efs only and store that in a safe place off your phone
Click to expand...
Click to collapse
Can I recommend having 2 different efs backups on the phone and a copy of each off the phone?
That way you're mitigating the risk of one backup being incomplete and the risk of corruption through transferring the files "offsite"
Sent from my Nexus 5 using Tapatalk
Wow. So it is indeed bad. Why?
What i did:
Backup01: Restore phone to defaults, root, backup of all (including cache and recovery).
Backup02: Configure my phone, backup of all (including cache and recovery).
Backup03: Install apps, backup of all (including cache and recovery).
Should I restore to each of them and make a new backup without cache and recovery?
Thanks.
jd1639 said:
Just use the ones it defaults to, system, data, boot. You don't need to backup the others. same with wipe, just use the slider thing. Messing with the others can get you on trouble
One other thing, make one backup of the efs only and store that in a safe place off your phone
Click to expand...
Click to collapse
rootSU said:
Can I recommend having 2 different efs backups on the phone and a copy of each off the phone?
That way you're mitigating the risk of one backup being incomplete and the risk of corruption through transferring the files "offsite"
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
rwed said:
Wow. So it is indeed bad. Why?
What i did:
Backup01: Restore phone to defaults, root, backup of all (including cache and recovery).
Backup02: Configure my phone, backup of all (including cache and recovery).
Backup03: Install apps, backup of all (including cache and recovery).
Should I restore to each of them and make a new backup without cache and recovery?
Thanks.
Click to expand...
Click to collapse
What you did isn't bad, it's just the backups will be larger and they have information in them you don't need. Recovery is your twrp recovery and the cache will be recreated when you boot your device
jd1639 said:
What you did isn't bad, it's just the backups will be larger and they have information in them you don't need. Recovery is your twrp recovery and the cache will be recreated when you boot your device
Click to expand...
Click to collapse
OK I see. Then can I just keep those backups with all efs, cache and recovery included? May it lead to problems in future restores?
Thank you!
rwed said:
OK I see. Then can I just keep those backups with all efs, cache and recovery included? May it lead to problems in future restores?
Thank you!
Click to expand...
Click to collapse
You should be ok. The one thing you never want to do is restore an efs partition from one phone onto another phone. That is an instant hosed phone that you can't recovery from.
jd1639 said:
You should be ok. The one thing you never want to do is restore an efs partition from one phone onto another phone. That is an instant hosed phone that you can't recovery from.
Click to expand...
Click to collapse
Yes... I'm reading several articles on that! Pretty scary... I'm gonna do as rootSU suggested and make 2 different backups and store 2 copies offsite, somewhere cloud-based...
I'll then keep these backups I made with all selected. With your first post I thought... I don't know... that maybe restoring these images with all recovery, cache and efs might lead to problems when booting.
If I understand correctly, this is not the case, I just misunderstood you, what you meant is that "it doesn't hurt, it's just not needed", right?
Thank you jd!

[Q] Things to backup in Nandroid Backup?

Hi, I'm a bit new to Nandroid Backup, so when you click backup in TWRP then there is "Partitions to Backup" options. I read a guide that you have to check Boot, System, and Data. The thing is, can I just backup System and Boot? And when I restore them does my phone will gone wrong?
Thanks
• Boot is to start the phone up. This is always needed.
• System is for the ROM. This is always needed.
• Data is for your installed apps and settings. Basically, if you backup and restore this, it will be like you used a time machine.
Every data backup is for its own ROM! Do not ever try to restore a data backup from a different ROM!
• Cache is basically the cache. It is not needed, but you can. It speeds up the startup after restoring. If you don't backup it, it will be recreated anyway but you have to wipe your old cache first otherwise they will conflict.
UnexpectedGuy said:
Hi, I'm a bit new to Nandroid Backup, so when you click backup in TWRP then there is "Partitions to Backup" options. I read a guide that you have to check Boot, System, and Data. The thing is, can I just backup System and Boot? And when I restore them does my phone will gone wrong?
Thanks
Click to expand...
Click to collapse
Backup
System
Boot
EFS
DATA
this would be sufficient and will nt cause changes or harm to your phone when you restore
********************Hit Thanks if i Helped*********************
Gautam Maini said:
Backup
System
Boot
EFS
DATA
this would be sufficient and will nt cause changes or harm to your phone when you restore
********************Hit Thanks if i Helped*********************
Click to expand...
Click to collapse
thanks, that's what I need.
Letzen said:
• Boot is to start the phone up. This is always needed.
• System is for the ROM. This is always needed.
• Data is for your installed apps and settings. Basically, if you backup and restore this, it will be like you used a time machine.
Every data backup is for its own ROM! Do not ever try to restore a data backup from a different ROM!
• Cache is basically the cache. It is not needed, but you can. It speeds up the startup after restoring. If you don't backup it, it will be recreated anyway but you have to wipe your old cache first otherwise they will conflict.
Click to expand...
Click to collapse
also thank you @Letzen, very helpful :good:

Recommended partition backup approach

Having my V60EA rooted with all my apps installed and configured I started to wonder how to perform a backup.
On a file level I have working Swift Backup, NeoBackup and partially old good Titanium Backup.
The question is how to wisely backup on a partition level. TWRP seems to be not ready yet (or am I wrong?) What then? QFIL and manual backup of all those dozens of partitions? Or maybe this doesn't make sense as there is KDZ file? Maybe I should backup just a set of crucial partitions, like boot_a/b (already got them backed up) and some others?
From everything I've read so far, my first step will be to get into QFIL and make a backup of every single partition in case I make a huge stuffup and need to restore any of them. It seems to save a lot of people from certain doom.
Still battling to understand what a FTM is as this seems like it's going to be pretty important for my Verizon to make it to EA successfully.
I think you could omit user data partition if you use another backup tool like SwiftBackup, OAndBackupX/NeoBackup etc.
And there are about 108 other partitions to backup. System is the biggest or of them - 21GB. I've just backed them up.
Ok, via qfill backup QCN than backup vital partitions of LUN 5, maybe you will be need it some time.
Than make full backup partitions you do not need backup userdata partition.
I am working like this made backup full there is rooted made system rw and some customizations. Than when. I set all my userdata customization and apps I am using migrate tool to backup userdata apps, settings... Also I can using LP to backup apps data.
bandario said:
From everything I've read so far, my first step will be to get into QFIL and make a backup of every single partition in case I make a huge stuffup and need to restore any of them. It seems to save a lot of people from certain doom.
Still battling to understand what a FTM is as this seems like it's going to be pretty important for my Verizon to make it to EA successfully.
Click to expand...
Click to collapse
You do not need backup single one by one partition, you can do it several of vital partitions than make backup.
If you want to croosflash Verizon to EA you do not need Verizon FTM you need EA FTM.
In FTM stored some temporary data like imei, ntcode, s/n... While first booting it write data from other vital partitions. You do not care so much about FTM.

Categories

Resources