[Q] Partitions backed up by recovery (TWRP) - OnePlus X Q&A, Help & Troubleshooting

TWRP for the OPX brings up the partitions below:
System
Data
Cache
Persist
Boot
Recovery
EFS
I wondered which ones I should be backing up for standard nandroid backups? I used to do System, Data +/- Cache on my OnePlus One. I did EFS once and backed it up externally and on the SD card, but never restored it.
Do we need to backup all partitions every time?
More importantly, do we need to restore all partitions if restoring an older nandroid of the same ROM or one from a different ROM?
Many thanks

SORF said:
TWRP for the OPX brings up the partitions below:
System
Data
Cache
Persist
Boot
Recovery
EFS
I wondered which ones I should be backing up for standard nandroid backups? I used to do System, Data +/- Cache on my OnePlus One. I did EFS once and backed it up externally and on the SD card, but never restored it.
Do we need to backup all partitions every time?
More importantly, do we need to restore all partitions if restoring an older nandroid of the same ROM or one from a different ROM?
Many thanks
Click to expand...
Click to collapse
All recommended.
You can store your backups on SD card and forget to worry about the sizes.
Sent from my ONE E1003 using Tapatalk

Related

Can TWRP recovery create a nandroid backup that's >2GB and restore it successfully ?

Can TWRP recovery create a nandroid backup that's >2GB and restore it successfully ?
I created a nandroid backup with CWM on my gs3 and when I needed to restore it,it failed to restore /data.I searched around for the reason and found out that if one of the ''tars''(which in most cases is /data) is more than 2GB,CWM won't restore it properly.Luckily,I found out that titanium backup got an option to restore apps and data from a nandroid.So the question is:does TWRP recovery has the same problem ?
No. TWRP splits the /data backup into multiple parts and restores it perfectly. Right now it splits into parts of 1GB size each even though it can do 2GB parts (it's mentioned in the changelogs why), but the TWRP team is working on eliminating the 2GB limit entirely. So yeah, it is the better recovery.
Sent from my Desire HD using xda premium

CWM noob question

If I restore back up I made with CWM with it will it flash Rom too?
I mean let's say I have stock Samsung Rom then I flash the cm back will it be like flashing new cm Rom but with my apps and settings already?
Restoring android backup take your phone exactly at the moment the backup was done. Rom, kernel, apps, data, everything.
Sent from my Nexus 4 using xda app-developers app
A Nandroid backup takes images of your partitions.
If you want to restore a previously made Nandroid backup, enter Recovery Mode select Restore. Everything should go back to how it was when you made the backup.
If you choose the ‘Advanced Restore’ option, you can select which component of the backup to restore – like the boot, system, data or cache.
Downloaded apps, apps and OS settings, contacts, messages are backed up in data (/data)
boot has the initrd.gz and zImage.
system has the system files (/system)
cache has the cache (/cache).
SD-ext has the ext partition

New to CWM Recovery need some help

So I've finally managed to install a CWM recovery for my spreadtrum phone. Went on to do my first nandroid backup but I noticed near the end of the procedure it said sd-ext partition not found sd-ext not backed up (something to that effect). I know I have an sd-ext partition because I am using link2sd (using fat32 for partitions). My question is what will happen in the event I restore that backup? Will the linked apps in the sd-ext partition need reinstall? Is there any potential problem that may occur if I restore? Thanks in advance.

Help with Nandroid Backupping

Hey,
I have a Samsung S6, and want to install my first ever ROM (gonna be Cyanogen Mod 12 or 13). It's recommended that I backup my device, but need help with using TWRP.
I clicked 'Backup' in recovery, and it comes up with options to backup: Boot, System, Data, Cache, EFS and another thing I can't remember. I assume I need to backup Boot and System, because I am assuming that this is the Marshmallow OS and Boot. I also want to backup Data, because I do not want to lose my apps, pictures and music. However, to backup all of them at once is too large of a file.
Instead, I decided to backup them all separately, then move them over to my PC and delete them from my phone. My question is, if I want to restore my phone, is it possible to restore each backup separately, of do I need to join them up into one file. If so, how do I do it?
Cheers in advance )
P.S. DO I NEED TO BACKUP THE EFS, CACHE AND OTHER THING I CANNOT REMEMBER???
You can backup to a flash drive using USB OTG cable as well. You will want to backup boot, system, and data. EFS is not needed, but I find it a good practice to back it up and save it to a safe spot like your computer. The nandroid will back up each partition separately into a folder marked with the date. You can restore each individual part as needed. Just keep everything in the folder as it was set up for ease of use.
Also, your /data backup will not include music and pictures. It will back up data/data and data/app. The pictures and music are stored in data/media, or what the phone and recovery see as /sdcard though it is an emulated point and not a physical "sd card". When you perform a factory reset in recovery, it does not wipe /data/media, thus leaving everything on /sdcard intact. Though I do recommend making a copy of that to a safe space as well. It's just not what a nandroid backs up.
es0tericcha0s said:
You can backup to a flash drive using USB OTG cable as well. You will want to backup boot, system, and data. EFS is not needed, but I find it a good practice to back it up and save it to a safe spot like your computer. The nandroid will back up each partition separately into a folder marked with the date. You can restore each individual part as needed. Just keep everything in the folder as it was set up for ease of use.
Also, your /data backup will not include music and pictures. It will back up data/data and data/app. The pictures and music are stored in data/media, or what the phone and recovery see as /sdcard though it is an emulated point and not a physical "sd card". When you perform a factory reset in recovery, it does not wipe /data/media, thus leaving everything on /sdcard intact. Though I do recommend making a copy of that to a safe space as well. It's just not what a nandroid backs up.
Click to expand...
Click to collapse
Thank you for helping me, Ill back it up now )
No problem. Let me know if you have other questions. I've literally flashed roms 1000+ times on over 100 different kinds of phones.

Safe to delete partitions from Nandroid backup?

I made a nandroid backup for almost all partitions using TWRP and now I need to restore the data partition. Unfortunately, TWRP (or a corrupt backup) does not offer the option to choose which partition to restore. So is it safe to delete anything but data.ext4.win0*, data.ext4.win0*.sha2 and data.info files from the backup directory and restore it (if I have no /data to loose)?
Would of course be disastrous if it tries to restore the partitions which I deleted from the backup, especially recovery, without the backup file, thereby just deleting it.
Thanks if you can give me some advice

Categories

Resources