TWRP - What to back up and what to restore? - Xiaomi Redmi Note 5 Pro Questions & Answers

Cant recall so many partition options in my earlier phones, but with Oreo 8.1 on Rn5 I find these:
boot, cache, data, recovery, system, system image, vendor, vendor image, modem, efs
In all, 10 backup and restore options. I understand data and system are the main ones for backup and restore. And for safe keeping modem, efs as separate backup to the side (not used in regular backup/restore operations).
What about all these new partitions I'm seeing? system image, vendor, vendor image? If I am backing up 9.5.19 and moving to (miui 10) 8.8.23, is data and system all that is required to backup? Will 8.8.23 (fw-less rom) affect these new partitions mentioned? So to restore 9.5.19, just restore data and system and that is enough?
Much thanks.

Related

What to backup in TWRP?

The new partitions are not very clear to me...
What do I have to backup to fully restore the phone?
Boot, data, system and vendor? No IMGs?
Thanks!
I believe the ones that are already selected when you go to make a backup. Data, system, boot. Though I tried to make a backup last night and it failed to mount and wouldn't create a backup. It might be because I'm still encrypted

Nandroid Backups: System or System Image?

Hey guys, quick question. When I go to do a backup in TWRP, I have the option to select System or System Image. What's the difference/benefits of both?
Thanks!
I found a good answer on the TWRP website:
What should I back up in TWRP?
The default backup options in TWRP are system, data, and boot. For most cases, this is sufficient for backing up a ROM. (Note that in some rare cases, boot i...
twrp.me
"A system image backup takes up more space than a regular system backup, but the system image backup is a bit-perfect backup that, when restored, will not break dm-verity (assuming that you don’t break dm-verity before making the backup)."

Twrp backup restore problem

When I try to restore stock backup it bootlop and didn't complete boot until I do hard reset
What should I do and which partitions should I restore
I am on 64bit twrp
ahmedAZ said:
When I try to restore stock backup it bootlop and didn't complete boot until I do hard reset
What should I do and which partitions should I restore
I am on 64bit twrp
Click to expand...
Click to collapse
System - rom
Data - app data & settings
Boot - kernel
It's best practice to restore a backup with the recovery version to which the backup was made
You may want to format data first (will delete everything on internal storage)
Wipe
Format data (option on right)
Restart to recovery then restore backup
If you don't restore data make sure you wipe it in advanced wipe
You must restore at least system & boot
Don't restore anything other than system data & boot unless you are doing it to solve a problem specific to other partitions
ahmedAZ said:
When I try to restore stock backup it bootlop and didn't complete boot until I do hard reset
What should I do and which partitions should I restore
I am on 64bit twrp
Click to expand...
Click to collapse
Flash no-verity-opt-encrypt-6.0 zip file (link here https://build.nethunter.com/android-tools/no-verity-opt-encrypt/) immediately (before rebooting into the system) after restoring your TWRP stock backup .

How to Backup ROM? from TWRP or..

I want to have a full Backup of ROM, in TWRP when I go to backup these options is checked by default:
Boot
Data
my question is , what is about this other option that backup have and didnt checked ,for what are they :
Bootloader (lk)
Bootloader(lk2)
Cache
Cust
Cust Image
Dtbo
for what is this options and what will happen if I will checked them all?
what is the best to check and do backup?
System, data, boot, dtbo, and cache will be enough. But really you should probs ask in your twrp thread as the other options are very device specific and has nothing to do with building your own. Unless you are trying to better understand it so you can build your own

Why does my Fire TV Stick 4K brick after restoring a full TWRP backup?

Backing up the partitions, System, System Image, Vendor, Vendor Image, Data, and Cache altogether brick the system. Is there any idea why this bricks my device? The only partitions that do work are System Image, Vendor Image, Data, and Boot
Skel40 said:
Backing up the partitions, System, System Image, Vendor, Vendor Image, Data, and Cache altogether brick the system. Is there any idea why this bricks my device? The only partitions that do work are System Image, Vendor Image, Data, and Boot
Click to expand...
Click to collapse
First of all, to restore such a full backup with all possible options like System and System Image isn't necessary.
You have always to choose if you want to backup/restore 'System' OR 'System Image'. Same for Vendor and Vendor Image.
While the first one does 'only' a backup (via copy) of the data on System or Vendor (which is smaller in space but sometimes problematic), the second one named Image does a full backup of the partition via DD.
Needless to say that the second 'Image' option is the way to go, since you get a perfect 1:1 backup/restore.

Categories

Resources