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.
Related
Hi
Just wondering about the different backups that are recommended before reflashing
You can do an apps + contacts type back up with say titanium. I take it you then save these back ups to say a desktop/laptop.
My question is, what does the NAND backup save, where is the backup saved and the next step is usually to do a full wipe. Does this not wipe what you have just backed up?
Thanks
macolli said:
Hi
Just wondering about the different backups that are recommended before reflashing
You can do an apps + contacts type back up with say titanium. I take it you then save these back ups to say a desktop/laptop.
My question is, what does the NAND backup save, where is the backup saved and the next step is usually to do a full wipe. Does this not wipe what you have just backed up?
Thanks
Click to expand...
Click to collapse
Hello Macolli,
you are correct about the titanium backup, but personally I just let the backup remain on the SD card. The nandroid backup consists of filesystem images of the phones internal memories, and are also stored on the SD card. They are located in the "nandroid" folder, one subfolder per backup. The full wipe only clears the internal memory areas in the phone, not the SD card.
Br,
Henrik
thanks, that clears that up!
Sorry for the further questions,
If I have 2 or 3 ROMS i want to try, and test each one for a week or so once i find one i prefer can i just to a restore of that ROM from the NAND option or is it best to reflash?
i would restore it because then i would not have to download the apps again
I know there are a few other threads out there regarding this but I'm still not completely sure of the steps. (Doing this for my brother's phone, not mine thats why)
Could someone outline a detailed method of downgrading to 4.1.2 again, while retaining all user files? I know 4.2.2 introduced that /0/ folder bull**** together with the multi user support.
I know the usual wipe via CWM, and flash 4.1.2 but how would this be different since its 4.2.2 before? File structures are different as said before. Don't wanna mess up since it's not my phone haha. Trying to get him to use 4.1.2 with perseus kernel since it's way better than stock.
Read the "Flashed 4.2?" thread in General
You can't keep user data, unless you do a full wipe during flash you will end up with a bootloop. Copy files from the internal sd to your pc, wipe and flash, then copy them back.
Backup apps only via titanium, don't restore system settings or data.
Just move everything from /data/media/0 to data/media.
Best bet actually would be to copy everything from /data/media/0 to pc first, full wipe and format of internal sd then flash rom
Sent from my GT-I9300 using Tapatalk 4 Beta
boomboomer said:
You can't keep user data, unless you do a full wipe during flash you will end up with a bootloop. Copy files from the internal sd to your pc, wipe and flash, then copy them back.
Backup apps only via titanium, don't restore system settings or data.
Click to expand...
Click to collapse
You could also backup SMS, MMS, call log, clock alarm using Titanium\Mybackup Pro.
User data files, and application data files (what's up, waze, etc) will have to be done manually as mentioned, using external SD.
I also recommend full format of internal SD card before installing new ROM. It will make the "0" folder go away or being abled to be deleted.
My partner's phone has suddenly decided of its own accord that it wants to reformat the internal memory, presumably due to some sort of unrecoverable data corruption. The message that came up informing us of that was something along the lines of "Phone memory is damaged. The data partition is damaged, you should restore your phone to factory settings. Doing so will delete all your data" and then a single button saying "Restore phone to factory settings". (I say something along the lines because that is a translation from the actual Spanish message that comes up)
So, she has a bunch of data that she would prefer not to lose (mostly backed up, but some apps not, and photos missing for last month or so of our daughter - usual story).
So I have been hunting around to see if it would be possible, and mostly what I have found isn't too optimistic. I did however find the following link that did seem somewhat promising:
http://forum.xda-developers.com/showthread.php?t=1994705
So it is for the Nexus and the title refers to internal data, but then also refers to SD cards, but the process does seem to refer to internal data. I have a bunch of questions about the process in the context of an S3:
1. Anyone think this process is transferable to the S3? If so what is the equivalent data partition name? For the Nexus it appears to be /dev/block/mmcblk0p12. Would that be the same for the S3?
2. I am going to have to root this device first unfortunately (meaning I am going to have to write to the internal memory ahead of doing the RAW dump, obviously not ideal, but I see no way round it). Is the process described here (root only option):
http://forum.xda-developers.com/showthread.php?t=2046439
appropriate, or am I going to need to somehow find out what version my partner was on (not 100% sure but I think it was 4.1.2) and adjust accordingly?
3. Do I have to have a fully working version before I can install busybox, or is that something that can be put in place using CWM?
4. Likewise do I have to have a fully working version before I can get ADB working or can I get ADB to work with CWM? I have found a couple of threads that suggest ADB works natively with CWM and others that suggest not.
5. I know how to turn on USB debugging if I can get into setttings of a normal Android system, but how do I do that without a working version, can that be done via CWM?
I guess basically I want to know what would be the minimal set of steps that I can run through to get Busybox installed on the phone, (presumably rooted) and talking ADB to my PC. I say minimal set of steps becuase the less writing I do, the more data might be salvagable.
I am surprised that there isn't some bootstrap version that can't just pull off the existing data and allow you to manipulate it elsewhere (which is what the process I have put the link to seems to do) but it seems much more involved than just a bootstrap.
Be gentle with me - I am just a noob!
bobalucci said:
So, she has a bunch of data that she would prefer not to lose (mostly backed up, but some apps not, and photos missing for last month or so of our daughter - usual story).
Click to expand...
Click to collapse
if its only that I would do it a bit more simpler:
for app data: make a nandroid backup and after the reformat you can use nandroid manager to restore your apps and their data (if you simply restore the damaged data partition as a nandroid backup the problem could accur again). but maybe if the apps and data are damaged because of the damaged data partition they could maybe not be restored.
for photos etc. you can flash philz touch and then follow the steps in the main thread of philz touch on how to put the aroma.zip onto an external sd card (just search for aroma in the thread, you'll find it). aroma is like a file browser with root priviliges which can be executed through recovery. with that you can copy your photos onto the external sd card
btw. I am not sure if the standard factory reset wipes the internal sd cards data. if you only format your data partition photos etc. shouldn't be affected (for example through philz recovery you can just format data partition).
Data Recovery from sick galaxy s3 (installing custom recovery)
Thanks for that... that makes sense... any way I can get the custom recovery onto the phone without having already reformatted the data partition? All the methods I have seen for installing a custom recovery require normal access to the phone... and I don't have that at the moment - just to a screen that tells me that it will reformat the data partition - and I don't want to do that if I can avoid it - as it will modify the data I am trying to save.
Darkened_Sky said:
if its only that I would do it a bit more simpler:
for app data: make a nandroid backup and after the reformat you can use nandroid manager to restore your apps and their data (if you simply restore the damaged data partition as a nandroid backup the problem could accur again). but maybe if the apps and data are damaged because of the damaged data partition they could maybe not be restored.
for photos etc. you can flash philz touch and then follow the steps in the main thread of philz touch on how to put the aroma.zip onto an external sd card (just search for aroma in the thread, you'll find it). aroma is like a file browser with root priviliges which can be executed through recovery. with that you can copy your photos onto the external sd card
btw. I am not sure if the standard factory reset wipes the internal sd cards data. if you only format your data partition photos etc. shouldn't be affected (for example through philz recovery you can just format data partition).
Click to expand...
Click to collapse
Data recovery sticky ???
http://forum.xda-developers.com/showthread.php?t=2344125
Hello,
I have made a backup of my calendar with "easy backup" from the Play Store and installed a custom rom. Therefore I made a full wipe - unfortunately I lost the backup.
I have stored both, the internal SDCard and the external SDCard to my Computer and still have this data.
Is there any possibility to restore my calendar entries with the given data?
Thank you very much
GerhardK90 said:
Hello,
I have made a backup of my calendar with "easy backup" from the Play Store and installed a custom rom. Therefore I made a full wipe - unfortunately I lost the backup.
I have stored both, the internal SDCard and the external SDCard to my Computer and still have this data.
Is there any possibility to restore my calendar entries with the given data?
Thank you very much
Click to expand...
Click to collapse
Just move the Easy Backup data folder back to your device and reinstall the app. As long as the folder is in the right spot, the app should recognize and restore your data. It's a good idea to sign into an account for the Calendar stuff so it gets stored in a cloud service, thus making this transition easier.
Thank you for your reply!
ahh I think I werent exact enough in my explaination. The problem is, that I made the backup of the internal and external SDCard first and then downloaded the backup tool of which I thought it would make the backup on the external SDCard. Unfortunately the tool stored the backup file on the internal SDCard. So the problem is, that my current backup does not hold the files of the backuptool.
GerhardK90 said:
Thank you for your reply!
ahh I think I werent exact enough in my explaination. The problem is, that I made the backup of the internal and external SDCard first and then downloaded the backup tool of which I thought it would make the backup on the external SDCard. Unfortunately the tool stored the backup file on the internal SDCard. So the problem is, that my current backup does not hold the files of the backuptool.
Click to expand...
Click to collapse
Ah, I see. Gonna be out of luck then unless you
A) Had signed up with a Samsung account and it had synced before wiping
B) Have a nandroid backup of your previous rom to restore (if you don't - shame on you! lol)
If it was saved to your internal storage, then I'm not sure why it still wouldn't be there unless you intentionally wiped it in recovery. Factory data resets in a custom recovery do not touch the partition of your internal storage that you save your app data and media to.
Edit: App data in this sense is what the apps store on your internal storage partition that the phone sees as /sdcard/, which is /data/media not the regular app data stored in /data/data such as like settings and preferences, which does get wiped in a reset.
es0tericcha0s said:
Ah, I see. Gonna be out of luck then unless you
A) Had signed up with a Samsung account and it had synced before wiping
B) Have a nandroid backup of your previous rom to restore (if you don't - shame on you! lol)
If it was saved to your internal storage, then I'm not sure why it still wouldn't be there unless you intentionally wiped it in recovery. Factory data resets in a custom recovery do not touch the partition of your internal storage that you save your app data and media to.
Edit: App data in this sense is what the apps store on your internal storage partition that the phone sees as /sdcard/, which is /data/media not the regular app data stored in /data/data such as like settings and preferences, which does get wiped in a reset.
Click to expand...
Click to collapse
:S I do not understand that actually, because somewhere S-Planner has to save the entries - or not? So I think if I backup anything from the internal/external storage I should also have backed up the database with the entries or not ?
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