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
Related
Hi all
I have rooted my phone using the SAMSUNG GALAXY S3 TOOLKIT V2.0 by mskip. I have been trying to create a backup of the stock rom on my phone, but when I try to in CWM recovery I get error message "error while making a backup image of / data". Can anyone help me with this or tell me how to make a backup of the stock rom.
Cheers in advance
eze
When you do a backup, the .android_secure folder form the external sd is backed up as .android_secure.img (It's hidden in the backup set and not included in the md5 checksum). This always gets backed up, even in an advanced backup where data is excluded.
Then when you try to do a full_restore from this backup, after it restores /data it attemps to restore .android_secure.img and fails formatting the device, which kicks CWM out of the restore function and back to the main menu.
I've not tried it with the sdcard removed. I didn't know it would fall back to the internal sdcard. Easiest way around the issue (for now) is to erase .android_secure.img from your backup folders.the backup folder will be pushed to thr cwm folder in /data/media internal storage and your phone will reeboot into cwm to restore the nandroid backup...If you use samsung toolkit ; the point n5 is the backup and restore entry ,then passes to the point n10 and performs restore \data\media (internal virtual sd card) if the backup is done correctly you will have no problems ...
Cheers for the advice but I used the complete tool kit and made a back up that way.
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
Hello
After flashing cm13 on my s3 my IMEI was lost. Now I can´t restore my efs folder with my TWRP backup.
I have the efs.ext4.win , efs.ext4.win.md5 and efs.info files but dont know how to restore them on my device.
Pleas help me !
Should be simple: tick restore, choose backup file, tick efs. Don't touch the single files.
I tried but twrp does not show the backup folder on the sd card.
Do i have to zip the backup folder ?
As I said: don't touch the backup-files. Did you store your backup on internal storage? You can change storage within backup /restore procedure.
No i stored them on the sd then ticked restore from sd.
Now i move it to the internal storage. Maybe tis works.
didn´t work ether
Means: TWRP doesn't find the backup?
create new backup using twrp (example boot partition) and copy to that folder yours efs files backup, its should work
or try restore using other recorvery arter97
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.
As we know, a twrp nandroid does not backup user data. So to be safe, that needs to be backed up separately. Even Titanium Backup does not backup documents, DCIM folders, etc.
I am not an android expert but I guess that all the data that is not included in a nandroid backup probably lies in a separate partition on the phone. If I am correct, rather than backing up these individual folders is it possible, on a rooted phone, to simply backup that entire user partition to a usb device in one go that ensures everything can be restored?
How?
Thanks.
maybeme2 said:
As we know, a twrp nandroid does not backup user data. So to be safe, that needs to be backed up separately. Even Titanium Backup does not backup documents, DCIM folders, etc.
I am not an android expert but I guess that all the data that is not included in a nandroid backup probably lies in a separate partition on the phone. If I am correct, rather than backing up these individual folders is it possible, on a rooted phone, to simply backup that entire user partition to a usb device in one go that ensures everything can be restored?
How?
Thanks.
Click to expand...
Click to collapse
User data is stored in the /data/media partition.
When creating a nandroid backup, you can choose the option to include "internal storage", this will backup your user data. Restoring this backup will restore your user data along with your ROM.
Other methods are:
Connect your device to PC via USB, then open the devices storage on PC then highlight all the folders and files that you see there and copy them then paste them to a folder on your PC. This will save all of your user data, to restore the data, connect to PC and copy everything back over to your devices internal storage.
You can also use "adb backup" to back up and restore user data.
Sent from my SM-S767VL using Tapatalk