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
Related
Is there anyway to know what the back ups made from cwm are? It just saves them as the date. I tried renaming it the first time. I ever tried it and it wouldn't recover the file I think it was cuz I renamed it so if renaming works sorry if this seems dumb. So is there anyway other than recovering the files to see what the open to?
Sent from my SPH-D700 using XDA App
lilajrestnom said:
Is there anyway to know what the back ups made from cwm are? It just saves them as the date. I tried renaming it the first time. I ever tried it and it wouldn't recover the file I think it was cuz I renamed it so if renaming works sorry if this seems dumb. So is there anyway other than recovering the files to see what the open to?
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
+1, I'd also like to know this, as I had manually renamed all my backups dates and of course MD5 check fails. I had forgotten about MD5 and wasn't thinking when I renamed them, lol. Being Clockworkmod though, I would of thought its creator was smart enough to add 'override MD5 check' under advanced restore.. I may dig deeper into this, I have valuable roms backed up, including my original rom that I payed 75$ for, that was setup to work with Metropcs's 3G data, mms & internet.
Rename their folders...I've done it multiple times... md5 doesn't have anything to do with the directory its in i dont think
ugothakd said:
Rename their folders...I've done it multiple times... md5 doesn't have anything to do with the directory its in i dont think
Click to expand...
Click to collapse
Yeah, I'm go to put them in folders next time.. lol that still doesn't solve the current screwed up status of mine and the op though.
Well...you want to know what files are in it right?
Hmm..nope. Op please read this.
ugothakd said:
Well...you want to know what files are in it right?
Click to expand...
Click to collapse
I think you slightly misunderstood the OP and I.
but then again, we're both saying slightly different things with similar scenarios/issues.
The op wants to know if there's a way to distinguish what his backups are besides the date.
You have answered his question by suggesting he make folders for each of his future backups so he won't be guiding himself blindly by just a date.
I, for a change, do know exactly what my backups are, as i renamed them to things such as 2.1eclair, 2.2ec05 froyo, so on and so forth.
I have come to a solution to the problem, it seems we'll have to create a new MD5, so it can match again. (for now at least until clockworkmod is modified/updated.)
The following commands should be entered when in debug mode/adb with your phone connected to a pc.
# cd /sdcard/clockworkmod/backup/whatyourenamedyourbackupto
# rm nandroid.md5
# md5sum *img > nandroid.md5
disregard the '#' it just means it belongs on the next line.
I reccommend you leave no spaces in between of your renamed backup, command doesn't do well with spaces, not even if you try putting _.
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.
Note Bene: I've also come to notice that when you do successfully recover, a recovery.log is created, the timestamp at the very top is the first thing made, assuming there was a .log for when you backup, that same timestamp, (rearranged with the date before the time) should be the original file name, assuming backup.log existed.
Double Edit: I can confirm that this successfully creates a new MD5 for your backups thought once lost. I have just restored my original 2.1 Eclair MetroPCS rom to make sure.
Shinydude100 said:
I think you slightly misunderstood the OP and I.
but then again, we're both saying slightly different things with similar scenarios/issues.
The op wants to know if there's a way to distinguish what his backups are besides the date.
You have answered his question by suggesting he make folders for each of his future backups so he won't be guiding himself blindly by just a date.
I, for a change, do know exactly what my backups are, as i renamed them to things such as 2.1eclair, 2.2ec05 froyo, so on and so forth.
I have come to a solution to the problem, it seems we'll have to create a new MD5, so it can match again. (for now at least until clockworkmod is modified/updated.)
The following commands should be entered when in debug mode/adb with your phone connected to a pc.
# cd /sdcard/clockworkmod/backup/whatyourenamedyourbackupto
# rm nandroid.md5
# md5sum *img > nandroid.md5
disregard the '#' it just means it belongs on the next line.
I reccommend you leave no spaces in between of your renamed backup, command doesn't do well with spaces, not even if you try putting _.
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.
Note Bene: I've also come to notice that when you do successfully recover, a recovery.log is created, the timestamp at the very top is the first thing made, assuming there was a .log for when you backup, that same timestamp, (rearranged with the date before the time) should be the original file name, assuming backup.log existed.
Double Edit: I can confirm that this successfully creates a new MD5 for your backups thought once lost. I have just restored my original 2.1 Eclair MetroPCS rom to make sure.
Click to expand...
Click to collapse
...that confused me...
an easier way is to use the acsupdater
ugothakd said:
...that confused me...
an easier way is to use the acsupdater
Click to expand...
Click to collapse
It was meant for the op, not you. And it isn't confusing, its good to learn simple commands, being spoonfed by a program is lazy if you ask me.
Shinydude100 said:
It was meant for the op, not you. And it isn't confusing, its good to learn simple commands, being spoonfed by a program is lazy if you ask me.
Click to expand...
Click to collapse
True...true. But that's how you start out, being spoonfed. Then after a while you start to ask how you got there....then that's where real dev's come from
The easiest way is to use rom manager to rename them to be honest
Sent from my SPH-D700 using XDA App
Lol I love, and respect you guy's input, but I think you're missing the issue at hand, (now resolved), the op wanted to fix md5 mismatch, not get lectured on how to rename files he's already changed names to.
New or not, if you can't take the time to input a few simple commands on terminal emulator or on pc command prompt,then you probably shouldn't be screwing around with your epic in the first place, which I don't think is the case for this pal, give a man a fish,and he'll eat for one day, teach a man how to fish, and he'll live for the rest of his life. I'm not asking him to learn how to deodex a rom, (which isn't hard either) lol. This is something anyone can do, if you invest a little bit of your time, not even 5 mins!
No his specific question was how to rename them.. he never mentioned an md5 mismatch... reread the OP
ugothakd said:
Rename their folders...I've done it multiple times... md5 doesn't have anything to do with the directory its in i dont think
Click to expand...
Click to collapse
Sent from my SPH-D700 using XDA App
So ur saying in the folder clockworkmod/backups create a new folder and put the back up in the folder?
So it would like kinda like
Clockworkmod/bckup/random rom hawk v4/**-**-**(date of backup which is the backup foler that was created?)
Shinydude100 said:
I think you slightly misunderstood the OP and I.
but then again, we're both saying slightly different things with similar scenarios/issues.
The op wants to know if there's a way to distinguish what his backups are besides the date.
You have answered his question by suggesting he make folders for each of his future backups so he won't be guiding himself blindly by just a date.
I, for a change, do know exactly what my backups are, as i renamed them to things such as 2.1eclair, 2.2ec05 froyo, so on and so forth.
I have come to a solution to the problem, it seems we'll have to create a new MD5, so it can match again. (for now at least until clockworkmod is modified/updated.)
The following commands should be entered when in debug mode/adb with your phone connected to a pc.
# cd /sdcard/clockworkmod/backup/whatyourenamedyourbackupto
# rm nandroid.md5
# md5sum *img > nandroid.md5
disregard the '#' it just means it belongs on the next line.
I reccommend you leave no spaces in between of your renamed backup, command doesn't do well with spaces, not even if you try putting _.
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.
Note Bene: I've also come to notice that when you do successfully recover, a recovery.log is created, the timestamp at the very top is the first thing made, assuming there was a .log for when you backup, that same timestamp, (rearranged with the date before the time) should be the original file name, assuming backup.log existed.
Double Edit: I can confirm that this successfully creates a new MD5 for your backups thought once lost. I have just restored my original 2.1 Eclair MetroPCS rom to make sure.
Click to expand...
Click to collapse
Sent from my SPH-D700 using XDA App
Thanks for this.
I honestly wasn't lookin for this exactly I just want a way to rename my back ups so I can distinguish between them. Butthis is useful since I have renamed a back up a while ago andlost the md5 thingy so I can probably use this to get it back thanks
ugothakd said:
...that confused me...
an easier way is to use the acsupdater
Click to expand...
Click to collapse
Sent from my SPH-D700 using XDA App
But acsupdater doesn't work on some roms so I can't always use that I think...
chris41g said:
The easiest way is to use rom manager to rename them to be honest
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
Sent from my SPH-D700 using XDA App
Thanks I haven't really thought of that bu ill see.
Does rom manager rename them atthe time. The backup is created or can I rename backups at anytime using it?
chris41g said:
No his specific question was how to rename them.. he never mentioned an md5 mismatch... reread the OP
Click to expand...
Click to collapse
Sent from my SPH-D700 using XDA App
Ya I specifically just would like to rename them backup folders. And the purpose of that is only to be abl to tell which rom is in which folders instead of memorizing dates. Sorry if I wasn't clear.
lilajrestnom said:
Sent from my SPH-D700 using XDA App
Thanks I haven't really thought of that bu ill see.
Does rom manager rename them atthe time. The backup is created or can I rename backups at anytime using it?
Click to expand...
Click to collapse
it can name them at the time of creation or rename, and i believe acsupdater does as well..
Just rename the folder that is named the date, so a backup would be /SDcard/clockworkmod/backups/renamed_backup
ugothakd said:
Just rename the folder that is named the date, so a backup would be /SDcard/clockworkmod/backups/renamed_backup
Click to expand...
Click to collapse
that should work, as the md5 file has no mention at all of the path.. but i have heard of people having problems... just make sure not to touch any files in the folders and you should be fine..
On external_sd\clockworkmod\backup there are folders named by date/time they were created. Can I rename these backup folders so I know what I am restoring before I restore it?
agentfazexx said:
On external_sd\clockworkmod\backup there are folders named by date/time they were created. Can I rename these backup folders so I know what I am restoring before I restore it?
Click to expand...
Click to collapse
Yep, you absolutely can. I rename mine like 'Starburst198r_2010-10-14-11-15-03'. Can't remember the exact date format that cwm uses, but you get the idea. Just don't rename any of the files within that folder. That would mess up the md5 check.
I renamed my backups when I had my evo and none of them would restore
Euclid's Brother said:
Yep, you absolutely can. I rename mine like 'Starburst198r_2010-10-14-11-15-03'. Can't remember the exact date format that cwm uses, but you get the idea. Just don't rename any of the files within that folder. That would mess up the md5 check.
Click to expand...
Click to collapse
Gotcha, so appending the ROM name (for example) to the front of the folder name is fine. Good to know.
Other question...why is the time stamp so far ahead from my time?
just no spaces
Vegasrich said:
just no spaces
Click to expand...
Click to collapse
Cool. Good to know. Thanks.
Are u sure they will work? I would think it would mess up the md5
Sent From My Evo Killer!!!
musclehead84 said:
Are u sure they will work? I would think it would mess up the md5
Sent From My Evo Killer!!!
Click to expand...
Click to collapse
Where's the md5 generated from?
musclehead84 said:
Are u sure they will work? I would think it would mess up the md5
Click to expand...
Click to collapse
nandroid.md5 doesn't contain the directory name.
I back up with rom manager. It lets you rename the back up before it reboot into recovery and backs up,
Sent from my GT-P7510 using xda premium
You can definitely rename the files. I do it and have restored from them on multiple occasions. As mentioned above, you just can't have spaces in the name or the md5 check fails. If it starts failing when you rename, it's probably just a naming issue. May not want to try too many symbols (though I've used hyphens and underscores I think).
On a related note, anyone know if you can change the actual folder CWM backs up to? I haven't even looked, so I'm sorry if it's something super obvious.
what exactly is md5? Ive noticed alot of the devs are posting the md5 with their roms now. Just wondering what it is. Also I was running calks rom and then flashed miui and cm7 then tried to restore back to calks and i get a md5 mismatch error..how do i correct that? do i just delete them from my sd card and make new nandroid backups? thanks
Redownload it. Md5s basically validate if the file was downloaded without problems
MD5 is an algorythym that will take any data (file) and spit out a (supposedly) unique hash. It is possible for 2 different files to have the same MD5 hash, but it's so rare that it doesn't matter.
So if a dev gives you an MD5 hash for their file, you can download a utility called md5sum and use that to check your downloaded file to see if it matches. If it doesn't then you got a bad download.
With your particular problem, something changed in your backupset to cause the mismatch. Did you delete any files from your backup folder, like the cache image? There should be a file called nandriod.md5 that contains one line for each image file along with it's md5 hash. Check each image file with "md5sum <filename>" and compare it to the nandroid.md5 file. If a file is listed in the nandroid.md5 file, but you don't have that file (ie. a deleted cache file), then just remove that line from the nandroid.md5 (i believe that will work).
I haven't tried it, but i think, if you rename the nandroid.md5 to something else like nandroid.md5.old, then it may just skip checking the md5's. Or you may need a blank nandroid.md5. Things to try if you feel like it.
please, allow me:
http://bit.ly/w33grw
Its the roms social security number...
Sent from my SPH-D710 using XDA App
cnstarz said:
please, allow me:
http://bit.ly/w33grw
Click to expand...
Click to collapse
Haha hohoho LMFAO. THAT IS CLASSIC.
Search. The most unused button ever...
If you noticed, he wasn't JUST asking what md5 was.. he was also having an md5 mismatch issue with a nandroid restore and was asking how to fix it. Would the google search on "md5" tell him that?
Although, this thread SHOULD be in the Q&A section.. shame on you OP
---- Edit ----
I have to admit though, the first time i saw LMGTFY, i nearly died laughing.
cnstarz said:
please, allow me:
http://bit.ly/w33grw
Click to expand...
Click to collapse
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.
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.