Renaming a nandroid folder - General Questions and Answers

Is there a downside to renaming a nandroid backup folder to something more descriptive than the date & time of creation? I'd like to have a better idea of what I'm looking at when selecting a backup to use.
Thanks.

posaune76 said:
Is there a downside to renaming a nandroid backup folder to something more descriptive than the date & time of creation? I'd like to have a better idea of what I'm looking at when selecting a backup to use.
Thanks.
Click to expand...
Click to collapse
Based on my experience, yes there is. If you need a good name then do it at the time of making the backup. I had real problems restoring backups when I changed the name later - it appears that the folder name may well be used in the MD5 checksum creation process.

OK, thanks. I'm new to the whole rooting process, and I don't recall getting the chance to pick a name. I'll look for it the next time I try something out; worst case, that's what "writing things down" is for, right?

posaune76 said:
OK, thanks. I'm new to the whole rooting process, and I don't recall getting the chance to pick a name. I'll look for it the next time I try something out; worst case, that's what "writing things down" is for, right?
Click to expand...
Click to collapse
I guess it probably depends what you use to make the backup. I use 4ext Recovery Control.

posaune76 said:
Is there a downside to renaming a nandroid backup folder to something more descriptive than the date & time of creation? I'd like to have a better idea of what I'm looking at when selecting a backup to use.
Thanks.
Click to expand...
Click to collapse
You can rename the folder to whatever you like as long as no spaces are included in the name (this applies to CWM Recovery & others).

Related

[Q] Can you rename Rom backup folders?

noob question i know however just a quick one,
can you rename nandroid backup folders with messing up md5sum ?
i load a ton of roms on the regular [a junkie i know] basis and get flustered when i have tons of backups but they are all dated
great question i also would like to know never had the balls to try cuz it says something about messing it up i know in rom manager u can under manage and restore (i think) also rom manager doesnt see ur cwm backups i usually go through ando zip but yea id def like to kno
Suprah said:
noob question i know however just a quick one,
can you rename nandroid backup folders with messing up md5sum ?
i load a ton of roms on the regular [a junkie i know] basis and get flustered when i have tons of backups but they are all dated
Click to expand...
Click to collapse
I don't know if you can rename the folders themselves, but you CAN rename the backup file itself. I use Root Explorer to do this. Just make sure you don't put any spaces in the new file name. You can use dashes and underscores to separate words and numbers, though.
Someone in the past said you can download mand5 to generate a new md5 sum, but I haven't tried it.
@visedmonk do u think andro zip will work it says it will let me rename then i click on that and it says change to file extension can make file unusable and i dont space any letters for instance il put cm for (cyanogenmod) rite next to the numbers havent had the balls to try it
sarni84 said:
@visedmonk do u think andro zip will work it says it will let me rename then i click on that and it says change to file extension can make file unusable and i dont space any letters for instance il put cm for (cyanogenmod) rite next to the numbers havent had the balls to try it
Click to expand...
Click to collapse
I dunno. I've never used andro zip. Only one way to find out...
But seriously, it should work. To be safe, though, make a copy of the file you want to rename and place the copy with the unaltered name on your computer or sd card or whatever. Then you can rename the file and see if it works. If it does, great. If it doesn't, you still have the backup you need.
Suprah said:
noob question i know however just a quick one,
can you rename nandroid backup folders with messing up md5sum ?
i load a ton of roms on the regular [a junkie i know] basis and get flustered when i have tons of backups but they are all dated
Click to expand...
Click to collapse
Don't know if you're using "nandroid" generically to refer to both the true nandroid as well as CWM but I rename CWM backup folders all the time and have never had trouble restoring them. I've done it from ROM Manager, via a file manager and also via ADB.
short/y said:
Don't know if you're using "nandroid" generically to refer to both the true nandroid as well as CWM but I rename CWM backup folders all the time and have never had trouble restoring them. I've done it from ROM Manager, via a file manager and also via ADB.
Click to expand...
Click to collapse
im talking about the folder not the actual files in the folder.
i just want to organize my roms so i can always jump between each
@suprah name it like this ex, 2011-06-16.05.57.13.....
you want...2011-06-16.05.57.13gingerbread ? rite well when i try that in andro zip it sayin it will make file unusable.... n i guess i will have to try and i always used to use rom manager and just go to manage and restore backups but its different with this phone especially cuz rom mana doesnt see cwm i guess?
Suprah said:
im talking about the folder not the actual files in the folder.
i just want to organize my roms so i can always jump between each
Click to expand...
Click to collapse
Yup, that's exactly what I'm talking about. I rename the folders all the time and have no problems restoring.
short/y said:
Yup, that's exactly what I'm talking about. I rename the folders all the time and have no problems restoring.
Click to expand...
Click to collapse
alright welp as long as you rename the folder without any spaces, then there would be no problem with restoring nandroid backups
nice nice will try soon cuz yea i have like 6 backups on here n was writing the date down with a name lmao
I renamed the folder once and couldn't restore. It was making a reference to the md5 file.
What I did to fix the backup is rename the folder again but this time without spaces and then it let me restore without any problems.
Now my Nandrioids are all organized
Hope that helped
Sent from my Bionix 2 - A TeamWhiskey Production using XDA App
the stock rooted nandroid restore that's posted in the dev section is renamed to LG-P999-V10f. it's not the typical date format. and alot of people have used it. so the answer is ....yes.
crazythunder said:
the stock rooted nandroid restore that's posted in the dev section is renamed to LG-P999-V10f. it's not the typical date format. and alot of people have used it. so the answer is ....yes.
Click to expand...
Click to collapse
jus making sure, im not a dev so i assumed that was possible with some code editing
moshe22 said:
I renamed the folder once and couldn't restore. It was making a reference to the md5 file.
What I did to fix the backup is rename the folder again but this time without spaces and then it let me restore without any problems.
Now my Nandrioids are all organized
Hope that helped
Sent from my Bionix 2 - A TeamWhiskey Production using XDA App
Click to expand...
Click to collapse
Could be there's a coding error in the recovery code and stops parsing the directory name when it hits a space. The md5 file only references the individual files not the directory.
In general it's better to stay away from spaces in file and directory names. Back in the early days of *nix spaces were verboten and there are still some vestigial issues lurking either in the code or in the coding habits of some people. It's rare but it does happen. Hyphens, underscores, periods are all OK though.
Sent from my Xoom using Tapatalk
If after you rename the folder you get an md5 error. This http://forum.xda-developers.com/showthread.php?t=714114 can help you fix it.
BE SURE AND READ THAT POST COMPLETELY
It's imperative that one not generate an md5 sum for a nandroid that is actually corrupted. That will wreak all kinds of havoc on your system.
ONLY PERFORM THE ABOVE IF YOU KNOW ITS NOT RESTORING DUE TO A NAME CHANGE
EDIT: For the record, the above commands can be performed from terminal emulator if you know what bits to leave out. Saved me a few steps.
I rename all of my nandroid backups. They are easy to get confused otherwise. The only thing I change is the year in the date, and leave the month/day alone.
Sent from my LG-P999 using XDA Premium App
Yea I downloaded the Stock Nandroid and loaded it. I renamed the folder and got a MD5 error. Now I'm not sure it if was because of the rename or because it was a bad download to begin with.
I think I still have the file on my pc and possibly find the MD5 checksum before copying it over this time.
player911 said:
Yea I downloaded the Stock Nandroid and loaded it. I renamed the folder and got a MD5 error. Now I'm not sure it if was because of the rename or because it was a bad download to begin with.
I think I still have the file on my pc and possibly find the MD5 checksum before copying it over this time.
Click to expand...
Click to collapse
Most likely because you renamed it
Sent from my LG-P999 using XDA App

Recovery question

Can I change the name of my nandroid backups?
I want to keep a few but have a hard time remembering what they are when they are displayed as a date only. I do not know enough about clockworkmod to know whether I can change the names of my backups or not .
Thanks
From ROM manager. Manage and restore backups and create backup
Sent from my HTC EVO shift 4G running the latest and greatest cyanogen using the XDA app.
Evo_Shift said:
Can I change the name of my nandroid backups?
I want to keep a few but have a hard time remembering what they are when they are displayed as a date only. I do not know enough about clockworkmod to know whether I can change the names of my backups or not .
Thanks
Click to expand...
Click to collapse
Yes you can change the name. Go into RomManager. Then go into Manage and Restore Backups. Choose the one you want to change and long press on it and let off. It will then give you choices, Restore-Rename-Delete. Just choose Rename. A bubble will pop up with the name highlighted. Tap and rename. They are displayed year/month/day/time . Hope that helps .
or just go into a file explorer like root explorer
got to /Sdcard>Clockworkmod>Backup>And then rename it
should work
Great thanks. I was just worried the recovery was expecting the name format to be specific or something and that changing it would bork my recoveries.
Thanks everyone.
Evo_Shift said:
Great thanks. I was just worried the recovery was expecting the name format to be specific or something and that changing it would bork my recoveries.
Thanks everyone.
Click to expand...
Click to collapse
word of advice, when renaming it, do not put spaces in the folder name or else you'll get an error when trying to restore it.
jwigley24 said:
word of advice, when renaming it, do not put spaces in the folder name or else you'll get an error when trying to restore it.
Click to expand...
Click to collapse
Hey thanks i didnt know that either but i dont rename the backups but great advice lol

[Q] Change Nandroid Backup Name

I finally rooted TF and flashed Revolution HD. I understand that ROM Manager does not work with the TF. I want to be able to change backup names w/o messing up md5. Is there method or app for this?
go into file manager and change the name of the .zip
What zip? I have the CWM backup folder with sub folders for each backup and the 4 nandroid files in each.
mrevankyle said:
go into file manager and change the name of the .zip
Click to expand...
Click to collapse
Actually it looks like I can change the folder name for the Nan back without problem.
I thought that changing the names of the Nandroid backups would cause a restore to fail....unless the name was reverted back to it's original name.
HuskerWebhead said:
I thought that changing the names of the Nandroid backups would cause a restore to fail....unless the name was reverted back to it's original name.
Click to expand...
Click to collapse
That's what I feared. Evidently it's OK to change the directory name that contains the files. I tried a restore after and it went fine. Makes sense that the file md5 sum is not affected by chance nging folder name.
Hi, I changed the name of the folder and BAM!!.. the restore failed! I had two backups of two different ROM's and could not restore either of them after name changing! I managed to put back the old names and now both work. But I still need a way to identify so was wondering if there was any way to change the name and yet keep the md5 sum intact!!
MysticPhantom said:
Hi, I changed the name of the folder and BAM!!.. the restore failed! I had two backups of two different ROM's and could not restore either of them after name changing! I managed to put back the old names and now both work. But I still need a way to identify so was wondering if there was any way to change the name and yet keep the md5 sum intact!!
Click to expand...
Click to collapse
Usually a simple name change should still work. If you use symbols and stuffs in the name it might not work.
The latest version of TWRP let you name you nandroid backup.

Flash a Data.img?

I extracted all my files from my data.img backup and made it into a .zip. Is there anyway
i can cwm flash that data.zip to get all my data back? I tried just flashing the zip and it says,
"(bad) Installation Aborted."
Any help would be greatly appreciated
mafo5000 said:
I extracted all my files from my data.img backup and made it into a .zip. Is there anyway
i can cwm flash that data.zip to get all my data back? I tried just flashing the zip and it says,
"(bad) Installation Aborted."
Any help would be greatly appreciated
Click to expand...
Click to collapse
Here's a few things you could do assuming that what you want is even in this zip file.
1) Get a working cwm format zip file and take a close look at it because you need to use it as a template if this is going to work. In particular, check out updater-script in META-INF\com\google\android\*. Updater-script is what directs the restore operation so it needs to match what you want to do. You can get the idea by looking at one that restores say, some data or system files, like a kernel will always restore some /system/lib/module files.
2) Since you've got some sort of zip file, make sure it matches the general format of a working cwm zip file and then just make sure step 1) is right.
3) I don't know if this is still a search for .android_secure folder on /sdcard, but if it is you're probably not going to get there from here, because the tf101 generallyl doesn't have that file since there's no need for tf101 -> sdcard app storage. For example, mine never had that folder either on internal or external storage.
4) Kernels aren't in the data or system archives from cwm, so that is possibly some sort of show-stopper too. I'm working on the cwm source today a bit to try to create a boot.img (or in the newer cwm lingo, boot.*.tar) archive. That archive will use blob and boot tools to be able (via the direction in updater-script) burn the blob onto block m*4.
I hope that helps.
Oh yeah, another thing you can try: If you wanted just the 'apps' from the cwm archive, you shouldn't even need the zip file. All you need to do is run Titanium Backup (assuming you've got it or can get it), and use the new feature in options called restore from cwm backup (or something like that). I've used it and it works fine on 3.x and 5.x cwm backups.
-- good luck
hachamacha said:
Here's a few things you could do assuming that what yowant is even in this zip file.
1) Get a working cwm format zip file and take a close look at it because you need to use it as a template if this is going to work. In particular, check out updater-script in META-INF\com\google\android\*. Updater-script is what directs the restore operation so it needs to match what you want to do. You can get the idea by looking at one that restores say, some data or system files, like a kernel will always restore some /system/lib/module files.
2) Since you've got some sort of zip file, make sure it matches the general format of a working cwm zip file and then just make sure step 1) is right.
3) I don't know if this is still a search for .android_secure folder on /sdcard, but if it is you're probably not going to get there from here, because the tf101 generallyl doesn't have that file since there's no need for tf101 -> sdcard app storage. For example, mine never had that folder either on internal or external storage.
4) Kernels aren't in the data or system archives from cwm, so that is possibly some sort of show-stopper too. I'm working on the cwm source today a bit to try to create a boot.img (or in the newer cwm lingo, boot.*.tar) archive. That archive will use blob and boot tools to be able (via the direction in updater-script) burn the blob onto block m*4.
I hope that helps.
Oh yeah, another thing you can try: If you wanted just the 'apps' from the cwm archive, you shouldn't even need the zip file. All you need to do is run Titanium Backup (assuming you've got it or can get it), and use the new feature in options called restore from cwm backup (or something like that). I've used it and it works fine on 3.x and 5.x cwm backups.
-- good luck
Click to expand...
Click to collapse
OK Ill see if the titanium backup way works. I'll report back to you if it works. Also if I do get all my apps back is there a way to get the app data?
Hi - If Titanium is bringing up the selections screen then the usual choices for each app are data/app/data+app, so yes.
The titanium back option is called "extract from Android backup" I can't do
It right now because I don't have my tf with me. But I don't think it will work because
The Android backup I made was currupted. I would get the .android_secure error
And couldn't restore. So if titanium takes the data.img from my Android I'm thinking
It won't work but if I can give it the zip it probably will. I won't be home for a couple
Hours.
thank you so much i got all my stuff back using titanium backup!
mafo5000 said:
thank you so much i got all my stuff back using titanium backup!
Click to expand...
Click to collapse
Cool! --
Congrats.

How to fix MD5 mismatch (Easy Fix)

All you need is a rooted phone with a root file explorer and a nandroid backup.
1: Go into your root file explorer
2: Go to your clockworkmod>backup then choose the backup file
3: You will see a file called "nandroid.md5" Open it with text editor and delete everything inside it (Don't rename any files)
4: Exit with the back button and click "Save"
5: Happy restoring!
The problem causing it was the stuff in the md5 file not matching up, when you deleted it, it now skips this step.
Bump
Sent From Note 2 Using Minuum Keyboard
And then there is no way detecting your backup is corrupted.
Sent from my GT-I9500
dragon135 said:
And then there is no way detecting your backup is corrupted.
Sent from my GT-I9500
Click to expand...
Click to collapse
I Tried it and it worked
bumparoonies
C00lBeanz said:
bumparoonies
Click to expand...
Click to collapse
The md5 check is pretty important, if your back up is corrupted you could easily end up in a bad place. The steps you lined up, absolutely work and I have done it myself, but only with a nandroid back up that I was really confident in. I am not sure if this is still the case, but if you have several nandroid backups in your back up folder and one of them has been corrupted, then all of them might throw the back up error...even though their md5s match.
justmpm said:
The md5 check is pretty important, if your back up is corrupted you could easily end up in a bad place. The steps you lined up, absolutely work and I have done it myself, but only with a nandroid back up that I was really confident in. I am not sure if this is still the case, but if you have several nandroid backups in your back up folder and one of them has been corrupted, then all of them might throw the back up error...even though their md5s match.
Click to expand...
Click to collapse
true, but for me, most of the time it fixes everything.
bump
wow, thanks bro! this work in my device :good:
BoyCasuales said:
wow, thanks bro! this work in my device :good:
Click to expand...
Click to collapse
no problemo
Bump
Sent From Note 2 Using Minuum Keyboard

Categories

Resources