[Q] Nandroid MD5 Mismatch - Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot

I created a backup and now that i want to restore i can do it. It says "MD5 Mismatch" i look up on the forum and found this
". run the following commands in terminal emulator of ur android:
#cd /sdcard/clockworkmod/backup/(name of backup)
#rm nandroid.md5
#md5sum *img > nandroid.md5"
The problem is that i dont have such a file "nandroid.md5" on my backup folder

In nandroid it means the name of your own backup. Its saying to change the file type from .IMG to .MD5
Sent from my SPH-L720 using Tapatalk

Related

Clockwork-mod Recovery MD5 mismatch! error FIX

For anyone who has had the Clockwork-mod Recovery MD5 mismatch! error.
Another way: for Example TWRP Cache.ext4.win
most recoverys now have a option to turn off MD5 checking
You can copy your backup folder to your computer, use attached app to check the md5 number , edit md5 file and check and verify and change
this thread is old so md5 file may not be named the same. the picture is TWRP custom recovery
example was with cache.ext4.win that has md5 file named cache.ext4.win.md5
another short cut to try
----------------------------------------------------------------------------
@aeneas1 Thanks!!
i did another google search and found a very simple fix, at least it worked for me, on the first try, and i have tested it successfully with some of my other backups that were also getting the mismatch error.
1. using your phone, navigate to your backup folder using a root browser, i use romm tool box root browser.
2. locate and delete the nandroid.md5 file
3. create a new file and name it nandroid.md5
4. boot into recovery, select restore your backup, and watch the magic begin!
---------------------------------------------------------------------------
Update: thanks @Exca
If you have androids SDK ( ADB installed) try this easer method by Exca
This is a much easier way:
adb shell
# cd /sdcard/clockworkmod/backup/2010-06-29.20.22.53
# rm nandroid.md5
# md5sum *img > nandroid.md5
usually does the trick
DO NOT renamed your backup with spaces Thanks ltredbeard and those who verified
-----------------------------------------------------------------------------------------------------------------------------------------------------------
This is what I did to fix mine and get my backup working again after getting MD5 mismatch! error
I was trying to restore my backup after trying another Rom.
http://forum.xda-developers.com/showpost.php?p=11768066&postcount=2965
carl1961 said:
For anyone who has had the Clockwork-mod Recovery MD5 mismatch! error.
This is what I did to fix mine and get my backup working again after getting MD5 mismatch! error
I was trying to restore my backup after trying another Rom.
http://forum.xda-developers.com/showpost.php?p=11768066&postcount=2965
Click to expand...
Click to collapse
Wished I'd have seen this before deleting 4 different backups. Can you tell me what exactly this zip does ?
crz6662 said:
Wished I'd have seen this before deleting 4 different backups. Can you tell me what exactly this zip does ?
Click to expand...
Click to collapse
Never mind, opened it up & read the PDF file. Wanted to also thank you for this.
This is a much easier way:
adb shell
# cd /sdcard/clockworkmod/backup/2010-06-29.20.22.53
# rm nandroid.md5
# md5sum *img > nandroid.md5
usually does the trick
Using these methods fixed my error! Thanks.
BTW: I name my backup and it contained a space. I ended up having to rename the backup w/o the space. Ex. From - Backup Froyo To - BackupFroyo
Exca said:
This is a much easier way:
adb shell
# cd /sdcard/clockworkmod/backup/2010-06-29.20.22.53
# rm nandroid.md5
# md5sum *img > nandroid.md5
usually does the trick
Click to expand...
Click to collapse
After follow this easy procedure on my ASUS TransformerTF101, here's the result in my clockworkmod recovery (v3.0.2.8):
1. Checking MD5 sums is OK
2. Restoring system is OK
3. Restoring data is not OK, there is message: ".android_secure.img not found. Skipping restore /sdcard/.android secure.
4. Restoring cache is OK
5. Backup complete
Then after reboot, all my data on that backup file is not restore as expected. I am afraid my data is gone :-(
Can someone help me?
Araf said:
After follow this easy procedure on my ASUS TransformerTF101, here's the result in my clockworkmod recovery (v3.0.2.8):
1. Checking MD5 sums is OK
2. Restoring system is OK
3. Restoring data is not OK, there is message: ".android_secure.img not found. Skipping restore /sdcard/.android secure.
4. Restoring cache is OK
5. Backup complete
Then after reboot, all my data on that backup file is not restore as expected. I am afraid my data is gone :-(
Can someone help me?
Click to expand...
Click to collapse
I'm guessing by following the zip instructions, you deleted the ".android_secure.img" since it says it's safe to delete if there's a nandroid.md5 file already. But that .md5 file does not match the original. So the backup was likely messed up when trying to fix it with the .zip instructions.
I believe the easier method in post #4 should be tried first on a fresh backup dir.
Whyzor said:
I'm guessing by following the zip instructions, you deleted the ".android_secure.img" since it says it's safe to delete if there's a nandroid.md5 file already. But that .md5 file does not match the original. So the backup was likely messed up when trying to fix it with the .zip instructions.
I believe the easier method in post #4 should be tried first on a fresh backup dir.
Click to expand...
Click to collapse
For future reference to all. What I do all the time is when I make a backup, I hook the tablet up to my pc and back the backup to my PC. This saved me from having to do those steps. I just rewrote the backup on my sdcard and it worked.
Thanks that worked for my mytouch 4G.
Works like a charm, Thanks Again!
carl1961 said:
For anyone who has had the Clockwork-mod Recovery MD5 mismatch! error.
Update: thanks Exca
If you have androids SDK ( ADB installed) try this easer method by Exca
This is a much easier way:
adb shell
# cd /sdcard/clockworkmod/backup/2010-06-29.20.22.53
# rm nandroid.md5
# md5sum *img > nandroid.md5
usually does the trick
This is what I did to fix mine and get my backup working again after getting MD5 mismatch! error
I was trying to restore my backup after trying another Rom.
http://forum.xda-developers.com/showpost.php?p=11768066&postcount=2965
Click to expand...
Click to collapse
CWM 3.0 stable
carl1961 said:
For anyone who has had the Clockwork-mod Recovery MD5 mismatch! error.
Update: thanks Exca
If you have androids SDK ( ADB installed) try this easer method by Exca
This is a much easier way:
adb shell
# cd /sdcard/clockworkmod/backup/2010-06-29.20.22.53
# rm nandroid.md5
# md5sum *img > nandroid.md5
usually does the trick
This is what I did to fix mine and get my backup working again after getting MD5 mismatch! error
I was trying to restore my backup after trying another Rom.
http://forum.xda-developers.com/showpost.php?p=11768066&postcount=2965
Click to expand...
Click to collapse
he... good work, thanks very much.
it helps me
Thanks for this, really did the trick! I was so scared I lose my DarkSide Sense backup! thanked!
Can anyone tell me quickly why i can't execute "md5sum"?
when i execute the md5sum command, I get:
"/system/bin/sh: md5sum: not found"
fkng awesome <3! this helped me out!!!
Eschmacher said:
Can anyone tell me quickly why i can't execute "md5sum"?
when i execute the md5sum command, I get:
"/system/bin/sh: md5sum: not found"
Click to expand...
Click to collapse
same problem. any1 got a solution? trying to restore MIUI rom backup.. no luck. restores stock rom backup with no probs.
I am on SGSII.
The MD5 checksum fix *worked* for me! TY!
HTC Evo 4G 2.3.3 / 2.16.0000 / CWM 5.0.2.2
carl1961 said:
For anyone who has had the Clockwork-mod Recovery MD5 mismatch! error.
adb shell
# cd /sdcard/clockworkmod/backup/2010-06-29.20.22.53
# rm nandroid.md5
# md5sum *img > nandroid.md5
usually does the trick
Click to expand...
Click to collapse
THANKS SO MUCH!!! I thought that I was going to lose a bunch of stuff after I formated my SD card (thankfully I had a backup on my computer) while watching Netflix. This really saved my life and I'll be bookmarking this!
Yes I met it before.
But now there is not an issue anymore.
thank you
i used your code now hopefully i will have my 4g back with the back up im restoring right now
UPadte:
I restored a backup from when my 4g was working and nothing changed I still can't get 4g to connect!
This is a much easier way:
adb shell
# cd /sdcard/clockworkmod/backup/2010-06-29.20.22.53
# rm nandroid.md5
# md5sum *img > nandroid.md5
usually does the trick
Click to expand...
Click to collapse
thank you so very much!!

[Q] Need help to backup IMEI

hello,
i just now rooted my phone and installed esfile explorer to backup my /efs folder before flashing.
but the /efs folder is empty.
can somebody tell me from where i can find the nv_data.bin file?
you need to become a superuser in the shell first by typing su, than you will see the contents
or you could just use root explorer lol
oh n fyi in addition to just backing up the folder , you can make a flashable with odin backup by :
running adb shell
and than :
su
dd if=/dev/block/stl4 of=/sdcard/efs.rfs
take the efs.rfs file and add it to a UNIX compatible TAR and its ready to be reflashed should the worst happen. also its a full backup of the EFS not just IMEI.
i done this as soon as i heard horror stories of people loosing there IMEI.
im new to all this but its my beleif you will loose your IMEI if you flash with the wrong OPS or flash a i5801 rom for the first time and will need to restore nv_data.bin for that to work. as i sed i cant confirm the reasons but thats a educated guess
I already backed up entire efs partition.
to be safer, i thought of copying the contents of /efs also
maverickgenius said:
hello,
i just now rooted my phone and installed esfile explorer to backup my /efs folder before flashing.
but the /efs folder is empty.
can somebody tell me from where i can find the nv_data.bin file?
Click to expand...
Click to collapse
This is what i did... will help you too..!! Use root explorer!!
copy the efs folder to your sd card!!!
edit: i had 5 files in my efs folder including nv_data.bin
This should help you!!!http://forum.xda-developers.com/showthread.php?t=953264

[Q] Create Nandroid Backup Without recovery

Hi Guys
recently i bought a Samsung Galaxy Pro b7510
until now this phone doesnt have any custom recovery
i am trying to make a nandroid backup through ADB shell but i cant find the phone's partitions
i am using this command to find them
Code:
cat /proc/mtd
but it says that there is no such file directory
what should i do ?!
my phone is rootet
i wanna port clockworkmod recovery for this phone but first of all i want to have a full recovery from my phone in case if something went wrong i will be able to save my phone.
If I get what you say, then this is really easy.
Code:
mkyaffs2image /system system.img
mkyaffs2image /data data.img
mkyaffs2image /cache cache.img
md5sum *img > nandroid.md5
And put the 4 files inside /sdcard/clockworkmod/backup/nameOfBackup/
Cheers,
D4.
D4rKn3sSyS said:
If I get what you say, then this is really easy.
Code:
mkyaffs2image /system system.img
mkyaffs2image /data data.img
mkyaffs2image /cache cache.img
md5sum *img > nandroid.md5
And put the 4 files inside /sdcard/clockworkmod/backup/nameOfBackup/
Cheers,
D4.
Click to expand...
Click to collapse
thanx for reply but it says
mkyaffs2image not found

Checksum Mismatched?

I am trying to recover a nandroid backup and i keep getting Checking MD5 sums.
How can i fix this?
I have tried this already
# cd /sdcard/clockworkmod/backup/current
cd /sdcard/clockworkmod/backup/current
# rm nandroid.md5
rm nandroid.md5
# md5sum *tar > nandroid.md5
md5sum *tar > nandroid.md5
#
and it didnt work
Mine always says that, then it skips right over and still completes the recovery. Is yours stopping there and refusing to continue?
Yea it just stops the recovery process...
Red_Baran said:
Yea it just stops the recovery process...
Click to expand...
Click to collapse
backup could be corrupt. happened to me once. another thing to consider, nandroid does check to see if there is enough space to save the backup, but will continue even when there isn't enough. this can result in nandroid appearing to have completed properly but won't restore the backup. this also happened to me once.
It can also be renaming the back up improperly.. Like with a space our special character
We have nothing to feat but running out of beer
Is the backup you are trying to restore made with the same version of ClockworkMod Recovery you are using to restore it?
Sent from my DInc2

[Q] How to fix nandroid backup md5 mismatch without adb?

So my microUSB port is broken, and I want to restore the nandroid backup of the stock rom so I can bring it back to t-mobile, but I get the error message md5 mismatch every time. Is there any way I could fix this without using adb (since I cant connect my phone to the computer)? Or any other way I could go back to a stock rom without RSD lite? thank you in advance
You'll need download terminal emulator from market. Type in terminal emulator this commant to recheck md5 sums:
su
mount -o remount rw /sdcard
cd /sdcard/clockworkmod/backup/(YOUR BACKUP FOLDER NAME)
rm nandroid.md5
md5sum *img > nandroid.md5
But doesn't md5 mismatch mean a corrupted backup? So by regenerating the md5, won't it semi brick the phone?
Sent from my MB526 using xda premium
thekguy said:
But doesn't md5 mismatch mean a corrupted backup? So by regenerating the md5, won't it semi brick the phone?
Sent from my MB526 using xda premium
Click to expand...
Click to collapse
In some times nandroid.md5 can be corrupted, for etc by errors in sdcard or something similar. You can't semibrick your phone , because i dont think that backup can be corrupted by nothing. What defy did you have? If you have defy mb525 (not +), i can send you my nandroid backup.
In Terminal Emulator to remove root (you know why you need to remove it) :
su
rm /system/app/Superuser.apk
rm /system/xbin/su
rm /system/xbin/busybox
exit
and reboot phone after rebooting open any root apk to veritfy that it says: cant obtain root access. are you rooted?
turffe said:
In some times nandroid.md5 can be corrupted, for etc by errors in sdcard or something similar. You can't semibrick your phone , because i dont think that backup can be corrupted by nothing. What defy did you have? If you have defy mb525 (not +), i can send you my nandroid backup.
In Terminal Emulator to remove root (you know why you need to remove it) :
su
rm /system/app/Superuser.apk
rm /system/xbin/su
rm /system/xbin/busybox
exit
and reboot phone after rebooting open any root apk to veritfy that it says: cant obtain root access. are you rooted?
Click to expand...
Click to collapse
Thanks a lot! I'll try it tomorrow! I have a defy+ but hopefully my backup is not damaged just the md5 file

Categories

Resources