[Q] Renaming nandroid backups - Epic 4G Q&A, Help & Troubleshooting

With trying new roms, daily now it seems, is it possible to rename nandroid backups to something that makes more sense then just a date/time stamp like the name of rom/kernel?

Usually it doesn't matter as long as there's no special characters but I've tried it before and always get an md5 sum mismatch I just write down the date and the name of the rom
Sent from my SPH-D700 using xda premium

You need to use ROM Manager for this, then it will work with or without ROM Manager in CWM 5.0.2.7.

I usually put the backups in folders with meaningful names. I have to move them back to the proper location before restoring.
Never tried rom manager to do this though.
sent from my secret underground bunker

I was able to rename my backups with es file explorer just renamed it something like CM7_33 and it restored just fine

K3VlN said:
I was able to rename my backups with es file explorer just renamed it something like CM7_33 and it restored just fine
Click to expand...
Click to collapse
Sometimes that will work for me also... most of the time I will get an md5 sum error when I rename them though... like biggoron said the easiest way is to write them down somewhere... or as (insert name here) said you can put them in a seperate folder with the name and then move them back before restoring them....
Sent from my SPH-D700 using Tapatalk

hmmm strange error to have happen but good to know guess id better make another back up and delete the changed one

I had the md5 mismatch too. It seems you can rename as long as you don't put any spaces. I have been renaming mine CM7N##beforeCM9blahblah and it still works. If I put spaces in, then md5 mismatch

kennyglass123 said:
You need to use ROM Manager for this, then it will work with or without ROM Manager in CWM 5.0.2.7.
Click to expand...
Click to collapse
Thanks, I renamed some of them using ROM manager and the one I tried worked.

I tried twice to do it manually, no spaces and always got the md5 error. My backups are too important so I only use ROM manager as it makes sure the MD5 is correct.

kennyglass123 said:
I tried twice to do it manually, no spaces and always got the md5 error. My backups are too important so I only use ROM manager as it makes sure the MD5 is correct.
Click to expand...
Click to collapse
Yup, this is the main reason I use rom manager, to name my backups to keep track of them easier. The nightlies for cm7 in rom manager don't hurt either..

I was actually trying to restore a backup which had an altered name and the recovery kept prompting error.
I had to rename the prefix back to BCDEARS in order for it to restore.
I think the prefix is important because it's a code to the kind of content that was actually backed up.

Related

Renaming nandroid backups

So I tried renaming my backups on pc, since rom manager would always mess up when trying that method. Both ways I get a "m5 sum incorrect " or something like that!
Any ideas, sometimes I have so many backups its hard to tell what's what
Sent from my PC36100 using XDA App
ROM Manager will let you name your backups. Only thing I can think of.
how do you use rom manager to rename them i renamed them all with ES File Explorer and now all my backups get that m5 sum incorrect thing
Already tried rom manager to rename, if I try and restore I get the "sum "error
Sent from my PC36100 using XDA App
I used to have this problem. What I currently do, is as follows, using Amon_RA 2.2.1 Located here:
http://forum.xda-developers.com/showthread.php?t=705026
I use the recovery nandroid backup. When I do this it creates a folder under /sdcard/nandroid/...... where ...... is the folder nandroid will create upon your first backup. From there all your future backups will go into that folder, it will be something goofy, the folder for me is Ht096Hl01177 (path looks like this: /sdcard/nandroid/HT096H101177/New Backup, rename this folder, not the HT one), within that folder will be your actual backup. Create the nandroid backup, I use ROOT EXPLORER (Paid but worth it since you can do mounted deletes), to rename the newley created backup, do not change the parent folder. Then when I want to restore to that one, I make sure I do a full wipe including Dalvick Cache. Using this process I don't hardly ever get the m5sum error. Hope that helps. I currently have 4 backups under the parent directory and I can restore them fine as long as I wipe first.
The easiest and cheapest way is by opening rom manager and scroll down to where it says backup/restore and on the backup you want to rename you hold it and then it will give you options like delete etc...chose rename and rename it example MikFroyo_1-24-2011 when you space make sure you _ for spaces and you should not get an error I segest you make a backup and use that to test it you can also rename it by clicking back up restore within rom manager and press back and rename it like showed in the example hopes this helps I have tested both with no problems what so ever
Sent from my PC36100 using XDA App
I always rename mine with no issues...so far. I just leave all the numbers then start at the end like this. 2010-11-20.07.24.51 then I add -MYN-01-HB-76. Dont know if this will work for everyone. I just didnt want to mess with the file name too much
Evo - Myn 2.2 RLS 3 - Clockwork - HBoot .76
The key thing to know about renaming nandroids is that you have to be sure to leave no spaces in the names...
You can name it CM6.Jan25 but not CM6 Jan 25
You do not need to save the given name of it, I assure you.
....this is true whether you rename with rom manager, root explorer or estrongs ..... that is all you need to be concerned with, as long as you do that you should be fine....
eeeeeeeeek said:
I used to have this problem. What I currently do, is as follows, using Amon_RA 2.2.1 Located here:
http://forum.xda-developers.com/showthread.php?t=705026
I use the recovery nandroid backup. When I do this it creates a folder under /sdcard/nandroid/...... where ...... is the folder nandroid will create upon your first backup. From there all your future backups will go into that folder, it will be something goofy, the folder for me is Ht096Hl01177 (path looks like this: /sdcard/nandroid/HT096H101177/New Backup, rename this folder, not the HT one), within that folder will be your actual backup. Create the nandroid backup, I use ROOT EXPLORER (Paid but worth it since you can do mounted deletes), to rename the newley created backup, do not change the parent folder. Then when I want to restore to that one, I make sure I do a full wipe including Dalvick Cache. Using this process I don't hardly ever get the m5sum error. Hope that helps. I currently have 4 backups under the parent directory and I can restore them fine as long as I wipe first.
Click to expand...
Click to collapse
right on. this is execly what i do to rename
Vandelay007 said:
The key thing to know about renaming nandroids is that you have to be sure to leave no spaces in the names...
You can name it CM6.Jan25 but not CM6 Jan 25
You do not need to save the given name of it, I assure you.
....this is true whether you rename with rom manager, root explorer or estrongs ..... that is all you need to be concerned with, as long as you do that you should be fine....
Click to expand...
Click to collapse
Yeah, I use Root Explorer, no spaces, works fine for me.

Can you rename your nandroid backups?

i already checked similar threads but they refer to the evo and I want to make sure of our epics...
Im currently on CM7 (amazing rom)....i have a previous backup of a froyo rom that i was using before...im on cm7 and i make backups everyday since im playing around with apps and features from the main CM7 threads in xda...what is the name convention for nandroid backups...can I simple name it "srf froyo latest"?? with no spaces...
Make a random back up and see if it works. best way to see if its possible right? Worse thing that will happen is it won't load the back up.
Sent from my CM7.1/*Apocalypse-Talon* v3.2.1 NS4G
Yes, but no spaces
sent from my cm7-ified epic
Unless something has changed, I know that renaming your backups will cause an md5 mismatch. It won't work after that.
I believe there was a tool available to correct the mismatch after renaming, though I cannot recall exactly what it was or where. A Google search should provide something useful.
Sent from a secret underground bunker
I use a file that i put a description of each backup, I tried the rename and got the md5 mismatch error
jdelano said:
I use a file that i put a description of each backup, I tried the rename and got the md5 mismatch error
Click to expand...
Click to collapse
Same here. I name folders, and put the backups in those folders. If I have to use a backup, it has to first be moved back to it's original location though otherwise md5 mismatch.
Sent from a secret underground bunker
I've already stated how to get md5 mismatches to rematch again on another thread, but in the future, use an app such as Rom Manager to rename your nandroid backups.
I'll quote my other thread, gimme a sec.
P.S. I highly recommend you rename your backups to something simple with no spaces before you attempt to rematch via commands.
(Ex: 2.1Eclair)
This can also be done from Terminal Emulator on your phone while its on without the use of a pc. just be sure you add 'su' first for root permission.
# su
# cd /sdcard/clockworkmod/backup/whatyourenamedyourbackupto
# rm nandroid.md5
# md5sum *img > nandroid.md5
I hope this helps, and gets stickied, it's very important for anyone who gets MD5 mismatches on Clockworkmod for whatever reason.
Click to expand...
Click to collapse

Md5 Mismatch on Nandroid Backups Caused by Name Change?

Some of my Nandroid backups have been getting md5 mismatched lately. I just realized that the reason may be because I change their names to something like "Blend ICS" or "Blazer", etc. Anyone know if this is the problem? And is there any way to rename them without causing a mismatch? Someone said to just add some like "blazer" without spaces right before the auto-named CWM folder (so basically the date). This won't cause problems will it?
iniz94 said:
Some of my Nandroid backups have been getting md5 mismatched lately. I just realized that the reason may be because I change their names to something like "Blend ICS" or "Blazer", etc. Anyone know if this is the problem? And is there any way to rename them without causing a mismatch? Someone said to just add some like "blazer" without spaces right before the auto-named CWM folder (so basically the date). This won't cause problems will it?
Click to expand...
Click to collapse
As long as you only add to the beginning without changing the rest if the name you should be ok.
Although I might recommend another option. When I need to categorize them I just create a new folder, name the new folder whatever i want and move them into it. If I need to restore a specific nandroid I just move it back into the original CWM backup folder and restore it.
iniz94 said:
Some of my Nandroid backups have been getting md5 mismatched lately. I just realized that the reason may be because I change their names to something like "Blend ICS" or "Blazer", etc. Anyone know if this is the problem? And is there any way to rename them without causing a mismatch? Someone said to just add some like "blazer" without spaces right before the auto-named CWM folder (so basically the date). This won't cause problems will it?
Click to expand...
Click to collapse
I've heard as long as you don't have any spaces, it should be fine. Such as "Blend.ICS" or something. I had the same issue long ago, I put the name of a ROM (with spaces) instead of the date then had the same issue. I simply fixed it by replacing the name back to a random date without spaces.
I never rename anything but I have heard you can change the beginning portion and I try to limit the amount of nandroids only three stock, daily driver, and one test build I update my daily every few days and delete the old one
Sent from my SPH-D710 using XDA
I always change the name because it only shows the timestamps. I modify the name with rom version and status good or final ....
I check the md5 checksum after the name change and it's always successful. Even I restored with name changed nandroid backup multiple times and never had any problem.
Only the problem with nandroid backup was I made it thru rom manager or rom toolbox. It's causing md5 mismatch on ics rom. So ifyou use rom toolbox or rom manager on ics, you need to extremely careful.
Sent from my SPH-D710 using xda premium
Yeah I have an ICS ROM and I tend to avoid using apps like ROM Manager and just do it myself in Recovery. But thanks everyone for the responses. I think I'm just gonna create a folder for them like rwilco said or just edit the beginning.
One of the good habit is verifying the md5 checksum using the tool something like afv. I'm always check the md5 checksum against the nandroid backup. This tools is free and very useful...
MD5 Checksum
How do you do the md5 check? Is there a special command you need to type at a command prompt?
bronski813 said:
How do you do the md5 check? Is there a special command you need to type at a command prompt?
Click to expand...
Click to collapse
There are many ways but I use afv.
For example - (serious of screenshots)
1. You can change the directory name of nandroid backup (it's not related to md5 checksum at all. But don't change the individual file's name inside of the directory. If you do that, then you have to change the md5 checksum file and checksum data also.
2. Open afv and select file
3. move to the directory and long click on nandroid.md5 file
4. select verify nondroid backup
5. check the result.
If you want to check the individual backup's md5 checksum, select the file and do the 'calc md-5 checksum' and compare the result with nandroid.md5 file.
Lots of fun (lof)!
kobridge said:
There are many ways but I use afv.
For example - (serious of screenshots)
1. You can change the directory name of nandroid backup (it's not related to md5 checksum at all. But don't change the individual file's name inside of the directory. If you do that, then you have to change the md5 checksum file and checksum data also.
2. Open afv and select file
3. move to the directory and long click on nandroid.md5 file
4. select verify nondroid backup
5. check the result.
If you want to check the individual backup's md5 checksum, select the file and do the 'calc md-5 checksum' and compare the result with nandroid.md5 file.
Lots of fun (lof)!
Click to expand...
Click to collapse
How do you correct the md5? im not sure what i did but every nandroid i make refuses to restore saying that "md5 mismatch"...
Can afv match the md5?
samsmalls said:
How do you correct the md5? im not sure what i did but every nandroid i make refuses to restore saying that "md5 mismatch"...
Can afv match the md5?
Click to expand...
Click to collapse
If nandroid backup md5 file mismatch, then calculate individual files md5 checksum and compare with nandroid.md5 data. Modify the checksum data from nandroid.md5 file. It does not automatically match the md5. AFV only provides verification and calculation.
To fix the md5 mismatch automatically, you can use another tool something like 'Root Toobox'. This tool fixs the md5 error but does not show the fixing result. So, this tool is not recommended to fix the md5. There are many other tools in the market, please try to search.
Update - do not use root toolbox. It breaks the md5 file.
samsmalls said:
How do you correct the md5? im not sure what i did but every nandroid i make refuses to restore saying that "md5 mismatch"...
Can afv match the md5?
Click to expand...
Click to collapse
If you have a mismatch with md5 - see my signature. You can type the command from terminal on your phone. Then everything is right again.
Oops, forgot I deleted it from my signature. Here it is:
http://forum.xda-developers.com/showthread.php?t=714114
iniz94 said:
Some of my Nandroid backups have been getting md5 mismatched lately. I just realized that the reason may be because I change their names to something like "Blend ICS" or "Blazer", etc. Anyone know if this is the problem? And is there any way to rename them without causing a mismatch? Someone said to just add some like "blazer" without spaces right before the auto-named CWM folder (so basically the date). This won't cause problems will it?
Click to expand...
Click to collapse
If you have this problem, use rom manager or romtoolbox to rename the backups , and itll work
This thread is 4 months old...
Sent from my SPH-D710 using xda app-developers app
Indeed it is
Sent from my SPH-D710 using xda app-developers app
krishneelg3 said:
If you have this problem, use rom manager or romtoolbox to rename the backups , and itll work
Click to expand...
Click to collapse
So one person says Rom Manager / Rom Toolbox will not work for renaming nandroids, you say it does. Which is it?
I recently had some backups that didn't work because I renamed them completely. I got md5 mismatches. I dont use CWM though. Strictly 4EXT. I dont believe Rom Manger will do much for you if your recovery is not CWM. Still, renaming seems to be problematic but you have to do something to keep them organized/separate. Dates dont mean much a few weeks later.
It doesn't matter what you name the backup. Just don't add spaces instead if where the space is put dots "." And it'll work.

Rename backup files - CWM

On my old Magic, I was running CM6 and I thought CWM - but I don't remember now, I'm thinking possibly it was another recovery, because I had the ability then to name my backup files before starting the backup, so I could give them more meaningful names than just the date.
Can I rename my backup files on my SD card? Just use Astro for this, or what?
Or will this cause CWM to no longer see the files as valid backup files?
Additionally, I had been rooted prior on GB - now that I'm on ICS, I'm not sure I want those on my SD card in the (hopefully) unlikely event that I accidentally pick one of those nandroids to restore when I meant to restore back to a prior ICS version. Seems like there could be risk of bricking my phone, so can I copy and delete these off my phone?
Is it as simple as knowing where to look on the SD card and using Astro to rename them, or Kies (or Windows) to move them/delete them?
I dont think you can do that because then it will give you an MD5 mismatch. I think in the new version of TWRP recovery coming out, you can name and rename backups though.
slick_rick said:
I dont think you can do that because then it will give you an MD5 mismatch. I think in the new version of TWRP recovery coming out, you can name and rename backups though.
Click to expand...
Click to collapse
You can rename them as long as you don't put any spaces when you rename it. For example - blazer 4.1 gb- would not work you would have to us blazer.4.1.gb and it would work fine.
albertouresti said:
You can rename them as long as you don't put any spaces when you rename it. For example - blazer 4.1 gb- would not work you would have to us blazer.4.1.gb and it would work fine.
Click to expand...
Click to collapse
There's your answer then.

Can't restore?! Please help

I rooted my phone today and did a CWM backup - I then flashed CM10 and then tried to do a restore but when I try it I get the following error "Couldn't open directory, No files found"
Yet when I browse my files I can see the back up I made in the CWM folder - why won't it restore this?
Any thoughts?
Thanks in advance!
jackryan57 said:
I rooted my phone today and did a CWM backup - I then flashed CM10 and then tried to do a restore but when I try it I get the following error "Couldn't open directory, No files found"
Yet when I browse my files I can see the back up I made in the CWM folder - why won't it restore this?
Any thoughts?
Thanks in advance!
Click to expand...
Click to collapse
Hmm...not sure if it's related, but the only time my CWM backup didn't restore was some MD5 mismatch error. I renamed the backup to "backup.tar" (if you're using *.tar and not /blobs) after I read that worked on a thread, and wala, it worked! Unsure if that's what your issue is, though.
ikjadoon said:
Hmm...not sure if it's related, but the only time my CWM backup didn't restore was some MD5 mismatch error. I renamed the backup to "backup.tar" (if you're using *.tar and not /blobs) after I read that worked on a thread, and wala, it worked! Unsure if that's what your issue is, though.
Click to expand...
Click to collapse
I just tried what you said and it still doesn't work - I did notice that my backup is a file folder not just a file - so I don't think renaming the folder to a .tar will actually do anything to it?
Is there any other way to restore from a back up I have on my phone but that CWM doesn't seem to see??
You could try moving the file with a file manager or make sure permissions are good.
Sent from my SAMSUNG-SGH-I747 using xda premium
Push it with Odin? Or just grab the stock rooted file from the stickies and push that with Odin.
Sent from my SGH-I747 using xda app-developers app
What would I be looking for as far as permissions go?
jackryan57 said:
I just tried what you said and it still doesn't work - I did notice that my backup is a file folder not just a file - so I don't think renaming the folder to a .tar will actually do anything to it?
Click to expand...
Click to collapse
Hmm..it's been a while since CWM--do you have any folder called blobs? If so, then my tip to rename to "backup.tar" won't work. Basically, you're right. If you don't have a *.tar backup, then I got nothing. CWM used to be *.tar only, then defaulted to /blobs, and now is defaulting back to *.tar with the option of /blobs.
join the club...
http://forum.xda-developers.com/showthread.php?t=2101424
No idea what's going on with this crap. I've lost every backup now for two weeks, the worst of which was my stock backup.
i may have ended up finding a solution to the problem here, if yours is similar enough to mine.
http://forum.xda-developers.com/showthread.php?t=2101424

Categories

Resources