Can I restore data that I have backed up in CWM form my device to another?
As long as the model is same, yes. What device exactly?
I don't think so, even if they're the same. i've done it once and the cwm log says 'md5sum mismatch!'
azzazelium said:
I don't think so, even if they're the same. i've done it once and the cwm log says 'md5sum mismatch!'
Click to expand...
Click to collapse
If you insist on restoring the backup file do this simple trick on md5 mismatch: open the md5 file in your CWM backup folder, erase its contents. Leave the file empty (0 byte) then restore in peace
Keep in mind md5 mismatch means something changed in the backup file, doesn't matter which device it previously on. Do this on your own risk.
Note: CWM will skip verifying the backup if md5 file is empty.
Related
I recently tried a new ROM and made a Rom Manager recovery restore file prior to changing. Things didn't work out as well as I had hoped and when attempting to restore, it fails at the checking MD5 sum process.
Any way to work around this? I really would like to restore to the previous ROM without starting over.
Anybody? I am not quite sure how the restore file can be created on this phone and then not pass verification?
Any ideas or am I stuck starting over?
sandiegopaneraiguy said:
Anybody? I am not quite sure how the restore file can be created on this phone and then not pass verification?
Any ideas or am I stuck starting over?
Click to expand...
Click to collapse
depending on the type of file format used to backup, the restoring could be done manually but a changed md5sum generally means the files are not the same as the original. this could result in corruption and generally it isnt recommended to restore corrupted files as you run the risk of nothing working.
if you're still wanting to proceeding with attempting to restore files which are different than the original and could be corrupted, off the top of my head, you can probably dd the .img files back and untar the .tar files back.
i would suggest starting over and perhaps copying the backup files over to your desktop instead of only leaving on the sdard. this should help ensure at least one of the copies maintains their integrity.
hope that helps!
You can boot into recovery, and run nandroid via adb shell command line, no md5 checksum file needed. Now if the image is bad, you of course get bad results, but if the checksum is just hosed for some reason, it will work fine.
Put the .win files for the partitions you want to restore in /sdacrd
then issue the command "tar xvpf /sdcard/data.win" or "tar xvpf /sdcard/system.win" from the adb shell while in /data or /system respectively. .win files are what TWRP creates for backups.
I had this happen with TWRP 1.01 or 1.02 once on a good backup that passed the checksum tests when I backed it up.
I was testing the reliability of the TWRP package's nandroid and first one failed.
Once I moved to the newer version, I've not had that issue.
Question guys. I'm trying to restore a nandroid backup and keep getting the md5 checksum mismatch error. I have a few nandroids that work at the moment. I know this is a stupid question but I thought worth a try. If I replace the files from the nandroid backup that gets the md5 error and move all the files over to a nandroid thats working, is this possible? The only file I won't be replacing is the nandroid.md5 file. I've moved the boot, cache.ext4, data.ext4, system.ext4 files that I would like to restore. Thanks in advance guys!
Please close thread. Got it fixed!
stevehkim said:
Please close thread. Got it fixed!
Click to expand...
Click to collapse
Put [SOLVED] in the title and edit your post to reflect what you did.
Just for future reference there is a guide on how to fix this found here: http://forum.xda-developers.com/showthread.php?t=976453
# md5sum *img > nandroid.md5 not executing
Iam trying to execute the commands listed to fix mismatch error but on executing
# md5sum *img > nandroid.md5 an error comes saying "md5sum: not found"
what could be the reason.plz help?
coolboyforeva said:
Iam trying to execute the commands listed to fix mismatch error but on executing
# md5sum *img > nandroid.md5 an error comes saying "md5sum: not found"
what could be the reason.plz help?
Click to expand...
Click to collapse
Actually if you're trying to restore a backup and get that md5 mismatch error it usually means that there is characters in the backup's folder name that it won't recognize, try renaming the backup folder name with no spaces or hyphens, I usually only use letters and numbers with no spaces, try that and it should be ok at that point...
EDIT: Also I don't recommend moving the files into a working backup folder as the md5sum is generated for each specific backup and you could have problems if the md5sum doesn't match the files that they were created for...
goldeneagle1972 said:
Actually if you're trying to restore a backup and get that md5 mismatch error it usually means that there is characters in the backup's folder name that it won't recognize, try renaming the backup folder name with no spaces or hyphens, I usually only use letters and numbers with no spaces, try that and it should be ok at that point...
EDIT: Also I don't recommend moving the files into a working backup folder as the md5sum is generated for each specific backup and you could have problems if the md5sum doesn't match the files that they were created for...
Click to expand...
Click to collapse
I renamed the folder to abcdef123 and tried restoring the ICS backup (downloaded from a thread here) thru CWM but same result.. md5 mismatch.
I restore GB backup but it gets restored everytime.
Also i have checked the md5 checksum of each file thru a pc software.. and they are correct.. same as calculated by s/w
problem lies smwhere else..!?!?!?!?!?!???
does any1 knows some other location of ICS backup other that this http://forum.xda-developers.com/showthread.php?t=1888536
plzz share if you know !
So, I wanted to rename my Nandroid backup folder name so it could be easier to know which file is what. However, I didn't knew this was going to cause MD5 mismatch problem.
So, there is anyway to me to recover my backup folder name and restore my backup?
EDIT: Forget i. I just had to put no spaces between the letters.
Felimenta97 said:
So, I wanted to rename my Nandroid backup folder name so it could be easier to know which file is what. However, I didn't knew this was going to cause MD5 mismatch problem.
So, there is anyway to me to recover my backup folder name and restore my backup?
EDIT: Forget i. I just had to put no spaces between the letters.
Click to expand...
Click to collapse
Didnt know that, good to know
Felimenta97 said:
So, I wanted to rename my Nandroid backup folder name so it could be easier to know which file is what. However, I didn't knew this was going to cause MD5 mismatch problem.
So, there is anyway to me to recover my backup folder name and restore my backup?
EDIT: Forget i. I just had to put no spaces between the letters.
Click to expand...
Click to collapse
If it happens again all you have to do is change de md5 values in the file nandroid.md5 (located in the backup folder) with the correct values for each file.
But only do that if you are sure that the backup files are not corrupted.
cafrocha said:
If it happens again all you have to do is change de md5 values in the file nandroid.md5 (located in the backup folder) with the correct values for each file.
But only do that if you are sure that the backup files are not corrupted.
Click to expand...
Click to collapse
In case anyone finds this off a search, I had the same problem. If manually rehashing the .img files (http://forum.xda-developers.com/showthread.php?t=714114) doesn't work, make sure the folder name you used doesn't have spaces. I renamed the folder with underscores, problem was fixed.
My Atrix 4g has the boot loader unlocked, rooted, is currently running nottachtrix 1.3 with faux 1.3 kernal.
Before flashing nottachtrix I used Clockworkmod Rom Manager to back up the stock rom.
I tried to restore to the stock rom from the app and it failed, the error was "couldn't open directory. no files found" but by this point it had already removed the existing rom. I installed nottachtrix again with out wiping anything and managed to get the phone back working again as before.
I can't restore any of my backups, even new backups made don't work. The error I'm getting is:
"clockworkMod recovery v5.0.2.0
couldn't open directory.
no files found"
The files are still there in the folder /sdcard /clockworkmod/backup the new backups made are also saved to that folder.
From the report.log:
ui_print("ROM Manager Version 5.0.3.1");
ui_print("13 December 2012");
assert(restore_rom("/sdcard/clockworkmod/backup/Stock_backup", "boot", "system", "data", "cache", "sd-ext"));
parse returned 0; 0 errors encountered
about to run program [/sbin/cp] with 4 args
ROM Manager Version 5.0.3.1
13 December 2012
Checking MD5 sums...
boot.img: OK
cache.ext3.tar: OK
data.ext3.tar: OK
recovery.img: OK
system.ext3.tar: OK
.android_secure.vfat.tar: OK
Erasing boot before restore...
I:Formatting unknown device.
Restoring boot image...
couldn't find default
Found new backup image: /sdcard/clockworkmod/backup/Stock_backup/system.ext3.tar
Restoring system...
I:Formatting unknown device.
I:Formatting ext3 device.
tune2fs 1.41.6 (30-May-2009)
Setting current mount count to 1
e2fsck 1.41.6 (30-May-2009)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/block/mmcblk0p12: 11/81920 files (0.0% non-contiguous), 20633/327680 blocks
loads of random code then.
write error: No space left on device
libaudioflinger.solibstlport.solibui.solibbluetooth.solibsensortest.solibz.solibnvomxilclient.solibstagefright.solibpanorama_jni.solibnvmm_video.solibopencore_mp4local.solibmedia_jni.solibhwmediarecorder.solibctest.solibCamera_gingerbread.solibjni_nwp.solibext2_profile.solibrs_jni.solibsurfaceflinger.solibflashplayer.solibysshared.solibstagefright_froyo.solibstagefright_honeycomb.solibaudio.solibjni_latinime.solibphotoflow.solibnvddk_aes_user.solibdlnasysjni.solibSR_AudioIn.solibpppd_plugin.solibgui.solibnvodm_imager.solibwebcore.solibreverbwrapper.solibbundlewrapper.solibvisualizer.solibsrec_jni.solibcrypto.solibnvrm_channel.solibRS.soError while restoring /system!
result was NULL, message is: assert failed: restore_rom("/sdcard/clockworkmod/backup/Stock_backup", "boot", "system", "data", "cache", "sd-ext")
It says "No space left on device" does that mean on the SD Card or the internal storage? There is 1.02 gb available on the internal storage and 3.35 gb on the sdcard how much is required?
Any help would be very much appreciated!
Jonnym
try placing a folder inside your internal storage naming it just like the cwm recovery folder on your sdcard and with the same structure (clockworkmod/backup/ )put your backup inside , and free some space on your internal storage aswell , then try again i remember reading something about different storage settings for different roms
Sent from the gray stuff inside my skull
demonoid phenomenom said:
try placing a folder inside your internal storage naming it just like the cwm recovery folder on your sdcard and with the same structure (clockworkmod/backup/ )put your backup inside , and free some space on your internal storage aswell , then try again i remember reading something about different storage settings for different roms
Sent from the gray stuff inside my skull
Click to expand...
Click to collapse
Thanks for the reply
Last night I uninstalled CWM and reinstalled it then tried it again, it failed when restoring the backup of the stock rom, but it did restore a old back up of nottachtrix.
I updated CWM sometime after backing up the stock rom, I wonder if that's the problem? Or the backup is corrupt, I have a back up of it on the PC so will try using that instead.
What do you think?
Thanks again for the advice.
Jonnym
Jonnym said:
Thanks for the reply
Last night I uninstalled CWM and reinstalled it then tried it again, it failed when restoring the backup of the stock rom, but it did restore a old back up of nottachtrix.
I updated CWM sometime after backing up the stock rom, I wonder if that's the problem? Or the backup is corrupt, I have a back up of it on the PC so will try using that instead.
What do you think?
Thanks again for the advice.
Jonnym
Click to expand...
Click to collapse
agreed, maybe it's an incompatible backup, or also try selective restore option, and restore partition by partition, make sure to do all necessary wipes
Sent from the gray stuff inside my skull
demonoid phenomenom said:
agreed, maybe it's an incompatible backup, or also try selective restore option, and restore partition by partition, make sure to do all necessary wipes
Sent from the gray stuff inside my skull
Click to expand...
Click to collapse
I'm guessing that's all done in Clockworkmod?
Is there any where I can get an older version of Clockworkrom?
thanks for the help
Jonnym
Jonnym said:
I'm guessing that's all done in Clockworkmod?
Is there any where I can get an older version of Clockworkrom?
thanks for the help
Jonnym
Click to expand...
Click to collapse
Thats not a good idea, you risk a hard brick, or need to rsd flash rom again, im not sure about this but there is an adb way to manually flash each partition regardless of restore being corrupt or not but thats too riskiest
Sent from the gray stuff inside my skull
I backed up my rom with Clockworkmod v6.0.1.4 and when I went to restore it, it said md5 mismatch checksum. I checked in the advance restore options and it shows the default restore format is .DUP instead of .TAR so it saved it in the .dup format. Now, when I went to check up on the folder on my SDCARD it never showed an md5 file because it never created one. I read all of the " 20-second md5 fix " posts and I created an md5 file and made them blank off of a YouTube video and I also installed RapidCRC to attain md5 checksums from the img files in the backup folder to add to the new nandroid md5 file and out in the backup root folder and I even tried the SDCARD root, but to no avail, they all failed and I still get the md5 mismatch error. I have attached pictures that show my folders and files. I need some help on restoring please!
http://forum.xda-developers.com/showthread.php?t=2096556
Dude, you don't need another thread for this....