Anyone know if there is a way to give a nandroid backup a name of your choosing? Sometimes when I'm flash and loading a bunch of different stuff I like to do nandroid backups before each one so I can save my phone in various states. unfortunately that means that just the date and time stamp naming convention isn't enough for me to locate the exact one I want to restore.
DaveKid said:
Anyone know if there is a way to give a nandroid backup a name of your choosing? Sometimes when I'm flash and loading a bunch of different stuff I like to do nandroid backups before each one so I can save my phone in various states. unfortunately that means that just the date and time stamp naming convention isn't enough for me to locate the exact one I want to restore.
Click to expand...
Click to collapse
Yep, drag them to your pc and just rename them!
That's the easy way anyway.
Whenever I flash a new rom and I like it, I backup a full clean install so I can start from scratch again, it's better then going through the syncing and logging in again.
I also store mine on the pc, so if my card gets fubar'd then I've still got them.
great idea....never even considered that.
thanks
Not to sound rude, but I would think that'd be the most obvious solution to your question.. o_0
DaveKid said:
Anyone know if there is a way to give a nandroid backup a name of your choosing? Sometimes when I'm flash and loading a bunch of different stuff I like to do nandroid backups before each one so I can save my phone in various states. unfortunately that means that just the date and time stamp naming convention isn't enough for me to locate the exact one I want to restore.
Click to expand...
Click to collapse
Just use any file explorer (Astro, ES, etc.) and rename the backup file to anything you like...
i just tried to restore a nandroid backup, i did as above says, i went on the PC and re-named backup as something i`d remember put it back on the Desire, and nandroid just fails instantly at `MD5 mismatch`
could this be because the folder name changes after the backup has been made??, thanks.
You don't even need a computer to name your backups. All you need to do is download ROM manager from the market (the free version will suffice). Then whenever you need to make a nandroid backup, open the app, choose "Backup current ROM" and it will automatically ask you to name your backup from the get-go so that there aren't any problems afterwards.
DJ 1 said:
i just tried to restore a nandroid backup, i did as above says, i went on the PC and re-named backup as something i`d remember put it back on the Desire, and nandroid just fails instantly at `MD5 mismatch`
could this be because the folder name changes after the backup has been made??, thanks.
Click to expand...
Click to collapse
I get the mismatch failed sometimes if my battery isn't sufficiently charged. Renaming the folder won't mess up your backup.
If you use ROM Manager, it will allow you to specify the name of the backup before you create them and it generates the appropriate MD5 sum.
quahog_convo said:
If you use ROM Manager, it will allow you to specify the name of the backup before you create them and it generates the appropriate MD5 sum.
Click to expand...
Click to collapse
Which is exactly what I said just two post before this one.
when you rename a nandroid backup on your phone using a file explorer, don't put spaces when you rename it, putting spaces gives it an md5sum mismatch.
Related
Hey all,
Are nandroid restores specific to one particular device or can they be interchanged between two G1's? I have a spare G1 that I play around with that has root while my other G1 doesn't have root. I am thinking about rooting the other one and wanted to know if I could just go through the rooting process, (radio, spl, cyanogen recovery etc) throw on a cyanogenmod or JF, then do a nandroid restore from the spare device with all my settings on it. I know that nandroid creates a unique numerical folder that has your latest backup in it so I wasn't sure if this folder would be seen by nandroid on a different phone.
Any thoughts?
EDIT:
Just wanted to update this thread in case anyone else wanted/needed to do this. As I suspected, I ran into folder name problems when trying to copy one nandroid restore to my spare phone and trying a restore. There is a simple fix however....
1) Perform a nandroid backup on the phone you WANT to backup.
2) Copy that nandroid folder from the phone to your PC.
3) Perform a nandroid backup on the phone you DON'T WANT to backup.
4) Copy that nandroid folder from the phone to your PC.
5) Compare the nandroid subfolder name (should be alpha-numeric starting with HT) of the backup you want to the name of the one you don't.
6) Change the name of the nandroid subfolder on the backup you want to restore to the same name of the folder you don't want. This way you fool nandroid into thinking that the backup was originally done on that phone.
7) Copy the entire nandroid folder (with the newly changed subfolder name) to the sdcard of the phone you want to restore.
8) Boot into recovery (power+home) and perform the nandroid restore. If the restore fails, you probably don't have the correct subfolder name. Return to step 5 and 6.
9) If the restore is successful, reboot and you should be all set!
Good question. I wouldn't have thought there would be issues with it bar of course your settings etc but then a wipe before would resolve that. Just make sure to do what you've said though (upgrade radio, SPL, recovery etc) first.
DirectMatrix said:
Hey all,
Are nandroid restores specific to one particular device or can they be interchanged between two G1's? I have a spare G1 that I play around with that has root while my other G1 doesn't have root. I am thinking about rooting the other one and wanted to know if I could just go through the rooting process, (radio, spl, cyanogen recovery etc) throw on a cyanogenmod or JF, then do a nandroid restore from the spare device with all my settings on it. I know that nandroid creates a unique numerical folder that has your latest backup in it so I wasn't sure if this folder would be seen by nandroid on a different phone.
Any thoughts?
Click to expand...
Click to collapse
It won't upgrade your SPL, radio, and recovery. If you look in the nandroid folder, you'll see exactly what is backed up. I think its the /system folder and the /data folder as well as something else. But if you have another phone that is already rooted and has the correct SPL, radio, and recovery, this will work.
Should be fine then as he's planning on doing the usual steps up until flashing the desired ROM of choice. Tell us how it goes DirectMatrix and if it works, please change your thread title to include [SOLVED] so we all know ^_^
NeoBlade said:
Should be fine then as he's planning on doing the usual steps up until flashing the desired ROM of choice. Tell us how it goes DirectMatrix and if it works, please change your thread title to include [SOLVED] so we all know ^_^
Click to expand...
Click to collapse
Gonna start rooting the other phone now so I'll keep this thread updated with whether nandroid backups are swappable between phones. I hope so as that will save me quite a bit of settings/data calibrations.
@h.nocturna... LOL, you have been dealing with n00bs too long in the Q&A section....of course nandroid won't upgrade my radio, SPL, and recovery, but I had a good laugh anyways. Thanks all for the advice
Can I restore a nandroid backup from a friends phone on to my phone?
Are there any problems that may occur if I do this?
In theory it should work. AS LONG AS BOTH OF YOU TWO HAVE THE SAME PHONE!!!
Try it and find out, but remember:
ONLY YOU ARE RESPONIBLE FOR BRICKING YOUR PHONE NANDROID FIRST!
Yes..
On your sdcard is a folder named nandroid. Inside this folder is a folder named HTXXXXXXXXXXXXX. This is your device id. Inside that folder are folders with dates. These folders hold all of the images from the backup. You will want to take one of these folders and place it into the same folders on your sdcard. The device ID folder has to be your device ID.
location|| Device ID ||Name of Nandroid (Folder)
|------||-------------||-------------------|
/sdcard/HT01FHF02297/BDES-20100412-1746
You can also change the Name of the Nadroid folder for easir reference, but it can not have spaces
unCoRrUpTeD said:
Yes..
On your sdcard is a folder named nandroid. Inside this folder is a folder named HTXXXXXXXXXXXXX. This is your device id. Inside that folder are folders with dates. These folders hold all of the images from the backup. You will want to take one of these folders and place it into the same folders on your sdcard. The device ID folder has to be your device ID.
location|| Device ID ||Name of Nandroid (Folder)
|------||-------------||-------------------|
/sdcard/HT01FHF02297/BDES-20100412-1746
You can also change the Name of the Nadroid folder for easir reference, but it can not have spaces
Click to expand...
Click to collapse
Yeah, it can be done. In fact, I actually save all my nandroids to my computers for safety reasons (e.g., in case my SD card dies on me, or my nandroid becomes corrupted for some unknown reason(s)). Anyway, just place the nandroid in the nandroid/HT[whatever_u'r_id_is]/ on u'r sd card as uncorrupted states above. It shouldn't mess with u'r phone number or what not... but although, you may end up with the same contacts, lol. I'm not sure how that aspect of it works... Try it and find out
I wonder if the nandroid's use the device ID number to label each nandroid (within) the file and if it has to match the device being flashed to... anyway, let us know how it comes out if you do try it. And remember, nandroid u'r current setup first before trying it, just in case it messes up u'r phone for some reason. But I honestly don't fore see that happening. Good luck!
Sorry if i sounds stupid, but I'm not used to nandroid stuff. i understand most of it but in theory can i just place my sd card into my new aria (my current one has a broken screen) and nandroid backup it? should it be ok?
tripstermcgee said:
Sorry if i sounds stupid, but I'm not used to nandroid stuff. i understand most of it but in theory can i just place my sd card into my new aria (my current one has a broken screen) and nandroid backup it? should it be ok?
Click to expand...
Click to collapse
You should be ok. It will make a new device folder in the nandroid folder, then you can manually move your others over to the new one.
-----
Sent from my CDMA Hero. I got some hot Gingerbread-on-Hero action here!
No confirmation post
I wish he would have confirmed this works, I just got a lemon exchange from the SHack and I'm wondering if I have to set it all back up or if I can just restore to an old backup. I understand that this works in theory and I get the whole changing the device id thing but there is no confirmation that this works.
BUT i will try and give a yay or nay confirmation now.
Edit: IT DOES Work. I did this on a LG G2x. It did not have the device ID I expected., (worried me a little it was the wrong stuff), I assume some phone have this some don't, but as far as I can tell this worked just fine.
I'm geeked when i realized I had to redo my 12 emails and sign into a dozen or more apps and config all those personalized settings again I was pissed. But now I'm good.
Thanks XDA and all the Devs and Geeks out there that make this a great site.
no folder as nandroid only clockworkmod which as all my backup. opening a backup folder shows XXXXX.md5, XXXXX.vfat.tar, XXXXX.rfs.tar, XXXXX.rfs.tar, XXXXX.rfs.tar
Just wondering if there is a way to have 2 roms on your phone at the same time and being able to switch between them. I am working on some app dev with googles new app inventor and I seem to be having all kinds of wierd stuff so I want to flash stock for using app inventor while keeping my current Zen Hero in tact so I can just switch back when I am done. I thought there was some kinda rom manager but I wasn't sure if it made you wipe before switching to another rom.
About the only option you have is to nand backup your current rom, wipe everything, flash the rom you want to work with, boot it up and let it load, boot back into recovery and nand backup that one. Then you can nand restore between the two without wiping. If you have a2sd enabled you will want to do backup with ext.
How do I select which nand backup I want to restore. Normally it just restores the last backup and I dont have a choice.
Put both of them on your SD card in the nandroid folder, inside the sub-folder that is your serial number. You may want to rename those inner folders to something other than just that long time/date string so you can more easily tell them apart.
chromiumleaf said:
Put both of them on your SD card in the nandroid folder, inside the sub-folder that is your serial number. You may want to rename those inner folders to something other than just that long time/date string so you can more easily tell them apart.
Click to expand...
Click to collapse
Yes but when I select Nand backup it does not give me an option to choose which one I want to install it restores the last backup i made. So if I backup the new rom and then try to restore the old one it will just restore the newest backup...is there a way to choose?
chromiumleaf said:
Put both of them on your SD card in the nandroid folder, inside the sub-folder that is your serial number. You may want to rename those inner folders to something other than just that long time/date string so you can more easily tell them apart.
Click to expand...
Click to collapse
Also if you have renamed the folder and put a space in it that could cause a problem so you might want to remove the spaces.
BTW, I see you are from College Station. I'm a fan of the Freebird burritos down there.
AjaxBU said:
BTW, I see you are from College Station. I'm a fan of the Freebird burritos down there.
Click to expand...
Click to collapse
Nice! Yeah me too, I go there a lot!
teedo757 said:
Yes but when I select Nand backup it does not give me an option to choose which one I want to install it restores the last backup i made. So if I backup the new rom and then try to restore the old one it will just restore the newest backup...is there a way to choose?
Click to expand...
Click to collapse
Do you mean when you select "Nand restore"? You shouldn't be selecting Nand backup if you are trying to restore a previous nandroid. Also, what version of recovery do you have?
It sounds as if you have an old recovery on your phone. Maybe 1.2.3, which will only let you recover the last one. Download and flash AmonRa1.6.2 from here or find darchstar's recovery. With those you can choose between all of your backups.
unCoRrUpTeD said:
It sounds as if you have an old recovery on your phone. Maybe 1.2.3, which will only let you recover the last one. Download and flash AmonRa1.6.2 from here or find darchstar's recovery. With those you can choose between all of your backups.
Click to expand...
Click to collapse
Works. Thanks a ton.
teedo757 said:
Works. Thanks a ton.
Click to expand...
Click to collapse
You can edit the names of the folders that are located inside /nandroid/(device_name). The folder name is originally named after yyyymmddhhmm or something similiar. Just rename them with no spaces or symbols, then you will know which one is which.
Hi,
Since 4 days I cannot make valid backups. The last good one is from October 12 and has a size of ~ 1000MB.
Now all backups have a size of ~13 MB. You can see the sizes on the attached hardcopy.
There is a \blobs\-subdirectory with many many files.
I tried to de- and reinstall the Rom Manager, checking permissions and so on, rebooted several times...
I restored the "good" backup, did a new backup and got other sizes of the files but always some with the extension .dup.
Even I installed an older version of RomManager without success.
The recovery system is v6.0.1.4 installed within the RomManager.
I have a LG-P970 with Zeus ROM 7.03.
tramp20 said:
Hi,
Since 4 days I cannot make valid backups. The last good one is from October 12 and has a size of ~ 1000MB.
Now all backups have a size of ~13 MB. You can see the sizes on the attached hardcopy.
There is a \blobs\-subdirectory with many many files.
I tried to de- and reinstall the Rom Manager, checking permissions and so on, rebooted several times...
I restored the "good" backup, did a new backup and got other sizes of the files but always some with the extension .dup.
Even I installed an older version of RomManager without success.
The recovery system is v6.0.1.4 installed within the RomManager.
I have a LG-P970 with Zeus ROM 7.03.
Click to expand...
Click to collapse
You might wanna flash this: http://forum.xda-developers.com/showpost.php?p=22121547&postcount=22
Follow the instructions give there. The new CWM v6 doesnt make full backups anymore everytime, but just backs up the parts, that have been changed. The dup files only contain the information about the files that have been changed and a link to them I think. Look in /sdcard/clockworkmod/blobs. There you can find a lot of folders with the made changes Just check the size of that blob folder.
N00BY0815 said:
You might wanna flash this: http://forum.xda-developers.com/showpost.php?p=22121547&postcount=22
Follow the instructions give there. The new CWM v6 doesnt make full backups anymore everytime, but just backs up the parts, that have been changed. The dup files only contain the information about the files that have been changed and a link to them I think. Look in /sdcard/clockworkmod/blobs. There you can find a lot of folders with the made changes Just check the size of that blob folder.
Click to expand...
Click to collapse
Thank you for answering.
So is it correct that I have a blobs subdir with ~ 1GB files and a small backup directory?
What happens to the \blobs\ dir if I make new backups? I assume then only changed files etc. will be added here?
Do I really need to flash your link if I don't need touch? I read the whole thread
I did not understand all.
tramp20 said:
Thank you for answering.
So is it correct that I have a blobs subdir with ~ 1GB files and a small backup directory?
What happens to the \blobs\ dir if I make new backups? I assume then only changed files etc. will be added here?
Do I really need to flash your link if I don't need touch? I read the whole thread
I did not understand all.
Click to expand...
Click to collapse
The link I provided is for CWM touch 5 only. This version will make the "normal/full-sized" backups. I think you're right about the new update, but I gotta confess, I dont really understand it myself yet... I also didnt yet try to restore such a backup and dont really know, how to delete old ones, if you dont need them anymore, but I hope it all should work fine
If your not sure about the old version, just install the one from the link I provided.
Hope it helped you, if not, you may also PM me.
N00BY0815 said:
I also didnt yet try to restore such a backup and dont really know, how to delete old ones, if you dont need them anymore, but I hope it all should work fine
Click to expand...
Click to collapse
To test:
I made a backup, installed a new app, then after another backup I looked in the blobs dir: only a few subdirs are new, all other remain unchanged.
So all files in blobs are cumulative and important for a restore, but bad for a later extern backup on my pc.
The old method of CWM was better.
Perhaps I will try the link from you.
I was trying a backup and found under "choose backup format" the following points:
- dup (default)
- tar
-
-
So I can choose
I did a backup (dup format) and all is working again.
Hey Everyone,
I am new to XDA forums,(have used it for troubleshooting in the past but just registered today)
I am also new to android and linux, personally i don't use my phone for anything other than calls or games(i mostly do pc's), however my wife does a lot, she has written her own code, does mods, etc...., and we are both stumped. I am asking this on her behalf, due to a terminal illness she has lost the ability to do several things. On April 30th the lollipop update was pushed to her Note 4 (T-mobile US branded) and it wiped out all of her app data as well as her entire SD card. My question is in 2 parts one regarding the TWRP backup for this phone, and another regarding recovering the SD data from this phone(please let me know if i need to break this out into multiple sections of the site).
We have a TWRP backup that was compressed and loaded onto her cloud storage on 4/27/15, and we are unable to figure out how to get TWRP to recognize it without giving an error about the binary code or just not working period. Here is what we have tried(On advice not just from other XDA posts but various android forums as well)
Using TWRP(7zip for unpacking and repacking)
1. Downloaded the TWRP back up into windows
2. Renamed all files of the back up to be .tar, with the exception of boot which was converted to .img
3. Added Meta-Inf file from what was suppose to be stock ROM( she was not running a custom on this phone)
4. Re-archived everything back into Zip and sideloaded.
result : Error in binary code
Using Odin
1. Converted recovery (file only from backup) to md5 using Cygwin
2. Flashed using Odin
Result: Gained back a few programs but no app data or text histories
We have also tried varying versions of this, i.e. converting extra files or renaming extra files and receive the same issue. I am wondering if it is just an issue with the cloud stored compressed backup(or more likely i dont know what im doing)?
Second question comes from above, I was able to recovery all of the data from the SD card(everything was stored here, app data, recovery files, imgs, everything). When recovering the data it split everything up so all the sub peices of each recovery file are spread out is there a way to combine the individual file parts that were recovered from the SD card into functional android files again?
As i mentioned before i have never really dealt with this type of thing before but i want to try and fix this for her as between the 2 issues she has lost 5 years of data.
Thank you so much for your responses.
Hi, what you need to do is put the backup back into the exact same form it was before, an uncompressed, unzipped folder, then put it into the exact directory where TWRP puts backups when it makes them, and then in TWRP choose the option to restore. If you put the backup in the correct directory, TWRP will see it and allow you to choose it to restore it. Basically you just wanna put the backup back where it was before and then restore it in TWRP.
I wasn't sure if you had done this or not. If you have the backup folder with all the contents in their original form, it should work. I've even moved a backup from one phone onto another phone, exact same model of course, and then restored that backup onto the new phone!
I've never converted a backup into another form to be flashed another way, like Odin or as a zip in TWRP. Although I guess it could be possible it seems like it could be pretty messy.
Also if the TWRP backup was for a kit at build it will not restore on the lollipop baseband. You will need to Odin back to the kitkat NK4 build them you should be able to take the data.
Sent from my SM-N910T using XDA Free mobile app
ShrekOpher said:
Also if the TWRP backup was for a kit at build it will not restore on the lollipop baseband. You will need to Odin back to the kitkat NK4 build them you should be able to take the data.
Sent from my SM-N910T using XDA Free mobile app
Click to expand...
Click to collapse
YrrchSebor said:
Hi, what you need to do is put the backup back into the exact same form it was before, an uncompressed, unzipped folder, then put it into the exact directory where TWRP puts backups when it makes them, and then in TWRP choose the option to restore. If you put the backup in the correct directory, TWRP will see it and allow you to choose it to restore it. Basically you just wanna put the backup back where it was before and then restore it in TWRP.
I wasn't sure if you had done this or not. If you have the backup folder with all the contents in their original form, it should work. I've even moved a backup from one phone onto another phone, exact same model of course, and then restored that backup onto the new phone!
I've never converted a backup into another form to be flashed another way, like Odin or as a zip in TWRP. Although I guess it could be possible it seems like it could be pretty messy.
Click to expand...
Click to collapse
Thank you both for the suggestions i will give them a try shortly and i will provide an update on how things go.
Yeah, if you put the backup folder in the right directory, which is either internal or external sdxard/TWRP/BACKUPS/serial #/, you could restore just the data at least and it ought to be mostly ok. You ,might need to clear data in an app here or there if they force close.... or if it's too much then yeah, Odin back to KitKat and restore the desired components of the backup.
YrrchSebor said:
Yeah, if you put the backup folder in the right directory, which is either internal or external sdxard/TWRP/BACKUPS/serial #/, you could restore just the data at least and it ought to be mostly ok. You ,might need to clear data in an app here or there if they force close.... or if it's too much then yeah, Odin back to KitKat and restore the desired components of the backup.
Click to expand...
Click to collapse
Thank you for this, i double checked we had it in the right directory, but it still failed. At first it said something about a missing md5, but i tried again and i was able to get the log for the failure though. (attached below)
Hmm, I looked at the logs trying to make sure you chose to Restore in TWRP and not Install. If so it's possible the backup could have gotten altered or corrupted in the transferring back and forth. If you get it intact as it was, it SHOULD work, but I'm but sure what else to do at the moment. I hope you get it working
Sorry for the delay
Hey Everyone,
Sorry for the delay its been a long week, bad thing after bad thing kept happening. I was able to try your suggestions and i put together some additional information in hope this might help us try and figure it out.
*I must figure out how to recover, texts, contacts, call locks. My default texting app was google messenger.
So I figured I would start with the phone
I am using a Samsung SM-910T on 4.4.4 (build *ANK4) It was pretty Vanilla -> rooted, but running the stock ROM
1. The phone was set to do a full internal backup nightly using the online nandroid backup (by H3r3T1L)
2. Backups were set to be in TWRP backup format and to save to an external SD card, then to compress before being uploaded to google drive
3. Backups were set to delete from SD card after the upload was finished.
What happened
1. When stock 5.0.1 firmware OTA came out i was trying to dismiss the notification but apparently hit "accept" by mistake, causing the system to crash.
2. While restoring the phone, i attempted to download the most recent backup from the google drive and flash the zip to restore my data.
3. This Zip would not install, and i noticed all of the backups uploaded had the same anomally-a few of the files were 0 bytes
4. I downgraded the phone to ANK4 based on the above recommendation but it has made no difference.
5. I still get updated binary error and each time i flash the zip, my OS gets wiped.
6. I have tried instructions to just unzip and flash , to put zips in twrp backup folder, to build new file with meta-inf, etc. and nothing seems to work.
When the SD card got deleted I was able to retrieve some data from the deleted SD card, but don't know where the text messages are located or how to combine them back into a usable format. Or at the very least be able to extract the SMS/MMS history.
I hope this extra information helps. In any way im am desperate to try and fix this for my wife.
I believe you can use Titanium Backup to extract files from a TWRP image. If you can't extract anything from the backup it's either corrupted, in the wrong place, or in the wrong form - that is due to the compression decompression not being compatible (all zip programs are not equal). Best of luck.
BTW, you must restore TWRP files not install them.
Sent from my SM-N910T using XDA Free mobile app