For those of us who don't use adb, is there a program out there that could reproduce the MD5 checksum for a clockwork backup?
Related
Not too often Im actually able to get a nandroid restore working.
For example, a few mins ago I wiped and tried to restore and got this error (using armon ra)
Error : run 'nandroid-mobile.sh restore' via adb!
Its quite frustrating. I actually changed to armon ra for this exact reason, as with clockwork sometimes Id get a similar problem when trying to restore about a bad md5 checksum or some such error.
As with most things, im thinking this might be user error, any ideas on this?
Hi
I took and backup of my rom to try a new one but wanted to go back to the old one. When I try to restore the backup through ClockWorkMod Recovery, it restores the system but when restoring data and PDU, ClockWorkMod Recovery restarts.
When I get to my desktop, all my icons are there but the apps themselves are missing along with a lot of other stuff.
Any idea why this might be happening and what I can do to restore my backup??
Thanks
I could give you a solution, but whatever happens, its not my fault!! , because maybe CWM recovery did that for a reason.
But anyway...
Take the data.img file from your sdcard(in clockworkMod folder) and extract it (many programs out there that extract .img files, i use 'ext2explore')
Then make a flashable .zip file and flash it (make sure its signed, and has the right folder structure and updater-script code).
I've never dont this, but theoretically it should work.
Or, You could flash it via fastboot.
Place the same data.img in your SDK/tools folder, boot into fastboot & fire up your cmd window
Code:
fastboot flash data data.img
Again the same disclaimer applies, use at your own risk.
I'm having the same problem and I tried to flash data.img,
"fastboot flash userdata data.img" ,
But it said my back was too large.
I'm gonna try the ext2explorer and see if that works.
Sent from my Desire HD using XDA App
@Andyharney post: yea, you could do it that way!, i forgot all about that method
Thanks for your help.
You must be right. There must be something wrong with the backup and that's why it isn't restoring and dont wanna risk breaking anything more.
Again, thanks for helping.
ext2explorer says somthing about the masterblock not being found. Im not sure what to do, just gnna use the titanium backups frm a couple days back
hello,
last night i tried to flash an update from cm7 nightly and after trying it, decided to return to the previous build i was using. i did a nan restore and encountered an error "md5 mismatch". i asked for 3xeno help as to what could have possibly caused the error and suggested some possible causes and solution to my problem which I am still trying to figure out till now. but in the meantime i have just decided to reflash the nightly i was using and reinstalled all the apps i was using.
i read quite a few articles and threads here and if i understood it right there are some cwm version that encounter nandroid restore problems. i am currently using cwm 3.0.0.6 and i was wondering if there is a cwm version that i can use which is more stable and will not create any problems if i would make nan restores in the future.
thanks.
Switch to 5.0.2.0. No issues with Nandroid Backups / Restores. I have done tons of restores with this version.
3xeno said:
Switch to 5.0.2.0. No issues with Nandroid Backups / Restores. I have done tons of restores with this version.
Click to expand...
Click to collapse
will give it a try and see how it goes.
edit: i found the link from your guide you posted before sir. the zip for cwm 5.0.2.0 with the PC49IMG zip. sorry for the stupid question, should i flash both zip?
[email protected] said:
will give it a try and see how it goes.
edit: i found the link from your guide you posted before sir. the zip for cwm 5.0.2.0 with the PC49IMG zip. sorry for the stupid question, should i flash both zip?
Click to expand...
Click to collapse
The two zips are different ways of installing it.
Download PC49IMG.zip only and place on SD card root, go into hboot and press volume up when it asks you to update
Sent from my HTC Wildfire using XDA App
jacktyler1807 said:
The two zips are different ways of installing it.
Download PC49IMG.zip only and place on SD card root, go into hboot and press volume up when it asks you to update
Sent from my HTC Wildfire using XDA App
Click to expand...
Click to collapse
Manage to flash it as per 3xeno guide and suggestions. Im now on cwm 5.0.2.0. Thought i had it figured out at first but it was only temporary recovery. Flashed PC4IMG zip and now everything is good.
Thanks.
3xeno said:
Switch to 5.0.2.0. No issues with Nandroid Backups / Restores. I have done tons of restores with this version.
Click to expand...
Click to collapse
I get lots of MD5SUM errors with this version of CWM, 4 out of 5 nands fail on me. I think my card may be to blame but i really dont trust my backups now. I'm sketchy about any mods I do now because i cant be sure if my backups will restore.
If you are ready to use fastboot, you can use it to push all the IMG files directly to your Wildfire without bothering about MD5 checksums. (I had loads of MD5 errors on versions 4.x, but not a single one yet, as I said before, on 5.0.2.0)
3xeno said:
If you are ready to use fastboot, you can use it to push all the IMG files directly to your Wildfire without bothering about MD5 checksums. (I had loads of MD5 errors on versions 4.x, but not a single one yet, as I said before, on 5.0.2.0)
Click to expand...
Click to collapse
Will probably try to learn that method over the weekend. I tried a nandroid backup and restore with cwm 5.0.2.0 and it went well so far. Thank you for the suggestion sir.
If my previous backups including my stock rom gets really messed up, I guess Im just gonna stick with cm7. I'm loving it anyway.
Quoting myself from a previous post:
2) Use Fastboot
- Download this attachment and extract it to any folder (eg: C:\fastboot)
http://forum.xda-developers.com/atta...1&d=1308537074
- Download CWM IMG Image for Wildfire (Buzz) from here:
http://download.clockworkmod.com/rec...0.2.0-buzz.img
- Place that IMG file along with the 4 files from the attachment in the same folder you created
- Now, turn off your Wildfire, connect to PC, and turn on in HBoot
- Navigate to Fastboot and Select it
- Open a Command Prompt Window (Start > Run > cmd)
- Type the following one by one and press Enter (It is assumed you created the folder in C Drive and have named it fastboot)
- cd\
- cd fastboot
- fastboot flash recovery recovery-clockwork-5.0.2.0-buzz.img
- This should produce 2 lines of code - SENDING RECOVERY and WRITING RECOVERY. If both states OK at the end, you should have CWM installed successfully after this.
Click to expand...
Click to collapse
The above Quote was for installing a Recovery Image like CWM. Fastboot commands use the following syntax:
fastboot flash <partition name> <name of IMG file to be flashed>
So, the other command names will change according to the files from your previous Nandroid Backup. Examples:
fastboot flash cache cache.img
fastboot flash system system.img
fastboot flash data data.img
... and so on
will give this a try sir. thanks
Checking MD5 sums...
Erasing boot before restore...
Restoring boot image...
Restoring system...
Error while restoring /system!
I did nothing but boot into recovery and this is all that happens when trying to recover my cwm backups. The version of CWM should not have changed and I've flashed these files before. I accidentally started another backup and shut the phone off while it was plugged in through usb (debugging might have been enabled but I don't use adb commands or have a shell).
I can restore my rom but I want to restore my backup.
How can I know the version of the backups and see if they are different from the cwm recovery version? Also in the past I have flashed and backup through rom manager, but would my rom manager boot into cwm recovery load a different cwm recovery (it shouldn't)?
I also tried this...reload the rom but restore each partition except for system, but it fails on data too then.
At a loss here. I love my backup. I was just a system camera apk away from perfection
Please help
Solution: 5 hours of playing around and the solution is that you need to make sure the cwm version is always the same...through rom manager.
I was attempting to change my Galaxy Nexus from Cyanogenmod 10.2.1 to cm 11 (current stable release). So, I did the following:
Created a Nandroid backup, saved it to my laptop, and deleted it from my phone as after creating the backup I had almost no free space. Before deleting it, I did test it and confirm that it worked.
Downloaded the CM ROM and gapps from the CM website
Verified their hashes.
Copied them to /sdcard. I didn't think to verify their hashes again. This may well have been a mistake.
Used TWRP v2.6.3.0 to wipe the phone and attempt to install CM. A message appears: "Failed." Here's a sample output (note that the output falls off the right-hand edge of the screen and there seems to be no way to scroll it to make it readable):
Code:
Updating partition details...
Installing '/sdcard/cm-11-20150626-SNAPSHOT-XNG3
Checking for MD5 file...
Skipping MD5 check: no MD5 file found.
set_metadata_recursive: some changes failed
E:Error executing updater binary in zip '/sdcard
Updating partition details...
At this point, the phone won't boot. It goes directly to recovery.
To recover, I thought I'd just copy over my Nandroid backup. But, I can't use adb in recovery. I tried to use fastboot to flash my nandroid backup, but the format seems to be different, and I wound up with a phone that, when attempting normal boot, gets stuck on the Google logo until I remove the battery. I do have access to recovery still.
How can I get something bootable on my phone? I just want to restore my Nandroid backup. (And maybe see if I can figure out why CM-11 didn't work.) I can't find any way to copy arbitrary files to my phone.
Solved
This guide enabled me to resolve my issue. The steps I took:
Downloaded the latest stock ROM for my phone
used fastboot to flash it following the instructions on the linked post (which involved unzipping things and whatnot)
Booted into the new system and restored /sdcard from backup
Copied the latest Nandroid backup to /sdcard
Restored the Nandroid backup
Tried to install CM 11 again (this time without deleting the backup from my phone). It failed, so I restored again and am giving up for now.